Allow swapping between default and ropes ladder by crafting (#29)

This commit is contained in:
1F616EMO~nya 2024-09-02 23:50:13 +08:00 committed by GitHub
parent 05db0b84ad
commit 6b42fad8f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -67,6 +67,19 @@ steel_name = S("Steel Ladder")
texture_overlay = "" texture_overlay = ""
else
-- Swap between normal and extendable ladders
minetest.register_craft({
type = "shapeless",
output = "ropes:ladder_wood",
recipe = {"default:ladder_wood"},
})
minetest.register_craft({
type = "shapeless",
output = "ropes:ladder_steel",
recipe = {"default:ladder_steel"},
})
end end
minetest.register_craft({ minetest.register_craft({