adding extra stairs
Hi, I'm not sure where to post this but as a feature request it would be nice to have some more stairs in the minetest_game
I am using minetest 0.4.14 (windows version)
adding the following lines to the end of the file
adds ice and snow stairs (updated to make more like ice and snow blocks)
And similar lines could be added for soil with snow and soil with grass.
If this is posted in the wrong place, please point me in the right direction, thanks.
I am using minetest 0.4.14 (windows version)
adding the following lines to the end of the file
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
games\minetest_game\mods\stairs\init.lua
adds ice and snow stairs (updated to make more like ice and snow blocks)
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
stairs.register_stair_and_slab("ice", "default:ice",
{cracky = 3, puts_out_fire = 1},
{"default_ice.png"},
"Ice Stair",
"Ice Slab",
default.node_sound_glass_defaults())
stairs.register_stair_and_slab("snow", "default:snow",
{crumbly = 3, puts_out_fire = 1},
{"default_snow.png"},
"Snow Stair",
"Snow Slab",
default.node_sound_dirt_defaults())
And similar lines could be added for soil with snow and soil with grass.
If this is posted in the wrong place, please point me in the right direction, thanks.