mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 01:49:19 +00:00
55 lines
1.3 KiB
Plaintext
55 lines
1.3 KiB
Plaintext
/*
|
|
//////////////////////////////////////
|
|
|
|
Dizziness
|
|
|
|
Hidden.
|
|
Lowers resistance considerably.
|
|
Decreases stage speed.
|
|
Reduced transmittability
|
|
Intense Level.
|
|
|
|
Bonus
|
|
Shakes the affected mob's screen for short periods.
|
|
|
|
//////////////////////////////////////
|
|
*/
|
|
|
|
/datum/symptom/dizzy // Not the egg
|
|
|
|
name = "Dizziness"
|
|
desc = "The virus causes inflammation of the vestibular system, leading to bouts of dizziness."
|
|
resistance = -2
|
|
stage_speed = -3
|
|
transmittable = -1
|
|
level = 4
|
|
severity = 2
|
|
base_message_chance = 50
|
|
symptom_delay_min = 15
|
|
symptom_delay_max = 40
|
|
threshold_desc = list(
|
|
"Transmission 6" = "Also causes druggy vision.",
|
|
"Stealth 4" = "The symptom remains hidden until active.",
|
|
)
|
|
|
|
/datum/symptom/dizzy/Start(datum/disease/advance/A)
|
|
if(!..())
|
|
return
|
|
if(A.properties["stealth"] >= 4)
|
|
suppress_warning = TRUE
|
|
if(A.properties["transmittable"] >= 6) //druggy
|
|
power = 2
|
|
|
|
/datum/symptom/dizzy/Activate(datum/disease/advance/A)
|
|
if(!..())
|
|
return
|
|
var/mob/living/M = A.affected_mob
|
|
switch(A.stage)
|
|
if(1, 2, 3, 4)
|
|
if(prob(base_message_chance) && !suppress_warning)
|
|
to_chat(M, "<span class='warning'>[pick("You feel dizzy.", "Your head spins.")]</span>")
|
|
else
|
|
to_chat(M, "<span class='userdanger'>A wave of dizziness washes over you!</span>")
|
|
M.Dizzy(5)
|
|
if(power >= 2)
|
|
M.set_drugginess(5) |