mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 13:39:16 +01:00
@@ -138,6 +138,7 @@ var/global/list/severity_to_string = list(EVENT_LEVEL_MUNDANE = "Mundane", EVENT
|
||||
new /datum/event_meta(EVENT_LEVEL_MUNDANE, "PDA Spam", /datum/event/pda_spam, 0, list(ASSIGNMENT_ANY = 4), 0, 25, 50),
|
||||
new /datum/event_meta(EVENT_LEVEL_MUNDANE, "Space Dust", /datum/event/dust , 30, list(ASSIGNMENT_ENGINEER = 5), 0, 0, 50),
|
||||
new /datum/event_meta(EVENT_LEVEL_MUNDANE, "Trivial News", /datum/event/trivial_news, 400),
|
||||
new /datum/event_meta(EVENT_LEVEL_MUNDANE, "Ian Storm", /datum/event/ianstorm, 50),
|
||||
new /datum/event_meta(EVENT_LEVEL_MUNDANE, "Vermin Infestation",/datum/event/infestation, 100, list(ASSIGNMENT_JANITOR = 100)),
|
||||
new /datum/event_meta(EVENT_LEVEL_MUNDANE, "Wallrot", /datum/event/wallrot, 0, list(ASSIGNMENT_ENGINEER = 30, ASSIGNMENT_GARDENER = 50)),
|
||||
)
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
/datum/event/ianstorm
|
||||
announceWhen = 1
|
||||
startWhen = 2
|
||||
endWhen = 3
|
||||
|
||||
/datum/event/ianstorm/announce()
|
||||
command_announcement.Announce("It has come to our attention that the station passed through an ion storm. Please monitor all electronic equipment for malfunctions.", "Anomaly Alert")
|
||||
spawn(rand(50, 300))
|
||||
command_announcement.Announce("Wait. No, thats wrong. The station passed through an IAN storm!.", "Ian Alert")
|
||||
|
||||
/datum/event/ianstorm/start()
|
||||
spawn()
|
||||
for(var/mob/living/carbon/human/C in living_mob_list)
|
||||
var/turf/T = get_turf(C)
|
||||
if(!T)
|
||||
continue
|
||||
if(!(T.z in config.station_levels))
|
||||
continue
|
||||
place_ian(T)
|
||||
|
||||
/datum/event/ianstorm/proc/place_ian(var/turf/T)
|
||||
// Try three times to place an Ian
|
||||
for(var/i = 0, i < 3, i++)
|
||||
var/turf/target = get_step(T, pick(alldirs))
|
||||
if(target && istype(target, /turf/simulated/floor))
|
||||
var/mob/living/simple_animal/corgi/Ian/doge = new(target)
|
||||
doge.name = "Ian " + pick("Alpha", "Beta", "Chi", "Delta", "Epsilon", "Phi",
|
||||
"Gamma", "Eta", "Iota", "Kappa", "Lambda", "Omicron", "Theta",
|
||||
"Rho", "Sigma", "Tau", "Upsilon", "Omega", "Psi", "Zeta")
|
||||
// Poof them onto the station!
|
||||
var/datum/effect/effect/system/steam_spread/s = new
|
||||
s.set_up(3, 0, target)
|
||||
s.start()
|
||||
return
|
||||
// Sadly no ian feasible.
|
||||
@@ -1193,6 +1193,7 @@
|
||||
#include "code\modules\events\event_manager.dm"
|
||||
#include "code\modules\events\gravity.dm"
|
||||
#include "code\modules\events\grid_check.dm"
|
||||
#include "code\modules\events\ian_storm_vr.dm"
|
||||
#include "code\modules\events\infestation.dm"
|
||||
#include "code\modules\events\ion_storm.dm"
|
||||
#include "code\modules\events\meteors.dm"
|
||||
|
||||
Reference in New Issue
Block a user