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
+309 -333
View File
@@ -1,7 +1,7 @@
{
"seed": 1022551,
"title": "27 Revenue · seed 1022551",
"note": "27 Revenue over 5 Days · 2 train(s) on the timetable · 21 cards down · no collisions · played by developer",
"note": "27 Revenue over 5 Days · 2 train(s) on the timetable · 19 cards down · no collisions · played by developer",
"history": [
{
"type": "localOps.choose",
@@ -864,12 +864,7 @@
"option": "freightAgent"
},
{
"type": "freightAgent.stockOutbound",
"at": {
"row": -1,
"col": -2
},
"carType": "boxcar"
"type": "freightAgent.end"
},
{
"type": "laborer.advanceLoad",
@@ -1026,12 +1021,7 @@
"option": "freightAgent"
},
{
"type": "freightAgent.stockOutbound",
"at": {
"row": -1,
"col": -2
},
"carType": "boxcar"
"type": "freightAgent.end"
},
{
"type": "laborer.advanceLoad",
@@ -1147,6 +1137,205 @@
},
"index": 0
},
{
"type": "laborer.beginUnload",
"at": {
"row": -1,
"col": -2
},
"carIndex": 1
},
{
"type": "laborer.advanceLoad",
"at": {
"row": -1,
"col": -2
},
"box": 2
},
{
"type": "loadUnload.end"
},
{
"type": "localOps.choose",
"option": "freightAgent"
},
{
"type": "freightAgent.stockOutbound",
"at": {
"row": -1,
"col": -2
},
"carType": "boxcar"
},
{
"type": "laborer.advanceLoad",
"at": {
"row": -1,
"col": -2
},
"box": 1
},
{
"type": "laborer.advanceLoad",
"at": {
"row": -1,
"col": -2
},
"box": 0
},
{
"type": "loadUnload.end"
},
{
"type": "localOps.choose",
"option": "freightAgent"
},
{
"type": "freightAgent.clearInbound",
"at": {
"row": -1,
"col": -2
},
"index": 0
},
{
"type": "porter.detrain",
"at": {
"row": 0,
"col": 0
}
},
{
"type": "porter.board",
"at": {
"row": 0,
"col": 0
}
},
{
"type": "laborer.startLoad",
"at": {
"row": -1,
"col": -2
}
},
{
"type": "laborer.advanceLoad",
"at": {
"row": -1,
"col": -2
},
"box": 0
},
{
"type": "loadUnload.end"
},
{
"type": "localOps.choose",
"option": "freightAgent"
},
{
"type": "freightAgent.clearInbound",
"at": {
"row": 0,
"col": 0
},
"index": 0
},
{
"type": "laborer.advanceLoad",
"at": {
"row": -1,
"col": -2
},
"box": 1
},
{
"type": "laborer.advanceLoad",
"at": {
"row": -1,
"col": -2
},
"box": 2
},
{
"type": "loadUnload.end"
},
{
"type": "localOps.choose",
"option": "freightAgent"
},
{
"type": "freightAgent.stockOutbound",
"at": {
"row": 0,
"col": 0
},
"carType": "coach"
},
{
"type": "laborer.beginUnload",
"at": {
"row": -1,
"col": -2
},
"carIndex": 0
},
{
"type": "laborer.advanceLoad",
"at": {
"row": -1,
"col": -2
},
"box": 2
},
{
"type": "loadUnload.end"
},
{
"type": "localOps.choose",
"option": "freightAgent"
},
{
"type": "freightAgent.stockOutbound",
"at": {
"row": -1,
"col": -2
},
"carType": "boxcar"
},
{
"type": "laborer.advanceLoad",
"at": {
"row": -1,
"col": -2
},
"box": 1
},
{
"type": "laborer.advanceLoad",
"at": {
"row": -1,
"col": -2
},
"box": 0
},
{
"type": "loadUnload.end"
},
{
"type": "localOps.choose",
"option": "freightAgent"
},
{
"type": "freightAgent.clearInbound",
"at": {
"row": -1,
"col": -2
},
"index": 0
},
{
"type": "laborer.startLoad",
"at": {
@@ -1184,216 +1373,6 @@
{
"type": "draw.end"
},
{
"type": "laborer.advanceLoad",
"at": {
"row": -1,
"col": -2
},
"box": 1
},
{
"type": "laborer.advanceLoad",
"at": {
"row": -1,
"col": -2
},
"box": 2
},
{
"type": "loadUnload.end"
},
{
"type": "localOps.choose",
"option": "draw"
},
{
"type": "draw.fromHomeOffice"
},
{
"type": "card.discard",
"cardId": "c48",
"toSlot": 2
},
{
"type": "draw.end"
},
{
"type": "porter.detrain",
"at": {
"row": 0,
"col": 0
}
},
{
"type": "porter.board",
"at": {
"row": 0,
"col": 0
}
},
{
"type": "laborer.beginUnload",
"at": {
"row": -1,
"col": -2
},
"carIndex": 0
},
{
"type": "laborer.advanceLoad",
"at": {
"row": -1,
"col": -2
},
"box": 2
},
{
"type": "loadUnload.end"
},
{
"type": "localOps.choose",
"option": "freightAgent"
},
{
"type": "freightAgent.clearInbound",
"at": {
"row": 0,
"col": 0
},
"index": 0
},
{
"type": "laborer.advanceLoad",
"at": {
"row": -1,
"col": -2
},
"box": 1
},
{
"type": "laborer.advanceLoad",
"at": {
"row": -1,
"col": -2
},
"box": 0
},
{
"type": "loadUnload.end"
},
{
"type": "localOps.choose",
"option": "freightAgent"
},
{
"type": "freightAgent.clearInbound",
"at": {
"row": -1,
"col": -2
},
"index": 0
},
{
"type": "laborer.startLoad",
"at": {
"row": -1,
"col": -2
}
},
{
"type": "laborer.advanceLoad",
"at": {
"row": -1,
"col": -2
},
"box": 0
},
{
"type": "loadUnload.end"
},
{
"type": "localOps.choose",
"option": "freightAgent"
},
{
"type": "freightAgent.stockOutbound",
"at": {
"row": 0,
"col": 0
},
"carType": "coach"
},
{
"type": "laborer.advanceLoad",
"at": {
"row": -1,
"col": -2
},
"box": 1
},
{
"type": "laborer.advanceLoad",
"at": {
"row": -1,
"col": -2
},
"box": 2
},
{
"type": "loadUnload.end"
},
{
"type": "localOps.choose",
"option": "draw"
},
{
"type": "draw.fromDepartment",
"slot": 2
},
{
"type": "card.discard",
"cardId": "c61",
"toSlot": 2
},
{
"type": "draw.end"
},
{
"type": "laborer.beginUnload",
"at": {
"row": -1,
"col": -2
},
"carIndex": 0
},
{
"type": "laborer.advanceLoad",
"at": {
"row": -1,
"col": -2
},
"box": 2
},
{
"type": "loadUnload.end"
},
{
"type": "localOps.choose",
"option": "draw"
},
{
"type": "draw.fromDepartment",
"slot": 2
},
{
"type": "card.discard",
"cardId": "c163",
"toSlot": 2
},
{
"type": "draw.end"
},
{
"type": "newTrain.placeCar",
"trayId": "tray2",
@@ -1432,22 +1411,25 @@
"row": -1,
"col": -2
},
"box": 0
"box": 2
},
{
"type": "loadUnload.end"
},
{
"type": "localOps.choose",
"option": "freightAgent"
"option": "draw"
},
{
"type": "freightAgent.clearInbound",
"at": {
"row": -1,
"col": -2
},
"index": 0
"type": "draw.fromHomeOffice"
},
{
"type": "card.discard",
"cardId": "c48",
"toSlot": 2
},
{
"type": "draw.end"
},
{
"type": "newTrain.placeCar",
@@ -1468,6 +1450,54 @@
"type": "localOps.choose",
"option": "draw"
},
{
"type": "draw.fromDepartment",
"slot": 2
},
{
"type": "card.discard",
"cardId": "c61",
"toSlot": 2
},
{
"type": "draw.end"
},
{
"type": "loadUnload.end"
},
{
"type": "localOps.choose",
"option": "draw"
},
{
"type": "draw.fromDepartment",
"slot": 2
},
{
"type": "card.discard",
"cardId": "c163",
"toSlot": 2
},
{
"type": "draw.end"
},
{
"type": "loadUnload.end"
},
{
"type": "localOps.choose",
"option": "switch"
},
{
"type": "switch.end"
},
{
"type": "loadUnload.end"
},
{
"type": "localOps.choose",
"option": "draw"
},
{
"type": "draw.fromHomeOffice"
},
@@ -1503,16 +1533,6 @@
{
"type": "loadUnload.end"
},
{
"type": "localOps.choose",
"option": "switch"
},
{
"type": "switch.end"
},
{
"type": "loadUnload.end"
},
{
"type": "localOps.choose",
"option": "draw"
@@ -1528,6 +1548,42 @@
{
"type": "draw.end"
},
{
"type": "porter.detrain",
"at": {
"row": 0,
"col": 0
}
},
{
"type": "porter.board",
"at": {
"row": 0,
"col": 0
}
},
{
"type": "porter.detrain",
"at": {
"row": 0,
"col": 0
}
},
{
"type": "loadUnload.end"
},
{
"type": "localOps.choose",
"option": "freightAgent"
},
{
"type": "freightAgent.clearInbound",
"at": {
"row": 0,
"col": 0
},
"index": 0
},
{
"type": "loadUnload.end"
},
@@ -1572,42 +1628,6 @@
{
"type": "draw.end"
},
{
"type": "porter.detrain",
"at": {
"row": 0,
"col": 0
}
},
{
"type": "porter.board",
"at": {
"row": 0,
"col": 0
}
},
{
"type": "porter.detrain",
"at": {
"row": 0,
"col": 0
}
},
{
"type": "loadUnload.end"
},
{
"type": "localOps.choose",
"option": "freightAgent"
},
{
"type": "freightAgent.clearInbound",
"at": {
"row": 0,
"col": 0
},
"index": 0
},
{
"type": "loadUnload.end"
},
@@ -1648,44 +1668,6 @@
{
"type": "draw.end"
},
{
"type": "loadUnload.end"
},
{
"type": "localOps.choose",
"option": "draw"
},
{
"type": "draw.fromDepartment",
"slot": 1
},
{
"type": "card.discard",
"cardId": "c61",
"toSlot": 1
},
{
"type": "draw.end"
},
{
"type": "loadUnload.end"
},
{
"type": "localOps.choose",
"option": "draw"
},
{
"type": "draw.fromDepartment",
"slot": 1
},
{
"type": "card.discard",
"cardId": "c150",
"toSlot": 1
},
{
"type": "draw.end"
},
{
"type": "newTrain.placeCar",
"trayId": "tray3",
@@ -1718,16 +1700,13 @@
"option": "draw"
},
{
"type": "draw.fromHomeOffice"
"type": "draw.fromDepartment",
"slot": 1
},
{
"type": "card.play",
"cardId": "c205",
"placement": {
"row": 0,
"col": -5
},
"variant": 0
"type": "card.discard",
"cardId": "c61",
"toSlot": 1
},
{
"type": "draw.end"
@@ -1752,16 +1731,13 @@
"option": "draw"
},
{
"type": "draw.fromHomeOffice"
"type": "draw.fromDepartment",
"slot": 1
},
{
"type": "card.play",
"cardId": "c126",
"placement": {
"row": 0,
"col": -6
},
"variant": 0
"type": "card.discard",
"cardId": "c150",
"toSlot": 1
},
{
"type": "draw.end"
@@ -1778,10 +1754,10 @@
},
{
"type": "card.play",
"cardId": "c136",
"cardId": "c205",
"placement": {
"row": 0,
"col": 6
"col": -5
},
"variant": 0
},