[MIRROR] Extensive surgery additions (#5590)

* Extensive surgery additions

* Update role_preferences.dm

* Update surgery_step.dm
This commit is contained in:
CitadelStationBot
2018-02-19 10:48:11 -06:00
committed by Poojawa
parent d8faf15832
commit 1e65c813f0
46 changed files with 1098 additions and 251 deletions
@@ -54,12 +54,11 @@
M.adjustBrainLoss(-3)
if(trauma_heal_mild && iscarbon(M))
var/mob/living/carbon/C = M
if(prob(30) && C.has_trauma_type(BRAIN_TRAUMA_SPECIAL))
C.cure_trauma_type(BRAIN_TRAUMA_SPECIAL)
if(prob(10) && C.has_trauma_type(BRAIN_TRAUMA_MILD))
C.cure_trauma_type(BRAIN_TRAUMA_MILD)
if(trauma_heal_severe && prob(10) && C.has_trauma_type(BRAIN_TRAUMA_SEVERE))
C.cure_trauma_type(BRAIN_TRAUMA_SEVERE)
if(prob(10))
if(trauma_heal_severe)
C.cure_trauma_type(TRAUMA_RESILIENCE_LOBOTOMY)
else
C.cure_trauma_type(TRAUMA_RESILIENCE_BASIC)