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:
+4
-1
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user