byond - Modules - TypesVar Details

M56B smartgun

Vars

ammo_primaryThe current normal ammo datum
ammo_primary_altFrontline mode normal ammo datum
ammo_primary_defNon-Frontline mode normal ammo datum
ammo_secondaryThe current AP ammo datum
ammo_secondary_altFrontline mode AP ammo datum
ammo_secondary_defNon-Frontline mode AP ammo datum
frontline_enabledWhether Frontline mode is toggled on
iff_enabledWhether IFF mode is toggled on
requires_batteryWhether the smartgun requires a battery
requires_harnessWhether the smartgun requires a harness to use
requires_powerWhether the smartgun drains the battery (Ignored if requires_battery is false)
secondary_toggledWhether we are using AP ammo currently

Var Details

ammo_primary

The current normal ammo datum

ammo_primary_alt

Frontline mode normal ammo datum

ammo_primary_def

Non-Frontline mode normal ammo datum

ammo_secondary

The current AP ammo datum

ammo_secondary_alt

Frontline mode AP ammo datum

ammo_secondary_def

Non-Frontline mode AP ammo datum

frontline_enabled

Whether Frontline mode is toggled on

iff_enabled

Whether IFF mode is toggled on

requires_battery

Whether the smartgun requires a battery

requires_harness

Whether the smartgun requires a harness to use

requires_power

Whether the smartgun drains the battery (Ignored if requires_battery is false)

secondary_toggled

Whether we are using AP ammo currently