mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 23:17:02 +01:00
Refactors the examine proc to return a list of strings (#12280)
This commit is contained in:
committed by
variableundefined
parent
40a4cd1b75
commit
0e8ddb2afe
@@ -121,8 +121,8 @@
|
||||
return ..()
|
||||
|
||||
/obj/machinery/door/unpowered/hotel_door/examine(mob/user)
|
||||
..()
|
||||
to_chat(user, "This room is currently [occupant ? "" : "un"]occupied.")
|
||||
. = ..()
|
||||
. += "This room is currently [occupant ? "" : "un"]occupied."
|
||||
|
||||
/obj/machinery/door/unpowered/hotel_door/allowed(mob/living/carbon/user)
|
||||
for(var/obj/item/card/hotel_card/C in user.get_all_slots())
|
||||
|
||||
Reference in New Issue
Block a user