/tg/ Station 13 - Modules - TypesVar Details

Techweb Node

A datum representing a researchable node in the techweb.

Techweb nodes are GLOBAL, there should only be one instance of them in the game. Persistant changes should never be made to them in-game. USE SSRESEARCH PROCS TO OBTAIN REFERENCES. DO NOT REFERENCE OUTSIDE OF SSRESEARCH OR YOU WILL FUCK UP GC.

Vars

autounlock_by_boostBoosting this will autounlock this node
boost_item_pathsAssociative list, path = list(point type = point_value)
categoryThe category of the node
descriptionA description of the node to show on UIs
discount_experimentsIf completed, these experiments give a specific point amount discount to the node.area
discount_usedWhen we apply a discount to a node we add the experiment for it here to prevent excess discount applications
display_nameThe name of the node as it is shown on UIs
experimentalIf the tech can be randomly generated by the BEPIS as a reward. MEant to be fully given in tech disks, not researched
hiddenWhether it starts off hidden
idInternal ID of the node
required_experimentsThe list of experiments required to research the node
research_costsThe points cost to research the node, type = amount
starting_nodeWhether it's available without any research
unlock_idsCALCULATED FROM OTHER NODE'S PREREQUISITIES. Associated list id = TRUE

Var Details

autounlock_by_boost

Boosting this will autounlock this node

boost_item_paths

Associative list, path = list(point type = point_value)

category

The category of the node

description

A description of the node to show on UIs

discount_experiments

If completed, these experiments give a specific point amount discount to the node.area

discount_used

When we apply a discount to a node we add the experiment for it here to prevent excess discount applications

display_name

The name of the node as it is shown on UIs

experimental

If the tech can be randomly generated by the BEPIS as a reward. MEant to be fully given in tech disks, not researched

hidden

Whether it starts off hidden

id

Internal ID of the node

required_experiments

The list of experiments required to research the node

research_costs

The points cost to research the node, type = amount

starting_node

Whether it's available without any research

unlock_ids

CALCULATED FROM OTHER NODE'S PREREQUISITIES. Associated list id = TRUE