From 2a6246016b9272e7fecd82846e138810c87f06b4 Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Sat, 23 Jun 2018 17:26:11 -0400 Subject: update currency, homedecor, unified inventory --- homedecor/crafts.lua | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) (limited to 'homedecor/crafts.lua') diff --git a/homedecor/crafts.lua b/homedecor/crafts.lua index e59fc2d..69616de 100644 --- a/homedecor/crafts.lua +++ b/homedecor/crafts.lua @@ -2950,23 +2950,29 @@ minetest.register_craft({ }, }) -minetest.register_craft({ - type = "shapeless", - output = "homedecor:coin 5", - recipe = {"moreblocks:micro_goldblock_1", "default:sword_stone"} -}) +if minetest.settings:get_bool("homedecor.disable_coin_crafting") == false 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"} + }) +else + if minetest.settings:get("log_mods") then + minetest.log("[HomeDecor] " .. S("coin crafting is disabled!")) + end +end minetest.register_craft({ output = "homedecor:lattice_wood 8", -- cgit v1.2.3