Skip to content
This repository has been archived by the owner on Sep 17, 2022. It is now read-only.

Fix spawn areas for anomalies #103

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 7 additions & 10 deletions code/modules/events/stray_cargo.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
/datum/round_event_control/stray_cargo
name = "Stray Cargo Pod"
typepath = /datum/round_event/stray_cargo
weight = 20
max_occurrences = 4
earliest_start = 10 MINUTES
weight = 6 //Singulostation edit - Changed spawn-chance from 20 to 6
max_occurrences = 99999 // Singulostation edit - Buffed max occurences because perma server
earliest_start = 300 MINUTES // Singulostation edit - Annoying round-start

///Spawns a cargo pod containing a random cargo supply pack on a random area of the station
/datum/round_event/stray_cargo
Expand Down Expand Up @@ -68,10 +68,7 @@
if(!allowed_areas)
///Places that shouldn't explode
var/list/safe_area_types = typecacheof(list(
/area/ai_monitored/turret_protected/ai,
/area/ai_monitored/turret_protected/ai_upload,
/area/engine,
/area/shuttle)
/area/ //Singulostation edit - We don't want exploding pods
xNightHowlx marked this conversation as resolved.
Show resolved Hide resolved
)

///Subtypes from the above that actually should explode.
Expand All @@ -85,9 +82,9 @@
/datum/round_event_control/stray_cargo/syndicate
name = "Stray Syndicate Cargo Pod"
typepath = /datum/round_event/stray_cargo/syndicate
weight = 6
max_occurrences = 1
earliest_start = 30 MINUTES
weight = 3 //Singulostation edit - Changed spawn-chance from 6 to 3
max_occurrences = 99999 // Singulostation edit - Buffed max occurences because perma server
earliest_start = 300 MINUTES // Singulostation edit - Annoying round-start

/datum/round_event/stray_cargo/syndicate
possible_pack_types = list(/datum/supply_pack/misc/syndicate)
Expand Down