Space Station 13 - Modules - TypesVar Details

gun

Vars

burst_sizeThe number of bullets in a trigger pull.
can_bayonetWhether or not a knife can be attached to the gun.
can_flashlightWhether or not a flashlight can be attached to the gun.
can_holsterWhether or not the gun fits in a shoulder holster.
can_suppressWhether or not a suppressor can be attached to the gun.
can_unsuppressWhether or not an attached suppressor can be removed from the gun.
chamberedIs there currently a bullet in the chamber?
clumsy_checkChecks to see if the user has the clumsy trait.
current_skinThe skin choice if we had a reskin.
dual_wield_spreadAdditional spread when dual wielding.
execution_speedHow long it takes to perform an execution with the gun.
fire_delayRate of fire for burst firing and semi auto.
fire_soundSound played when a projectile is fired.
fire_sound_textThe fire sound that shows in chat messages: laser blast, gunshot, etc.
firing_burstPrevent the gun from firing again while already firing.
gun_lightWhether or not the gun has a flashlight.
magin_soundSound played when inserting a new magazine.
magout_soundSound played when ejecting a magazine.
optionsList of reskin options.
recoilScreen shake when firing.
restricted_speciesRestrict what species can fire this gun.
sawn_descDescription change if gun is sawn-off.
sawn_stateWhether or not the gun has been sawn-off.
semicdCooldown handler.
spreadBigger values make shots less precise.
suppressedWhether or not a message is displayed when fired.
trigger_guardTrigger guard on the gun, hulks and ash walkers can't fire them with their big meaty fingers.
unique_renameIf TRUE, allows the gun to be renamed with a pen.
unique_reskinAllows one-time reskinning.
upgradesWeapon modifications (except bayonets, flashlights, and suppressors - these are tracked seperately).
weapon_weightWhen dual wielding, accuracy will decrease based on weapon weight. WEAPON_HEAVY makes a weapon require two hands to fire, unless the user has TRAIT_BADASS.

Var Details

burst_size

The number of bullets in a trigger pull.

can_bayonet

Whether or not a knife can be attached to the gun.

can_flashlight

Whether or not a flashlight can be attached to the gun.

can_holster

Whether or not the gun fits in a shoulder holster.

can_suppress

Whether or not a suppressor can be attached to the gun.

can_unsuppress

Whether or not an attached suppressor can be removed from the gun.

chambered

Is there currently a bullet in the chamber?

clumsy_check

Checks to see if the user has the clumsy trait.

current_skin

The skin choice if we had a reskin.

dual_wield_spread

Additional spread when dual wielding.

execution_speed

How long it takes to perform an execution with the gun.

fire_delay

Rate of fire for burst firing and semi auto.

fire_sound

Sound played when a projectile is fired.

fire_sound_text

The fire sound that shows in chat messages: laser blast, gunshot, etc.

firing_burst

Prevent the gun from firing again while already firing.

gun_light

Whether or not the gun has a flashlight.

magin_sound

Sound played when inserting a new magazine.

magout_sound

Sound played when ejecting a magazine.

options

List of reskin options.

recoil

Screen shake when firing.

restricted_species

Restrict what species can fire this gun.

sawn_desc

Description change if gun is sawn-off.

sawn_state

Whether or not the gun has been sawn-off.

semicd

Cooldown handler.

spread

Bigger values make shots less precise.

suppressed

Whether or not a message is displayed when fired.

trigger_guard

Trigger guard on the gun, hulks and ash walkers can't fire them with their big meaty fingers.

unique_rename

If TRUE, allows the gun to be renamed with a pen.

unique_reskin

Allows one-time reskinning.

upgrades

Weapon modifications (except bayonets, flashlights, and suppressors - these are tracked seperately).

weapon_weight

When dual wielding, accuracy will decrease based on weapon weight. WEAPON_HEAVY makes a weapon require two hands to fire, unless the user has TRAIT_BADASS.