mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 21:48:21 +01:00
- Added virology profession with a cosy lab in northwestern part of medbay.
- Virology related things, like taking blood samples, making vaccines, splashing contagious blood all over the station and so on. - Added one pathetic disease. - Virus crates are now available from the quartermasters for 20 points. - The DNA console bug (issue #40) was fixed, but I still made the DNA pod to lock itself while mutating someone. - Added icons for unpowered CheMaster and Pandemic computers - Added some sign decals. The icons were already there, but unused for reasons unknown. - Some map-related changes. - Removed all that MSOffice shit from changelog.html git-svn-id: http://tgstation13.googlecode.com/svn/trunk@312 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -7,9 +7,10 @@
|
||||
var/list/affected_species = list()
|
||||
var/mob/affected_mob = null
|
||||
var/carrier = 0.0 //there will be a small chance that the person will be a carrier
|
||||
var/curable = 1 //can this disease be cured?
|
||||
var/curable = 1 //can this disease be cured? (By itself...)
|
||||
var/list/strain_data = list() //This is passed on to infectees
|
||||
var/stage_prob = 5 // probability of advancing to next stage, default 5% per check
|
||||
var/agent = "some microbes"//name of the disease agent
|
||||
|
||||
/datum/disease/proc/stage_act()
|
||||
if(carrier)
|
||||
@@ -28,16 +29,19 @@
|
||||
|
||||
/mob/proc/contract_disease(var/datum/disease/virus, var/skip_this = 0)
|
||||
|
||||
var/index = src.resistances.Find(virus.type)
|
||||
if(index)
|
||||
if(prob(99)) return
|
||||
src.resistances[index] = null//the resistance is futile
|
||||
|
||||
//For alien egg and stuff
|
||||
/*
|
||||
if(skip_this == 1)
|
||||
src.virus = virus
|
||||
src.virus.affected_mob = src
|
||||
if(prob(5))
|
||||
src.virus.carrier = 1
|
||||
return
|
||||
*/
|
||||
|
||||
if(src.resistances.Find(virus.type))
|
||||
return
|
||||
var/score
|
||||
if(istype(src, /mob/living/carbon/human))
|
||||
if(src:gloves)
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
/datum/disease/brainrot
|
||||
name = "Brainrot"
|
||||
max_stages = 4
|
||||
spread = "Airborne"
|
||||
cure = "Spaceacillin & Alkysine"
|
||||
agent = "Cryptococcus Cosmosis"
|
||||
affected_species = list("Human")
|
||||
curable = 0
|
||||
|
||||
/datum/disease/brainrot/stage_act()
|
||||
..()
|
||||
switch(stage)
|
||||
if(2)
|
||||
if(prob(2))
|
||||
affected_mob.emote("blink")
|
||||
if(prob(2))
|
||||
affected_mob.emote("yawn")
|
||||
if(prob(2))
|
||||
affected_mob << "\red Your don't feel like yourself."
|
||||
if(prob(5))
|
||||
affected_mob.brainloss +=1
|
||||
affected_mob.updatehealth()
|
||||
if(3)
|
||||
if(prob(2))
|
||||
affected_mob.emote("stare")
|
||||
if(prob(2))
|
||||
affected_mob.emote("drool")
|
||||
if(prob(10))
|
||||
affected_mob.brainloss += 2
|
||||
affected_mob.updatehealth()
|
||||
if(prob(2))
|
||||
affected_mob << "\red Your try to remember something important...but can't."
|
||||
if(prob(10))
|
||||
affected_mob.toxloss +=3
|
||||
affected_mob.updatehealth()
|
||||
if(prob(2))
|
||||
affected_mob << "\red Your head hurts."
|
||||
if(4)
|
||||
if(prob(2))
|
||||
affected_mob.emote("stare")
|
||||
if(prob(2))
|
||||
affected_mob.emote("drool")
|
||||
if(prob(15))
|
||||
affected_mob.toxloss +=4
|
||||
affected_mob.updatehealth()
|
||||
if(prob(2))
|
||||
affected_mob << "\red Your head hurts."
|
||||
if(prob(15))
|
||||
affected_mob.brainloss +=3
|
||||
affected_mob.updatehealth()
|
||||
if(prob(2))
|
||||
affected_mob << "\red Strange buzzing fills your head, removing all thoughts."
|
||||
if(prob(3))
|
||||
affected_mob << "\red You lose consciousness..."
|
||||
for(var/mob/O in viewers(affected_mob, null))
|
||||
O.show_message("[affected_mob] suddenly collapses", 1)
|
||||
affected_mob.paralysis = rand(5,10)
|
||||
if(prob(1))
|
||||
affected_mob.emote("snore")
|
||||
if(prob(15))
|
||||
affected_mob.stuttering += 3
|
||||
return
|
||||
@@ -3,7 +3,8 @@
|
||||
max_stages = 3
|
||||
spread = "Airborne"
|
||||
cure = "Rest"
|
||||
affected_species = list("Human")
|
||||
agent = "XY-rhinovirus"
|
||||
affected_species = list("Human", "Monkey")
|
||||
|
||||
/datum/disease/cold/stage_act()
|
||||
..()
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
/datum/disease/dnaspread
|
||||
name = "Space Rhinovirus"
|
||||
name = "Space Retrovirus"
|
||||
max_stages = 4
|
||||
spread = "Airborne"
|
||||
cure = "Spaceacillin"
|
||||
curable = 0
|
||||
agent = "S4E1 retrovirus"
|
||||
affected_species = list("Human")
|
||||
var/list/original_dna = list()
|
||||
var/transformed = 0
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
max_stages = 5
|
||||
spread = "Airborne"
|
||||
cure = "Epilepsy Pills"
|
||||
agent = "Gravitokinetic Bipotential SADS-"
|
||||
affected_species = list("Human")
|
||||
|
||||
/datum/disease/fake_gbs/stage_act()
|
||||
|
||||
@@ -2,7 +2,10 @@
|
||||
name = "The Flu"
|
||||
max_stages = 3
|
||||
spread = "Airborne"
|
||||
cure = "Rest"
|
||||
cure = "Spaceacillin"
|
||||
agent = "H13N1 flu virion"
|
||||
affected_species = list("Human")
|
||||
curable = 0
|
||||
|
||||
/datum/disease/flu/stage_act()
|
||||
..()
|
||||
@@ -10,8 +13,7 @@
|
||||
if(2)
|
||||
if(affected_mob.sleeping && prob(20))
|
||||
affected_mob << "\blue You feel better."
|
||||
affected_mob.resistances += affected_mob.virus.type
|
||||
affected_mob.virus = null
|
||||
stage--
|
||||
return
|
||||
if(prob(1))
|
||||
affected_mob.emote("sneeze")
|
||||
@@ -31,8 +33,7 @@
|
||||
if(3)
|
||||
if(affected_mob.sleeping && prob(15))
|
||||
affected_mob << "\blue You feel better."
|
||||
affected_mob.resistances += affected_mob.virus.type
|
||||
affected_mob.virus = null
|
||||
stage--
|
||||
return
|
||||
if(prob(1))
|
||||
affected_mob.emote("sneeze")
|
||||
@@ -48,3 +49,4 @@
|
||||
if(prob(20))
|
||||
affected_mob.toxloss += 1
|
||||
affected_mob.updatehealth()
|
||||
return
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
max_stages = 5
|
||||
spread = "Airborne"
|
||||
cure = "Epilepsy Pills"
|
||||
agent = "Gravitokinetic Bipotential SADS+"
|
||||
affected_species = list("Human")
|
||||
curable = 0
|
||||
|
||||
/datum/disease/gbs/stage_act()
|
||||
..()
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
max_stages = 5
|
||||
spread = "Syringe"
|
||||
cure = "None"
|
||||
agent = "R2D2 Nanomachines"
|
||||
affected_species = list("Human")
|
||||
|
||||
/datum/disease/robotic_transformation/stage_act()
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
max_stages = 5
|
||||
spread = "Syringe"
|
||||
cure = "None"
|
||||
agent = "Rip-LEY Alien Microbes"
|
||||
affected_species = list("Human")
|
||||
|
||||
/datum/disease/xeno_transformation/stage_act()
|
||||
|
||||
Reference in New Issue
Block a user