Skip to content

Commit 2d1dd1f

Browse files
authored
Pathology Transformation cures. (#5090)
* transformation cures * Update transformations.dm
1 parent 2c96ebf commit 2d1dd1f

File tree

2 files changed

+40
-2
lines changed

2 files changed

+40
-2
lines changed

monkestation/code/modules/virology/disease/premades/transformations.dm

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,16 @@
1010
spread_flags = DISEASE_SPREAD_BLOOD
1111
robustness = 75
1212

13+
1314
infectionchance = 0
1415
infectionchance_base = 0
1516
stage_variance = 0
1617

18+
/datum/disease/acute/premade/gondola/activate(mob/living/mob, starved, seconds_per_tick)
19+
. = ..()
20+
if(mob.has_reagent(/datum/reagent/consumable/condensedcapsaicin, 1)) //Pepperspray can ruin anyones peaceful existancce.
21+
cure()
22+
1723
/datum/disease/acute/premade/gondola/digital
1824
category = DISEASE_GONDOLA_DIGITAL
1925

@@ -37,6 +43,11 @@
3743
infectionchance_base = 0
3844
stage_variance = 0
3945

46+
/datum/disease/acute/premade/xeno/activate(mob/living/mob, starved, seconds_per_tick)
47+
. = ..()
48+
if(mob.has_reagent(/datum/reagent/phlogiston, 1)) //Fire
49+
cure()
50+
4051
/datum/disease/acute/premade/corgi
4152
name = "Puppification"
4253
form = "Puppy Cells"
@@ -53,6 +64,11 @@
5364
infectionchance_base = 0
5465
stage_variance = 0
5566

67+
/datum/disease/acute/premade/corgi/activate(mob/living/mob, starved, seconds_per_tick)
68+
. = ..()
69+
if(mob.has_reagent(/datum/reagent/consumable/coco, 1)) //Feed Ian chocolatebars
70+
cure()
71+
5672
/datum/disease/acute/premade/slime
5773
name = "Slime Syndrome"
5874
form = "Simplified Cells"
@@ -69,6 +85,11 @@
6985
infectionchance_base = 0
7086
stage_variance = 0
7187

88+
/datum/disease/acute/premade/slime/activate(mob/living/mob, starved, seconds_per_tick)
89+
. = ..()
90+
if(mob.has_reagent(/datum/reagent/water, 1)) //Water is effective against slimes
91+
cure()
92+
7293
/datum/disease/acute/premade/morph
7394
name = "Gluttony"
7495
form = "Hungering Cells"
@@ -85,6 +106,11 @@
85106
infectionchance_base = 0
86107
stage_variance = 0
87108

109+
/datum/disease/acute/premade/morph/activate(mob/living/mob, starved, seconds_per_tick)
110+
. = ..()
111+
if(mob.has_reagent(/datum/reagent/toxin/lipolicide, 1)) //Empties the hunger
112+
cure()
113+
88114
/datum/disease/acute/premade/robot
89115
name = "Nanite Conversion"
90116
form = "Nanites"
@@ -100,3 +126,8 @@
100126
infectionchance = 0
101127
infectionchance_base = 0
102128
stage_variance = 0
129+
130+
/datum/disease/acute/premade/robot/activate(mob/living/mob, starved, seconds_per_tick)
131+
. = ..()
132+
if(mob.has_reagent(/datum/reagent/medicine/system_cleaner, 1))
133+
cure()

monkestation/code/modules/virology/disease/symtoms/restricted/stage1.dm

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
stage = 1
77
badness = EFFECT_DANGER_HARMFUL
88
severity = 3
9-
max_chance = 10
9+
max_chance = 5
1010
var/new_form = /mob/living/carbon/human
1111
var/bantype
1212
var/transformed_antag_datum //Do we add a specific antag datum once the transformation is complete?
@@ -75,32 +75,39 @@
7575
name = "Robotic Transformation"
7676
new_form = /mob/living/silicon/robot
7777
bantype = JOB_CYBORG
78+
desc = "Restructures the subject cells into a Cyborg. Cure: Synthetic Cleaner"
7879

7980
/datum/symptom/transformation/xeno
8081
name = "Xenomorph Transformation"
8182
new_form = /mob/living/carbon/alien/adult/hunter
8283
bantype = ROLE_ALIEN
8384
transformed_antag_datum = /datum/antagonist/xeno
85+
desc = "Restructures the subject cells into a premative xeno hunter. Cure: Phlogisto"
8486

8587
/datum/symptom/transformation/slime
8688
name = "Advanced Mutation Transformation"
8789
new_form = /mob/living/basic/slime
90+
desc = "Restructures the subject cells into a slime. Cure: Water"
8891

8992
/datum/symptom/transformation/corgi
9093
name = "The Barkening"
9194
new_form = /mob/living/basic/pet/dog/corgi
95+
desc = "Restructures the subject cells into a corgi. Cure: Coco Powder"
9296

9397
/datum/symptom/transformation/morph
9498
name = "Gluttony's Blessing"
9599
new_form = /mob/living/basic/morph
96100
transformed_antag_datum = /datum/antagonist/morph
101+
desc = "Restructures the subject cells into a morph. Cure: Lipolicide"
97102

98103
/datum/symptom/transformation/gondola
99104
name = "Gondola Transformation"
100-
max_chance = 50
105+
max_chance = 10
101106
new_form = /mob/living/simple_animal/pet/gondola
107+
desc = "Restructures the subject cells into a gondola. Cure: Condensed Capsaicin"
102108

103109
/datum/symptom/transformation/gondola/digital
110+
max_chance = 50
104111
new_form = /mob/living/simple_animal/pet/gondola/virtual_domain
105112

106113
/datum/symptom/anxiety

0 commit comments

Comments
 (0)