Page 1 of 1

adding extra stairs

PostPosted: Wed Jun 08, 2016 20:55
by timsoft
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
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.

Re: adding extra stairs

PostPosted: Sat Jun 11, 2016 02:01
by MineYoshi
Why you don't make a mod instead?
-It's a great idea!
But better do a mod so other people can enjoy that...

Re: adding extra stairs

PostPosted: Sat Jun 11, 2016 06:41
by TenPlus1
Ethereal adds ice and snow brick plus their stairs.