Files
Polaris/code/modules/overmap/events/generation.dm
2020-04-06 17:54:26 -04:00

49 lines
1.2 KiB
Plaintext

/*
** /datum/overmap_event - Descriptors of how/what to spawn during overmap event generation
*/
//These now are basically only used to spawn hazards. Will be useful when we need to spawn group of moving hazards
/datum/overmap_event
var/name = "map event"
var/radius = 2 // Radius of the spawn circle around chosen epicenter
var/count = 6 // How many hazards to spawn
var/hazards // List (or single) typepath of hazard to spawn
var/continuous = TRUE //if it should form continous blob, or can have gaps
/datum/overmap_event/meteor
name = "asteroid field"
count = 15
radius = 4
continuous = FALSE
hazards = /obj/effect/overmap/event/meteor
/datum/overmap_event/electric
name = "electrical storm"
count = 11
radius = 3
hazards = /obj/effect/overmap/event/electric
/datum/overmap_event/dust
name = "dust cloud"
count = 16
radius = 4
hazards = /obj/effect/overmap/event/dust
/datum/overmap_event/ion
name = "ion cloud"
count = 8
radius = 3
hazards = /obj/effect/overmap/event/ion
/datum/overmap_event/carp
name = "carp shoal"
count = 8
radius = 3
continuous = FALSE
hazards = /obj/effect/overmap/event/carp
/datum/overmap_event/carp/major
name = "carp school"
count = 5
radius = 4
hazards = /obj/effect/overmap/event/carp/major