* Maps and things no code/icons * helpers defines globalvars * Onclick world.dm orphaned_procs * subsystems Round vote and shuttle autocall done here too * datums * Game folder * Admin - chatter modules * clothing - mining * modular computers - zambies * client * mob level 1 * mob stage 2 + simple_animal * silicons n brains * mob stage 3 + Alien/Monkey * human mobs * icons updated * some sounds * emitter y u no commit * update tgstation.dme * compile fixes * travis fixes Also removes Fast digest mode, because reasons. * tweaks for travis Mentors are broke again Also fixes Sizeray guns * oxygen loss fix for vore code. * removes unused code * some code updates * bulk fixes * further fixes * outside things * whoops. * Maint bar ported * GLOBs.
19 lines
663 B
Plaintext
19 lines
663 B
Plaintext
/datum/round_event_control/spontaneous_appendicitis
|
|
name = "Spontaneous Appendicitis"
|
|
typepath = /datum/round_event/spontaneous_appendicitis
|
|
weight = 20
|
|
max_occurrences = 4
|
|
earliest_start = 6000
|
|
min_players = 5 // To make your chance of getting help a bit higher.
|
|
|
|
/datum/round_event/spontaneous_appendicitis/start()
|
|
for(var/mob/living/carbon/human/H in shuffle(GLOB.living_mob_list))
|
|
var/foundAlready = 0 //don't infect someone that already has the virus
|
|
for(var/datum/disease/D in H.viruses)
|
|
foundAlready = 1
|
|
if(H.stat == 2 || foundAlready)
|
|
continue
|
|
|
|
var/datum/disease/D = new /datum/disease/appendicitis
|
|
H.ForceContractDisease(D)
|
|
break |