Buff flying

- Flying now takes half the nutrition per tick or per tile flown.
- You can now fly off the ground with more food in yourself.
- Hover costs less nutrition to trigger.

I was considering lowering or outright damage received when hitting things such as windows or tables. Thoughts?
This commit is contained in:
lbnesquik
2019-01-20 17:02:37 +01:00
parent 9a6d50ff67
commit 801a8be0c2
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -187,8 +187,8 @@
if(ismob(src))
var/mob/H = src //VOREStation Edit Start. Flight on mobs.
if(H.flying) //Some other checks are done in the wings_toggle proc
if(H.nutrition > 2)
H.nutrition -= 2 //You use up 2 nutrition per TILE and tick of flying above open spaces. If people wanna flap their wings in the hallways, shouldn't penalize them for it.
if(H.nutrition > 1)
H.nutrition -= 1 //You use up 1 nutrition per TILE and tick of flying above open spaces.
if(H.incapacitated(INCAPACITATION_ALL))
H.stop_flying()
//Just here to see if the person is KO'd, stunned, etc. If so, it'll move onto can_fall.
@@ -202,7 +202,7 @@
else if(H.nutrition < 100 && H.nutrition > 89)
to_chat(H, "<span class='danger'>You're seriously fatigued! You need to get to the ground immediately and eat before you fall!</span>")
return
else if(H.nutrition < 2) //Should have listened to the warnings!
else if(H.nutrition < 1) //Should have listened to the warnings!
to_chat(H, "<span class='danger'>You lack the strength to keep yourself up in the air...</span>")
H.stop_flying()
else