Fixes kingstons not transfering damage, having normal kingstons symptoms as advanced, and adds diona, a non karma species, to advanced kingstons options (#14619)

Co-authored-by: Qwertytoforty <qwertytoforty@gmail.com>
This commit is contained in:
Qwertytoforty
2020-10-17 13:31:35 -04:00
committed by GitHub
co-authored by Qwertytoforty
parent 8782c2ca32
commit 5a5efeb0ed
+7 -6
View File
@@ -43,11 +43,12 @@
affected_mob.visible_message("<span class='danger'>[affected_mob]'s form contorts into something more feline!</span>", \
"<span class='userdanger'>YOU TURN INTO A TAJARAN!</span>")
var/mob/living/carbon/human/catface = affected_mob
catface.set_species(/datum/species/tajaran)
catface.set_species(/datum/species/tajaran, retain_damage = TRUE)
/datum/disease/kingstons/advanced
/datum/disease/kingstons_advanced //this used to be directly a subtype of kingstons, which sounds nice, but it ment that it would *turn you into a tarjaran always and have normal kingstons stage act* Don't make virusus subtypes unless the base virus does nothing.
name = "Advanced Kingstons Syndrome"
max_stages = 4
spread_text = "Airborne"
cure_text = "Plasma"
cures = list("plasma")
@@ -57,18 +58,18 @@
permeability_mod = 0.75
desc = "If left untreated the subject will mutate to a different species."
severity = BIOHAZARD
var/list/virspecies = list(/datum/species/human, /datum/species/tajaran, /datum/species/unathi,/datum/species/skrell, /datum/species/vulpkanin) //no karma races sorrys.
var/list/virspecies = list(/datum/species/human, /datum/species/tajaran, /datum/species/unathi,/datum/species/skrell, /datum/species/vulpkanin, /datum/species/diona) //no karma races sorrys.
var/list/virsuffix = list("pox", "rot", "flu", "cough", "-gitis", "cold", "rash", "itch", "decay")
var/datum/species/chosentype
var/chosensuff
/datum/disease/kingstons/advanced/New()
/datum/disease/kingstons_advanced/New()
chosentype = pick(virspecies)
chosensuff = pick(virsuffix)
name = "[initial(chosentype.name)] [chosensuff]"
/datum/disease/kingstons/advanced/stage_act()
/datum/disease/kingstons_advanced/stage_act()
..()
if(ishuman(affected_mob))
var/mob/living/carbon/human/twisted = affected_mob
@@ -88,7 +89,7 @@
if(!istype(twisted.dna.species, chosentype))
twisted.visible_message("<span class='danger'>[twisted]'s skin splits and form contorts!</span>", \
"<span class='userdanger'>Your body mutates into a [initial(chosentype.name)]!</span>")
twisted.set_species(chosentype)
twisted.set_species(chosentype, retain_damage = TRUE)
else
twisted.visible_message("<span class='danger'>[twisted] scratches at thier skin!</span>", \
"<span class='userdanger'>You scratch your skin to try not to itch!</span>")