Merge pull request #6072 from Mechoid/Start_Conversion_To_Good_RNG

[RNG is the new RNG] Converts a bunch of events to the Game Master datum system.
This commit is contained in:
Neerti
2019-05-13 22:56:04 -04:00
committed by VirgoBot
parent 53cba90f97
commit f830985d38
31 changed files with 1382 additions and 25 deletions

View File

@@ -1,4 +1,4 @@
/var/global/account_hack_attempted = 0
//var/global/account_hack_attempted = 0
/datum/event/money_hacker
var/datum/money_account/affected_account

View File

@@ -1,4 +1,4 @@
/var/global/list/event_viruses = list() // so that event viruses are kept around for admin logs, rather than being GCed
//var/global/list/event_viruses = list() // so that event viruses are kept around for admin logs, rather than being GCed
datum/event/viral_infection
var/list/viruses = list()

View File

@@ -1,17 +1,17 @@
datum/event/viral_outbreak
/datum/event/viral_outbreak
var/severity = 1
datum/event/viral_outbreak/setup()
/datum/event/viral_outbreak/setup()
announceWhen = rand(0, 3000)
endWhen = announceWhen + 1
severity = rand(2, 4)
datum/event/viral_outbreak/announce()
/datum/event/viral_outbreak/announce()
command_alert("Confirmed outbreak of level 7 biohazard aboard [station_name()]. All personnel must contain the outbreak.", "Biohazard Alert")
world << sound('sound/AI/outbreak7.ogg')
datum/event/viral_outbreak/start()
/datum/event/viral_outbreak/start()
var/list/candidates = list() //list of candidate keys
for(var/mob/living/carbon/human/G in player_list)
if(G.client && G.stat != DEAD)