mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 01:21:05 +01:00
Complain about ugly soul sand speed code
This commit is contained in:
parent
1f4f6a0e84
commit
1f3d14e0b0
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@ minetest.register_globalstep(function(dtime)
|
|||
if playerplus[name].nod_stand == "mcl_nether:soul_sand" then
|
||||
-- TODO: Tweak walk speed
|
||||
-- TODO: Also slow down mobs
|
||||
-- FIXME: This whole speed thing is a giant hack. We need a proper framefork for cleanly handling player speeds
|
||||
local below = playerplus[name].nod_stand_below
|
||||
if below == "mcl_core:ice" or below == "mcl_core:packed_ice" or below == "mcl_core:slimeblock" then
|
||||
def.speed = def.speed - 0.9
|
||||
|
|
Loading…
Reference in a new issue