Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The end of an era, reworks virology [DRAFT] #661

Merged
merged 197 commits into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from 55 commits
Commits
Show all changes
197 commits
Select commit Hold shift + click to select a range
ef9c4f3
changes 1
dwasint Nov 20, 2023
86b71c0
basic virle spreading
dwasint Nov 20, 2023
e2b77f6
centrifuge
dwasint Nov 21, 2023
3ee7394
stuff
dwasint Nov 21, 2023
3d38251
stuff
dwasint Nov 21, 2023
0cf81f2
for now
dwasint Nov 21, 2023
a64c62c
Update virusdish.dm
dwasint Nov 21, 2023
78d6fd8
more stuff
dwasint Nov 21, 2023
b687b15
converts to advanced disease over base disease
dwasint Nov 21, 2023
23aacdf
compiles
dwasint Nov 21, 2023
43ee7b9
more shit
dwasint Nov 22, 2023
81aef44
infection changes
dwasint Nov 24, 2023
428ec89
more pathogen changes
dwasint Nov 25, 2023
074e066
changes
dwasint Nov 25, 2023
c600394
turns spacecillian into an antipathoneginic chemical adds a section f…
dwasint Nov 26, 2023
d8899a1
adds antigen to copy fixes runtime in generic item and bad reference …
dwasint Nov 26, 2023
959331a
chicken noodle soup
dwasint Nov 26, 2023
75bd251
start of splicer and admin curer, also adds virus DB and information
dwasint Nov 30, 2023
e4e8fb1
adds real_name proc fixes curer
dwasint Nov 30, 2023
a4fc8c6
runtime fixes
dwasint Nov 30, 2023
6fb348e
more changes
dwasint Nov 30, 2023
87f24cb
stage 1 and 2
dwasint Dec 1, 2023
9bc7ce0
Merge branch 'master' into virology
dwasint Dec 2, 2023
cb4a2e0
stage 3 symptoms
dwasint Dec 3, 2023
c414a12
whoops
dwasint Dec 3, 2023
9a637ee
Update stage3.dm
dwasint Dec 3, 2023
ff60b3f
creates stage4
dwasint Dec 4, 2023
c644028
stage 4s
dwasint Dec 4, 2023
3035db3
mutate changes
dwasint Dec 4, 2023
f036665
start of splicer ui, adds analyzer
dwasint Dec 4, 2023
6ae407c
restr
dwasint Dec 4, 2023
8053aa8
more stuff
dwasint Dec 5, 2023
85f4ddf
shitty incubator menu
dwasint Dec 5, 2023
834cbb4
whoops
dwasint Dec 5, 2023
b6b862a
rat stuff
dwasint Dec 5, 2023
d45f4aa
fixes
dwasint Dec 5, 2023
53fe5be
large step for mouse kind
dwasint Dec 5, 2023
71a8a00
forgor to save
dwasint Dec 5, 2023
60d2cdf
whoops
dwasint Dec 5, 2023
8396dcb
whoops 2.0
dwasint Dec 5, 2023
8b2c561
moves procs back to living from carbon
dwasint Dec 5, 2023
53a06be
Update stage3.dm
dwasint Dec 5, 2023
bc0b3c0
Update stage2.dm
dwasint Dec 5, 2023
115b775
makes check bp bleeding respect body coverage
dwasint Dec 5, 2023
e16f81f
needs human
dwasint Dec 5, 2023
5bed96b
cleanables now check for contact and blood diseases, they show up on …
dwasint Dec 5, 2023
9f6747f
blam
dwasint Dec 5, 2023
360802a
maybe?
dwasint Dec 5, 2023
69ac2cf
whoops no var/ inside procs
dwasint Dec 5, 2023
ef437b6
fixes immune system lingering refs
dwasint Dec 5, 2023
f3e67ff
whoopsie
dwasint Dec 5, 2023
3851d25
guh
dwasint Dec 5, 2023
36660b5
guh
dwasint Dec 5, 2023
2f926c6
changes and late join virus
dwasint Dec 5, 2023
d0ee3fc
Update _immune_system.dm
dwasint Dec 5, 2023
abff77e
replaces += overlay with add_overlay
dwasint Dec 5, 2023
469f419
Update splicer.dm
dwasint Dec 5, 2023
9896df8
Update incubator.dm
dwasint Dec 5, 2023
3cf9b84
converts some to ma and ea's adds immunity scanner terch node
dwasint Dec 5, 2023
fa5acaa
replaces give disease with the new proc
dwasint Dec 5, 2023
1b0f722
fixes
dwasint Dec 5, 2023
3add69d
more fixes
dwasint Dec 5, 2023
7012705
Merge branch 'master' into virology
dwasint Dec 5, 2023
dfde53b
map changes
dwasint Dec 5, 2023
7f43ff7
fixes flusher rapturing individuals
dwasint Dec 5, 2023
798edc0
Update flush.dm
dwasint Dec 5, 2023
2928ceb
whoops
dwasint Dec 5, 2023
fe76fa8
Update virusdish.dm
dwasint Dec 5, 2023
bb39cbb
fixes
dwasint Dec 6, 2023
bcbfae6
tons of fixes
dwasint Dec 6, 2023
0aa92a3
Update living.dm
dwasint Dec 6, 2023
3b3703e
Update centrifuge.dm
dwasint Dec 6, 2023
a588148
guh
dwasint Dec 6, 2023
fc5adb3
Update client_procs.dm
dwasint Dec 6, 2023
4771ddc
Update client_procs.dm
dwasint Dec 6, 2023
18347f8
Update client_procs.dm
dwasint Dec 6, 2023
815ca6b
fixes
dwasint Dec 6, 2023
2156176
adds inverse for clients to remove shit
dwasint Dec 6, 2023
3e57c14
god save the queen
dwasint Dec 6, 2023
4eb5156
whoops
dwasint Dec 6, 2023
6cb5545
more fixes
dwasint Dec 6, 2023
1e4b634
moves disease view to a proc on mobs adds admin verb to see disease view
dwasint Dec 6, 2023
ff682ab
Update admin_verbs.dm
dwasint Dec 6, 2023
6383c98
Update _disease.dm
dwasint Dec 6, 2023
aa2f8fd
Update living.dm
dwasint Dec 6, 2023
8f737b3
Update _disease.dm
dwasint Dec 6, 2023
fbde9e1
map changes
dwasint Dec 6, 2023
52f28f0
replaces panel with better panel
dwasint Dec 6, 2023
ef8504a
better incubator panel
dwasint Dec 6, 2023
ef93be8
fixes
dwasint Dec 6, 2023
dc0882b
reverts drone change
dwasint Dec 7, 2023
c02dd75
Update _drone.dm
dwasint Dec 7, 2023
93807fc
Update dice.dm
dwasint Dec 7, 2023
b32ada0
whoops
dwasint Dec 7, 2023
610fe67
fixes
dwasint Dec 7, 2023
63fc414
more changes
dwasint Dec 7, 2023
d469ffe
fixes for linters and stuff
dwasint Dec 7, 2023
7ac4211
whoops
dwasint Dec 7, 2023
48f38f7
replaces icon stuff with appearance and overlay updates as god intended
dwasint Dec 7, 2023
0d5b716
Update machines.dm
dwasint Dec 7, 2023
932955f
forgot Emissives need a mutable
dwasint Dec 7, 2023
adb1de1
mouse cubes
dwasint Dec 7, 2023
51e6a9c
removes all old contact procs, replaces with new infections
dwasint Dec 7, 2023
4c25b16
fixes mouse cubes
dwasint Dec 7, 2023
82b23ae
Update living.dm
dwasint Dec 7, 2023
082f561
replace old disease with new disease, fixes gondola disease
dwasint Dec 7, 2023
4845aab
more stuff
dwasint Dec 7, 2023
1f3a209
elvis mouse elvis mouse elvis mouse elvis mouse
dwasint Dec 7, 2023
add5d1a
Update flu.dm
dwasint Dec 7, 2023
150a5e4
Update virology.dm
dwasint Dec 7, 2023
15824fa
whoop
dwasint Dec 7, 2023
ff34960
should cut alot of pathogenic cloud processing
dwasint Dec 7, 2023
f3f86ab
guh
dwasint Dec 7, 2023
d7a2c8f
Update sterile_procs.dm
dwasint Dec 7, 2023
1997249
fixes contact adds clean removal
dwasint Dec 8, 2023
5f319c4
fixes
dwasint Dec 8, 2023
3d3080a
redoes this
dwasint Dec 8, 2023
8b991d2
this performed better
dwasint Dec 8, 2023
e7685e9
makes latejoin diseases come in 30 minutes in
dwasint Dec 8, 2023
882f11f
fixes ipcs and plasmemes getting sick
dwasint Dec 8, 2023
266341c
Update _unit_tests.dm
dwasint Dec 8, 2023
8a4b2b6
fixes bio armor having inverse effects on diseases
dwasint Dec 8, 2023
f0b4016
adds parts and research for new viro machines
dwasint Dec 8, 2023
2a5fadf
adds vials to deisgn tree
dwasint Dec 8, 2023
f6425dc
converts into proper spans
dwasint Dec 8, 2023
461cf4d
adds kill timers to the symptoms
dwasint Dec 8, 2023
ce28251
whoops
dwasint Dec 8, 2023
8393953
Update stage1.dm
dwasint Dec 8, 2023
cd329c2
adds in pathology record console
dwasint Dec 8, 2023
1fb5484
Update RecordTabs.tsx
dwasint Dec 8, 2023
9d16c03
adds pathology records
dwasint Dec 8, 2023
7e4558a
some basic changes to change from virologist to pathologist
dwasint Dec 8, 2023
5661129
Update RecordView.tsx
dwasint Dec 8, 2023
270404d
Update types.ts
dwasint Dec 8, 2023
3d788ad
may the lord frown on those who didn't use access helpers
dwasint Dec 8, 2023
1461eaa
Update stage2.dm
dwasint Dec 8, 2023
00b7235
removes shit
dwasint Dec 9, 2023
9269a96
Update tgstation.dme
dwasint Dec 9, 2023
7929767
womp
dwasint Dec 9, 2023
992bcae
vomit wont stun
dwasint Dec 9, 2023
cd009c1
converts more symptoms and diseases into the new viruses
dwasint Dec 9, 2023
96c8017
Update stage4.dm
dwasint Dec 9, 2023
6ec2614
Update stage4.dm
dwasint Dec 9, 2023
b91330e
fixes
dwasint Dec 9, 2023
b0dd8fc
loop fix
dwasint Dec 9, 2023
98d614d
whoops
dwasint Dec 9, 2023
d7a7903
whoops
dwasint Dec 9, 2023
838bd35
fixes loop
dwasint Dec 9, 2023
ec7889c
changes
dwasint Dec 9, 2023
c707b61
moves files around
dwasint Dec 9, 2023
ccdbafb
vial sprites
dwasint Dec 9, 2023
343cbbe
more vial fill states
dwasint Dec 9, 2023
20379b7
AND IT DIDNT SAVE EVERYONE
dwasint Dec 9, 2023
907f454
i hate comments i hate comments
dwasint Dec 9, 2023
b0bfdb4
more replaces
dwasint Dec 10, 2023
11e95c4
stops infections on non approved bio_types
dwasint Dec 10, 2023
772c42f
removes isolator because it was confusing
dwasint Dec 10, 2023
7276475
Update virusdish.dm
dwasint Dec 10, 2023
11e34f4
update_desc
dwasint Dec 10, 2023
34cad10
adds the ability to wage 0 monkecoins on duels
dwasint Dec 10, 2023
03f56a8
more symptoms added
dwasint Dec 11, 2023
c80b556
Update symptoms.dm
dwasint Dec 11, 2023
089cfdd
box of vials
dwasint Dec 11, 2023
960b8db
whoops
dwasint Dec 11, 2023
77ec18b
bananeer and fade matrix in and out
dwasint Dec 11, 2023
8481263
Update _open.dm
dwasint Dec 11, 2023
01c16f6
SSmetrics
dwasint Dec 12, 2023
4aa5137
gotta be unique
dwasint Dec 12, 2023
21859ef
i cry
dwasint Dec 12, 2023
3612133
Revert "i cry"
dwasint Dec 12, 2023
e2e54cf
Revert "gotta be unique"
dwasint Dec 12, 2023
94c3bfa
Update metric_subsystem.dm
dwasint Dec 12, 2023
306f149
grabs time before everything else as its doing it off the last 30 sec…
dwasint Dec 12, 2023
ecb9376
replaces with knockdown shitcode
dwasint Dec 12, 2023
88eb212
Update animation_procs.dm
dwasint Dec 12, 2023
5b9123f
Update _open.dm
dwasint Dec 12, 2023
eb350d2
Update _open.dm
dwasint Dec 12, 2023
34e51aa
fixes two bugs
dwasint Dec 12, 2023
37e7b54
Update basic_additions.dm
dwasint Dec 12, 2023
d2c1ff6
adds more metric extra data
dwasint Dec 12, 2023
3f3f256
Update basic_additions.dm
dwasint Dec 12, 2023
776a0e9
more diseases and symptoms fixes cure all virueses
dwasint Dec 12, 2023
2ad0df1
Update tgstation.dme
dwasint Dec 12, 2023
cdbe7fd
Update medical.dm
dwasint Dec 12, 2023
62c4d5c
tons of sql shit
dwasint Dec 13, 2023
2058da8
Update sql_logging_subsystem.dm
dwasint Dec 13, 2023
896e4a3
fixes duplicates
dwasint Dec 13, 2023
40d96c1
Update talk.dm
dwasint Dec 13, 2023
e5daafb
Update sql_logging_subsystem.dm
dwasint Dec 13, 2023
bd5362b
Update sql_logging_subsystem.dm
dwasint Dec 13, 2023
cf7ff13
Update talk.dm
dwasint Dec 13, 2023
355ced3
Update talk.dm
dwasint Dec 14, 2023
21b04bf
tons more sql logs
dwasint Dec 14, 2023
78b0f19
this needs to be an infusion mutation
dwasint Dec 14, 2023
c1abaaf
Update sql_logging_subsystem.dm
dwasint Dec 14, 2023
8a37091
Update sql_logging_subsystem.dm
dwasint Dec 14, 2023
4f01c33
Update sql_logging_subsystem.dm
dwasint Dec 14, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions code/__DEFINES/combat.dm
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@ GLOBAL_LIST_INIT(shove_disarming_types, typecacheof(list(
#define GRENADE_NONCLUMSY_FUMBLE 2
#define GRENADE_NO_FUMBLE 3

#define BODY_ZONE_EVERYTHING "everything"
#define BODY_ZONE_ARMS "arms"
#define BODY_ZONE_LEGS "legs"
#define BODY_ZONE_HEAD "head"
#define BODY_ZONE_CHEST "chest"
#define BODY_ZONE_L_ARM "l_arm"
Expand Down
1 change: 1 addition & 0 deletions code/__DEFINES/vv.dm
Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,4 @@
#define VV_HK_WEAKREF_RESOLVE "weakref_resolve"

#define VV_HK_POSSESS_ITEM "possess_item"
#define VV_HK_VIEW_DISEASE_DATA "disease_data"
33 changes: 33 additions & 0 deletions code/__DEFINES/~monkestation/virology.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#define EFFECT_DANGER_HELPFUL "0"
#define EFFECT_DANGER_FLAVOR "1"
#define EFFECT_DANGER_ANNOYING "2"
#define EFFECT_DANGER_HINDRANCE "3"
#define EFFECT_DANGER_HARMFUL "4"
#define EFFECT_DANGER_DEADLY "5"

#define ANTIGEN_BLOOD "blood"
#define ANTIGEN_COMMON "common"
#define ANTIGEN_RARE "rare"
#define ANTIGEN_ALIEN "alien"

//blood antigens
#define ANTIGEN_O "O"
#define ANTIGEN_A "A"
#define ANTIGEN_B "B"
#define ANTIGEN_RH "Rh"
//common antigens
#define ANTIGEN_Q "Q"
#define ANTIGEN_U "U"
#define ANTIGEN_V "V"
//rare antigens
#define ANTIGEN_M "M"
#define ANTIGEN_N "N"
#define ANTIGEN_P "P"
//alien antigens
#define ANTIGEN_X "X"
#define ANTIGEN_Y "Y"
#define ANTIGEN_Z "Z"


#define DISEASE_BUMP "bump"
#define DISEASE_TOUCH "touch"
51 changes: 51 additions & 0 deletions code/__HELPERS/~monkestation-helpers/virology.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
GLOBAL_LIST_INIT(all_antigens, list(
ANTIGEN_O,
ANTIGEN_A,
ANTIGEN_B,
ANTIGEN_RH,
ANTIGEN_Q,
ANTIGEN_U,
ANTIGEN_V,
ANTIGEN_M,
ANTIGEN_N,
ANTIGEN_P,
ANTIGEN_X,
ANTIGEN_Y,
ANTIGEN_Z,
))

GLOBAL_LIST_INIT(blood_antigens, list(
ANTIGEN_O,
ANTIGEN_A,
ANTIGEN_B,
ANTIGEN_RH,
))

GLOBAL_LIST_INIT(common_antigens, list(
ANTIGEN_Q,
ANTIGEN_U,
ANTIGEN_V,
))

GLOBAL_LIST_INIT(rare_antigens, list(
ANTIGEN_M,
ANTIGEN_N,
ANTIGEN_P,
))

GLOBAL_LIST_INIT(alien_antigens, list(
ANTIGEN_X,
ANTIGEN_Y,
ANTIGEN_Z,
))

/proc/antigen_family(id)
switch(id)
if (ANTIGEN_BLOOD)
return GLOB.blood_antigens
if (ANTIGEN_COMMON)
return GLOB.common_antigens
if (ANTIGEN_RARE)
return GLOB.rare_antigens
if (ANTIGEN_ALIEN)
return GLOB.alien_antigens
4 changes: 2 additions & 2 deletions code/datums/diseases/_MobProcs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
if(ishuman(src))
var/mob/living/carbon/human/infecting_human = src

if(infecting_human.reagents.has_reagent(/datum/reagent/medicine/spaceacillin) && prob(75))
if(infecting_human.reagents.has_reagent(/datum/reagent/medicine/antipathogenic/spaceacillin) && prob(75))
return

switch(target_zone)
Expand Down Expand Up @@ -97,7 +97,7 @@
/mob/living/proc/AirborneContractDisease(datum/disease/disease, force_spread)
if(ishuman(src))
var/mob/living/carbon/human/infecting_human = src
if(infecting_human.reagents.has_reagent(/datum/reagent/medicine/spaceacillin) && prob(75))
if(infecting_human.reagents.has_reagent(/datum/reagent/medicine/antipathogenic/spaceacillin) && prob(75))
return

if(((disease.spread_flags & DISEASE_SPREAD_AIRBORNE) || force_spread) && prob((50*disease.spreading_modifier) - 1))
Expand Down
87 changes: 65 additions & 22 deletions code/datums/diseases/_disease.dm
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
GLOBAL_LIST_INIT(inspectable_diseases, list())

/datum/disease
//Flags
var/visibility_flags = 0
var/disease_flags = CURABLE|CAN_CARRY|CAN_RESIST
var/spread_flags = DISEASE_SPREAD_AIRBORNE | DISEASE_SPREAD_CONTACT_FLUIDS | DISEASE_SPREAD_CONTACT_SKIN
var/spread_flags = 0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unsure but its possible this should be NONE.


//Fluff
var/form = "Virus"
Expand All @@ -14,7 +16,7 @@

//Stages
var/stage = 1
var/max_stages = 0
var/max_stages = 4
/// The probability of this infection advancing a stage every second the cure is not present.
var/stage_prob = 2

Expand All @@ -36,12 +38,14 @@
var/infectable_biotypes = MOB_ORGANIC //if the disease can spread on organics, synthetics, or undead
var/process_dead = FALSE //if this ticks while the host is dead
var/copy_type = null //if this is null, copies will use the type of the instance being copied
var/list/symptoms = list() // The symptoms of the disease.

/datum/disease/Destroy()
. = ..()
GLOB.inspectable_diseases -= src
if(affected_mob)
remove_disease()
SSdisease.active_diseases.Remove(src)
//SSdisease.active_diseases.Remove(src)

//add this disease if the host does not already have too many
/datum/disease/proc/try_infect(mob/living/infectee, make_copy = TRUE)
Expand All @@ -53,7 +57,7 @@
var/datum/disease/D = make_copy ? Copy() : src
LAZYADD(infectee.diseases, D)
D.affected_mob = infectee
SSdisease.active_diseases += D //Add it to the active diseases list, now that it's actually in a mob and being processed.
//SSdisease.active_diseases += D //Add it to the active diseases list, now that it's actually in a mob and being processed.

D.after_add()
infectee.med_hud_set_status()
Expand All @@ -64,7 +68,7 @@

///Proc to process the disease and decide on whether to advance, cure or make the sympthoms appear. Returns a boolean on whether to continue acting on the symptoms or not.
/datum/disease/proc/stage_act(seconds_per_tick, times_fired)
var/slowdown = affected_mob.reagents.has_reagent(/datum/reagent/medicine/spaceacillin) ? 0.5 : 1 // spaceacillin slows stage speed by 50%
var/slowdown = affected_mob.reagents.has_reagent(/datum/reagent/medicine/antipathogenic/spaceacillin) ? 0.5 : 1 // spaceacillin slows stage speed by 50%

if(has_cure())
if(SPT_PROB(cure_chance, seconds_per_tick))
Expand Down Expand Up @@ -101,21 +105,18 @@
if(!(spread_flags & DISEASE_SPREAD_AIRBORNE) && !force_spread)
return

if(affected_mob.reagents.has_reagent(/datum/reagent/medicine/spaceacillin) || (affected_mob.satiety > 0 && prob(affected_mob.satiety/10)))
if(affected_mob.reagents.has_reagent(/datum/reagent/medicine/antipathogenic/spaceacillin) || (affected_mob.satiety > 0 && prob(affected_mob.satiety/10)))
return

var/spread_range = 2

if(force_spread)
spread_range = force_spread

affected_mob.spread_airborne_diseases()
/*
var/turf/T = affected_mob.loc
if(istype(T))
for(var/mob/living/carbon/C in oview(spread_range, affected_mob))
var/turf/V = get_turf(C)
if(disease_air_spread_walk(T, V))
C.AirborneContractDisease(src, force_spread)

*/
/proc/disease_air_spread_walk(turf/start, turf/end)
if(!start || !end)
return FALSE
Expand All @@ -127,25 +128,67 @@
return FALSE
end = Temp

/datum/disease/proc/IsSame(datum/disease/D)
if(istype(D, type))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be shortened to simply return istype(D, type), also might be worth making it into a macro define.

return TRUE
return FALSE

/datum/disease/proc/cure(add_resistance = TRUE)
if(affected_mob)
if(add_resistance && (disease_flags & CAN_RESIST))
LAZYOR(affected_mob.disease_resistances, GetDiseaseID())
qdel(src)

/datum/disease/proc/IsSame(datum/disease/D)
if(istype(D, type))
return TRUE
return FALSE


/datum/disease/proc/Copy()
//note that stage is not copied over - the copy starts over at stage 1
var/static/list/copy_vars = list("name", "visibility_flags", "disease_flags", "spread_flags", "form", "desc", "agent", "spread_text",
"cure_text", "max_stages", "stage_prob", "viable_mobtypes", "cures", "infectivity", "cure_chance",
"bypasses_immunity", "spreading_modifier", "severity", "required_organs", "needs_all_cures", "strain_data",
"infectable_biotypes", "process_dead")
var/static/list/copy_vars = list(
"name",
"visibility_flags",
"disease_flags",
"spread_flags",
"form",
"desc",
"agent",
"spread_text",
"cure_text",
"max_stages",
"stage_prob",
"viable_mobtypes",
"cures",
"infectivity",
"cure_chance",
"bypasses_immunity",
"spreading_modifier",
"severity",
"required_organs",
"needs_all_cures",
"strain_data",
"infectable_biotypes",
"process_dead",
"mutation_modifier",
"strength",
"robustness",
"max_bodytemperature",
"min_bodytemperature",
"log",
"origin",
"logged_virusfood",
"fever_warning",
"color",
"pattern",
"pattern_color",
"can_kill",
"infectionchance",
"infectionchance_base",
"ticks",
"speed",
"subID",
"uniqueID",
"childID",
"symptoms",
"stageprob",
"antigen",
)

var/datum/disease/D = copy_type ? new copy_type() : new type()
for(var/V in copy_vars)
Expand Down
1 change: 0 additions & 1 deletion code/datums/diseases/advance/advance.dm
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

// NEW VARS
var/list/properties = list()
var/list/symptoms = list() // The symptoms of the disease.
var/id = ""
var/processing = FALSE
var/mutable = TRUE //set to FALSE to prevent most in-game methods of altering the disease via virology
Expand Down
3 changes: 3 additions & 0 deletions code/datums/diseases/advance/symptoms/beard.dm
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/*

/** Facial Hypertrichosis
* No change to stealth.
* Increases resistance.
Expand Down Expand Up @@ -35,3 +37,4 @@
H.facial_hairstyle = beard_order[index]
H.update_body_parts()

*/
3 changes: 3 additions & 0 deletions code/datums/diseases/advance/symptoms/cough.dm
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/*

/**Coughing
* Slightly decreases stealth
* Reduces resistance
Expand Down Expand Up @@ -78,3 +80,4 @@
addtimer(CALLBACK(affected_mob, TYPE_PROC_REF(/mob/, emote), "cough"), 6)
addtimer(CALLBACK(affected_mob, TYPE_PROC_REF(/mob/, emote), "cough"), 12)
addtimer(CALLBACK(affected_mob, TYPE_PROC_REF(/mob/, emote), "cough"), 18)
*/
8 changes: 0 additions & 8 deletions code/datums/diseases/advance/symptoms/symptoms.dm
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,6 @@
///If this symptom can appear from /datum/disease/advance/GenerateSymptoms()
var/naturally_occuring = TRUE

/datum/symptom/New()
var/list/S = SSdisease.list_symptoms
for(var/i = 1; i <= S.len; i++)
if(type == S[i])
id = "[i]"
return
CRASH("We couldn't assign an ID!")

///Called when processing of the advance disease that holds this symptom infects a host and upon each Refresh() of that advance disease.
/datum/symptom/proc/Start(datum/disease/advance/A)
if(neutered)
Expand Down
2 changes: 1 addition & 1 deletion code/datums/diseases/cold.dm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
desc = "If left untreated the subject will contract the flu."
max_stages = 3
cure_text = "Rest & Spaceacillin"
cures = list(/datum/reagent/medicine/spaceacillin)
cures = list(/datum/reagent/medicine/antipathogenic/spaceacillin)
agent = "XY-rhinovirus"
viable_mobtypes = list(/mob/living/carbon/human)
spreading_modifier = 0.5
Expand Down
2 changes: 1 addition & 1 deletion code/datums/diseases/cold9.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
spread_text = "On contact"
spread_flags = DISEASE_SPREAD_BLOOD | DISEASE_SPREAD_CONTACT_SKIN | DISEASE_SPREAD_CONTACT_FLUIDS
cure_text = "Common Cold Anti-bodies & Spaceacillin"
cures = list(/datum/reagent/medicine/spaceacillin)
cures = list(/datum/reagent/medicine/antipathogenic/spaceacillin)
agent = "ICE9-rhinovirus"
viable_mobtypes = list(/mob/living/carbon/human)
desc = "If left untreated the subject will slow, as if partly frozen."
Expand Down
2 changes: 1 addition & 1 deletion code/datums/diseases/flu.dm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
max_stages = 3
spread_text = "Airborne"
cure_text = "Spaceacillin"
cures = list(/datum/reagent/medicine/spaceacillin)
cures = list(/datum/reagent/medicine/antipathogenic/spaceacillin)
cure_chance = 5
agent = "H13N1 flu virion"
viable_mobtypes = list(/mob/living/carbon/human)
Expand Down
2 changes: 1 addition & 1 deletion code/datums/diseases/fluspanish.dm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
max_stages = 3
spread_text = "Airborne"
cure_text = "Spaceacillin & Anti-bodies to the common flu"
cures = list(/datum/reagent/medicine/spaceacillin)
cures = list(/datum/reagent/medicine/antipathogenic/spaceacillin)
cure_chance = 5
agent = "1nqu1s1t10n flu virion"
viable_mobtypes = list(/mob/living/carbon/human)
Expand Down
2 changes: 1 addition & 1 deletion code/datums/diseases/transformation.dm
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@

name = "Xenomorph Transformation"
cure_text = "Spaceacillin & Glycerol"
cures = list(/datum/reagent/medicine/spaceacillin, /datum/reagent/glycerol)
cures = list(/datum/reagent/medicine/antipathogenic/spaceacillin, /datum/reagent/glycerol)
cure_chance = 2.5
agent = "Rip-LEY Alien Microbes"
desc = "This disease changes the victim into a xenomorph."
Expand Down
2 changes: 1 addition & 1 deletion code/datums/diseases/tuberculosis.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
max_stages = 5
spread_text = "Airborne"
cure_text = "Spaceacillin & Convermol"
cures = list(/datum/reagent/medicine/spaceacillin, /datum/reagent/medicine/c2/convermol)
cures = list(/datum/reagent/medicine/antipathogenic/spaceacillin, /datum/reagent/medicine/c2/convermol)
agent = "Fungal Tubercle bacillus Cosmosis"
viable_mobtypes = list(/mob/living/carbon/human)
cure_chance = 2.5 //like hell are you getting out of hell
Expand Down
2 changes: 1 addition & 1 deletion code/datums/wounds/burns.dm
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
return

if(victim.reagents)
if(victim.reagents.has_reagent(/datum/reagent/medicine/spaceacillin))
if(victim.reagents.has_reagent(/datum/reagent/medicine/antipathogenic/spaceacillin))
sanitization += 0.9
if(victim.reagents.has_reagent(/datum/reagent/space_cleaner/sterilizine/))
sanitization += 0.9
Expand Down
3 changes: 3 additions & 0 deletions code/game/atoms.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1015,6 +1015,9 @@
///to add blood from a mob onto something, and transfer their dna info
/atom/proc/add_mob_blood(mob/living/injected_mob)
var/list/blood_dna = injected_mob.get_blood_dna_list()
if(iscarbon(injected_mob))
var/mob/living/carbon/mob = injected_mob
try_infect_with_mobs_diseases(mob.diseases)
if(!blood_dna)
return FALSE
return add_blood_DNA(blood_dna)
Expand Down
Loading
Loading