pneumatic cannon

Vars | |
allowed_typecache | List of allowed items to be loaded. Leave as null to allow all. |
---|---|
automatic | Can you shoot this cannon automatically via click-and-hold? |
blacklist_items | A list of items that cannot ever be inserted into the cannon. |
charge_amount | How many charge_type should be loaded if self-charge is true and charge_cooldown seconds have passed? |
charge_type | What item path should be loaded into the cannon for self-charge ? |
checktank | Prevents firing if there is no tank. |
clumsyCheck | Should clumsy people have a chance to fail/backfire? |
fire_mode | The fire mode. Can be PCANNON_FIREALL, PCANNON_FILO, or PCANNON_FIFO. |
fire_sound | The sound played upon firing. |
gasPerThrow | How much gas is removed from a tank's pressure when fired? |
loadedItems | The loaded items in 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 in the cannon. |
pressureSetting | How powerful the cannon is. Higher pressure = more gas cost (if there is one), further distance, faster speed, etc. |
range_multiplier | The multiplier for how far will the items be thrown. 1 is exact distance of the target; higher will multiply by that number. |
recharge_cooldown | How many seconds before it self-recharges? |
seconds_time_remaining | How many seconds passed since last process() and haven't been spent on self-recharging? |
selfcharge | Should this cannon automatically recharge? |
spin_item | Should projectiles spin when they are launched? |
tank | The gas tank that is drawn from to fire things. |
throw_amount | How many items in loadedItems will be thrown per fire if not on PCANNON_FIREALL? |
Procs | |
vv_edit_var | Starts and stops processing based on self_recharging variable. |
Var Details
allowed_typecache

List of allowed items to be loaded. Leave as null to allow all.
automatic

Can you shoot this cannon automatically via click-and-hold?
blacklist_items

A list of items that cannot ever be inserted into the cannon.
charge_amount

How many charge_type
should be loaded if self-charge
is true and charge_cooldown
seconds have passed?
charge_type

What item path should be loaded into the cannon for self-charge
?
checktank

Prevents firing if there is no tank.
clumsyCheck

Should clumsy people have a chance to fail/backfire?
fire_mode

The fire mode. Can be PCANNON_FIREALL, PCANNON_FILO, or PCANNON_FIFO.
fire_sound

The sound played upon firing.
gasPerThrow

How much gas is removed from a tank's pressure when fired?
loadedItems

The loaded items in 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 in the cannon.
pressureSetting

How powerful the cannon is. Higher pressure = more gas cost (if there is one), further distance, faster speed, etc.
range_multiplier

The multiplier for how far will the items be thrown. 1 is exact distance of the target; higher will multiply by that number.
recharge_cooldown

How many seconds before it self-recharges?
seconds_time_remaining

How many seconds passed since last process()
and haven't been spent on self-recharging?
selfcharge

Should this cannon automatically recharge?
spin_item

Should projectiles spin when they are launched?
tank

The gas tank that is drawn from to fire things.
throw_amount

How many items in loadedItems
will be thrown per fire if not on PCANNON_FIREALL?
Proc Details
vv_edit_var
Starts and stops processing based on self_recharging
variable.