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

traitor

Vars

employerthe name of the antag flavor this traitor has, set in Traitor's setup if not preset.
ending_objectivethe final objective the traitor has to accomplish, be it escaping, hijacking, or just martyrdom.
give_secondary_objectivesWhether to give secondary objectives to the traitor, which aren't necessary but can be completed for a progression and TC boost.
give_uplinkgive this traitor an uplink?
is_hijackerif TRUE, this traitor will always get hijacking as their final objective
replacement_uplink_codeCode that allows traitor to get a replacement uplink
replacement_uplink_frequencyRadio frequency that traitor must speak on to get a replacement uplink
traitor_flavorassoc list of strings set up after employer is given
uplink_flag_givenThe flag of uplink that this traitor is supposed to have.
uplink_handlerThe uplink handler that this traitor belongs to.
uplink_refreference to the uplink this traitor was given, if they were.

Procs

can_change_objectivesReturns true if we're allowed to assign ourselves a new objective
contractor_round_endTells how many contracts have been completed.
forge_ending_objective
forge_traitor_objectivesGenerates a complete set of traitor objectives up to the traitor objective limit, including non-generic objectives such as martyr and hijack.
generate_replacement_codesproc that generates the traitors replacement uplink code and radio frequency

Var Details

employer

the name of the antag flavor this traitor has, set in Traitor's setup if not preset.

ending_objective

the final objective the traitor has to accomplish, be it escaping, hijacking, or just martyrdom.

give_secondary_objectives

Whether to give secondary objectives to the traitor, which aren't necessary but can be completed for a progression and TC boost.

give this traitor an uplink?

is_hijacker

if TRUE, this traitor will always get hijacking as their final objective

Code that allows traitor to get a replacement uplink

Radio frequency that traitor must speak on to get a replacement uplink

traitor_flavor

assoc list of strings set up after employer is given

The flag of uplink that this traitor is supposed to have.

The uplink handler that this traitor belongs to.

reference to the uplink this traitor was given, if they were.

Proc Details

can_change_objectives

Returns true if we're allowed to assign ourselves a new objective

contractor_round_end

Tells how many contracts have been completed.

forge_ending_objective

forge_ending_objective

Forges the endgame objective and adds it to this datum's objective list.

forge_traitor_objectives

Generates a complete set of traitor objectives up to the traitor objective limit, including non-generic objectives such as martyr and hijack.

generate_replacement_codes

proc that generates the traitors replacement uplink code and radio frequency