traitor_objective_register
![code/modules/antagonists/traitor/components/traitor_objective_helpers.dm 3](git.png)
Helper component that registers signals on an object This is not necessary to use and gives little control over the conditions
Vars | |
fail_signals | Signals to listen out for to automatically fail the objective. |
---|---|
penalty | Whether failing has a penalty |
succeed_signals | Signals to listen out for to automatically succeed the objective |
target | The target to apply the succeed/fail signals onto |
Var Details
fail_signals
![code/modules/antagonists/traitor/components/traitor_objective_helpers.dm 11](git.png)
Signals to listen out for to automatically fail the objective.
penalty
![code/modules/antagonists/traitor/components/traitor_objective_helpers.dm 13](git.png)
Whether failing has a penalty
succeed_signals
![code/modules/antagonists/traitor/components/traitor_objective_helpers.dm 9](git.png)
Signals to listen out for to automatically succeed the objective
target
![code/modules/antagonists/traitor/components/traitor_objective_helpers.dm 7](git.png)
The target to apply the succeed/fail signals onto