/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_uplinkgive this traitor an uplink?
is_hijackerif TRUE, this traitor will always get hijacking as their final objective
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.

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 this traitor an uplink?

is_hijacker

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

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.