mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
- Move overmap defines to _defines folder. Rename old file to turfs.dm since that is what it contains. - Definition of overmap event objects and the overmap event handler. - Upgrades to SSevents and SSskybox to tie in the overmap events. - Enhancement to /datum/event itself to support affecting_z and victim ship. - Upgrade to the five event types used on the overmap to support new vars. - Upgrade to dust and meteor spawning code to support targeting z-levels.
49 lines
1.2 KiB
Plaintext
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 |