Daedalus Dock - Modules - TypesVar Details - Proc Details

energy

Vars

automatic_charge_overlaysDo we handle overlays with base update_icon()?
can_chargeCan it be charged in a recharger?
can_selectIf the user can select the firemode through attack_self.
cellWhat type of power cell this uses
dead_cellset to true so the gun is given an empty cell
display_emptyShould we give an overlay to empty guns?
modifystateif the weapon has custom icons for individual ammo types it can switch between. ie disabler beams, taser, laser/lethals, ect.
selectThe state of the select fire switch. Determines from the ammo_type list what kind of shot is fired next.
shaded_chargeif this gun uses a stateful charge bar for more detail
single_shot_type_overlayIf this gun has a "this is loaded with X" overlay alongside chargebars and such
use_cyborg_cellwhether the gun's cell drains the cyborg user's cell to recharge

Procs

get_charge_ratioUsed by update_icon_state() and update_overlays()

Var Details

automatic_charge_overlays

Do we handle overlays with base update_icon()?

can_charge

Can it be charged in a recharger?

can_select

If the user can select the firemode through attack_self.

cell

What type of power cell this uses

dead_cell

set to true so the gun is given an empty cell

display_empty

Should we give an overlay to empty guns?

modifystate

if the weapon has custom icons for individual ammo types it can switch between. ie disabler beams, taser, laser/lethals, ect.

select

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

shaded_charge

if this gun uses a stateful charge bar for more detail

single_shot_type_overlay

If this gun has a "this is loaded with X" overlay alongside chargebars and such

use_cyborg_cell

whether the gun's cell drains the cyborg user's cell to recharge

Proc Details

get_charge_ratio

Used by update_icon_state() and update_overlays()