From: Tim Date: Mon, 27 Mar 2017 20:55:53 +0000 (+0100) Subject: Stairs: Add snowblock and ice stairs and slabs X-Git-Tag: 0.4.16~14 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=519d166ce34d5516b0b20dd86ca0bf5ce5bf658c;p=oweals%2Fminetest_game.git Stairs: Add snowblock and ice stairs and slabs --- diff --git a/mods/stairs/init.lua b/mods/stairs/init.lua index 835b2193..a88ea014 100644 --- a/mods/stairs/init.lua +++ b/mods/stairs/init.lua @@ -587,3 +587,27 @@ stairs.register_stair_and_slab( "Gold Block Slab", default.node_sound_metal_defaults() ) + +stairs.register_stair_and_slab( + "ice", + "default:ice", + {cracky = 3, puts_out_fire = 1, cools_lava = 1}, + {"default_ice.png"}, + "Ice Stair", + "Ice Slab", + default.node_sound_glass_defaults() +) + +stairs.register_stair_and_slab( + "snowblock", + "default:snowblock", + {crumbly = 3, puts_out_fire = 1, cools_lava = 1, snowy = 1}, + {"default_snow.png"}, + "Snow Block Stair", + "Snow Block Slab", + default.node_sound_dirt_defaults({ + footstep = {name = "default_snow_footstep", gain = 0.15}, + dug = {name = "default_snow_footstep", gain = 0.2}, + dig = {name = "default_snow_footstep", gain = 0.2} + }), +)