Added register stairs/slabs function

This commit is contained in:
Kazooo100
2024-07-23 14:22:46 -04:00
parent 688f12a970
commit 4d5c1e3eab
3 changed files with 72 additions and 2 deletions

View File

@ -1,5 +1,6 @@
# Functions API
## `can_interact_with_node(player, pos)`
returns `bool`
@ -10,4 +11,15 @@ checks for the ability to interact with a node via:
supports
* minetest game default if present
* else polyfill
* else polyfill
## `register_stairs_slabs(Name, BaseItem, Tiles, DigGroups, Sounds, StairName, SlabName)`
Creates stairs, slabs and sometimes more.
Supports:
* mineclonXX
* farlands redo
* any game with stairs
* any game with stairs redo
* any game with stairs plus