/tg/ Station 13 - Modules - TypesVar Details - Proc Details

pneumatic_cannon

Vars

allowed_typecacheLeave as null to allow all. Otherwise whitelists what can be inserted into the cannon.
automaticAllows you to hold down LMB to continuously fire.
clumsyCheckIf true, has side effects if fired with the clumsy trait (read: clowns)
fire_modeWhat methodology should be used when firing? See #defines at top of file.
gasPerThrowHow much gas is drawn from a tank's pressure to fire
loadedItemsThe items loaded into the cannon that will be fired out
loadedWeightClassThe weight of items currently in the cannon
maxWeightClassThe max weight of items that can fit into the cannon
needs_airDetermines if a pneumatic cannon needs an air tank to fire. False for things like the pie cannons.
pressure_settingHow powerful the cannon is - higher pressure = more gas but more powerful throws
range_multiplierAdditional multiplier that adjusts how much farther thrown objects can travel.
spin_itemDo the projectiles spin when launched?
tankThe gas tank that is drawn from to fire things
throw_amountHow many items to throw per fire

Procs

pre_fireChecks

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