Open axcore opened 2 years ago
In gate_slots.lua, the whole of the following section is invalid. I suspect that every mention of portcullis_slot should be gate_slot, since that matches the names of the nodes defined just above.
gate_slots.lua
portcullis_slot
gate_slot
` minetest.register_craft({ output = mod_name..":"..material.name.."_portcullis_slot 3", 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", type = "shapeless", recipe = {mod_name..":"..material.name.."_portcullis_slot_reverse"}, }) minetest.register_craft({ output = mod_name..":"..material.name.."_portcullis_slot_reverse", type = "shapeless", recipe = {mod_name..":"..material.name.."_portcullis_slot"}, }) if burn_time > 0 then minetest.register_craft({ type = "fuel", recipe = mod_name..":"..material.name.."_portcullis_slot", burntime = burn_time * 2, }) minetest.register_craft({ type = "fuel", recipe = mod_name..":"..material.name.."_portcullis_slot_reverse", burntime = burn_time * 2, }) end`
In
gate_slots.lua
, the whole of the following section is invalid. I suspect that every mention ofportcullis_slot
should begate_slot
, since that matches the names of the nodes defined just above.` minetest.register_craft({ output = mod_name..":"..material.name.."_portcullis_slot 3", recipe = { {material.craft_material,"",material.craft_material}, {material.craft_material,"",material.craft_material}, {material.craft_material,"",material.craft_material}, }, })