Skip to content

Commit

Permalink
Allow smelting clay into brick blocks (#1380)
Browse files Browse the repository at this point in the history
* Update init.lua

* Update init.lua

Clay Smelting

---------

Co-authored-by: LandarVargan <[email protected]>
  • Loading branch information
AnonomousAccount and LoneWolfHT authored Jan 17, 2025
1 parent f69ab68 commit 942db5b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions mods/mtg/ctf_changes/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,16 @@ minetest.override_item("default:furnace_active", {
on_destruct = furnace_on_destruct,
})

minetest.override_item("default:clay", {
drop = "default:clay",
})

minetest.register_craft({
type = "cooking",
output = "default:brick",
recipe = "default:clay",
})

minetest.register_on_mods_loaded(function()
for nodename, value in pairs(node_fall_damage_factors) do
local groups_temp = minetest.registered_items[nodename].groups
Expand Down

0 comments on commit 942db5b

Please sign in to comment.