mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-23 05:07:51 +01:00
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
17 lines
371 B
Plaintext
17 lines
371 B
Plaintext
/datum/event/spontaneous_appendicitis/start()
|
|
if(prob(50))
|
|
kill()
|
|
return
|
|
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.flag_check(AREA_FORBID_EVENTS))
|
|
continue
|
|
if(isbelly(H.loc))
|
|
continue
|
|
if(H.client && H.appendicitis())
|
|
break
|