This mod changes the player speed depending on what they walk upon, stepping through snow or water will slow the player down, walking on ice will make them go faster, and as a bonus touching a cactus will hurt the player like in Minecraft... enjoy!
Source:
https://github.com/tenplus1/playerplusLicense: MIT
Updates:
- 0.1 - Initial release
- 0.2 - Added support for 3d_armor mod
- 0.3 - Optimized code
- 0.4 - Added player suffocation when head inside block (only solid "normal" nodes)
- 0.5 - Player walks slower in water
- 0.6 - Code tidy and tweak, increased damage caused by cactus and suffocation
- 0.7 - Added global 'playerplus' table to hold node names around player
API:
Every second the mod checks which node the player is standing on, which node is
at foot and head level and stores inside a global table to be used by mods:
- playerplus[name].nod_stand
- playerplus[name].nod_foot
- playerplus[name].nod_head