research
![code/controllers/subsystem/research.dm 2](git.png)
Vars | |
anomaly_hard_limit_by_type | The hard limits of cores created for each anomaly type. For faster code lookup without switch statements. |
---|---|
created_anomaly_types | The global list of raw anomaly types that have been refined, for hard limits. |
invalid_design_ids | associative id = number of times |
invalid_node_boost | associative id = error message |
invalid_node_ids | associative id = number of times |
ordnance_experiments | Lookup list for ordnance briefers. |
point_types | Associated list of all point types that techwebs will have and their respective 'abbreviated' name. |
scientific_partners | Lookup list for scipaper partners. |
techweb_categories | category name = list(node.id = TRUE) |
techweb_nodes_experimental | Node ids that are exclusive to the BEPIS. |
techweb_nodes_hidden | Node ids that should be hidden by default. |
techweb_nodes_starting | associative id = TRUE |
techweb_point_items | path = list(point type = value) |
techweb_unlock_items | List of all items that can unlock a node. (node.id = list(items)) |
techwebs | List of all techwebs, generating points or not. Autolathes, Mechfabs, and others all have shared techwebs, for example. |
Procs | |
find_valid_servers | Goes through an individual techweb's servers and finds one on a valid z-level Returns a list of existing ones, or an empty list otherwise. Args: |
get_available_servers | Goes through all techwebs and goes through their servers to find ones on a valid z-level Returns the full list of all techweb servers. |
increment_existing_anomaly_cores | Increase our tracked number of cores of this type |
is_core_available | Returns true if you can make an anomaly core of the provided type |
Var Details
anomaly_hard_limit_by_type
![code/controllers/subsystem/research.dm 57](git.png)
The hard limits of cores created for each anomaly type. For faster code lookup without switch statements.
created_anomaly_types
![code/controllers/subsystem/research.dm 55](git.png)
The global list of raw anomaly types that have been refined, for hard limits.
invalid_design_ids
![code/controllers/subsystem/research.dm 21](git.png)
associative id = number of times
invalid_node_boost
![code/controllers/subsystem/research.dm 25](git.png)
associative id = error message
invalid_node_ids
![code/controllers/subsystem/research.dm 23](git.png)
associative id = number of times
ordnance_experiments
![code/controllers/subsystem/research.dm 70](git.png)
Lookup list for ordnance briefers.
point_types
![code/controllers/subsystem/research.dm 43](git.png)
Associated list of all point types that techwebs will have and their respective 'abbreviated' name.
scientific_partners
![code/controllers/subsystem/research.dm 72](git.png)
Lookup list for scipaper partners.
techweb_categories
![code/controllers/subsystem/research.dm 30](git.png)
category name = list(node.id = TRUE)
techweb_nodes_experimental
![code/controllers/subsystem/research.dm 36](git.png)
Node ids that are exclusive to the BEPIS.
techweb_nodes_hidden
![code/controllers/subsystem/research.dm 34](git.png)
Node ids that should be hidden by default.
techweb_nodes_starting
![code/controllers/subsystem/research.dm 28](git.png)
associative id = TRUE
techweb_point_items
![code/controllers/subsystem/research.dm 38](git.png)
path = list(point type = value)
techweb_unlock_items
![code/controllers/subsystem/research.dm 32](git.png)
List of all items that can unlock a node. (node.id = list(items))
techwebs
![code/controllers/subsystem/research.dm 14](git.png)
List of all techwebs, generating points or not. Autolathes, Mechfabs, and others all have shared techwebs, for example.
Proc Details
find_valid_servers
Goes through an individual techweb's servers and finds one on a valid z-level Returns a list of existing ones, or an empty list otherwise. Args:
- checking_web - The techweb we're checking the servers of.
get_available_servers
Goes through all techwebs and goes through their servers to find ones on a valid z-level Returns the full list of all techweb servers.
increment_existing_anomaly_cores
Increase our tracked number of cores of this type
is_core_available
Returns true if you can make an anomaly core of the provided type