/obj/screen --> /atom/movable/screen
This commit is contained in:
@@ -933,46 +933,46 @@ GLOBAL_LIST_INIT(hallucination_list, list(
|
||||
feedback_details += "Type: [alert_type]"
|
||||
switch(alert_type)
|
||||
if("not_enough_oxy")
|
||||
target.throw_alert(alert_type, /obj/screen/alert/not_enough_oxy, override = TRUE)
|
||||
target.throw_alert(alert_type, /atom/movable/screen/alert/not_enough_oxy, override = TRUE)
|
||||
if("not_enough_tox")
|
||||
target.throw_alert(alert_type, /obj/screen/alert/not_enough_tox, override = TRUE)
|
||||
target.throw_alert(alert_type, /atom/movable/screen/alert/not_enough_tox, override = TRUE)
|
||||
if("not_enough_co2")
|
||||
target.throw_alert(alert_type, /obj/screen/alert/not_enough_co2, override = TRUE)
|
||||
target.throw_alert(alert_type, /atom/movable/screen/alert/not_enough_co2, override = TRUE)
|
||||
if("too_much_oxy")
|
||||
target.throw_alert(alert_type, /obj/screen/alert/too_much_oxy, override = TRUE)
|
||||
target.throw_alert(alert_type, /atom/movable/screen/alert/too_much_oxy, override = TRUE)
|
||||
if("too_much_co2")
|
||||
target.throw_alert(alert_type, /obj/screen/alert/too_much_co2, override = TRUE)
|
||||
target.throw_alert(alert_type, /atom/movable/screen/alert/too_much_co2, override = TRUE)
|
||||
if("too_much_tox")
|
||||
target.throw_alert(alert_type, /obj/screen/alert/too_much_tox, override = TRUE)
|
||||
target.throw_alert(alert_type, /atom/movable/screen/alert/too_much_tox, override = TRUE)
|
||||
if("nutrition")
|
||||
if(prob(50))
|
||||
target.throw_alert(alert_type, /obj/screen/alert/fat, override = TRUE)
|
||||
target.throw_alert(alert_type, /atom/movable/screen/alert/fat, override = TRUE)
|
||||
else
|
||||
target.throw_alert(alert_type, /obj/screen/alert/starving, override = TRUE)
|
||||
target.throw_alert(alert_type, /atom/movable/screen/alert/starving, override = TRUE)
|
||||
if("gravity")
|
||||
target.throw_alert(alert_type, /obj/screen/alert/weightless, override = TRUE)
|
||||
target.throw_alert(alert_type, /atom/movable/screen/alert/weightless, override = TRUE)
|
||||
if("fire")
|
||||
target.throw_alert(alert_type, /obj/screen/alert/fire, override = TRUE)
|
||||
target.throw_alert(alert_type, /atom/movable/screen/alert/fire, override = TRUE)
|
||||
if("temphot")
|
||||
alert_type = "temp"
|
||||
target.throw_alert(alert_type, /obj/screen/alert/hot, 3, override = TRUE)
|
||||
target.throw_alert(alert_type, /atom/movable/screen/alert/hot, 3, override = TRUE)
|
||||
if("tempcold")
|
||||
alert_type = "temp"
|
||||
target.throw_alert(alert_type, /obj/screen/alert/cold, 3, override = TRUE)
|
||||
target.throw_alert(alert_type, /atom/movable/screen/alert/cold, 3, override = TRUE)
|
||||
if("pressure")
|
||||
if(prob(50))
|
||||
target.throw_alert(alert_type, /obj/screen/alert/highpressure, 2, override = TRUE)
|
||||
target.throw_alert(alert_type, /atom/movable/screen/alert/highpressure, 2, override = TRUE)
|
||||
else
|
||||
target.throw_alert(alert_type, /obj/screen/alert/lowpressure, 2, override = TRUE)
|
||||
target.throw_alert(alert_type, /atom/movable/screen/alert/lowpressure, 2, override = TRUE)
|
||||
//BEEP BOOP I AM A ROBOT
|
||||
if("newlaw")
|
||||
target.throw_alert(alert_type, /obj/screen/alert/newlaw, override = TRUE)
|
||||
target.throw_alert(alert_type, /atom/movable/screen/alert/newlaw, override = TRUE)
|
||||
if("locked")
|
||||
target.throw_alert(alert_type, /obj/screen/alert/locked, override = TRUE)
|
||||
target.throw_alert(alert_type, /atom/movable/screen/alert/locked, override = TRUE)
|
||||
if("hacked")
|
||||
target.throw_alert(alert_type, /obj/screen/alert/hacked, override = TRUE)
|
||||
target.throw_alert(alert_type, /atom/movable/screen/alert/hacked, override = TRUE)
|
||||
if("charge")
|
||||
target.throw_alert(alert_type, /obj/screen/alert/emptycell, override = TRUE)
|
||||
target.throw_alert(alert_type, /atom/movable/screen/alert/emptycell, override = TRUE)
|
||||
sleep(duration)
|
||||
target.clear_alert(alert_type, clear_override = TRUE)
|
||||
qdel(src)
|
||||
@@ -1181,7 +1181,7 @@ GLOBAL_LIST_INIT(hallucination_list, list(
|
||||
if(target.client)
|
||||
target.client.images += fire_overlay
|
||||
to_chat(target, "<span class='userdanger'>You're set on fire!</span>")
|
||||
target.throw_alert("fire", /obj/screen/alert/fire, override = TRUE)
|
||||
target.throw_alert("fire", /atom/movable/screen/alert/fire, override = TRUE)
|
||||
sleep(20)
|
||||
for(var/i in 1 to 3)
|
||||
if(target.fire_stacks <= 0)
|
||||
@@ -1203,7 +1203,7 @@ GLOBAL_LIST_INIT(hallucination_list, list(
|
||||
target.clear_alert("temp", clear_override = TRUE)
|
||||
else
|
||||
target.clear_alert("temp", clear_override = TRUE)
|
||||
target.throw_alert("temp", /obj/screen/alert/hot, stage, override = TRUE)
|
||||
target.throw_alert("temp", /atom/movable/screen/alert/hot, stage, override = TRUE)
|
||||
|
||||
/datum/hallucination/fire/proc/clear_fire()
|
||||
if(!active)
|
||||
|
||||
Reference in New Issue
Block a user