fixed train# specific rules. cleaned up display topline and train display on division map
This commit is contained in:
+9
-4
@@ -1472,10 +1472,15 @@ function followThrough(
|
||||
* §6.3's unjam is for a load stranded on MEN|AT|WORK that cannot advance. A green box holding
|
||||
* a load waiting for a car is not jammed, it is waiting.
|
||||
*/
|
||||
// The option has no "end" action, so something must be done. Order by what it costs to lose:
|
||||
// a load stranded on MEN|AT|WORK is already blocking the pipeline, a red box holds a load
|
||||
// whose Revenue is banked, and the green box is the only one where discarding destroys work
|
||||
// that has not been paid for yet. It is last deliberately.
|
||||
/**
|
||||
* NOTHING WORTH DOING — SO DO NOTHING.
|
||||
*
|
||||
* The option used to have no "end" action, so this fell through to unjamming whichever box
|
||||
* was least costly to wreck. §6.3 requires no action at all, and it now says so: a wasted
|
||||
* Stage is strictly better than destroying a load that cost a whole action to stock.
|
||||
*/
|
||||
const idle = options.find((i) => i.type === 'freightAgent.end');
|
||||
if (idle) return because('nothing productive at any facility — leave the Freight Agent idle rather than wreck a working box', idle);
|
||||
const byCost = (['menAtWork', 'inbound', 'outbound'] as const).map((from) =>
|
||||
options.find((i) => i.type === 'freightAgent.unjam' && i.from === from),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user