Daedalus Dock - Modules - TypesVar Details - Proc Details

uplink_handler

Uplink Handler

The uplink handler, used to handle a traitor's TC and experience points and the uplink UI.

Vars

active_objectivesCurrent objectives taken
assigned_roleThe role that this uplink handler is associated to.
assigned_speciesThe species this uplink handler is associated to.
can_take_objectivesWhether this uplink handler can TAKE objectives.
completed_objectivesObjectives that have been completed.
debug_modeWhether this is in debug mode or not. If in debug mode, allows all purchases
extra_purchasableExtra stuff that can be purchased by an uplink, regardless of flag.
has_objectivesWhether this uplink handler has objectives.
has_progressionThis uplink has progression
item_stockAssociative array of uplink item = stock left
maximum_active_objectivesThe maximum number of objectives that can be taken
maximum_potential_objectivesThe maximum number of potential objectives that can exist.
ownerThe owner of this uplink handler.
potential_duplicate_objectivesAll objectives assigned by type to handle any duplicates
potential_objectivesPotential objectives that can be taken
progression_pointsThe amount of experience points this traitor has
purchase_logThe purchase log of this uplink handler
telecrystalsThe amount of telecrystals contained in this traitor has
uplink_flagThe current uplink flag of this uplink

Procs

check_if_restrictedChecks for uplink flags as well as items restricted to roles and species
complete_objectiveUsed to complete objectives, failed or successful.
generate_objectivesGenerates objectives for this uplink handler
not_enough_reputationChecks if traitor has enough reputation to purchase an item
on_updateCalled whenever an update occurs on this uplink handler. Used for UIs
update_objectivesUpdates the objectives on the uplink and deletes

Var Details

active_objectives

Current objectives taken

assigned_role

The role that this uplink handler is associated to.

assigned_species

The species this uplink handler is associated to.

can_take_objectives

Whether this uplink handler can TAKE objectives.

completed_objectives

Objectives that have been completed.

debug_mode

Whether this is in debug mode or not. If in debug mode, allows all purchases

extra_purchasable

Extra stuff that can be purchased by an uplink, regardless of flag.

has_objectives

Whether this uplink handler has objectives.

has_progression

This uplink has progression

item_stock

Associative array of uplink item = stock left

maximum_active_objectives

The maximum number of objectives that can be taken

maximum_potential_objectives

The maximum number of potential objectives that can exist.

owner

The owner of this uplink handler.

potential_duplicate_objectives

All objectives assigned by type to handle any duplicates

potential_objectives

Potential objectives that can be taken

progression_points

The amount of experience points this traitor has

purchase_log

The purchase log of this uplink handler

telecrystals

The amount of telecrystals contained in this traitor has

The current uplink flag of this uplink

Proc Details

check_if_restricted

Checks for uplink flags as well as items restricted to roles and species

complete_objective

Used to complete objectives, failed or successful.

generate_objectives

Generates objectives for this uplink handler

not_enough_reputation

Checks if traitor has enough reputation to purchase an item

on_update

Called whenever an update occurs on this uplink handler. Used for UIs

update_objectives

Updates the objectives on the uplink and deletes