mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-11-17 15:48:31 +01:00
add setting disable_coin_crafting to make coins not available for crafting
This commit is contained in:
parent
39984c356b
commit
8132cfc6f8
@ -2950,23 +2950,25 @@ minetest.register_craft({
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
if not minetest.settings:get_bool("disable_coin_crafting") then
|
||||||
type = "shapeless",
|
minetest.register_craft({
|
||||||
output = "homedecor:coin 5",
|
type = "shapeless",
|
||||||
recipe = {"moreblocks:micro_goldblock_1", "default:sword_stone"}
|
output = "homedecor:coin 5",
|
||||||
})
|
recipe = {"moreblocks:micro_goldblock_1", "default:sword_stone"}
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "homedecor:coin 15",
|
output = "homedecor:coin 15",
|
||||||
recipe = {"default:gold_ingot", "default:sword_steel"}
|
recipe = {"default:gold_ingot", "default:sword_steel"}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
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