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

microfusion

Vars

attachment_recoilRecoil from attachments.
attachment_slotsWhat slots does this gun have?
attachment_spreadSpread from attachments.
attachmentsA list of attached upgrades
base_cell_typeThe cell type we check when inserting a cell
base_fire_delayOur base firedelay.
base_phase_emitter_typeThe base emitter type that we check when putting a new emitter in.
cellWhat type of power cell this uses
cell_typeThe cell we will spawn with
charge_sectionsHow many charge sections do we have?
dead_cellwhether the gun's cell drains the cyborg user's cell to recharge
display_emptyShould we give an overlay to empty guns?
extra_power_usageDo we use more power because of attachments?
heat_dissipation_bonusThe heat dissipation bonus granted by the weapon.
heat_per_shotThe amount of heat produced per shot
microfusion_lensThe microfusion lens used for generating the beams.
modifystateIf the weapon has custom icons for individual ammo types it can switch between. ie disabler beams, taser, laser/lethals, ect.
normal_reload_timeThe time it takes for someone to normally reload this gun. In deciseconds.
phase_emitterThe phase emitter that this gun currently has.
phase_emitter_typeThe starting phase emitter in this weapon.
shaded_chargeif this gun uses a stateful charge bar for more detail
sound_cell_insertThe sound played when you insert a cell.
sound_cell_insert_varyShould the insertion sound played vary?
sound_cell_insert_volumeThe volume at which we will play the insertion sound.
sound_cell_removeThe sound played when you remove a cell.
sound_cell_remove_varyShould the removal sound played vary?
sound_cell_remove_volumeThe volume at which we will play the removal sound.
tactical_reload_timeThe time it takes for someone to (tactically) reload this gun. In deciseconds.

Procs

add_attachmentAttatching an upgrade.
add_notes_energyOutputs 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_cellEjecting a cell.
get_charge_ratioUsed by update_icon_state() and update_overlays()
insert_cellTry to insert the cell into the gun, if successful, return TRUE
recalculate_recoilRecalculates the recoil, based on attachment-provided values.
recalculate_spreadRecalculates 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.