mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +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
@@ -1714,6 +1714,7 @@
|
||||
HTML += ShowDisabilityState(user, DISABILITY_FLAG_CHAV, "Chav accent")
|
||||
HTML += ShowDisabilityState(user, DISABILITY_FLAG_LISP, "Lisp")
|
||||
HTML += ShowDisabilityState(user, DISABILITY_FLAG_DIZZY, "Dizziness")
|
||||
HTML += ShowDisabilityState(user, DISABILITY_FLAG_PARAPLEGIC, "Paraplegia")
|
||||
|
||||
|
||||
HTML += {"</ul>
|
||||
@@ -1942,7 +1943,7 @@
|
||||
// Wheelchair necessary?
|
||||
var/obj/item/organ/external/l_foot = character.get_organ("l_foot")
|
||||
var/obj/item/organ/external/r_foot = character.get_organ("r_foot")
|
||||
if(!l_foot && !r_foot)
|
||||
if((!l_foot && !r_foot) || (disabilities & DISABILITY_FLAG_PARAPLEGIC))
|
||||
var/obj/structure/chair/wheelchair/W = new /obj/structure/chair/wheelchair(character.loc)
|
||||
W.buckle_mob(character, TRUE)
|
||||
else if(!l_foot || !r_foot)
|
||||
@@ -1991,6 +1992,10 @@
|
||||
character.dna.SetSEState(GLOB.blindblock, TRUE, TRUE)
|
||||
character.dna.default_blocks.Add(GLOB.blindblock)
|
||||
|
||||
if(disabilities & DISABILITY_FLAG_PARAPLEGIC)
|
||||
character.dna.SetSEState(GLOB.paraplegicblock, TRUE, TRUE)
|
||||
character.dna.default_blocks.Add(GLOB.paraplegicblock)
|
||||
|
||||
if(disabilities & DISABILITY_FLAG_DEAF)
|
||||
character.dna.SetSEState(GLOB.deafblock, TRUE, TRUE)
|
||||
character.dna.default_blocks.Add(GLOB.deafblock)
|
||||
|
||||
Reference in New Issue
Block a user