mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-25 04:57:47 +01:00
Merge pull request #16336 from TankTheBirb/flying-ignores-terrain
Flying over water/snow does not slow
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
water_breath.adjust_gas(gasid, BREATH_MOLES) // They have no oxygen, but non-zero moles and temp
|
||||
water_breath.temperature = above_air.temperature
|
||||
return water_breath
|
||||
if(L && L.is_bad_swimmer() && depth >= 2 && !L.buckled())
|
||||
if(L && L.is_bad_swimmer() && depth >= 2 && !L.buckled() && !L.flying)
|
||||
if(prob(10))
|
||||
L.visible_message("<span class='notice'>[L] splashes wildly.</span>","<span class='warning'>You struggle to keep your head above the water!</span>")
|
||||
if(L.can_breathe_water())
|
||||
|
||||
@@ -147,7 +147,7 @@
|
||||
if(!T)
|
||||
return 0
|
||||
|
||||
if(T.movement_cost)
|
||||
if(T.movement_cost && !flying) //VOREStation Add: If you are flying you are probably not affected by the terrain on the ground.
|
||||
var/turf_move_cost = T.movement_cost
|
||||
if(istype(T, /turf/simulated/floor/water))
|
||||
if(species.water_movement)
|
||||
|
||||
Reference in New Issue
Block a user