savannah_ivanov

Savannah-Ivanov!
A two person mecha that delegates moving to the driver and shooting to the pilot. ...Hilarious, right?
Vars | |
aiming_ivanov | toggled by ivanov strike, TRUE when signals are hooked to intercept clicks. |
---|---|
rockets_left | how many rockets can we send with ivanov strike |
skyfall_charge_level | skyfall builds up in charges every 2 seconds, when it reaches 5 charges the ability actually starts |
skyfall_cooldown | skyfall ability cooldown |
skyfall_cooldown_time | cooldown time between skyfall uses |
strike_cooldown | ivanov strike ability cooldown |
strike_cooldown_time | cooldown time between strike uses |
Procs | |
abort_skyfall | |
begin_landing | |
begin_skyfall_charge | |
drop_missile | |
end_missile_targeting | |
land | |
on_equipment_click | signal called from clicking with equipment |
on_melee_click | signal called from clicking with no equipment |
skyfall_charge_loop | |
start_missile_targeting |
Var Details
aiming_ivanov

toggled by ivanov strike, TRUE when signals are hooked to intercept clicks.
rockets_left

how many rockets can we send with ivanov strike
skyfall_charge_level

skyfall builds up in charges every 2 seconds, when it reaches 5 charges the ability actually starts
skyfall_cooldown

skyfall ability cooldown
skyfall_cooldown_time

cooldown time between skyfall uses
strike_cooldown

ivanov strike ability cooldown
strike_cooldown_time

cooldown time between strike uses
Proc Details
abort_skyfall
abort_skyfall
Called by skyfall_charge_loop if the charging is interrupted. Applies cooldown and resets charge level arguments:
- pilot: mob that failed the skyfall ability
begin_landing
begin_landing
Called by skyfall_charge_loop after some time if it reaches full charge level. it's just the animations of the mecha coming down + another timer for the final landing effect arguments:
- pilot: mob that activated the skyfall ability
begin_skyfall_charge
begin_skyfall_charge
Proc called by the mecha's ability that starts the skyfall loop
drop_missile
drop_missile
Called via intercepted clicks when the missile ability is active Spawns a droppod and starts the cooldown of the missile strike ability arguments:
- gunner: mob that activated the ivanov strike
- target_turf: turf of the atom that was clicked on
end_missile_targeting
end_missile_targeting
Called by the ivanov strike datum action or other actions that would end targetting Unhooks signals into clicking to call drop_missile plus other flavor like the overlay arguments:
- gunner: mob that activated the ivanov strike
- silent: whether to send feedback messages.
land
begin_landing
Called by skyfall_charge_loop after some time if it reaches full charge level. it's just the animations of the mecha coming down + another timer for the final landing effect arguments:
- pilot: mob that activated the skyfall ability
on_equipment_click
signal called from clicking with equipment
on_melee_click
signal called from clicking with no equipment
skyfall_charge_loop
skyfall_charge_loop
The actual skyfall loop itself. Repeatedly calls itself after a do_after, so any interruptions will call abort_skyfall and end the loop the other way the loop ends is if charge level (var it's ticking up) gets to SKYFALL_CHARGELEVEL_LAUNCH, in which case it ends the loop and does the ability. arguments:
- pilot: mob that activated the skyfall ability
start_missile_targeting
start_missile_targeting
Called by the ivanov strike datum action, hooks signals into clicking to call drop_missile Plus other flavor like the overlay arguments:
- gunner: mob that activated the ivanov strike
- silent: whether to send feedback messages.