[MIRROR] jetpacks in zero G should hold you up if you have damaged legs (#11651)

Co-authored-by: Will <7099514+Willburd@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-09-15 00:10:02 +02:00
committed by GitHub
co-authored by Will
parent 4fea7b56cd
commit 5336c235d5
@@ -105,6 +105,11 @@
if (r_hand && istype(r_hand, /obj/item/cane))
stance_damage -= 2
// Jetpacks in zeroG count for holding you up
var/obj/item/tank/jetpack/thrust = get_jetpack()
if (lastarea?.get_gravity() == FALSE && thrust?.stabilization_on)
stance_damage -= 4
// standing is poor
if(stance_damage >= 4 || (stance_damage >= 2 && prob(5)))
if(!(lying || resting) && !isbelly(loc))