Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid craft recipes #21

Open
axcore opened this issue Aug 29, 2022 · 0 comments
Open

Invalid craft recipes #21

axcore opened this issue Aug 29, 2022 · 0 comments

Comments

@axcore
Copy link

axcore commented Aug 29, 2022

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`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant