station ![code/controllers/subsystem/processing/station.dm 1](git.png)
Vars | |
announcer | Currently active announcer. Starts as a type but gets initialized after traits are selected |
---|---|
selectable_traits_by_types | Assoc list of trait type || assoc list of traits with weighted value. Used for picking traits from a specific category. |
station_traits | A list of currently active station traits |
Procs | |
pick_traits | Picks traits of a specific category (e.g. bad or good) and a specified amount, then initializes them and adds them to the list of traits. |
setup_trait | Creates a given trait of a specific type, while also removing any blacklisted ones from the future pool. |
Var Details
announcer ![code/controllers/subsystem/processing/station.dm 13](git.png)
Currently active announcer. Starts as a type but gets initialized after traits are selected
selectable_traits_by_types ![code/controllers/subsystem/processing/station.dm 11](git.png)
Assoc list of trait type || assoc list of traits with weighted value. Used for picking traits from a specific category.
station_traits ![code/controllers/subsystem/processing/station.dm 9](git.png)
A list of currently active station traits
Proc Details
pick_traits
Picks traits of a specific category (e.g. bad or good) and a specified amount, then initializes them and adds them to the list of traits.
setup_trait
Creates a given trait of a specific type, while also removing any blacklisted ones from the future pool.