From 97a61e9827bac01f1dfedc89cebd6bb4ab45557c Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Mon, 25 Sep 2017 21:13:43 -0600 Subject: [PATCH] recipe conflict, and incorrect name in recipe --- gate_slots.lua | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/gate_slots.lua b/gate_slots.lua index 8f3c095..e2c6287 100644 --- a/gate_slots.lua +++ b/gate_slots.lua @@ -91,34 +91,33 @@ castle_gates.register_gate_slot = function(material) minetest.register_craft({ - output = mod_name..":"..material.name.."_portcullis_slot 3", + output = mod_name..":"..material.name.."_gate_slot 2", recipe = { - {material.craft_material,"",material.craft_material}, {material.craft_material,"",material.craft_material}, {material.craft_material,"",material.craft_material}, }, }) minetest.register_craft({ - output = mod_name..":"..material.name.."_portcullis_slot", + output = mod_name..":"..material.name.."_gate_slot", type = "shapeless", - recipe = {mod_name..":"..material.name.."_portcullis_slot_reverse"}, + recipe = {mod_name..":"..material.name.."_gate_slot_reverse"}, }) minetest.register_craft({ - output = mod_name..":"..material.name.."_portcullis_slot_reverse", + output = mod_name..":"..material.name.."_gate_slot_reverse", type = "shapeless", - recipe = {mod_name..":"..material.name.."_portcullis_slot"}, + recipe = {mod_name..":"..material.name.."_gate_slot"}, }) if burn_time > 0 then minetest.register_craft({ type = "fuel", - recipe = mod_name..":"..material.name.."_portcullis_slot", + recipe = mod_name..":"..material.name.."_gate_slot", burntime = burn_time * 2, }) minetest.register_craft({ type = "fuel", - recipe = mod_name..":"..material.name.."_portcullis_slot_reverse", + recipe = mod_name..":"..material.name.."_gate_slot_reverse", burntime = burn_time * 2, }) end