v0.4.3 fixed load/unload bugs. empty cars must be staged prior to loading. rolling stock is now conserved.

This commit is contained in:
Jesse
2026-08-14 08:33:32 -04:00
parent 393a669418
commit d1314066bd
13 changed files with 2258 additions and 3822 deletions
+4 -1
View File
@@ -449,7 +449,10 @@ describe('Freight Agent operations (§6.3)', () => {
inboundBox: [],
capacity: { outbound: 3, inbound: 0 },
menAtWork: [null, null, null],
industryTrack: { length: 4, cars: [] },
// An empty hopper is SPOTTED. §9.3 refuses to stage cargo against no car — "otherwise you
// are just dropping cargo onto the tracks" — so a fixture with a bare track is a facility
// the Freight Agent cannot legally touch.
industryTrack: { length: 4, cars: [{ type: 'hopper', loaded: false }] },
laborers: 3,
porters: 0,
usedThisStage: { laborers: 0, porters: 0 },