microfusion
Vars | |
attachment_recoil | Recoil from attachments. |
---|---|
attachment_slots | What slots does this gun have? |
attachment_spread | Spread from attachments. |
attachments | A list of attached upgrades |
base_cell_type | The cell type we check when inserting a cell |
base_fire_delay | Our base firedelay. |
base_phase_emitter_type | The base emitter type that we check when putting a new emitter in. |
cell | What type of power cell this uses |
cell_type | The cell we will spawn with |
charge_sections | How many charge sections do we have? |
dead_cell | whether the gun's cell drains the cyborg user's cell to recharge |
display_empty | Should we give an overlay to empty guns? |
extra_power_usage | Do we use more power because of attachments? |
heat_dissipation_bonus | The heat dissipation bonus granted by the weapon. |
heat_per_shot | The amount of heat produced per shot |
microfusion_lens | The microfusion lens used for generating the beams. |
modifystate | If the weapon has custom icons for individual ammo types it can switch between. ie disabler beams, taser, laser/lethals, ect. |
normal_reload_time | The time it takes for someone to normally reload this gun. In deciseconds. |
phase_emitter | The phase emitter that this gun currently has. |
phase_emitter_type | The starting phase emitter in this weapon. |
shaded_charge | if this gun uses a stateful charge bar for more detail |
sound_cell_insert | The sound played when you insert a cell. |
sound_cell_insert_vary | Should the insertion sound played vary? |
sound_cell_insert_volume | The volume at which we will play the insertion sound. |
sound_cell_remove | The sound played when you remove a cell. |
sound_cell_remove_vary | Should the removal sound played vary? |
sound_cell_remove_volume | The volume at which we will play the removal sound. |
tactical_reload_time | The time it takes for someone to (tactically) reload this gun. In deciseconds. |
Procs | |
add_attachment | Attatching an upgrade. |
add_notes_energy | Outputs type-specific weapon stats for energy-based firearms based on its firing modes and the stats of those firing modes. Esoteric firing modes like ion are currently not supported but can be added easily |
eject_cell | Ejecting a cell. |
get_charge_ratio | Used by update_icon_state() and update_overlays() |
insert_cell | Try to insert the cell into the gun, if successful, return TRUE |
recalculate_recoil | Recalculates the recoil, based on attachment-provided values. |
recalculate_spread | Recalculates the spread, based on attachment-provided values. |
Var Details
attachment_recoil
Recoil from attachments.
attachment_slots
What slots does this gun have?
attachment_spread
Spread from attachments.
attachments
A list of attached upgrades
base_cell_type
The cell type we check when inserting a cell
base_fire_delay
Our base firedelay.
base_phase_emitter_type
The base emitter type that we check when putting a new emitter in.
cell
What type of power cell this uses
cell_type
The cell we will spawn with
charge_sections
How many charge sections do we have?
dead_cell
whether the gun's cell drains the cyborg user's cell to recharge
display_empty
Should we give an overlay to empty guns?
extra_power_usage
Do we use more power because of attachments?
heat_dissipation_bonus
The heat dissipation bonus granted by the weapon.
heat_per_shot
The amount of heat produced per shot
microfusion_lens
The microfusion lens used for generating the beams.
modifystate
If the weapon has custom icons for individual ammo types it can switch between. ie disabler beams, taser, laser/lethals, ect.
normal_reload_time
The time it takes for someone to normally reload this gun. In deciseconds.
phase_emitter
The phase emitter that this gun currently has.
phase_emitter_type
The starting phase emitter in this weapon.
shaded_charge
if this gun uses a stateful charge bar for more detail
sound_cell_insert
The sound played when you insert a cell.
sound_cell_insert_vary
Should the insertion sound played vary?
sound_cell_insert_volume
The volume at which we will play the insertion sound.
sound_cell_remove
The sound played when you remove a cell.
sound_cell_remove_vary
Should the removal sound played vary?
sound_cell_remove_volume
The volume at which we will play the removal sound.
tactical_reload_time
The time it takes for someone to (tactically) reload this gun. In deciseconds.
Proc Details
add_attachment
Attatching an upgrade.
add_notes_energy
Outputs type-specific weapon stats for energy-based firearms based on its firing modes and the stats of those firing modes. Esoteric firing modes like ion are currently not supported but can be added easily
eject_cell
Ejecting a cell.
get_charge_ratio
Used by update_icon_state() and update_overlays()
insert_cell
Try to insert the cell into the gun, if successful, return TRUE
recalculate_recoil
Recalculates the recoil, based on attachment-provided values.
recalculate_spread
Recalculates the spread, based on attachment-provided values.