Add confused alert

This commit is contained in:
Aronai Sieyes
2020-05-15 13:43:24 -04:00
parent 51c38f8555
commit 6873a3238d
2 changed files with 8 additions and 0 deletions

View File

@@ -220,6 +220,11 @@ The box in your backpack has an oxygen tank and gas mask in it."
or something covering your eyes."
icon_state = "blind"
/obj/screen/alert/confused
name = "Confused"
desc = "You're confused, and may stumble into things! This may be from concussive effects, drugs, or dizzyness. Walking will help reduce incidents."
icon_state = "confused"
/obj/screen/alert/high
name = "High"
desc = "Whoa man, you're tripping balls! Careful you don't get addicted... if you aren't already."

View File

@@ -154,6 +154,9 @@
/mob/living/proc/handle_confused()
if(confused)
AdjustConfused(-1)
throw_alert("confused", /obj/screen/alert/confused)
else
clear_alert("confused")
return confused
/mob/living/proc/handle_disabilities()