/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/projectiles.dm

PROJECTILE_PIERCE_NONEDefault behavior: hit and delete self
PROJECTILE_PIERCE_HITHit the thing but go through without deleting. Causes on_hit to be called with pierced = TRUE
PROJECTILE_PIERCE_PHASEEntirely phase through the thing without ever hitting.
CALIBER_A7MMThe caliber used by the L6 SAW.
CALIBER_46X30MMThe caliber used by the security auto-rifle.
CALIBER_9MMThe caliber used by the Nanotrasen Saber SMG, PP-95 SMG and Type U3 Uzi. Also used as the default caliber for pistols but only the stechkin APS machine pistol doesn't override it.
CALIBER_10MMThe caliber used as the default for ballistic guns. Only not overridden for the surplus rifle.
CALIBER_357The caliber used by most revolver variants.
CALIBER_38The caliber used by the detective's revolver.
CALIBER_45The caliber used by the C-20r SMG, the tommygun, and the M1911 pistol.
CALIBER_50BMGThe caliber used by sniper rifles.
CALIBER_50AEThe caliber used by the desert eagle.
CALIBER_75The caliber used by the gyrojet pistol.
CALIBER_N762The caliber used by one revolver variant.
CALIBER_A223The caliber used by the the M-90gl Carbine, and NT-ARG 'Boarder'.
CALIBER_STRILKA310The caliber used by bolt action rifles.
CALIBER_SHOTGUNThe caliber used by shotguns.
CALIBER_40MMThe caliber used by grenade launchers.
CALIBER_84MMThe caliber used by rocket launchers.
CALIBER_LASERThe caliber used by laser guns.
CALIBER_ENERGYThe caliber used by most energy guns.
CALIBER_FOAMThe acliber used by foam force and donksoft toy guns.
CALIBER_ARROWThe caliber used by the bow and arrow.
CALIBER_HARPOONThe caliber used by the harpoon gun.
CALIBER_REBARThe caliber used by the rebar crossbow.
CALIBER_REBAR_FORCEDThe caliber used by the rebar crossbow when forced to hold 2 rods.
CALIBER_REBAR_SYNDIEThe caliber used by the syndicate rebar crossbow.
CALIBER_REBAR_SYNDIE_NORMALThe caliber used by the syndicate rebar crossbow.
CALIBER_HOOKThe caliber used by the meat hook.
CALIBER_TENTACLEThe caliber used by the changeling tentacle mutation.
GUNPOINT_SHOOTER_STRAY_RANGEFor gunpoints, how many tiles around the target the shooter can roam without losing their shot
PROJECTILE_DAMAGE_PER_ROBOTIC_SPARKA spark will be generated for each THIS amount of damage dealt to a robotic limb by a projectile.
STANDARD_ENERGY_GUN_SELF_CHARGE_RATEThe self charging rate of energy guns that magically recharge themselves, in watts.
LASER_SHOTSMacro to turn a number of laser shots into an energy cost, based on the above define e.g. LASER_SHOTS(12, STANDARD_CELL_CHARGE) means 12 shots

Define Details

CALIBER_10MM

The caliber used as the default for ballistic guns. Only not overridden for the surplus rifle.

CALIBER_357

The caliber used by most revolver variants.

CALIBER_38

The caliber used by the detective's revolver.

CALIBER_40MM

The caliber used by grenade launchers.

CALIBER_45

The caliber used by the C-20r SMG, the tommygun, and the M1911 pistol.

CALIBER_46X30MM

The caliber used by the security auto-rifle.

CALIBER_50AE

The caliber used by the desert eagle.

CALIBER_50BMG

The caliber used by sniper rifles.

CALIBER_75

The caliber used by the gyrojet pistol.

CALIBER_84MM

The caliber used by rocket launchers.

CALIBER_9MM

The caliber used by the Nanotrasen Saber SMG, PP-95 SMG and Type U3 Uzi. Also used as the default caliber for pistols but only the stechkin APS machine pistol doesn't override it.

CALIBER_A223

The caliber used by the the M-90gl Carbine, and NT-ARG 'Boarder'.

CALIBER_A7MM

The caliber used by the L6 SAW.

CALIBER_ARROW

The caliber used by the bow and arrow.

CALIBER_ENERGY

The caliber used by most energy guns.

CALIBER_FOAM

The acliber used by foam force and donksoft toy guns.

CALIBER_HARPOON

The caliber used by the harpoon gun.

CALIBER_HOOK

The caliber used by the meat hook.

CALIBER_LASER

The caliber used by laser guns.

CALIBER_N762

The caliber used by one revolver variant.

CALIBER_REBAR

The caliber used by the rebar crossbow.

CALIBER_REBAR_FORCED

The caliber used by the rebar crossbow when forced to hold 2 rods.

CALIBER_REBAR_SYNDIE

The caliber used by the syndicate rebar crossbow.

CALIBER_REBAR_SYNDIE_NORMAL

The caliber used by the syndicate rebar crossbow.

CALIBER_SHOTGUN

The caliber used by shotguns.

CALIBER_STRILKA310

The caliber used by bolt action rifles.

CALIBER_TENTACLE

The caliber used by the changeling tentacle mutation.

GUNPOINT_SHOOTER_STRAY_RANGE

For gunpoints, how many tiles around the target the shooter can roam without losing their shot

LASER_SHOTS

Macro to turn a number of laser shots into an energy cost, based on the above define e.g. LASER_SHOTS(12, STANDARD_CELL_CHARGE) means 12 shots

PROJECTILE_DAMAGE_PER_ROBOTIC_SPARK

A spark will be generated for each THIS amount of damage dealt to a robotic limb by a projectile.

PROJECTILE_PIERCE_HIT

Hit the thing but go through without deleting. Causes on_hit to be called with pierced = TRUE

PROJECTILE_PIERCE_NONE

Default behavior: hit and delete self

PROJECTILE_PIERCE_PHASE

Entirely phase through the thing without ever hitting.

STANDARD_ENERGY_GUN_SELF_CHARGE_RATE

The self charging rate of energy guns that magically recharge themselves, in watts.