byond - Modules - TypesVar Details

M402 mortar

Vars

aimedTrue if mortar is ready to fire on lase mode.
aimingUsed for lase mode aiming, busy but not used by someone else.
firingUsed for deconstruction and aiming sanity
fixedIf set to 1, can't unanchor and move the mortar, used for map spawns and WO
lase_modeTrue if in lase mode, else in coordinate mode
linked_designatorLinked laser designator to be used in lase mode, null if one isn't linked
max_rangeThe max range the mortar can fire at
min_rangeThe min range the mortar can fire at
offset_per_turfsNumber of turfs to offset from target by 1
ship_sideif true, blows up the shell immediately
travel_timeConstant, assuming perfect parabolic trajectory. ONLY THE DELAY BEFORE INCOMING WARNING WHICH ADDS 45 TICKS

Var Details

aimed

True if mortar is ready to fire on lase mode.

aiming

Used for lase mode aiming, busy but not used by someone else.

firing

Used for deconstruction and aiming sanity

fixed

If set to 1, can't unanchor and move the mortar, used for map spawns and WO

lase_mode

True if in lase mode, else in coordinate mode

linked_designator

Linked laser designator to be used in lase mode, null if one isn't linked

max_range

The max range the mortar can fire at

min_range

The min range the mortar can fire at

offset_per_turfs

Number of turfs to offset from target by 1

ship_side

if true, blows up the shell immediately

travel_time

Constant, assuming perfect parabolic trajectory. ONLY THE DELAY BEFORE INCOMING WARNING WHICH ADDS 45 TICKS