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

boomerang

If an ojvect is given the boomerang component, it should be thrown back to the thrower after either hitting it's target, or landing on the thrown tile. Thrown objects should be thrown back to the original thrower with this component, a number of tiles defined by boomerang_throw_range.

Vars

boomerang_throw_rangeHow far should the boomerang try to travel to return to the thrower?
last_boomerang_throwThis cooldown prevents our 2 throwing signals from firing too often based on how we implement those signals within thrown impacts.
thrower_easy_catch_enabledIf this boomerang is thrown, does it re-enable the throwers throw mode?

Procs

aerodynamic_swingProc that triggers when the thrown boomerang has been fully thrown, rethrowing the boomerang back to the thrower, and producing visible feedback.
prepare_throwProc'd before the first thrown is performed in order to gather information regarding each throw as well as handle throw_mode as necessary.
return_hit_throwProc that triggers when the thrown boomerang hits an object.
return_missed_throwProc that triggers when the thrown boomerang does not hit a target.

Var Details

boomerang_throw_range

How far should the boomerang try to travel to return to the thrower?

last_boomerang_throw

This cooldown prevents our 2 throwing signals from firing too often based on how we implement those signals within thrown impacts.

thrower_easy_catch_enabled

If this boomerang is thrown, does it re-enable the throwers throw mode?

Proc Details

aerodynamic_swing

Proc that triggers when the thrown boomerang has been fully thrown, rethrowing the boomerang back to the thrower, and producing visible feedback.

prepare_throw

Proc'd before the first thrown is performed in order to gather information regarding each throw as well as handle throw_mode as necessary.

return_hit_throw

Proc that triggers when the thrown boomerang hits an object.

return_missed_throw

Proc that triggers when the thrown boomerang does not hit a target.