greyscale

Vars | |
ability_module_icon | used to lookup ability overlays for this mech |
---|---|
dash_sparks_left | left dash foot sparks holder |
dash_sparks_right | right dash foot sparks holder |
double_tap_timing | The timing for activating a dash by double tapping a movement key. |
foot_offsets | list of where the foots are for mechs visually, used for particles |
holder_left | left particle smoke holder |
holder_right | right particle smoke holder |
is_wreck | whether this is an unusable wreck |
last_mousedown_time | Stores the time at which we last moved. |
last_move_dir | Stores the direction of the last movement made. |
limbs | keyed list. values are types at init, otherwise instances of mecha limbs, order is layer order as well |
next_footstep_left | Determines which foot the footstep particles go |
swapped_to_backweapons | whether we have currently swapped the back and arm icons |
use_damage_particles | whetehr we use the damage particles |
use_gun_boost_prefix | whether we should be using the b_ prefix for guns if we're boosting |
weight | total wight our limbs and equipment contribute. max determined by MECH_GREY_LEGS limb |
Procs | |
activate_dash | Does a dash in the specified direction. |
check_dash | Checks if we can dash in the specified direction, and activates the ability if so. |
dash_east | Checks if we can dash to the east. |
dash_north | Checks if we can dash to the north. |
dash_south | Checks if we can dash to the south. |
dash_west | Checks if we can dash to the west. |
remove_sparks | Turns off dash sparks particles. |
setDir | only used for weapons |
set_jump_component | Sets up the jump component for the mob. Proc args can be altered so different mobs have different 'default' jump settings |
Var Details
ability_module_icon

used to lookup ability overlays for this mech
dash_sparks_left

left dash foot sparks holder
dash_sparks_right

right dash foot sparks holder
double_tap_timing

The timing for activating a dash by double tapping a movement key.
foot_offsets

list of where the foots are for mechs visually, used for particles
holder_left

left particle smoke holder
holder_right

right particle smoke holder
is_wreck

whether this is an unusable wreck
last_mousedown_time

Stores the time at which we last moved.
last_move_dir

Stores the direction of the last movement made.
limbs

keyed list. values are types at init, otherwise instances of mecha limbs, order is layer order as well
next_footstep_left

Determines which foot the footstep particles go
swapped_to_backweapons

whether we have currently swapped the back and arm icons
use_damage_particles

whetehr we use the damage particles
use_gun_boost_prefix

whether we should be using the b_ prefix for guns if we're boosting
weight

total wight our limbs and equipment contribute. max determined by MECH_GREY_LEGS limb
Proc Details
activate_dash
Does a dash in the specified direction.
check_dash
Checks if we can dash in the specified direction, and activates the ability if so.
dash_east
Checks if we can dash to the east.
dash_north
Checks if we can dash to the north.
dash_south
Checks if we can dash to the south.
dash_west
Checks if we can dash to the west.
remove_sparks
Turns off dash sparks particles.
setDir
only used for weapons
set_jump_component
Sets up the jump component for the mob. Proc args can be altered so different mobs have different 'default' jump settings