Package idlab.colonyops.model.actions


package idlab.colonyops.model.actions
The actions a squad member can perform on a given turn, and the orbital call-in commands available through CallInFromOrbitAction.

Once per turn, for each living squad member, the game backend asks the player's logic service for one Action. When multiple squad members submit actions in the same turn, they are resolved in a fixed priority order: attack, loot, extract, drop-off, call-in, then move. Actions whose preconditions are not met (e.g. attacking an out-of-range target) are silently ignored.

  • Class
    Description
    An action the player's logic service chooses for a squad member on a given turn, returned from POST /missions/{missionId}/request-action.
    Sent to POST /missions/{missionId}/request-action when the engine needs an Action for a specific squad member this turn.
    Attack an entity within the squad member's equipped weapon's range.
    Call in orbital support at (or near) the calling squad member's location.
    Deposit all resources from the squad member's crate at the current location.
    Extract resources from the resource deposit at the squad member's current tile.
    Loot a defeated (dead) entity at the squad member's current location, picking up its weapon and/or the resources remaining in its crate.
    Move the squad member towards a target location.
    Do nothing this turn.
    Orbital support commands unlockable via the military and economic tech trees.