diff options
Diffstat (limited to 'castle_gates/gate_slots.lua')
-rw-r--r-- | castle_gates/gate_slots.lua | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/castle_gates/gate_slots.lua b/castle_gates/gate_slots.lua index 8f3c095..e2c6287 100644 --- a/castle_gates/gate_slots.lua +++ b/castle_gates/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 |