Files
CHOMPStation2/code/game/area/areas_vr.dm
Aronai Sieyes f809f30c72 Merge pull request #10221 from Novacat/nova-basicfixes
Disables Suit Sensors in Dorms
2021-05-06 17:34:15 +00:00

16 lines
411 B
Plaintext

/area
var/enter_message
var/exit_message
var/limit_mob_size = TRUE //If mob size is limited in the area.
var/block_suit_sensors = FALSE //If mob size is limited in the area.
/area/Entered(var/atom/movable/AM, oldLoc)
. = ..()
if(enter_message && isliving(AM))
to_chat(AM, enter_message)
/area/Exited(var/atom/movable/AM, newLoc)
. = ..()
if(exit_message && isliving(AM))
to_chat(AM, exit_message)