ammo_casing 
Vars | |
| caliber | Which kind of guns it can be loaded into |
|---|---|
| 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 |
| loaded_projectile | the loaded projectile in this ammo casing |
| 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 |
Procs | |
| fire_casing | Fires the bullet in this casing |
Var Details
caliber 
Which kind of guns it can be loaded into
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
loaded_projectile 
the loaded projectile in this ammo casing
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
fire_casing
Fires the bullet in this casing
- target - what was clicked on (where the bullet will go)
- user - who is firing the bullet
- params - click params. like x, y, shift, etc
- distro - how much the bullet will spread
- quiet - if the bullet is suppressed
- zone_override - optional, the zone the bullet will aim for. if not supplied, uses the user's selected zone
- spread - how much the bullet will spread
- fired_from - the object that fired the bullet