mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-21 20:14:31 +01:00
Adds a version of spontaneous appendicitis event that avoids people in dorms.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
/datum/event/spontaneous_appendicitis/vorestation/start()
|
||||
for(var/mob/living/carbon/human/H in shuffle(living_mob_list))
|
||||
var/area/A = get_area(H)
|
||||
if(!A)
|
||||
continue
|
||||
if(!(A.z in using_map.station_levels))
|
||||
continue
|
||||
if(A.flags & RAD_SHIELDED)
|
||||
continue
|
||||
if(H.client && H.appendicitis())
|
||||
break
|
||||
Reference in New Issue
Block a user