traitor ![code/controllers/subsystem/traitor.dm 1](git.png)
Vars | |
all_objectives_by_type | A list of all existing objectives by type |
---|---|
category_handler | Used to handle the probability of getting an objective. |
configuration_data | Global configuration data that gets applied to each objective when it is created. Basic objective format '/datum/traitor_objective/path/to/objective': { "global_progression_influence_intensity": 0 } |
configuration_path | File to load configurations from. |
current_global_progression | The current progression that all traitors should be at in the round |
current_progression_scaling | The current scaling per minute of progression. Has a maximum value of 1 MINUTES. |
generate_objectives | Used by the debug menu, decides whether newly created objectives should generate progression and telecrystals. Do not modify for non-debug purposes. |
newjoin_progression_coeff | The coefficient multiplied by the current_global_progression for new joining traitors to calculate their progression |
progression_scaling_deviance | The amount of deviance from the current global progression before you start getting 2x the current scaling or no scaling at all Also affects objectives, so -50% progress reduction or 50% progress boost. |
taken_objectives_by_type | Objectives that have been completed by type. Used for limiting objectives. |
traitor_debug_panel | The current debug handler for objectives. Used for debugging objectives |
uplink_handlers | The current uplink handlers being managed |
uplink_items | A list of all uplink items |
uplink_items_by_type | A list of all uplink items mapped by type |
Var Details
all_objectives_by_type ![code/controllers/subsystem/traitor.dm 41](git.png)
A list of all existing objectives by type
category_handler ![code/controllers/subsystem/traitor.dm 33](git.png)
Used to handle the probability of getting an objective.
configuration_data ![code/controllers/subsystem/traitor.dm 19](git.png)
Global configuration data that gets applied to each objective when it is created. Basic objective format '/datum/traitor_objective/path/to/objective': { "global_progression_influence_intensity": 0 }
configuration_path ![code/controllers/subsystem/traitor.dm 13](git.png)
File to load configurations from.
current_global_progression ![code/controllers/subsystem/traitor.dm 24](git.png)
The current progression that all traitors should be at in the round
current_progression_scaling ![code/controllers/subsystem/traitor.dm 31](git.png)
The current scaling per minute of progression. Has a maximum value of 1 MINUTES.
generate_objectives ![code/controllers/subsystem/traitor.dm 37](git.png)
Used by the debug menu, decides whether newly created objectives should generate progression and telecrystals. Do not modify for non-debug purposes.
newjoin_progression_coeff ![code/controllers/subsystem/traitor.dm 22](git.png)
The coefficient multiplied by the current_global_progression for new joining traitors to calculate their progression
progression_scaling_deviance ![code/controllers/subsystem/traitor.dm 27](git.png)
The amount of deviance from the current global progression before you start getting 2x the current scaling or no scaling at all Also affects objectives, so -50% progress reduction or 50% progress boost.
taken_objectives_by_type ![code/controllers/subsystem/traitor.dm 39](git.png)
Objectives that have been completed by type. Used for limiting objectives.
traitor_debug_panel ![code/controllers/subsystem/traitor.dm 35](git.png)
The current debug handler for objectives. Used for debugging objectives
uplink_handlers ![code/controllers/subsystem/traitor.dm 29](git.png)
The current uplink handlers being managed
uplink_items ![code/controllers/subsystem/traitor.dm 10](git.png)
A list of all uplink items
uplink_items_by_type ![code/controllers/subsystem/traitor.dm 8](git.png)
A list of all uplink items mapped by type