mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 12:37:26 +01:00
* move all EOL comments on typepath names to dmdoc * Apply suggestions from code review Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com> --------- Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>
40 lines
806 B
Plaintext
40 lines
806 B
Plaintext
/*
|
|
//////////////////////////////////////
|
|
|
|
Dizziness
|
|
|
|
Hidden.
|
|
Lowers resistance considerably.
|
|
Decreases stage speed.
|
|
Reduced transmittability
|
|
Intense Level.
|
|
|
|
Bonus
|
|
Shakes the affected mob's screen for short periods.
|
|
|
|
//////////////////////////////////////
|
|
*/
|
|
|
|
/// Not the egg
|
|
/datum/symptom/dizzy
|
|
|
|
name = "Dizziness"
|
|
stealth = 2
|
|
resistance = -2
|
|
stage_speed = -3
|
|
transmittable = -1
|
|
level = 4
|
|
severity = 2
|
|
|
|
/datum/symptom/dizzy/Activate(datum/disease/advance/A)
|
|
..()
|
|
if(prob(SYMPTOM_ACTIVATION_PROB))
|
|
var/mob/living/M = A.affected_mob
|
|
switch(A.stage)
|
|
if(1, 2, 3, 4)
|
|
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(10 SECONDS)
|
|
return
|