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
53 lines
1.3 KiB
Plaintext
53 lines
1.3 KiB
Plaintext
/*
|
|
//////////////////////////////////////
|
|
|
|
Weight Loss
|
|
|
|
Very Very Noticable.
|
|
Decreases resistance.
|
|
Decreases stage speed.
|
|
Reduced Transmittable.
|
|
High level.
|
|
|
|
Bonus
|
|
Decreases the weight of the mob,
|
|
forcing it to be skinny.
|
|
|
|
//////////////////////////////////////
|
|
*/
|
|
|
|
/datum/symptom/weight_loss
|
|
|
|
name = "Weight Loss"
|
|
desc = "The virus mutates the host's metabolism, making it almost unable to gain nutrition from food."
|
|
stealth = -2
|
|
resistance = 2
|
|
stage_speed = -2
|
|
transmittable = -2
|
|
level = 3
|
|
severity = 3
|
|
base_message_chance = 100
|
|
symptom_delay_min = 15
|
|
symptom_delay_max = 45
|
|
threshold_desc = list(
|
|
"Stealth 4" = "The symptom is less noticeable."
|
|
)
|
|
|
|
/datum/symptom/weight_loss/Start(datum/disease/advance/A)
|
|
if(!..())
|
|
return
|
|
if(A.properties["stealth"] >= 4) //warn less often
|
|
base_message_chance = 25
|
|
|
|
/datum/symptom/weight_loss/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))
|
|
to_chat(M, "<span class='warning'>[pick("You feel hungry.", "You crave for food.")]</span>")
|
|
else
|
|
to_chat(M, "<span class='warning'><i>[pick("So hungry...", "You'd kill someone for a bite of food...", "Hunger cramps seize you...")]</i></span>")
|
|
M.overeatduration = max(M.overeatduration - 100, 0)
|
|
M.nutrition = max(M.nutrition - 100, 0) |