mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-23 12:36:47 +01:00
tl;dr level collections that can easily be logically restructured/moved as necessary will eventually be used for radio and overmaps location resolution. this is the last part of https://github.com/Citadel-Station-13/Citadel-Station-13-RP/pull/4841 that has not yet been integrated. this will be a draft for a while. --------- Co-authored-by: LetterN <24603524+LetterN@users.noreply.github.com>
14 lines
436 B
Plaintext
14 lines
436 B
Plaintext
// Observer Pattern Implementation: Shuttle Added
|
|
// Registration type: /datum/shuttle (register for the global event only)
|
|
//
|
|
// Raised when: After a shuttle is initialized.
|
|
//
|
|
// Arguments that the called proc should expect:
|
|
// /datum/shuttle/shuttle: the new shuttle
|
|
|
|
GLOBAL_DATUM_INIT(shuttle_added, /singleton/observ/shuttle_added, new)
|
|
|
|
/singleton/observ/shuttle_added
|
|
name = "Shuttle Added"
|
|
expected_type = /datum/shuttle
|