mecha
Vars | |
capacitor | Keeps track of the mech's scanning module |
---|---|
construction_state | Keeps track of the mech's capacitor |
scanmod | Keeps track of the mech's cell |
Procs | |
GrantActions | Action Buttons |
Topic | Topic |
add_airtank | Updates the values given by scanning module and capacitor tier, called when a part is removed or inserted. |
add_capacitor | Adds a capacitor, for use in Map-spawned mechs, Nuke Ops mechs, and admin-spawned mechs. Mechs built by hand will replace this. |
add_cell | Adds a cell, for use in Map-spawned mechs, Nuke Ops mechs, and admin-spawned mechs. Mechs built by hand will replace this. |
add_scanmod | Adds a scanning module, for use in Map-spawned mechs, Nuke Ops mechs, and admin-spawned mechs. Mechs built by hand will replace this. |
ammo_resupply | Ammo stuff |
attack_ai | AI piloting |
check_for_internal_damage | Internal damage |
click_action | Action processing |
examine | silicon_pilot implied |
get_actions | Returns HTML for mech actions. Ideally, this proc would be empty for the base mecha. Segmented for easy refactoring. |
get_commands | HTML for commands. |
get_equipment_list | HTML for list of equipment. |
get_stats_html | Rendering stats window |
get_stats_part | Returns the status of the mech. |
has_charge | Power stuff |
occupant_message | Messages and Log |
operation_allowed | Access stuff |
play_stepsound | ///// Movement procs //////// |
remove_air | Atmospheric stuff |
report_internal_damage | HTML for internal damage. |
stationary_repair | Repairs internal damage if the mech hasn't moved. |
Var Details
capacitor
Keeps track of the mech's scanning module
construction_state
Keeps track of the mech's capacitor
scanmod
Keeps track of the mech's cell
Proc Details
GrantActions
Action Buttons
Topic
Topic
add_airtank
Updates the values given by scanning module and capacitor tier, called when a part is removed or inserted.
/// Helpers /////////
add_capacitor
Adds a capacitor, for use in Map-spawned mechs, Nuke Ops mechs, and admin-spawned mechs. Mechs built by hand will replace this.
add_cell
Adds a cell, for use in Map-spawned mechs, Nuke Ops mechs, and admin-spawned mechs. Mechs built by hand will replace this.
add_scanmod
Adds a scanning module, for use in Map-spawned mechs, Nuke Ops mechs, and admin-spawned mechs. Mechs built by hand will replace this.
ammo_resupply
Ammo stuff
attack_ai
AI piloting
check_for_internal_damage
Internal damage
click_action
Action processing
examine
silicon_pilot implied
get_actions
Returns HTML for mech actions. Ideally, this proc would be empty for the base mecha. Segmented for easy refactoring.
get_commands
HTML for commands.
get_equipment_list
HTML for list of equipment.
get_stats_html
Rendering stats window
get_stats_part
Returns the status of the mech.
has_charge
Power stuff
occupant_message
Messages and Log
operation_allowed
Access stuff
play_stepsound
///// Movement procs ////////
Plays the mech step sound effect. Split from movement procs so that other mechs (HONK) can override this one specific part.
remove_air
Atmospheric stuff
report_internal_damage
HTML for internal damage.
stationary_repair
Repairs internal damage if the mech hasn't moved.