mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-09 16:09:15 +00:00
Several of the greps were missing the `-P` switch which caused them to fail to match things. The EOL grep also wasn't working right so I replaced it with the one I added to TGMC.
61 lines
1.8 KiB
Plaintext
61 lines
1.8 KiB
Plaintext
/*
|
|
//////////////////////////////////////
|
|
|
|
Headache
|
|
|
|
Noticable.
|
|
Highly resistant.
|
|
Increases stage speed.
|
|
Not transmittable.
|
|
Low Level.
|
|
|
|
BONUS
|
|
Displays an annoying message!
|
|
Should be used for buffing your disease.
|
|
|
|
//////////////////////////////////////
|
|
*/
|
|
|
|
/datum/symptom/headache
|
|
|
|
name = "Headache"
|
|
desc = "The virus causes inflammation inside the brain, causing constant headaches."
|
|
stealth = -1
|
|
resistance = 4
|
|
stage_speed = 2
|
|
transmittable = 0
|
|
level = 1
|
|
severity = 1
|
|
base_message_chance = 100
|
|
symptom_delay_min = 15
|
|
symptom_delay_max = 30
|
|
threshold_desc = "<b>Stage Speed 6:</b> Headaches will cause severe pain, that weakens the host.<br>\
|
|
<b>Stage Speed 9:</b> Headaches become less frequent but far more intense, preventing any action from the host.<br>\
|
|
<b>Stealth 4:</b> Reduces headache frequency until later stages."
|
|
|
|
/datum/symptom/headache/Start(datum/disease/advance/A)
|
|
if(!..())
|
|
return
|
|
if(A.properties["stealth"] >= 4)
|
|
base_message_chance = 50
|
|
if(A.properties["stage_rate"] >= 6) //severe pain
|
|
power = 2
|
|
if(A.properties["stage_rate"] >= 9) //cluster headaches
|
|
symptom_delay_min = 30
|
|
symptom_delay_max = 60
|
|
power = 3
|
|
|
|
/datum/symptom/headache/Activate(datum/disease/advance/A)
|
|
if(!..())
|
|
return
|
|
var/mob/living/M = A.affected_mob
|
|
if(power < 2)
|
|
if(prob(base_message_chance) || A.stage >=4)
|
|
to_chat(M, "<span class='warning'>[pick("Your head hurts.", "Your head pounds.")]</span>")
|
|
if(power >= 2 && A.stage >= 4)
|
|
to_chat(M, "<span class='warning'>[pick("Your head hurts a lot.", "Your head pounds incessantly.")]</span>")
|
|
M.adjustStaminaLoss(25)
|
|
if(power >= 3 && A.stage >= 5)
|
|
to_chat(M, "<span class='userdanger'>[pick("Your head hurts!", "You feel a burning knife inside your brain!", "A wave of pain fills your head!")]</span>")
|
|
M.Stun(35)
|