Virology fixes (#2097)
This commit is contained in:
committed by
kevinz000
parent
d460527c04
commit
7ce6be92a0
@@ -295,6 +295,8 @@
|
||||
var/list/L = list()
|
||||
for(var/datum/symptom/S in symptoms)
|
||||
L += S.id
|
||||
if(S.neutered)
|
||||
L += "N"
|
||||
L = sortList(L) // Sort the list so it doesn't matter which order the symptoms are in.
|
||||
var/result = jointext(L, ":")
|
||||
id = result
|
||||
@@ -325,7 +327,6 @@
|
||||
if(!S.neutered)
|
||||
S.neutered = TRUE
|
||||
S.name += " (neutered)"
|
||||
S.id += "N" //new disease is unique
|
||||
|
||||
/*
|
||||
|
||||
|
||||
@@ -46,10 +46,11 @@
|
||||
var/list/this = list()
|
||||
this["name"] = D.name
|
||||
if(istype(D, /datum/disease/advance))
|
||||
var/datum/disease/advance/A = SSdisease.archive_diseases[D.GetDiseaseID()]
|
||||
if(A.name == "Unknown")
|
||||
var/datum/disease/advance/A = D
|
||||
var/datum/disease/advance/archived = SSdisease.archive_diseases[D.GetDiseaseID()]
|
||||
if(archived.name == "Unknown")
|
||||
this["can_rename"] = TRUE
|
||||
this["name"] = A.name
|
||||
this["name"] = archived.name
|
||||
this["is_adv"] = TRUE
|
||||
this["resistance"] = A.totalResistance()
|
||||
this["stealth"] = A.totalStealth()
|
||||
|
||||
Reference in New Issue
Block a user