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

generic module

The base module type, which holds info about each ability.

Vars

one_purchaseIf this module can only be purchased once. This always applies to upgrades, even if the variable is set to false.
power_typeIf the module gives an active ability, use this. Mutually exclusive with upgrade.
unlock_soundSound played when an ability is unlocked
unlock_textText shown when an ability is unlocked
upgradeIf the module gives a passive upgrade, use this. Mutually exclusive with power_type.

Procs

upgradeApplies upgrades

Var Details

one_purchase

If this module can only be purchased once. This always applies to upgrades, even if the variable is set to false.

power_type

If the module gives an active ability, use this. Mutually exclusive with upgrade.

unlock_sound

Sound played when an ability is unlocked

unlock_text

Text shown when an ability is unlocked

upgrade

If the module gives a passive upgrade, use this. Mutually exclusive with power_type.

Proc Details

upgrade

Applies upgrades