uplink 
Vars | |
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. |
uplink_cats | List of categories with items inside. |
uplink_items | List of all items in total. |
uplink_owner | Same as above, logs buyer name in text format. |
uplink_type | 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. |
Procs | |
buy | Handles buying an item, spending TC and updating TGUI. |
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. |
refund | Handles 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.
uplink_cats 
List of categories with items inside.
uplink_items 
List of all items in total.
uplink_owner 
Same as above, logs buyer name in text format.
uplink_type 
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:
- uplink_item - purchased item entry.
- buyer - mob who performs the transaction.
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:
- user - User to check.
refund
Handles refunding of the item in user's active hand.
Arguments:
- user - who refunds the item.