mirror of
https://github.com/mt-mods/xcompat.git
synced 2025-07-12 21:40:31 +02:00
Added register stairs/slabs function
This commit is contained in:
@ -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
|
Reference in New Issue
Block a user