Space Station 13 - Modules - TypesVar Details - Proc Details

uplink

Vars

hidden_crystalsUsed to temporarily hide TC while using frame virus.
is_jammedWhether the uplink is jammed and cannot be used to order items.
jobJob assigned to uplink owner.
purchase_logUsed to log buyed items and showing it in scoreboard.
raceSpecies of uplink owner.
traitorIf set, the uplink will show the option to become a contractor through this variable.
uplink_catsList of categories with items inside.
uplink_itemsList of all items in total.
uplink_ownerSame as above, logs buyer name in text format.
uplink_typeAllows or blocks ordering of certain items. Specified on initialization by different uplink types.
used_TCSame as above, logs spent telecrystals.
usesUplink TC amount. Specified on initialization by different uplink types.

Procs

buyHandles buying an item, spending TC and updating TGUI.
chooseRandomItemReturn random item from uplink_item list.
generate_item_listsBuild the item lists for use with the UI Generates a list of items for use in the UI, based on job and other parameters.
refundHandles refunding of the item in user's active hand.

Var Details

hidden_crystals

Used to temporarily hide TC while using frame virus.

is_jammed

Whether the uplink is jammed and cannot be used to order items.

job

Job assigned to uplink owner.

purchase_log

Used to log buyed items and showing it in scoreboard.

race

Species of uplink owner.

traitor

If set, the uplink will show the option to become a contractor through this variable.

List of categories with items inside.

List of all items in total.

Same as above, logs buyer name in text format.

Allows or blocks ordering of certain items. Specified on initialization by different uplink types.

used_TC

Same as above, logs spent telecrystals.

uses

Uplink TC amount. Specified on initialization by different uplink types.

Proc Details

buy

Handles buying an item, spending TC and updating TGUI.

Arguments:

chooseRandomItem

Return random item from uplink_item list.

generate_item_lists

Build the item lists for use with the UI Generates a list of items for use in the UI, based on job and other parameters.

Arguments:

refund

Handles refunding of the item in user's active hand.

Arguments: