Merge pull request #12725 from liache/Liache-Winged-Flight-Patch

Update station_special_abilities_vr.dm
This commit is contained in:
Casey
2022-04-17 17:13:56 -04:00
committed by CHOMPStation2
parent 414b01d8bc
commit 54dd44b7d8
2 changed files with 1 additions and 7 deletions

View File

@@ -814,7 +814,7 @@
/mob/living/proc/flying_toggle()
set name = "Toggle Flight"
set desc = "While flying over open spaces, you will use up some nutrition. If you run out nutrition, you will fall. Additionally, you can't fly if you are too heavy."
set desc = "While flying over open spaces, you will use up some nutrition. If you run out nutrition, you will fall."
set category = "Abilities"
var/mob/living/carbon/human/C = src
@@ -827,9 +827,6 @@
if(C.nutrition < 25 && !C.flying) //Don't have any food in you?" You can't fly.
to_chat(C, "<span class='notice'>You lack the nutrition to fly.</span>")
return
if(C.nutrition > 1000 && !C.flying)
to_chat(C, "<span class='notice'>You have eaten too much to fly! You need to lose some nutrition.</span>")
return
C.flying = !C.flying
update_floating()