[Mod] Stairs Redo [stairs]

Post Reply
User avatar
TenPlus1
Member
Posts: 4159
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

[Mod] Stairs Redo [stairs]

by TenPlus1 » Post

This mod replaces the default stairs mod and has the following features:
  • Transparent stairs
  • Glowing stairs
  • Sloped Stairs - stairs.register_slope(), slope_inner() and slope_outer() functions
  • stairs.register_all() function (registers all stair types)
  • Face/sneak placement
  • Leaving sound field empty (nil) uses node sounds
  • Ability to craft stairs back into full blocks
  • Stairs made from burnable items can be used as fuel in furnace
screenshot.png
screenshot.png (13.54 KiB) Viewed 6412 times
License: LGPLv2.1+ (source code) / CC BY-SA 3.0 (media)

ContentDB: https://content.minetest.net/packages/TenPlus1/stairs/

Depends: default

Donate: https://ko-fi.com/tenplus1
Last edited by TenPlus1 on Mon Jun 24, 2024 06:52, edited 3 times in total.

User avatar
acidzebra
Member
Posts: 75
Joined: Sun Sep 10, 2017 09:11

Re: Stairs Redo [stairs]

by acidzebra » Post

That looks great!

Is it a drop-in replacement or would that cause weirdness?

User avatar
TenPlus1
Member
Posts: 4159
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: Stairs Redo [stairs]

by TenPlus1 » Post

@acidzebra - oh yes, it's a drop in replacement :)

Sokomine
Member
Posts: 4317
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

Re: Stairs Redo [stairs]

by Sokomine » Post

TenPlus1 wrote:
Transparent stairs
Glowing stairs
That sounds great! Though...as it does work with glowglass, other blocks like that ought to work as well as long as they're registered.
TenPlus1 wrote: Ability to craft stairs back into full blocks
That's IMHO a bad idea. All these recipes clog up the craft guide so that it becomes difficult to find out the real recipes for nodes. Using the saw only is IMHO better.
A list of my mods can be found here.

User avatar
TenPlus1
Member
Posts: 4159
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Updated:

by TenPlus1 » Post

- Added sloped outer and inner corners for stairs.

User avatar
ywwv
Member
Posts: 299
Joined: Mon Jan 18, 2021 11:51

Re: Stairs Redo [stairs]

by ywwv » Post

I would like it if you could add tripping. this would be immersive

User avatar
TenPlus1
Member
Posts: 4159
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: Stairs Redo [stairs]

by TenPlus1 » Post

Tripping over stairs, lol.

User avatar
sirrobzeroone
Member
Posts: 593
Joined: Mon Jul 16, 2018 07:56
GitHub: sirrobzeroone
Contact:

Re: [Mod] Stairs Redo [stairs]

by sirrobzeroone » Post

Just wanted to say thanks for making this mod Tenplus1, very easy to integrate into non-mtg base game.

User avatar
TenPlus1
Member
Posts: 4159
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Update:

by TenPlus1 » Post

- Glass stairs updated to use quarter texture for sides.
- Obsidian Glass stairs updated to use quarter texture for sides.
- 'stairs.glass_sides' setting added to turn off sides and give older glass stair look.

User avatar
TenPlus1
Member
Posts: 4159
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Update:

by TenPlus1 » Post

- Ability to leave sounds field empty (nil) to use node sounds.
- Tweaked and tidied code and api.txt.

pivert
Member
Posts: 46
Joined: Sun Oct 03, 2021 23:33
In-game: Pivert

Re: [Mod] Stairs Redo [stairs]

by pivert » Post

Hi,

I love this mod, but it's filling the logs with warnings.
Should I remove stairs from minetestgame ?
Or should I even place it there ?

Most of the errors are like:

Code: Select all

WARNING[Main]: [stairsplus] removing group overrides from building_blocks:stair_Marble_half (was {"cracky":3.0,"dig_stone":2.0,"marble":1.0,"pickaxey":5.0}, will be {"cracky":3.0,"dig_stone":2.0,"pickaxey":5.0,"shape_stair_half":1.0,"stair_marble_half":1.0})
This generates about 60000 WARNING lines / day. (Server 5.8.0)
minetestserver on 3 K8S nodes with cloudnative-pg backend

