mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 22:57:39 +01:00
Co-authored-by: Cameron Lennox <killer65311@gmail.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
19 lines
412 B
Plaintext
19 lines
412 B
Plaintext
/datum/event/spontaneous_appendicitis/start()
|
|
// CHOMPAdd Start
|
|
if(prob(50))
|
|
kill()
|
|
return
|
|
// CHOMPAdd End
|
|
for(var/mob/living/carbon/human/H in shuffle(GLOB.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
|