advanced_antag_goal 
-- Base Advanced antag goal datum. -- Like your standard /datum/objective/custom, but with more fun stuff. Used by advanced antags /datum/advaced_antagonist
Vars | |
| always_succeed | Whether this objective is successful, regardless of our [similar_objectives] |
|---|---|
| check_all_objectives | Whether we check all objectives or just the first successful one in our [similar_objectives] |
| goal | What's our actual set goal? |
| notes | Extra notes about this goal. |
| our_antag | Our antag datum |
| similar_objectives | Similar objective datums we can compare this goal too for success and such |
Procs | |
| add_similar_objective | Adds an objective to our similar objective list. Pass an instantiated objective. |
| check_relative_success | Loop through all our similar objectives and see if we completed them. If [check_all_objectives] is true, we need all objectives in the list to be successful to return TRUE. If it is false, we only need ONE objective to be true to return TRUE. |
| get_roundend_text | Generate roundend text for the roundend report for this advanced goal. Number is the number in the list that this objective is. (1 to 5) |
| remove_similar_objective | Remove an objective to our similar objective list. Pass an instantiated objective ref. |
| set_goal_text | Set our goal to our passed goal. |
| set_intensity | Set our intensity level to our passed intensity. |
| set_note_text | Set our goal to our passed goal. |
Var Details
always_succeed 
Whether this objective is successful, regardless of our [similar_objectives]
check_all_objectives 
Whether we check all objectives or just the first successful one in our [similar_objectives]
goal 
What's our actual set goal?
notes 
Extra notes about this goal.
our_antag 
Our antag datum
similar_objectives 
Similar objective datums we can compare this goal too for success and such
Proc Details
add_similar_objective
Adds an objective to our similar objective list. Pass an instantiated objective.
check_relative_success
Loop through all our similar objectives and see if we completed them. If [check_all_objectives] is true, we need all objectives in the list to be successful to return TRUE. If it is false, we only need ONE objective to be true to return TRUE.
get_roundend_text
Generate roundend text for the roundend report for this advanced goal. Number is the number in the list that this objective is. (1 to 5)
remove_similar_objective
Remove an objective to our similar objective list. Pass an instantiated objective ref.
set_goal_text
Set our goal to our passed goal.
set_intensity
Set our intensity level to our passed intensity.
set_note_text
Set our goal to our passed goal.