mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
Paraplegia! (#27999)
* Can pick paraplegic in character menu, will start floored+wheelchaired * Why won't you show up on scanners * Forgot the description. * Got the scanners to show Paraplegia! * block off some roles from paraplegics * Use stance instead of the floored trait for paraplegic * Prevent paraplegics from using/being hit by legsweeps, change get_num_legs() * Add DNA injectors for paraplegia * change legsweep to use traitcheck, get_num_leg() solution screwed up beartraps * Can pick paraplegic in character menu, will start floored+wheelchaired * Why won't you show up on scanners * Forgot the description. * Got the scanners to show Paraplegia! * block off some roles from paraplegics * Use stance instead of the floored trait for paraplegic * Prevent paraplegics from using/being hit by legsweeps, change get_num_legs() * Add DNA injectors for paraplegia * change legsweep to use traitcheck, get_num_leg() solution screwed up beartraps * whoops. * TGUI. * How did I miss that in testing * Add the point interaction that nuggets get to armless paraplegics * Update code/modules/mob/living/carbon/human/human_organs.dm Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Signed-off-by: Sheep <46016730+Scribble-Sheep@users.noreply.github.com> --------- Signed-off-by: Sheep <46016730+Scribble-Sheep@users.noreply.github.com> Co-authored-by: Scribble-Sheep <15377810-AlyxisDrayko@users.noreply.gitlab.com> Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
co-authored by
Luc
Scribble-Sheep
DGamerL
parent
1d82fc776d
commit
2e2a778a71
@@ -47,7 +47,7 @@
|
||||
|
||||
for(var/limb_tag in list("l_leg","r_leg","l_foot","r_foot"))
|
||||
var/obj/item/organ/external/E = bodyparts_by_name[limb_tag]
|
||||
if(!E || (E.status & ORGAN_DEAD) || E.is_malfunctioning() || !E.properly_attached)
|
||||
if(!E || (E.status & ORGAN_DEAD) || E.is_malfunctioning() || !E.properly_attached || HAS_TRAIT(src, TRAIT_PARAPLEGIC))
|
||||
if(E?.status & ORGAN_DEAD && HAS_TRAIT(src, TRAIT_I_WANT_BRAINS))
|
||||
continue
|
||||
if(E && !E.properly_attached && life_tick % 24 == 0)
|
||||
|
||||
@@ -533,6 +533,7 @@
|
||||
CureEpilepsy()
|
||||
CureCoughing()
|
||||
CureNervous()
|
||||
CureParaplegia()
|
||||
SetEyeBlind(0)
|
||||
SetEyeBlurry(0)
|
||||
SetDeaf(0)
|
||||
|
||||
@@ -202,7 +202,7 @@
|
||||
if(ishuman(user))
|
||||
var/mob/living/carbon/human/H = user
|
||||
if(!H.has_left_hand() && !H.has_right_hand())
|
||||
if(H.get_num_legs() != 0)
|
||||
if(H.get_num_legs() != 0 && !HAS_TRAIT(H, TRAIT_PARAPLEGIC))
|
||||
message_param = "tries to point at %t with a leg."
|
||||
else
|
||||
// nugget
|
||||
|
||||
@@ -809,7 +809,9 @@ STATUS EFFECTS
|
||||
// Deaf
|
||||
/mob/living/proc/CureDeaf()
|
||||
CureIfHasDisability(GLOB.deafblock)
|
||||
|
||||
// Paraplegia
|
||||
/mob/living/proc/CureParaplegia()
|
||||
CureIfHasDisability(GLOB.paraplegicblock)
|
||||
// Epilepsy
|
||||
/mob/living/proc/CureEpilepsy()
|
||||
CureIfHasDisability(GLOB.epilepsyblock)
|
||||
|
||||
Reference in New Issue
Block a user