Techweb Node ![code/modules/research/techweb/_techweb_node.dm 10](git.png)
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 | |
announce_channels | If set, the researched node will be announced on these channels by an announcement system with 'announce_research_node' set to TRUE when researched by the station. Not every node has to be announced if you want, some are best kept a little "subtler", like Illegal Weapons. |
---|---|
autounlock_by_boost | Boosting this will autounlock this node |
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. |
display_name | The name of the node as it is shown on UIs |
experimental | If the tech can be randomly generated by BEPIS tech as a reward. Meant to be fully given in tech disks, not researched |
experiments_to_unlock | When this node is completed, allows these experiments to be performed. |
hidden | Whether it starts off hidden |
id | Internal ID of the node |
illegal_mech_node | Hidden Mech nodes unlocked when mech fabricator emaged. |
required_experiments | The list of experiments required to research the node |
required_items_to_unlock | List of items you need to deconstruct to unlock this node. |
research_costs | The points cost to research the node, type = amount |
show_on_wiki | Whether or not this node should show on the wiki |
starting_node | Whether it's available without any research |
unlock_ids | CALCULATED FROM OTHER NODE'S PREREQUISITIES. Associated list id = TRUE |
Procs | |
on_station_research | Proc called when the Station (Science techweb specific) researches a node. |
Var Details
announce_channels ![code/modules/research/techweb/_techweb_node.dm 52](git.png)
If set, the researched node will be announced on these channels by an announcement system with 'announce_research_node' set to TRUE when researched by the station. Not every node has to be announced if you want, some are best kept a little "subtler", like Illegal Weapons.
autounlock_by_boost ![code/modules/research/techweb/_techweb_node.dm 30](git.png)
Boosting this will autounlock this node
category ![code/modules/research/techweb/_techweb_node.dm 34](git.png)
The category of the node
description ![code/modules/research/techweb/_techweb_node.dm 16](git.png)
A description of the node to show on UIs
discount_experiments ![code/modules/research/techweb/_techweb_node.dm 38](git.png)
If completed, these experiments give a specific point amount discount to the node.
display_name ![code/modules/research/techweb/_techweb_node.dm 14](git.png)
The name of the node as it is shown on UIs
experimental ![code/modules/research/techweb/_techweb_node.dm 20](git.png)
If the tech can be randomly generated by BEPIS tech as a reward. Meant to be fully given in tech disks, not researched
experiments_to_unlock ![code/modules/research/techweb/_techweb_node.dm 40](git.png)
When this node is completed, allows these experiments to be performed.
hidden ![code/modules/research/techweb/_techweb_node.dm 18](git.png)
Whether it starts off hidden
id ![code/modules/research/techweb/_techweb_node.dm 12](git.png)
Internal ID of the node
illegal_mech_node ![code/modules/research/techweb/_techweb_node.dm 44](git.png)
Hidden Mech nodes unlocked when mech fabricator emaged.
required_experiments ![code/modules/research/techweb/_techweb_node.dm 36](git.png)
The list of experiments required to research the node
required_items_to_unlock ![code/modules/research/techweb/_techweb_node.dm 28](git.png)
List of items you need to deconstruct to unlock this node.
research_costs ![code/modules/research/techweb/_techweb_node.dm 32](git.png)
The points cost to research the node, type = amount
show_on_wiki ![code/modules/research/techweb/_techweb_node.dm 42](git.png)
Whether or not this node should show on the wiki
starting_node ![code/modules/research/techweb/_techweb_node.dm 22](git.png)
Whether it's available without any research
unlock_ids ![code/modules/research/techweb/_techweb_node.dm 26](git.png)
CALCULATED FROM OTHER NODE'S PREREQUISITIES. Associated list id = TRUE
Proc Details
on_station_research
Proc called when the Station (Science techweb specific) researches a node.