User avatar
TenPlus1
Member
Posts: 4159
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: [Mod] Stairs Redo [stairs]

by TenPlus1 » Post

@pivert - This looks to be a new warning msg introduced in 5.8 that I haven't seen so far, will look into it today and see why moreblocks/stairsplus may be generating it. I typically use my own moreblocks fork without stairsplus added.

pivert
Member
Posts: 46
Joined: Sun Oct 03, 2021 23:33
In-game: Pivert

Re: [Mod] Stairs Redo [stairs]

by pivert » Post

Thanks. This is really annoying as it generates all those warnings at the server startup, delaying the server start by up to 5 mintutes...
minetestserver on 3 K8S nodes with cloudnative-pg backend

User avatar
Blockhead
Moderator
Posts: 2593
Joined: Wed Jul 17, 2019 10:14
GitHub: Montandalar
IRC: Blockhead256
In-game: Blockhead Blockhead256
Location: Land Down Under
Contact:

Re: [Mod] Stairs Redo [stairs]

by Blockhead » Post

pivert wrote:
Mon Jan 01, 2024 21:42
Thanks. This is really annoying as it generates all those warnings at the server startup, delaying the server start by up to 5 mintutes...
It sounds like you're running Minetest from the console and/or slow storage writing to debug.txt. The speed at which some command-line programs with loads of textual output run is sometimes limited by the speed at which your console can display that output. And believe me, there are faster and slower terminals, people have done benchmarks. My dedicated server starts a whole lot faster than 5 minutes, I think sub 8 seconds. Now that server doesn't have this particular mod, but it does have quite a few with texture warnings so I think it may be comparable.
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂

User avatar
TenPlus1
Member
Posts: 4159
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: [Mod] Stairs Redo [stairs]

by TenPlus1 » Post

@pivert - Which base game are you using to run your server ?

User avatar
TenPlus1
Member
Posts: 4159
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Update:

by TenPlus1 » Post

- {slippery} group added to ice stairs.

User avatar
TenPlus1
Member
Posts: 4159
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Update:

by TenPlus1 » Post

- Enabled world align textures to missing stairs (stone and wood).
- Updated EtherealNG and cBlocks with world align textures also.

pivert
Member
Posts: 46
Joined: Sun Oct 03, 2021 23:33
In-game: Pivert

Re: [Mod] Stairs Redo [stairs]

by pivert » Post

TenPlus1 wrote:
Tue Jan 02, 2024 06:28
@pivert - Which base game are you using to run your server ?
Hi TenPlus1,
I'm using Minetest game on MT 5.9.1, 240 mods, K8S, PostgreSQL.

Having a bit less lines, but still:

Code: Select all

$k logs minetestserver-0 -c minetestserver |rg -F 'WARNING[Main]: [stairsplus] removing group overrides from' |wc -l
5278
Sorry, looks like I missed your message ;-)
minetestserver on 3 K8S nodes with cloudnative-pg backend

User avatar
TenPlus1
Member
Posts: 4159
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: [Mod] Stairs Redo [stairs]

by TenPlus1 » Post

@pivert - Those lines are generated by the stairsplus mod within moreblocks mod.

pivert
Member
Posts: 46
Joined: Sun Oct 03, 2021 23:33
In-game: Pivert

Re: [Mod] Stairs Redo [stairs]

by pivert » Post

Indeed, thanks for pointing that Tenplus.
Definitely a stairsplus problem.

In case you also have the problem with moreblocks + stairsplus, check for updates in:
https://github.com/fluxionary/minetest- ... /issues/21

Thanks !
minetestserver on 3 K8S nodes with cloudnative-pg backend

User avatar
TenPlus1
Member
Posts: 4159
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Update:

by TenPlus1 » Post

- Add "stairs.old_placement" setting so re-enable older placement style.
- Tweak & tidy code.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests