Skip to main content

Module throw_projectile

Module throw_projectile 

Source
Expand description

Shared item use logic for throwing projectiles

Structsยง

ThrowParams ๐Ÿ”’
The per-item constants of vanillaโ€™s throw use.

Constantsยง

THROW_PITCH_DIVISOR_MAX ๐Ÿ”’
THROW_PITCH_DIVISOR_MIN ๐Ÿ”’
THROW_PITCH_NUMERATOR ๐Ÿ”’

Functionsยง

throw_item_projectile ๐Ÿ”’
Throws a projectile plays its sound awards ITEM_USED and consumes one item