Files
Bubberstation/code/modules/events/anomaly
SkyratBot e5d7c8d09e [MIRROR] Anomalies can now be triggered at your location with admin_setup. Also sets control on setup() for events [MDB IGNORE] (#18304)
* Anomalies can now be triggered at your location with admin_setup. Also sets control on setup() for events (#72065)

## About The Pull Request

Anomaly random events will now ask if you want their anomaly to spawn at
your location if triggered via admin setup.

This PR also makes a small but useful change to the logic for new
round_event objects. round_events now have their control (their
associated round_event_controller) set on New, rather than after setup
is called. Previously, round_events could not access control in their
setup proc (as it was not set at the time), meaning transferring
admin-chosen variables had to be done later in start/announce (depending
on which comes sooner).

While this has just been worked around in the past, the change needed to
be made here, as some anomaly event types announce first, and some start
first. The admin variables needed to be passed in earlier than
start/announce (in setup).

Short version: you can access control in round_event setup() now :D
## Why It's Good For The Game

MORE adminbus, MORE anomaly shenanigans (they're one of my favorite
event types). Also resolves a quirk in event code that bothered me in
other PRs I've made.
## Changelog
🆑 Rhials
admin: anomaly events now give the option to occur at your current
location when triggered with the Trigger Event admin verb
/🆑

* Anomalies can now be triggered at your location with admin_setup. Also sets control on setup() for events

Co-authored-by: Rhials <Datguy33456@gmail.com>
2022-12-24 21:24:30 -08:00
..