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:
+126
-216
@@ -524,12 +524,7 @@
|
||||
"option": "freightAgent"
|
||||
},
|
||||
{
|
||||
"type": "freightAgent.stockOutbound",
|
||||
"at": {
|
||||
"row": -1,
|
||||
"col": -2
|
||||
},
|
||||
"carType": "boxcar"
|
||||
"type": "freightAgent.end"
|
||||
},
|
||||
{
|
||||
"type": "laborer.advanceLoad",
|
||||
@@ -544,22 +539,10 @@
|
||||
},
|
||||
{
|
||||
"type": "localOps.choose",
|
||||
"option": "draw"
|
||||
"option": "freightAgent"
|
||||
},
|
||||
{
|
||||
"type": "draw.fromHomeOffice"
|
||||
},
|
||||
{
|
||||
"type": "card.play",
|
||||
"cardId": "c76",
|
||||
"placement": {
|
||||
"row": 0,
|
||||
"col": -3
|
||||
},
|
||||
"variant": 0
|
||||
},
|
||||
{
|
||||
"type": "draw.end"
|
||||
"type": "freightAgent.end"
|
||||
},
|
||||
{
|
||||
"type": "laborer.advanceLoad",
|
||||
@@ -574,22 +557,10 @@
|
||||
},
|
||||
{
|
||||
"type": "localOps.choose",
|
||||
"option": "draw"
|
||||
"option": "freightAgent"
|
||||
},
|
||||
{
|
||||
"type": "draw.fromHomeOffice"
|
||||
},
|
||||
{
|
||||
"type": "card.play",
|
||||
"cardId": "c181",
|
||||
"placement": {
|
||||
"row": 0,
|
||||
"col": -2
|
||||
},
|
||||
"variant": 0
|
||||
},
|
||||
{
|
||||
"type": "draw.end"
|
||||
"type": "freightAgent.end"
|
||||
},
|
||||
{
|
||||
"type": "laborer.advanceLoad",
|
||||
@@ -610,9 +581,13 @@
|
||||
"type": "draw.fromHomeOffice"
|
||||
},
|
||||
{
|
||||
"type": "card.discard",
|
||||
"cardId": "c41",
|
||||
"toSlot": 2
|
||||
"type": "card.play",
|
||||
"cardId": "c76",
|
||||
"placement": {
|
||||
"row": 0,
|
||||
"col": -3
|
||||
},
|
||||
"variant": 0
|
||||
},
|
||||
{
|
||||
"type": "draw.end"
|
||||
@@ -687,19 +662,15 @@
|
||||
},
|
||||
{
|
||||
"type": "localOps.choose",
|
||||
"option": "draw"
|
||||
"option": "freightAgent"
|
||||
},
|
||||
{
|
||||
"type": "draw.fromDepartment",
|
||||
"slot": 2
|
||||
},
|
||||
{
|
||||
"type": "card.discard",
|
||||
"cardId": "c36",
|
||||
"toSlot": 2
|
||||
},
|
||||
{
|
||||
"type": "draw.end"
|
||||
"type": "freightAgent.stockOutbound",
|
||||
"at": {
|
||||
"row": -1,
|
||||
"col": -2
|
||||
},
|
||||
"carType": "boxcar"
|
||||
},
|
||||
{
|
||||
"type": "laborer.advanceLoad",
|
||||
@@ -717,13 +688,16 @@
|
||||
"option": "draw"
|
||||
},
|
||||
{
|
||||
"type": "draw.fromDepartment",
|
||||
"slot": 2
|
||||
"type": "draw.fromHomeOffice"
|
||||
},
|
||||
{
|
||||
"type": "card.discard",
|
||||
"cardId": "c40",
|
||||
"toSlot": 2
|
||||
"type": "card.play",
|
||||
"cardId": "c181",
|
||||
"placement": {
|
||||
"row": 0,
|
||||
"col": -2
|
||||
},
|
||||
"variant": 0
|
||||
},
|
||||
{
|
||||
"type": "draw.end"
|
||||
@@ -778,12 +752,7 @@
|
||||
"option": "freightAgent"
|
||||
},
|
||||
{
|
||||
"type": "freightAgent.stockOutbound",
|
||||
"at": {
|
||||
"row": -1,
|
||||
"col": -2
|
||||
},
|
||||
"carType": "boxcar"
|
||||
"type": "freightAgent.end"
|
||||
},
|
||||
{
|
||||
"type": "porter.detrain",
|
||||
@@ -879,12 +848,11 @@
|
||||
"option": "draw"
|
||||
},
|
||||
{
|
||||
"type": "draw.fromDepartment",
|
||||
"slot": 2
|
||||
"type": "draw.fromHomeOffice"
|
||||
},
|
||||
{
|
||||
"type": "card.discard",
|
||||
"cardId": "c53",
|
||||
"cardId": "c41",
|
||||
"toSlot": 2
|
||||
},
|
||||
{
|
||||
@@ -903,19 +871,15 @@
|
||||
},
|
||||
{
|
||||
"type": "localOps.choose",
|
||||
"option": "draw"
|
||||
"option": "freightAgent"
|
||||
},
|
||||
{
|
||||
"type": "draw.fromDepartment",
|
||||
"slot": 2
|
||||
},
|
||||
{
|
||||
"type": "card.discard",
|
||||
"cardId": "c41",
|
||||
"toSlot": 2
|
||||
},
|
||||
{
|
||||
"type": "draw.end"
|
||||
"type": "freightAgent.stockOutbound",
|
||||
"at": {
|
||||
"row": -1,
|
||||
"col": -2
|
||||
},
|
||||
"carType": "boxcar"
|
||||
},
|
||||
{
|
||||
"type": "laborer.advanceLoad",
|
||||
@@ -1041,12 +1005,7 @@
|
||||
"option": "freightAgent"
|
||||
},
|
||||
{
|
||||
"type": "freightAgent.stockOutbound",
|
||||
"at": {
|
||||
"row": -1,
|
||||
"col": -2
|
||||
},
|
||||
"carType": "boxcar"
|
||||
"type": "freightAgent.end"
|
||||
},
|
||||
{
|
||||
"type": "laborer.advanceLoad",
|
||||
@@ -1061,19 +1020,10 @@
|
||||
},
|
||||
{
|
||||
"type": "localOps.choose",
|
||||
"option": "draw"
|
||||
"option": "freightAgent"
|
||||
},
|
||||
{
|
||||
"type": "draw.fromDepartment",
|
||||
"slot": 2
|
||||
},
|
||||
{
|
||||
"type": "card.discard",
|
||||
"cardId": "c40",
|
||||
"toSlot": 2
|
||||
},
|
||||
{
|
||||
"type": "draw.end"
|
||||
"type": "freightAgent.end"
|
||||
},
|
||||
{
|
||||
"type": "laborer.advanceLoad",
|
||||
@@ -1088,19 +1038,10 @@
|
||||
},
|
||||
{
|
||||
"type": "localOps.choose",
|
||||
"option": "draw"
|
||||
"option": "freightAgent"
|
||||
},
|
||||
{
|
||||
"type": "draw.fromDepartment",
|
||||
"slot": 2
|
||||
},
|
||||
{
|
||||
"type": "card.discard",
|
||||
"cardId": "c53",
|
||||
"toSlot": 2
|
||||
},
|
||||
{
|
||||
"type": "draw.end"
|
||||
"type": "freightAgent.end"
|
||||
},
|
||||
{
|
||||
"type": "newTrain.placeCar",
|
||||
@@ -1135,7 +1076,7 @@
|
||||
},
|
||||
{
|
||||
"type": "card.discard",
|
||||
"cardId": "c41",
|
||||
"cardId": "c40",
|
||||
"toSlot": 2
|
||||
},
|
||||
{
|
||||
@@ -1154,19 +1095,15 @@
|
||||
},
|
||||
{
|
||||
"type": "localOps.choose",
|
||||
"option": "draw"
|
||||
"option": "freightAgent"
|
||||
},
|
||||
{
|
||||
"type": "draw.fromDepartment",
|
||||
"slot": 2
|
||||
},
|
||||
{
|
||||
"type": "card.discard",
|
||||
"cardId": "c36",
|
||||
"toSlot": 2
|
||||
},
|
||||
{
|
||||
"type": "draw.end"
|
||||
"type": "freightAgent.stockOutbound",
|
||||
"at": {
|
||||
"row": -1,
|
||||
"col": -2
|
||||
},
|
||||
"carType": "boxcar"
|
||||
},
|
||||
{
|
||||
"type": "porter.board",
|
||||
@@ -1203,7 +1140,7 @@
|
||||
},
|
||||
{
|
||||
"type": "card.discard",
|
||||
"cardId": "c40",
|
||||
"cardId": "c53",
|
||||
"toSlot": 2
|
||||
},
|
||||
{
|
||||
@@ -1248,7 +1185,7 @@
|
||||
},
|
||||
{
|
||||
"type": "card.discard",
|
||||
"cardId": "c53",
|
||||
"cardId": "c41",
|
||||
"toSlot": 2
|
||||
},
|
||||
{
|
||||
@@ -1292,12 +1229,7 @@
|
||||
"option": "freightAgent"
|
||||
},
|
||||
{
|
||||
"type": "freightAgent.stockOutbound",
|
||||
"at": {
|
||||
"row": -1,
|
||||
"col": -2
|
||||
},
|
||||
"carType": "boxcar"
|
||||
"type": "freightAgent.end"
|
||||
},
|
||||
{
|
||||
"type": "laborer.advanceLoad",
|
||||
@@ -1312,19 +1244,10 @@
|
||||
},
|
||||
{
|
||||
"type": "localOps.choose",
|
||||
"option": "draw"
|
||||
"option": "freightAgent"
|
||||
},
|
||||
{
|
||||
"type": "draw.fromDepartment",
|
||||
"slot": 2
|
||||
},
|
||||
{
|
||||
"type": "card.discard",
|
||||
"cardId": "c41",
|
||||
"toSlot": 2
|
||||
},
|
||||
{
|
||||
"type": "draw.end"
|
||||
"type": "freightAgent.end"
|
||||
},
|
||||
{
|
||||
"type": "laborer.advanceLoad",
|
||||
@@ -1339,19 +1262,10 @@
|
||||
},
|
||||
{
|
||||
"type": "localOps.choose",
|
||||
"option": "draw"
|
||||
"option": "freightAgent"
|
||||
},
|
||||
{
|
||||
"type": "draw.fromDepartment",
|
||||
"slot": 2
|
||||
},
|
||||
{
|
||||
"type": "card.discard",
|
||||
"cardId": "c36",
|
||||
"toSlot": 2
|
||||
},
|
||||
{
|
||||
"type": "draw.end"
|
||||
"type": "freightAgent.end"
|
||||
},
|
||||
{
|
||||
"type": "laborer.advanceLoad",
|
||||
@@ -1374,7 +1288,7 @@
|
||||
},
|
||||
{
|
||||
"type": "card.discard",
|
||||
"cardId": "c40",
|
||||
"cardId": "c36",
|
||||
"toSlot": 2
|
||||
},
|
||||
{
|
||||
@@ -1405,19 +1319,15 @@
|
||||
},
|
||||
{
|
||||
"type": "localOps.choose",
|
||||
"option": "draw"
|
||||
"option": "freightAgent"
|
||||
},
|
||||
{
|
||||
"type": "draw.fromDepartment",
|
||||
"slot": 2
|
||||
},
|
||||
{
|
||||
"type": "card.discard",
|
||||
"cardId": "c53",
|
||||
"toSlot": 2
|
||||
},
|
||||
{
|
||||
"type": "draw.end"
|
||||
"type": "freightAgent.stockOutbound",
|
||||
"at": {
|
||||
"row": -1,
|
||||
"col": -2
|
||||
},
|
||||
"carType": "boxcar"
|
||||
},
|
||||
{
|
||||
"type": "laborer.advanceLoad",
|
||||
@@ -1440,7 +1350,7 @@
|
||||
},
|
||||
{
|
||||
"type": "card.discard",
|
||||
"cardId": "c41",
|
||||
"cardId": "c40",
|
||||
"toSlot": 2
|
||||
},
|
||||
{
|
||||
@@ -1467,7 +1377,7 @@
|
||||
},
|
||||
{
|
||||
"type": "card.discard",
|
||||
"cardId": "c36",
|
||||
"cardId": "c53",
|
||||
"toSlot": 2
|
||||
},
|
||||
{
|
||||
@@ -1528,7 +1438,7 @@
|
||||
},
|
||||
{
|
||||
"type": "card.discard",
|
||||
"cardId": "c40",
|
||||
"cardId": "c41",
|
||||
"toSlot": 2
|
||||
},
|
||||
{
|
||||
@@ -1555,7 +1465,7 @@
|
||||
},
|
||||
{
|
||||
"type": "card.discard",
|
||||
"cardId": "c53",
|
||||
"cardId": "c36",
|
||||
"toSlot": 2
|
||||
},
|
||||
{
|
||||
@@ -1598,6 +1508,60 @@
|
||||
"type": "draw.fromDepartment",
|
||||
"slot": 2
|
||||
},
|
||||
{
|
||||
"type": "card.discard",
|
||||
"cardId": "c40",
|
||||
"toSlot": 2
|
||||
},
|
||||
{
|
||||
"type": "draw.end"
|
||||
},
|
||||
{
|
||||
"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": "c53",
|
||||
"toSlot": 2
|
||||
},
|
||||
{
|
||||
"type": "draw.end"
|
||||
},
|
||||
{
|
||||
"type": "laborer.beginUnload",
|
||||
"at": {
|
||||
"row": -1,
|
||||
"col": -2
|
||||
},
|
||||
"carIndex": 0
|
||||
},
|
||||
{
|
||||
"type": "loadUnload.end"
|
||||
},
|
||||
{
|
||||
"type": "localOps.choose",
|
||||
"option": "draw"
|
||||
},
|
||||
{
|
||||
"type": "draw.fromDepartment",
|
||||
"slot": 2
|
||||
},
|
||||
{
|
||||
"type": "card.discard",
|
||||
"cardId": "c41",
|
||||
@@ -1633,60 +1597,6 @@
|
||||
{
|
||||
"type": "draw.end"
|
||||
},
|
||||
{
|
||||
"type": "laborer.beginUnload",
|
||||
"at": {
|
||||
"row": -1,
|
||||
"col": -2
|
||||
},
|
||||
"carIndex": 0
|
||||
},
|
||||
{
|
||||
"type": "loadUnload.end"
|
||||
},
|
||||
{
|
||||
"type": "localOps.choose",
|
||||
"option": "draw"
|
||||
},
|
||||
{
|
||||
"type": "draw.fromDepartment",
|
||||
"slot": 2
|
||||
},
|
||||
{
|
||||
"type": "card.discard",
|
||||
"cardId": "c40",
|
||||
"toSlot": 2
|
||||
},
|
||||
{
|
||||
"type": "draw.end"
|
||||
},
|
||||
{
|
||||
"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": "c53",
|
||||
"toSlot": 2
|
||||
},
|
||||
{
|
||||
"type": "draw.end"
|
||||
},
|
||||
{
|
||||
"type": "laborer.advanceLoad",
|
||||
"at": {
|
||||
@@ -1708,7 +1618,7 @@
|
||||
},
|
||||
{
|
||||
"type": "card.discard",
|
||||
"cardId": "c41",
|
||||
"cardId": "c40",
|
||||
"toSlot": 2
|
||||
},
|
||||
{
|
||||
@@ -1762,7 +1672,7 @@
|
||||
},
|
||||
{
|
||||
"type": "card.discard",
|
||||
"cardId": "c36",
|
||||
"cardId": "c53",
|
||||
"toSlot": 2
|
||||
},
|
||||
{
|
||||
@@ -1781,7 +1691,7 @@
|
||||
},
|
||||
{
|
||||
"type": "card.discard",
|
||||
"cardId": "c40",
|
||||
"cardId": "c41",
|
||||
"toSlot": 2
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user