BandaStation - Modules - TypesVar Details - Proc Details

research

Vars

anomaly_hard_limit_by_typeThe hard limits of cores created for each anomaly type. For faster code lookup without switch statements.
created_anomaly_typesThe global list of raw anomaly types that have been refined, for hard limits.
item_to_designAn associative list of item typepaths to a list of design typepaths that build that item e.g: [/obj/item/wrench --> /datum/design/wrench...]
ordnance_experimentsLookup list for ordnance briefers.
point_typesAn associative list of all point types that techwebs will have and their respective 'abbreviated' name. If you introduce a new point type, ADD IT HERE AS WELL!
scientific_partnersLookup list for scipaper partners.
techweb_designsAn associative list of design typepaths to instances.
techweb_nodesAn associative list of techweb node typepaths to instances.
techweb_nodes_experimentalA list of techweb node paths that are exclusive to the BEPIS.
techweb_nodes_hiddenA list of techweb node paths that are hidden by default. Associative for faster lookups.
techweb_nodes_startingA list of techweb node paths that all techwebs start with.
techweb_point_itemsAn associative list of item paths to a list of points granted. Used in the destructive analyzer only.
techweb_unlock_itemsAn associative list of item paths to a list of techweb nodes that depend on that item. e.g: [/obj/item/scalpel/alien --> /datum/techweb_node/alien/base, /datum/techweb_node/alien/engi...]
techwebsList of all techwebs, generating points or not. Autolathes, Mechfabs, and others all have shared techwebs, for example.

Procs

find_valid_serversGoes 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_serversGoes 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_coresIncrease our tracked number of cores of this type
is_core_availableReturns true if you can make an anomaly core of the provided type

Var Details

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.

item_to_design

An associative list of item typepaths to a list of design typepaths that build that item e.g: [/obj/item/wrench --> /datum/design/wrench...]

ordnance_experiments

Lookup list for ordnance briefers.

point_types

An associative list of all point types that techwebs will have and their respective 'abbreviated' name. If you introduce a new point type, ADD IT HERE AS WELL!

scientific_partners

Lookup list for scipaper partners.

techweb_designs

An associative list of design typepaths to instances.

techweb_nodes

An associative list of techweb node typepaths to instances.

techweb_nodes_experimental

A list of techweb node paths that are exclusive to the BEPIS.

techweb_nodes_hidden

A list of techweb node paths that are hidden by default. Associative for faster lookups.

techweb_nodes_starting

A list of techweb node paths that all techwebs start with.

techweb_point_items

An associative list of item paths to a list of points granted. Used in the destructive analyzer only.

techweb_unlock_items

An associative list of item paths to a list of techweb nodes that depend on that item. e.g: [/obj/item/scalpel/alien --> /datum/techweb_node/alien/base, /datum/techweb_node/alien/engi...]

techwebs

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:

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