mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-22 16:10:18 +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({
|
||||
type = "shapeless",
|
||||
output = "homedecor:coin 5",
|
||||
recipe = {"moreblocks:micro_goldblock_1", "default:sword_stone"}
|
||||
})
|
||||
if not minetest.settings:get_bool("disable_coin_crafting") then
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "homedecor:coin 5",
|
||||
recipe = {"moreblocks:micro_goldblock_1", "default:sword_stone"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "homedecor:coin 15",
|
||||
recipe = {"default:gold_ingot", "default:sword_steel"}
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "homedecor:coin 15",
|
||||
recipe = {"default:gold_ingot", "default:sword_steel"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "homedecor:coin 50",
|
||||
recipe = {"default:goldblock", "default:sword_mese"}
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "homedecor:coin 50",
|
||||
recipe = {"default:goldblock", "default:sword_mese"}
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_craft({
|
||||
output = "homedecor:lattice_wood 8",
|
||||
|
Loading…
Reference in New Issue
Block a user