minetest-mods / castle_gates

Large swinging and sliding gate components suitable for a castle
MIT License
9 stars 8 forks source link

Invalid craft recipes #21

Open axcore opened 2 years ago

axcore commented 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.

` 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`