pneumatic_cannon 
Vars | |
| allowed_typecache | Leave as null to allow all. Otherwise whitelists what can be inserted into the cannon. |
|---|---|
| automatic | Allows you to hold down LMB to continuously fire. |
| clumsyCheck | If true, has side effects if fired with the clumsy trait (read: clowns) |
| fire_mode | What methodology should be used when firing? See #defines at top of file. |
| gasPerThrow | How much gas is drawn from a tank's pressure to fire |
| loadedItems | The items loaded into the cannon that will be fired out |
| loadedWeightClass | The weight of items currently in the cannon |
| maxWeightClass | The max weight of items that can fit into the cannon |
| needs_air | Determines if a pneumatic cannon needs an air tank to fire. False for things like the pie cannons. |
| pressure_setting | How powerful the cannon is - higher pressure = more gas but more powerful throws |
| range_multiplier | Additional multiplier that adjusts how much farther thrown objects can travel. |
| spin_item | Do the projectiles spin when launched? |
| tank | The gas tank that is drawn from to fire things |
| throw_amount | How many items to throw per fire |
Procs | |
| pre_fire | Checks |
Var Details
allowed_typecache 
Leave as null to allow all. Otherwise whitelists what can be inserted into the cannon.
automatic 
Allows you to hold down LMB to continuously fire.
clumsyCheck 
If true, has side effects if fired with the clumsy trait (read: clowns)
fire_mode 
What methodology should be used when firing? See #defines at top of file.
gasPerThrow 
How much gas is drawn from a tank's pressure to fire
loadedItems 
The items loaded into the cannon that will be fired out
loadedWeightClass 
The weight of items currently in the cannon
maxWeightClass 
The max weight of items that can fit into the cannon
needs_air 
Determines if a pneumatic cannon needs an air tank to fire. False for things like the pie cannons.
pressure_setting 
How powerful the cannon is - higher pressure = more gas but more powerful throws
range_multiplier 
Additional multiplier that adjusts how much farther thrown objects can travel.
spin_item 
Do the projectiles spin when launched?
tank 
The gas tank that is drawn from to fire things
throw_amount 
How many items to throw per fire
Proc Details
pre_fire
Checks