energy 
Vars | |
| 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 |
| charge_delay | The amount of seconds_per_tick during process() before the gun charges itself |
| charge_timer | The amount of time between instances of cell self recharge |
| dead_cell | set to true so the gun is given an empty cell |
| display_empty | Should we give an overlay to empty guns? |
| emp_resistance | A divide to the amount of charge lost when the weapon is EMP'd. Higher means more resistant. |
| fire_mode_switch_sound | The amount restored by the gun to the cell per self charge tick sound played when fire mode select is done |
| 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. |
| selfcharge | Whether or not our gun charges its own cell on a timer. |
| 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 |
Procs | |
| get_charge_ratio | Used 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
charge_delay 
The amount of seconds_per_tick during process() before the gun charges itself
charge_timer 
The amount of time between instances of cell self recharge
dead_cell 
set to true so the gun is given an empty cell
display_empty 
Should we give an overlay to empty guns?
emp_resistance 
A divide to the amount of charge lost when the weapon is EMP'd. Higher means more resistant.
fire_mode_switch_sound 
The amount restored by the gun to the cell per self charge tick sound played when fire mode select is done
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.
selfcharge 
Whether or not our gun charges its own cell on a timer.
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()