mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 12:37:50 +01:00
Rewrite examine() to pass a list around
This commit is contained in:
@@ -14,16 +14,16 @@
|
||||
. -= "Off"
|
||||
|
||||
/obj/structure/sign/double/barsign/examine(mob/user)
|
||||
..()
|
||||
. = ..()
|
||||
switch(icon_state)
|
||||
if("Off")
|
||||
to_chat(user, "It appears to be switched off.")
|
||||
. += "It appears to be switched off."
|
||||
if("narsiebistro")
|
||||
to_chat(user, "It shows a picture of a large black and red being. Spooky!")
|
||||
. += "It shows a picture of a large black and red being. Spooky!"
|
||||
if("on", "empty")
|
||||
to_chat(user, "The lights are on, but there's no picture.")
|
||||
. += "The lights are on, but there's no picture."
|
||||
else
|
||||
to_chat(user, "It says '[icon_state]'")
|
||||
. += "It says '[icon_state]'"
|
||||
|
||||
/obj/structure/sign/double/barsign/New()
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user