Daedalus Dock - Modules - TypesVar Details - Proc Details

thrownthing

Vars

callbackIf a thrown thing has a callback, it can be invoked here within thrownthing.
delayed_timeHow long an object has been paused for, to be added to the travel time.
diagonal_errorHow many tiles that need to be moved in order to travel to the target.
diagonals_firstA variable that helps in describing objects thrown at an angle, if it should be moved diagonally first or last.
dist_travelledTracks how far a thrownthing has traveled mid-throw for the purposes of maxrange
dist_xDistance to travel in the X axis/direction.
dist_yDistance to travel in the y axis/direction.
dxThe Horizontal direction we're traveling (EAST or WEST)
dyThe VERTICAL direction we're traveling (NORTH or SOUTH)
forceThe movement force provided to a given object in transit. More info on these in move_force.dm
gentleIf the throw is gentle, then the thrownthing is harmless on impact.
init_dirThe initial direction of the thrower of the thrownthing for building the trajectory of the throw.
initial_targetWeakref to the original intended target of the throw, to prevent hardDels
is_spinningIf the thrown object is spinning
last_moveThe last world.time value stored when the thrownthing was moving.
maxrangeThe maximum number of turfs that the thrownthing will travel to reach it's target.
origin_turfThe turf the thrown object was on when it started moving.
pausedMainly exists for things that would freeze a thrown object in place, like a timestop'd tile. Or a Tractor Beam.
pure_diagonalSet to TRUE if the throw is exclusively diagonal (45 Degree angle throws for example)
speedThe speed of the projectile thrownthing being thrown.
start_timeThe start_time obtained via world.time for the purposes of tiles moved/tick.
target_turfThe turf that the target was on, if it's not a turf itself.
target_zoneIf the target happens to be a carbon and that carbon has a body zone aimed at, this is carried on here.
throwerIf a mob is the one who has thrown the object, then it's moved here.
thrownthingDefines the atom that has been thrown (Objects and Mobs, mostly.)

Procs

on_thrownthing_qdelDefines the datum behavior on the thrownthing's qdeletion event.
stop_spinningRemove the spinning animation from the thrown object

Var Details

callback

If a thrown thing has a callback, it can be invoked here within thrownthing.

delayed_time

How long an object has been paused for, to be added to the travel time.

diagonal_error

How many tiles that need to be moved in order to travel to the target.

diagonals_first

A variable that helps in describing objects thrown at an angle, if it should be moved diagonally first or last.

dist_travelled

Tracks how far a thrownthing has traveled mid-throw for the purposes of maxrange

dist_x

Distance to travel in the X axis/direction.

dist_y

Distance to travel in the y axis/direction.

dx

The Horizontal direction we're traveling (EAST or WEST)

dy

The VERTICAL direction we're traveling (NORTH or SOUTH)

force

The movement force provided to a given object in transit. More info on these in move_force.dm

gentle

If the throw is gentle, then the thrownthing is harmless on impact.

init_dir

The initial direction of the thrower of the thrownthing for building the trajectory of the throw.

initial_target

Weakref to the original intended target of the throw, to prevent hardDels

is_spinning

If the thrown object is spinning

last_move

The last world.time value stored when the thrownthing was moving.

maxrange

The maximum number of turfs that the thrownthing will travel to reach it's target.

origin_turf

The turf the thrown object was on when it started moving.

paused

Mainly exists for things that would freeze a thrown object in place, like a timestop'd tile. Or a Tractor Beam.

pure_diagonal

Set to TRUE if the throw is exclusively diagonal (45 Degree angle throws for example)

speed

The speed of the projectile thrownthing being thrown.

start_time

The start_time obtained via world.time for the purposes of tiles moved/tick.

target_turf

The turf that the target was on, if it's not a turf itself.

target_zone

If the target happens to be a carbon and that carbon has a body zone aimed at, this is carried on here.

thrower

If a mob is the one who has thrown the object, then it's moved here.

thrownthing

Defines the atom that has been thrown (Objects and Mobs, mostly.)

Proc Details

on_thrownthing_qdel

Defines the datum behavior on the thrownthing's qdeletion event.

stop_spinning

Remove the spinning animation from the thrown object