From 1d7bd80feb54dbf4e2dc796a44e3792f3b8c8842 Mon Sep 17 00:00:00 2001 From: MIGDYN Date: Mon, 21 Nov 2022 22:38:24 +0000 Subject: [PATCH] Add ladder --- mods/poop/init.lua | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/mods/poop/init.lua b/mods/poop/init.lua index 1f7b57f..15b17f9 100644 --- a/mods/poop/init.lua +++ b/mods/poop/init.lua @@ -193,6 +193,28 @@ minetest.register_node("poop:box", { } }) +minetest.register_node("poop:ladder_steel", { + description = "Ladder", + drawtype = "signlike", + tiles = {"Poop.png"}, + tiles = {"Poop.png"}, + tiles = {"Poop.png"}, + paramtype = "light", + paramtype2 = "wallmounted", + sunlight_propagates = true, + walkable = false, + climbable = true, + is_ground_content = false, + selection_box = { + type = "wallmounted", + --wall_top = = + --wall_bottom = = + --wall_side = = + }, + groups = {cracky = 2}, +}) + + -- make a tool called flashlight that can be used to light up the world minetest.register_tool("poop:flashlight", { description = "Flashlight",