* not code stuff * other things * global vars, defines, helpers * onclick hud stuff, orphans, world.dm * controllers and datums * game folder * everything not client/mobs in modules * client folder * stage 1 mob stuff * simple animal things * silicons * carbon things * ayylmaos and monkeys * hyoomahn * icons n shit * sprite fixes * compile fixes * some fixes I cherrypicked. * qdel fixes * forgot brain refractors
18 lines
591 B
Plaintext
18 lines
591 B
Plaintext
// Basically, cut the event frequency in half to simulate unluckiness.
|
|
|
|
/datum/round_event_control/fridaythethirteen
|
|
name = "Friday the 13th"
|
|
holidayID = FRIDAY_13TH
|
|
typepath = /datum/round_event/fridaythethirteen
|
|
weight = -1
|
|
max_occurrences = 1
|
|
earliest_start = 0
|
|
|
|
/datum/round_event/fridaythethirteen/start()
|
|
//Very unlucky, cut the frequency of events in half.
|
|
events.frequency_lower /= 2
|
|
events.frequency_upper /= 2
|
|
|
|
/datum/round_event/fridaythethirteen/announce()
|
|
for(var/mob/living/L in player_list)
|
|
to_chat(L, "<span class='warning'>You are feeling unlucky today.</span>") |