# Economy + production through the gamepad intents (game mode, enemy AI switched off so the numbers are exact).
# Run: seidrspike --script scripts/e_economy.txt --out-dir out/game [--sim-only]
mode game
ai off
expect workers_min 4
expect buildings_min 1
press Y                 # Y selects (and centres on) the own base
train worker 2          # X would train a fighter and L1 a worker on the gamepad
wait 1
expect queue_min 2
shot e_00_queue.ppm
wait 130
expect workers_min 5
shot e_01_producing.ppm
wait 100
expect workers_min 6
expect ore_min 1
spawnb blue barracks 26 67
train fighter 2
wait 1
wait 320
expect fighters_min 2
shot e_02_fighters.ppm
press B
wait 300
expect ore_min 150      # six workers keep mining while the base idles
stats
hash
quit
