pneumatic_cannon

Vars | |
gas_per_throw | How many moles of gas is drawn from a tank's pressure to fire |
---|---|
loaded_items | The items loaded into the cannon that will be fired out |
loaded_weight_class | The weight of items currently in the cannon |
max_pressure_setting | In case we want a really strong cannon |
max_weight_class | The max weight of items that can fit into the cannon |
pressure_setting | How powerful the cannon is - higher pressure = more gas but more powerful throws |
requires_tank | If the cannon needs a tank at all |
tank | The gas tank that is drawn from to fire things |
Procs | |
load_item | Arguments: |
Var Details
gas_per_throw

How many moles of gas is drawn from a tank's pressure to fire
loaded_items

The items loaded into the cannon that will be fired out
loaded_weight_class

The weight of items currently in the cannon
max_pressure_setting

In case we want a really strong cannon
max_weight_class

The max weight of items that can fit into the cannon
pressure_setting

How powerful the cannon is - higher pressure = more gas but more powerful throws
requires_tank

If the cannon needs a tank at all
tank

The gas tank that is drawn from to fire things
Proc Details
load_item
Arguments:
- I - item to load into the cannon
- user - the person loading the item in Returns:
- True if item was loaded, false if it failed