mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-10 15:36:56 +01:00
Merge pull request #673 from ArchieBeepBoop/paraplegic
Fixes Paraplegic Free Real Estate
This commit is contained in:
@@ -228,8 +228,6 @@
|
||||
total += stamina_dam
|
||||
return total
|
||||
|
||||
//Checks disabled status thresholds
|
||||
|
||||
//Checks disabled status thresholds
|
||||
/obj/item/bodypart/proc/update_disabled()
|
||||
set_disabled(is_disabled())
|
||||
@@ -257,11 +255,12 @@
|
||||
|
||||
/obj/item/bodypart/proc/set_disabled(new_disabled)
|
||||
if(disabled == new_disabled)
|
||||
return
|
||||
return FALSE
|
||||
disabled = new_disabled
|
||||
owner.update_health_hud() //update the healthdoll
|
||||
owner.update_body()
|
||||
owner.update_canmove()
|
||||
return TRUE
|
||||
|
||||
//Updates an organ's brute/burn states for use by update_damage_overlays()
|
||||
//Returns 1 if we need to update overlays. 0 otherwise.
|
||||
|
||||
@@ -291,6 +291,7 @@
|
||||
O.Insert(C)
|
||||
|
||||
update_bodypart_damage_state()
|
||||
update_disabled()
|
||||
|
||||
C.updatehealth()
|
||||
C.update_body()
|
||||
@@ -298,7 +299,6 @@
|
||||
C.update_damage_overlays()
|
||||
C.update_canmove()
|
||||
|
||||
|
||||
/obj/item/bodypart/head/attach_limb(mob/living/carbon/C, special)
|
||||
//Transfer some head appearance vars over
|
||||
if(brain)
|
||||
|
||||
@@ -110,14 +110,14 @@
|
||||
/mob/proc/get_leg_ignore()
|
||||
return FALSE
|
||||
|
||||
/mob/living/carbon/alien/larva/get_leg_ignore()
|
||||
return TRUE
|
||||
|
||||
/mob/living/carbon/human/get_leg_ignore()
|
||||
if((movement_type & FLYING) || floating)
|
||||
/mob/living/carbon/get_leg_ignore()
|
||||
if(movement_type & (FLYING|floating))
|
||||
return TRUE
|
||||
return FALSE
|
||||
|
||||
/mob/living/carbon/alien/larva/get_leg_ignore()
|
||||
return TRUE
|
||||
|
||||
/mob/living/proc/get_missing_limbs()
|
||||
return list()
|
||||
|
||||
@@ -348,4 +348,4 @@
|
||||
. |= HAND_LEFT
|
||||
if(ARM_RIGHT)
|
||||
. |= HAND_RIGHT
|
||||
. |= L.body_part
|
||||
. |= L.body_part
|
||||
|
||||
Reference in New Issue
Block a user