Fall mod: torches, ladders, signs, rails & more now know gravity
This simple mod will fight against items hanged in air. Now if you have sign on side of node and you have dug it, it will fall (and drop itself out as item). Mod has simple API:
There are 2 types now:
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
register_falling_item({name}, {type})
There are 2 types now:
- bottom - item will fall if there is no walkable=true node below it (examples: rails, flowers)
- param2 - item will fall if there is no walkable=true node which is it attached to. (examples: signs, torches)