Shiptest 13 - Modules - TypesVar Details - Proc Details

gun

Vars

has_safetyDoes this gun have a saftey and thus can toggle it?
manufacturerThe manufacturer of this weapon. For flavor mostly. If none, this will not show.
muzzle_flashEffect for the muzzle flash of the gun.
muzzle_flash_colorColor of the muzzle flash effect.
muzzle_flash_lumBrightness of the muzzle flash effect.
muzzleflash_iconstateIcon state of the muzzle flash effect.
recoilScreen shake when the weapon is fired while wielded.
recoil_backtime_multipliera multiplier of the duration the recoil takes to go back to normal view, this is (recoil*recoil_backtime_multiplier)+1
recoil_deviationthis is how much deviation the gun recoil can have, recoil pushes the screen towards the reverse angle you shot + some deviation which this is the max.
recoil_unwieldedScreen shake when the weapon is fired while unwielded.
safetyIf the saftey on? If so, we can't fire the weapon
safety_wordingThe wording of safety. Useful for guns that have a non-standard safety system, like a revolver
spreadHow much the bullet scatters when fired while wielded.
spread_unwieldedHow much the bullet scatters when fired while unwielded.
wield_delayHow long between wielding and firing in tenths of seconds
wield_slowdownSlowdown for wielding
wield_timeStoring value for above

Procs

on_unwieldtriggered on unwield of two handed item
on_wieldtriggered on wield of two handed item
set_gun_lightSwaps the gun's seclight, dropping the old seclight if it has not been qdel'd.

Var Details

has_safety

Does this gun have a saftey and thus can toggle it?

manufacturer

The manufacturer of this weapon. For flavor mostly. If none, this will not show.

muzzle_flash

Effect for the muzzle flash of the gun.

muzzle_flash_color

Color of the muzzle flash effect.

muzzle_flash_lum

Brightness of the muzzle flash effect.

muzzleflash_iconstate

Icon state of the muzzle flash effect.

recoil

Screen shake when the weapon is fired while wielded.

recoil_backtime_multiplier

a multiplier of the duration the recoil takes to go back to normal view, this is (recoil*recoil_backtime_multiplier)+1

recoil_deviation

this is how much deviation the gun recoil can have, recoil pushes the screen towards the reverse angle you shot + some deviation which this is the max.

recoil_unwielded

Screen shake when the weapon is fired while unwielded.

safety

If the saftey on? If so, we can't fire the weapon

safety_wording

The wording of safety. Useful for guns that have a non-standard safety system, like a revolver

spread

How much the bullet scatters when fired while wielded.

spread_unwielded

How much the bullet scatters when fired while unwielded.

wield_delay

How long between wielding and firing in tenths of seconds

wield_slowdown

Slowdown for wielding

wield_time

Storing value for above

Proc Details

on_unwield

triggered on unwield of two handed item

on_wield

triggered on wield of two handed item

set_gun_light

Swaps the gun's seclight, dropping the old seclight if it has not been qdel'd.

Returns the former gun_light that has now been replaced by this proc. Arguments: