forked from mtcontrib/homedecor_modpack
add setting disable_coin_crafting to make coins not available for crafting
This commit is contained in:
parent
39984c356b
commit
8132cfc6f8
@ -2950,6 +2950,7 @@ minetest.register_craft({
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if not minetest.settings:get_bool("disable_coin_crafting") then
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "homedecor:coin 5",
|
output = "homedecor:coin 5",
|
||||||
@ -2967,6 +2968,7 @@ minetest.register_craft({
|
|||||||
output = "homedecor:coin 50",
|
output = "homedecor:coin 50",
|
||||||
recipe = {"default:goldblock", "default:sword_mese"}
|
recipe = {"default:goldblock", "default:sword_mese"}
|
||||||
})
|
})
|
||||||
|
end
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "homedecor:lattice_wood 8",
|
output = "homedecor:lattice_wood 8",
|
||||||
|
Loading…
Reference in New Issue
Block a user