/tg/ Station 13 - Modules - TypesVar Details - Proc Details

operation_holder

Singleton containing all surgery operation, as well as some helpers for organizing them

Vars

lockedAll operation typepaths which are locked by something, indexed by typepath
operations_by_typepathAll operation singletons, indexed by typepath It is recommended to use get_instances_from() where possible, rather than accessing this directly
unlockedAll operation typepaths which are unlocked by default, indexed by typepath

Procs

get_instances_fromTakes in a list of operation typepaths and returns their singleton instances. Optionally can filter out replaced surgeries and by certain operation flags.
is_replacedCheck if the passed operation has been replaced by a typepath in the provided operation pool

Var Details

locked

All operation typepaths which are locked by something, indexed by typepath

operations_by_typepath

All operation singletons, indexed by typepath It is recommended to use get_instances_from() where possible, rather than accessing this directly

unlocked

All operation typepaths which are unlocked by default, indexed by typepath

Proc Details

get_instances_from

Takes in a list of operation typepaths and returns their singleton instances. Optionally can filter out replaced surgeries and by certain operation flags.

is_replaced

Check if the passed operation has been replaced by a typepath in the provided operation pool