fauxnik / dv-rolling-stock-ownership

A Derail Valley mod that introduces a game mechanic of purchasing and managing rolling stock.
MIT License
5 stars 4 forks source link

Rewrite job generation #59

Closed fauxnik closed 7 months ago

fauxnik commented 7 months ago

A large number of the bugs that have been found in RSO stem from the job generation logic. This logic has closely mimicked the base game's logic in format and organization, but this does not lend itself to the purposes of the mod.

This rewrite breaks away from the base game's methodology and employs a methodology tailored to the purposes of the mod.

One caveat of this is that cargo will maintain its origin and destination after being loaded onto a wagon. In this way, shunting load jobs now act akin to contracts to transport a given cargo to the stated destination.

Closes #20, #51.