Space Station 13 - Modules - TypesVar Details

energy

Vars

ammo_typeWhat projectiles can this gun shoot?
can_chargeIf set to FALSE, the gun cannot be recharged in a recharger.
can_fit_in_turretsDo you want the gun to fit into a turret, defaults to TRUE, used for if a energy gun is too strong to be in a turret, or does not make sense to be in one.
cellWhat type of power cell this uses
cell_typeThe specific type of power cell this gun has.
charge_sectionsHow many lights are there on the gun's item sprite indicating the charge level?
inhand_charge_sectionsHow many lights are there on the gun's in-hand sprite indicating the charge level?
overlay_setIf the item uses a shared set of overlays instead of being based on icon_state
ratioUsed when updating icon and overlays to determine the energy pips
selectThe state of the select fire switch. Determines from the ammo_type list what kind of shot is fired next.
selfchargeDoes this gun recharge itself? Some guns (such as the M1911-P) do not use this and instead have a cell type that self-charges.
shaded_chargeIf this gun uses a stateful charge bar for more detail

Var Details

ammo_type

What projectiles can this gun shoot?

can_charge

If set to FALSE, the gun cannot be recharged in a recharger.

can_fit_in_turrets

Do you want the gun to fit into a turret, defaults to TRUE, used for if a energy gun is too strong to be in a turret, or does not make sense to be in one.

cell

What type of power cell this uses

cell_type

The specific type of power cell this gun has.

charge_sections

How many lights are there on the gun's item sprite indicating the charge level?

inhand_charge_sections

How many lights are there on the gun's in-hand sprite indicating the charge level?

overlay_set

If the item uses a shared set of overlays instead of being based on icon_state

ratio

Used when updating icon and overlays to determine the energy pips

select

The state of the select fire switch. Determines from the ammo_type list what kind of shot is fired next.

selfcharge

Does this gun recharge itself? Some guns (such as the M1911-P) do not use this and instead have a cell type that self-charges.

shaded_charge

If this gun uses a stateful charge bar for more detail