From 6b42fad8f5a5c35fdf1da3fe7852c931a3f8dbef Mon Sep 17 00:00:00 2001 From: 1F616EMO~nya Date: Mon, 2 Sep 2024 23:50:13 +0800 Subject: [PATCH] Allow swapping between default and ropes ladder by crafting (#29) --- extendingladder.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/extendingladder.lua b/extendingladder.lua index fe5e106..4999f4f 100644 --- a/extendingladder.lua +++ b/extendingladder.lua @@ -67,6 +67,19 @@ steel_name = S("Steel Ladder") 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 minetest.register_craft({