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

ammo_casing

Vars

caliberWhich kind of guns it can be loaded into
can_misfireIf set to true or false, this ammunition can or cannot misfire, regardless the gun can_misfire setting
click_cooldown_overrideOverride this to make your gun have a faster fire rate, in tenths of a second. 4 is the default gun cooldown.
delayDelay for energy weapons
fire_soundWhat sound should play when this ammo is fired
firing_effect_typethe visual effect appearing when the ammo is fired.
harmfulpacifism check for boolet, set to FALSE if bullet is non-lethal
integrity_damageIf set, this casing will damage any gun it's fired from by the specified amount
loaded_projectilethe loaded projectile in this ammo casing
misfire_incrementThis is how much misfire probability is added to the gun when it fires this casing.
newtonian_forceHow much force is applied when fired in zero-G
pelletsPellets for spreadshot
projectile_typeThe bullet type to create when New() is called
randomspreadRandomspread for automatics
varianceVariance for inaccuracy fundamental to the casing

Procs

add_notes_ammoOutputs type-specific weapon stats for ammunition based on the projectile loaded inside the casing. Distinguishes between critting and stam-critting in separate lines

Var Details

caliber

Which kind of guns it can be loaded into

can_misfire

If set to true or false, this ammunition can or cannot misfire, regardless the gun can_misfire setting

click_cooldown_override

Override this to make your gun have a faster fire rate, in tenths of a second. 4 is the default gun cooldown.

delay

Delay for energy weapons

fire_sound

What sound should play when this ammo is fired

firing_effect_type

the visual effect appearing when the ammo is fired.

harmful

pacifism check for boolet, set to FALSE if bullet is non-lethal

integrity_damage

If set, this casing will damage any gun it's fired from by the specified amount

loaded_projectile

the loaded projectile in this ammo casing

misfire_increment

This is how much misfire probability is added to the gun when it fires this casing.

newtonian_force

How much force is applied when fired in zero-G

pellets

Pellets for spreadshot

projectile_type

The bullet type to create when New() is called

randomspread

Randomspread for automatics

variance

Variance for inaccuracy fundamental to the casing

Proc Details

add_notes_ammo

Outputs type-specific weapon stats for ammunition based on the projectile loaded inside the casing. Distinguishes between critting and stam-critting in separate lines