Draft a nation's infrastructure once per set of theatres #103
Loading…
Reference in a new issue
No description provided.
Delete branch "vinny/infra-regions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #46. A nation's order of battle is shared by every plan with that nation and year. Its infrastructure, though, was one request, marked
CIV:infrastructurefor the whole entry, naming the theatres of the plan that asked first. Russia's was drafted for the Sea of Japan, and the Norwegian Sea plan's Kola Peninsula got no port, airport or power plant. - Infrastructure is now asked once for each set of theatres (region:CIV:infrastructure:<key>), the same way #38 asks for units near the theatres. The request lists the sites the entry already has, the new sites are added beside them, and a site given again is dropped. - A Redraft (clear) and a restart now remove the service'sregion:marks along with its rows. Before, the marks stayed behind, so the units near a plan's theatres were never asked for again. - A row that copies an order-of-battle task's example (a real unit of one nation: 4 FS, VMFA-314, 689 GvIAP, Ras Tanura) is left out of every other nation's entry, with a note. - Tests: infrastructure drafted per region with the sites listed and no duplicate, then not asked again for the same region; region marks cleared; the example copy left out for Finland and kept for Russia. All three fail on the old code. Builder suite green. 🤖 Generated with Claude Code