mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Fixed brainrot.
Started work on beesease. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@324 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
|
||||
if(stage > max_stages)
|
||||
stage = max_stages
|
||||
if(prob(stage_prob) && stage != max_stages)
|
||||
if(prob(stage_prob) && stage != max_stages && !cure_present) //now the disease shouldn't get back up to stage 4 in no time
|
||||
stage++
|
||||
if(stage != 1 && (prob(1) || (cure_present && prob(cure_chance))))
|
||||
stage--
|
||||
|
||||
31
code/datums/diseases/beesease.dm
Normal file
31
code/datums/diseases/beesease.dm
Normal file
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
/datum/disease/beesease
|
||||
name = "Beesease"
|
||||
max_stages = 5
|
||||
spread = "Contact" //ie shot bees
|
||||
cure = "???"
|
||||
cure_id = "???"
|
||||
agent = "Bees"
|
||||
affected_species = list("Human","Monkey")
|
||||
curable = 0
|
||||
|
||||
/datum/disease/beesease/stage_act()
|
||||
..()
|
||||
switch(stage)
|
||||
if(1)
|
||||
if(prob(2))
|
||||
affected_mob << "\red You feel like something is moving inside of you"
|
||||
if(2) //also changes say, see the say.dm
|
||||
if(prob(2))
|
||||
affected_mob << "\red You feel like something is moving inside of you"
|
||||
if(prob(2))
|
||||
affected_mob << "\red BZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ"
|
||||
if(3)
|
||||
//Should give the bee spit verb
|
||||
if(4)
|
||||
//Plus bees now spit randomly
|
||||
if(5)
|
||||
//Plus if you die, you explode into bees
|
||||
return
|
||||
*/
|
||||
//Started working on it, but am too lazy to finish it today -- Urist
|
||||
@@ -9,7 +9,7 @@
|
||||
curable = 0
|
||||
cure_chance = 10
|
||||
|
||||
/datum/disease/brainrot/stage_act()
|
||||
/datum/disease/brainrot/stage_act() //Removed toxloss because damaging diseases are pretty horrible. Last round it killed the entire station because the cure didn't work -- Urist
|
||||
..()
|
||||
switch(stage)
|
||||
if(2)
|
||||
@@ -28,25 +28,26 @@
|
||||
if(prob(2))
|
||||
affected_mob.emote("drool")
|
||||
if(prob(10))
|
||||
affected_mob.brainloss += 2
|
||||
if(affected_mob.brainloss<=98) //shouldn't retard you to death now
|
||||
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))
|
||||
/* if(prob(10))
|
||||
affected_mob.toxloss +=3
|
||||
affected_mob.updatehealth()
|
||||
if(prob(2))
|
||||
affected_mob << "\red Your head hurts."
|
||||
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))
|
||||
/* if(prob(15))
|
||||
affected_mob.toxloss +=4
|
||||
affected_mob.updatehealth()
|
||||
if(prob(2))
|
||||
affected_mob << "\red Your head hurts."
|
||||
affected_mob << "\red Your head hurts." */
|
||||
if(prob(15))
|
||||
affected_mob.brainloss +=3
|
||||
affected_mob.updatehealth()
|
||||
|
||||
Reference in New Issue
Block a user