Yogstation 13 - Modules - TypesVar Details - Proc Details

borg upgrade module.

Vars

blacklisted_upgradesIf the cyborg has any of these upgrades, they are prevented from receiving this upgrade.
lockedPrevents the upgrade from being used.
module_flagsBitflags listing module compatibility. Used in the exosuit fabricator for creating sub-categories.
module_typesIs this upgrade only for (a) specific module(s)? If so, they need to be using one of these modules to gain the upgrade.
one_useShould this upgrade be consumed/deleted on use? This also means this upgrade will not be in the cyborg's upgrades list (most of the time).
prerequisite_upgradesIf the cyborg doesn't have all of these upgrades, they are prevented from receiving this upgrade.
repeatableCan multiple of this upgrade type be used on the same cyborg?
require_moduleDoes this upgrade require the cyborg to select a module first?
requires_internalsDoes this upgrade require access to the cyborg's internals?

Procs

actionCalled when upgrade is used on the cyborg.
deactivateCalled when upgrade is removed from the cyborg.

Var Details

blacklisted_upgrades

If the cyborg has any of these upgrades, they are prevented from receiving this upgrade.

locked

Prevents the upgrade from being used.

module_flags

Bitflags listing module compatibility. Used in the exosuit fabricator for creating sub-categories.

module_types

Is this upgrade only for (a) specific module(s)? If so, they need to be using one of these modules to gain the upgrade.

one_use

Should this upgrade be consumed/deleted on use? This also means this upgrade will not be in the cyborg's upgrades list (most of the time).

prerequisite_upgrades

If the cyborg doesn't have all of these upgrades, they are prevented from receiving this upgrade.

repeatable

Can multiple of this upgrade type be used on the same cyborg?

require_module

Does this upgrade require the cyborg to select a module first?

requires_internals

Does this upgrade require access to the cyborg's internals?

Proc Details

action

Called when upgrade is used on the cyborg.

deactivate

Called when upgrade is removed from the cyborg.