/tg/ Station 13 - Modules - TypesVar Details - Proc Details

advanced_antag_datum

-- Base advanced antag datum -- The advanced antag datum - the datum that runs our advanced antags.

Vars

advanced_panel_typeThe type of advanced panel datum we make / open
background_tutorial_stateThe current state of the background tutorial.
backstoryThis player's backstory for their antag - optional, can be empty/null
can_use_ui-- UI STUFF -- Whether the antag can actually open and edit the ui.
employerCan be changed by the player.
finalizedWhether our goals are finalized.
linked_antagonistThe antagonist this datum is linked to.
nameChanged to "Traitor" on spawn, but can be changed by the player.
objective_tutorial_stateThe current state of the objective tutorial.
our_goalsLazylist of our goals datums linked to this antag.
possible_objectivesList of objectives we can add to similar objectives.
starting_pointsThe starting "traitor fun points" for our antag. TC, processing power, etc.

Procs

add_advanced_goalInitialize a new goal and append it to our lazylist
get_antag_points_from_goalsCalculate the traitor's starting points (TC, processing power, etc) based on their goals's intensity levels. Returns a number (the number of points calculated)
get_finalize_textGet the text that shows up in the tooltip of the finalize button. Returns a string (The formatted text)
greet_messageGreet the antagonist with some text after spawning. antagonist - the mob being greeted, the antagonist.
greet_message_threeGive them a short guide on how to use the goal panel, and what all the buttons do. antagonist - the mob being greeted, the antagonist.
greet_message_twoGive them details on what their role actually means to them, then move to greet_three after 3 seconds. antagonist - the mob being greeted, the antagonist.
log_goals_on_finalizeMiscellaneous logging for the antagonist's goals after they finalize them. Extend this proc for adding in extra logging to an antagonist.
modify_antag_pointsModify the traitor's starting_points (TC, processing points, etc) based on their goals's intensity levels.
post_finalize_actionsActions to do after the antag finalizes their goals.
remove_advanced_goalRemove a goal from our lazylist and qdel it old_goal - reference to the goal we're removing
set_backstorySanitize and set our backstory backstory - the backstory we're changing this to
set_employerSanitize and set our employer employer - the employer we're changing this to
set_nameSaniztize and set our name. name - the name we're changing this to
setup_advanced_antagGive the antagonist the verb to open their goal panel.
ui_interact-- The advanced traitor panuel UI. --

Var Details

advanced_panel_type

The type of advanced panel datum we make / open

background_tutorial_state

The current state of the background tutorial.

backstory

This player's backstory for their antag - optional, can be empty/null

can_use_ui

-- UI STUFF -- Whether the antag can actually open and edit the ui.

employer

Can be changed by the player.

finalized

Whether our goals are finalized.

linked_antagonist

The antagonist this datum is linked to.

name

Changed to "Traitor" on spawn, but can be changed by the player.

objective_tutorial_state

The current state of the objective tutorial.

our_goals

Lazylist of our goals datums linked to this antag.

possible_objectives

List of objectives we can add to similar objectives.

starting_points

The starting "traitor fun points" for our antag. TC, processing power, etc.

Proc Details

add_advanced_goal

Initialize a new goal and append it to our lazylist

get_antag_points_from_goals

Calculate the traitor's starting points (TC, processing power, etc) based on their goals's intensity levels. Returns a number (the number of points calculated)

get_finalize_text

Get the text that shows up in the tooltip of the finalize button. Returns a string (The formatted text)

greet_message

Greet the antagonist with some text after spawning. antagonist - the mob being greeted, the antagonist.

greet_message_three

Give them a short guide on how to use the goal panel, and what all the buttons do. antagonist - the mob being greeted, the antagonist.

greet_message_two

Give them details on what their role actually means to them, then move to greet_three after 3 seconds. antagonist - the mob being greeted, the antagonist.

log_goals_on_finalize

Miscellaneous logging for the antagonist's goals after they finalize them. Extend this proc for adding in extra logging to an antagonist.

modify_antag_points

Modify the traitor's starting_points (TC, processing points, etc) based on their goals's intensity levels.

post_finalize_actions

Actions to do after the antag finalizes their goals.

remove_advanced_goal

Remove a goal from our lazylist and qdel it old_goal - reference to the goal we're removing

set_backstory

Sanitize and set our backstory backstory - the backstory we're changing this to

set_employer

Sanitize and set our employer employer - the employer we're changing this to

set_name

Saniztize and set our name. name - the name we're changing this to

setup_advanced_antag

Give the antagonist the verb to open their goal panel.

ui_interact

-- The advanced traitor panuel UI. --