mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 22:57:39 +01:00
[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:
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))
|
||||
|
||||
Reference in New Issue
Block a user