Cleans up some disease data (#19359)

* Clean up double-defined spread flags

* Casing consistency

* Spread text consistency

* Add proper spread text to the Cold

* Add proper spread text to the Appendicitis
This commit is contained in:
Nathan Winters
2022-10-13 21:43:26 +02:00
committed by GitHub
parent 80e90daa10
commit e9bbb0c0b6
7 changed files with 13 additions and 17 deletions
+2 -4
View File
@@ -230,10 +230,8 @@ GLOBAL_LIST_INIT(advance_cures, list(
// Assign the spread type and give it the correct description.
/datum/disease/advance/proc/SetSpread(spread_id)
switch(spread_id)
if(NON_CONTAGIOUS)
spread_text = "None"
if(SPECIAL)
spread_text = "None"
if(NON_CONTAGIOUS, SPECIAL)
spread_text = "Non-contagious"
if(CONTACT_GENERAL, CONTACT_HANDS, CONTACT_FEET)
spread_text = "On contact"
if(AIRBORNE)
+2 -1
View File
@@ -2,6 +2,8 @@
form = "Condition"
name = "Appendicitis"
max_stages = 3
spread_text = "Non-contagious"
spread_flags = NON_CONTAGIOUS
cure_text = "Surgery"
agent = "Shitty Appendix"
viable_mobtypes = list(/mob/living/carbon/human)
@@ -9,7 +11,6 @@
desc = "If left untreated the subject will become very weak, and may vomit often."
severity = "Dangerous!"
disease_flags = CAN_CARRY|CAN_RESIST
spread_flags = NON_CONTAGIOUS
visibility_flags = HIDDEN_PANDEMIC
required_organs = list(/obj/item/organ/internal/appendix)
bypasses_immunity = TRUE
+2 -3
View File
@@ -2,8 +2,8 @@
name = "Berserker"
max_stages = 2
stage_prob = 5
spread_text = "Non-Contagious"
spread_flags = SPECIAL
spread_text = "Non-contagious"
spread_flags = NON_CONTAGIOUS
cure_text = "Anti-Psychotics"
cures = list("haloperidol")
agent = "Jagged Crystals"
@@ -12,7 +12,6 @@
desc = "Swearing, shouting, attacking nearby crew members uncontrollably."
severity = DANGEROUS
disease_flags = CURABLE
spread_flags = NON_CONTAGIOUS
/datum/disease/berserker/stage_act()
..()
+1
View File
@@ -1,6 +1,7 @@
/datum/disease/cold
name = "The Cold"
max_stages = 3
spread_text = "Airborne"
spread_flags = AIRBORNE
cure_text = "Rest & Spaceacillin"
cures = list("spaceacillin")
+2 -3
View File
@@ -2,8 +2,8 @@
name = "Food Poisoning"
max_stages = 3
stage_prob = 5
spread_text = "Non-Contagious"
spread_flags = SPECIAL
spread_text = "Non-contagious"
spread_flags = NON_CONTAGIOUS
cure_text = "Sleep"
agent = "Salmonella"
cures = list("chicken_soup")
@@ -12,7 +12,6 @@
desc = "Nausea, sickness, and vomitting."
severity = MINOR
disease_flags = CURABLE
spread_flags = NON_CONTAGIOUS
virus_heal_resistant = TRUE
/datum/disease/food_poisoning/stage_act()
+2 -3
View File
@@ -41,11 +41,10 @@
/datum/disease/gbs/curable
name = "Non-Contagious GBS"
stage_prob = 5
spread_text = "Non-Contagious"
spread_flags = SPECIAL
spread_text = "Non-contagious"
spread_flags = NON_CONTAGIOUS
cure_text = "Cryoxadone"
cures = list("cryoxadone")
cure_chance = 10
agent = "gibbis"
spread_flags = NON_CONTAGIOUS
disease_flags = CURABLE
+2 -3
View File
@@ -3,14 +3,13 @@
name = "Space Kuru"
max_stages = 4
stage_prob = 5
spread_text = "Non-Contagious"
spread_flags = SPECIAL
spread_text = "Non-contagious"
spread_flags = NON_CONTAGIOUS
cure_text = "Incurable"
agent = "Prions"
viable_mobtypes = list(/mob/living/carbon/human)
desc = "Uncontrollable laughing."
severity = BIOHAZARD
spread_flags = NON_CONTAGIOUS
disease_flags = CAN_CARRY
bypasses_immunity = TRUE //Kuru is a prion disorder, not a virus
virus_heal_resistant = TRUE