mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
Update Chat System to use to_chat(src, "") instead of src << ""
This commit is contained in:
@@ -97,10 +97,10 @@ var/const/CE_STABLE_THRESHOLD = 0.5
|
||||
pale = 1
|
||||
update_icons_body()
|
||||
var/word = pick("dizzy","woosey","faint")
|
||||
src << "<font color='red'>You feel [word]</font>"
|
||||
to_chat(src, "<font color='red'>You feel [word]</font>")
|
||||
if(prob(1))
|
||||
var/word = pick("dizzy","woosey","faint")
|
||||
src << "<font color='red'>You feel [word]</font>"
|
||||
to_chat(src, "<font color='red'>You feel [word]</font>")
|
||||
if(getOxyLoss() < 20 * threshold_coef)
|
||||
adjustOxyLoss(3 * dmg_coef)
|
||||
else if(blood_volume >= BLOOD_VOLUME_BAD)
|
||||
@@ -114,13 +114,13 @@ var/const/CE_STABLE_THRESHOLD = 0.5
|
||||
if(prob(15))
|
||||
Paralyse(rand(1,3))
|
||||
var/word = pick("dizzy","woosey","faint")
|
||||
src << "<font color='red'>You feel extremely [word]</font>"
|
||||
to_chat(src, "<font color='red'>You feel extremely [word]</font>")
|
||||
else if(blood_volume >= BLOOD_VOLUME_SURVIVE)
|
||||
adjustOxyLoss(5 * dmg_coef)
|
||||
// adjustToxLoss(3 * dmg_coef)
|
||||
if(prob(15))
|
||||
var/word = pick("dizzy","woosey","faint")
|
||||
src << "<font color='red'>You feel extremely [word]</font>"
|
||||
to_chat(src, "<font color='red'>You feel extremely [word]</font>")
|
||||
else //Not enough blood to survive (usually)
|
||||
if(!pale)
|
||||
pale = 1
|
||||
|
||||
Reference in New Issue
Block a user