Add basic soul sand
This commit is contained in:
parent
2baec5d5d7
commit
8160896e46
3 changed files with 19 additions and 3 deletions
|
@ -74,10 +74,12 @@ minetest.register_globalstep(function(dtime)
|
|||
end
|
||||
|
||||
-- standing on soul sand? if so walk slower
|
||||
-- if playerplus[name].nod_stand == "mcl_nether:soul_sand" then
|
||||
if playerplus[name].nod_stand == "mcl_nether:soul_sand" then
|
||||
-- TODO: Fix walk speed
|
||||
-- def.speed = def.speed - 0.4
|
||||
-- end
|
||||
-- TODO: Also check other blocks
|
||||
-- TODO: Also slow down mobs
|
||||
def.speed = def.speed - 0.4
|
||||
end
|
||||
|
||||
-- set player physics
|
||||
-- TODO: Resolve conflict
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue