structsd query structs player [id]. Compute: availablePower = (capacity + capacitySecondary) - (load + structsLoad). If load + structsLoad > capacity + capacitySecondary, player goes OFFLINE (cannot act). Player passive draw: 25,000 mW.allocation-create [source-id] [power] --allocation-type static|dynamic|automated|provider-agreement TX_FLAGS. Then: structsd tx structs substation-create [owner-id] [allocation-id] TX_FLAGS.substation-allocation-connect [substation-id] [allocation-id] to add source. substation-allocation-disconnect to remove.substation-player-connect [substation-id] [player-id] to draw power. substation-player-disconnect to remove.substation-player-migrate [source-substation-id] [dest-substation-id] [player-id,player-id2,...] TX_FLAGS.allocation-update [allocation-id] [new-power]. Delete: allocation-delete [allocation-id].substation-delete [substation-id] (disconnect allocations/players first).| Action | Command |
|---|---|
| Substation create | structsd tx structs substation-create [owner-id] [allocation-id] |
| Substation delete | structsd tx structs substation-delete [substation-id] |
| Allocation connect | structsd tx structs substation-allocation-connect [substation-id] [allocation-id] |
| Allocation disconnect | structsd tx structs substation-allocation-disconnect [substation-id] [allocation-id] |
| Player connect | structsd tx structs substation-player-connect [substation-id] [player-id] |
| Player disconnect | structsd tx structs substation-player-disconnect [substation-id] [player-id] |
| Player migrate | structsd tx structs substation-player-migrate [src-substation-id] [dest-substation-id] [player-ids] |
| Allocation create | structsd tx structs allocation-create [source-id] [power] --allocation-type [type] |
| Allocation update | structsd tx structs allocation-update [allocation-id] [power] |
| Allocation delete | structsd tx structs allocation-delete [allocation-id] |
TX_FLAGS: --from [key-name] --gas auto --gas-adjustment 1.5 -y
structsd query structs player [id] — capacity, capacitySecondary, load, structsLoad, online status.structsd query structs substation [id] — connected allocations, players.structsd query structs allocation-all-by-source [source-id], allocation-all-by-destination [dest-id] — power flow.struct-deactivate), add reactor/generator capacity, or reduce struct count before building more.knowledge/mechanics/power.md — Formulas, capacity, load, online statusknowledge/mechanics/building.md — Build power requirementsknowledge/mechanics/resources.md — Reactor vs generator conversion rates