Structs Exploration

Important: Entity IDs containing dashes (like 3-1, 4-5) are misinterpreted as flags by the CLI parser. All transaction commands in this skill use -- before positional arguments to prevent this.

Safety

See SAFETY.md for the trust contract. In this skill:

Procedure

  1. Check eligibilitystructsd query structs planet [id]. For an existing player, exploration requires (a) currentOre == 0 on the current planet (fully mined) AND (b) the fleet is onStation at that planet. Brand-new players (no current planet) skip both checks. One planet per player at a time; old planet is released on explore.
  2. Recall fleet first if needed — If your fleet is away (raiding or repositioned), bring it home before exploring: structsd tx structs fleet-move --from [key-name] --gas auto --gas-adjustment 1.5 -- [fleet-id] 2 [current-planet-id]. Then verify: structsd query structs fleet [fleet-id] shows onStation true. Skip this step for first-time exploration.
  3. Explore (first time) — Brand-new player, no prior planet. Tier 0 (routine). CLI prompts; accept:

    structsd tx structs planet-explore --from [key-name] --gas auto --gas-adjustment 1.5 -- [player-id] [name]
    

    The optional [name] sets the planet display name at creation (same validation as MsgPlanetUpdateName). Omit it to use the auto-generated default. New planet: 5 ore, 4 slots per ambit. Fleet moves to new planet.

  4. Explore (subsequent) — You already have a planet. Tier 2 (destroys the old planet). The old planet is released, all structs on it are destroyed, and fleets present are scattered.

    Approval Block — confirm before signing:

    Then run:

    structsd tx structs planet-explore --from [key-name] --gas auto --gas-adjustment 1.5 -- [player-id] [name]
    
  5. Move fleet — To relocate between planets without exploring (CLI will prompt — verify the destination location ID, especially if it’s unscouted):

    structsd tx structs fleet-move --from [key-name] --gas auto --gas-adjustment 1.5 -- [fleet-id] [destination-location-id]
    
  6. Chart — Query planet, grid, attributes to evaluate resource potential and strategic value.

Commands Reference

Action CLI Command
Explore planet structsd tx structs planet-explore -- [player-id] [name]
Move fleet structsd tx structs fleet-move -- [fleet-id] [destination-location-id]
Query planet structsd query structs planet [id]
List planets structsd query structs planet-all-by-player [player-id]
Query fleet structsd query structs fleet [id]
Query grid structsd query structs grid [id]
Planet attribute structsd query structs planet-attribute [planet-id] [attribute-type]

Rules: Starting ore = 5. New planet when ore = 0. One planet per player at a time.

TX_FLAGS (interactive — the CLI prompts you to confirm): --from [key-name] --gas auto --gas-adjustment 1.5

TX_FLAGS_APPROVED (only after commander approval; suppresses the prompt): TX_FLAGS plus -y. See SAFETY.md “The -y Rule.” Subsequent planet-explore is Tier 2 — always default to interactive so the CLI’s confirmation is your last gate before destruction.

Requires: structsd on PATH and a configured signing key.

Verification

Error Handling

See Also