M56A2 smartgun 
Vars | |
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 |
can_change_ammo | If the gun has switchable ammo types |
drum_cover_overlay | If the gun should have custom overlay for cover depending on whether it has a drum or not |
frontline_enabled | Whether Frontline mode is toggled on |
gun_faction | IFF and motion detector faction of the gun |
has_cover | If the gun has a cover that should be opened in order to reload |
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 |
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
can_change_ammo 
If the gun has switchable ammo types
drum_cover_overlay 
If the gun should have custom overlay for cover depending on whether it has a drum or not
frontline_enabled 
Whether Frontline mode is toggled on
gun_faction 
IFF and motion detector faction of the gun
has_cover 
If the gun has a cover that should be opened in order to reload
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