Railhead simops: Fix the Slinwood Steel Mill supply route
harbor run -t rachittshah/railhead-simops-train-a1a26bharbor download rachittshah/railhead-simops-train-a1a26bYou have just taken over a transport company. Its truck route carrying cargo to Slinwood Steel Mill (industry id 25) from Slinwood Iron Ore Mine (industry id 29) used to work but deliveries have collapsed. Diagnose what is wrong and repair it.
You have 60 game-days. Then the company runs 365 days without you, and the reward is the cargo it delivers to that industry during the run-off, scaled so that leaving the fault in place scores 0 and a correct repair scores 1. Your vehicles, stations and orders are all inspectable with rh.
rh submit) the world runs 365 more days without you before scoring.You control one transport company in a running OpenTTD world. Everything goes through the rh
command (already on PATH). The world is frozen except when you rh wait, so think as long as you
like. Tiles are written x,y.
rh status # dashboard: date, money, objective progress, alerts
rh brief # this task's objective, horizon and budgets (JSON)
rh help # every command
rh industries | rh towns # where cargo is produced / accepted, where people live
rh map x=0 y=0 w=40 h=24 # ASCII map of a region (legend included)
rh tile tile=12,40 # one tile in detail, incl. cargo acceptance around it
rh engines vtype=road # vehicles you can buy, with capacity / speed / cost
rh road line from_tile=10,4 to_tile=30,4 # build like a human player: drag a road
rh road depot tile=12,5 front_tile=12,4
rh road stop tile=20,4 front_tile=21,4 kind=truck
rh vehicle buy depot_tile=12,5 engine=116 cargo=1
rh order append vehicle=3 tile=20,4 flags='["full_load"]'
rh vehicle start vehicle=3
rh wait days=30 until=vehicle_crashed,cash_below:10000 # time passes only here
rh fork create name=try1 # a sandbox copy of the world (shows *a* possible future)
rh fork do name=try1 m=road_line from_tile=10,4 to_tile=30,4
rh fork wait name=try1 days=90 # costs imagination budget (fork-days)
rh fork drop name=try1
rh submit confirm=yes # optional: you are done; the world keeps running without you
Any build command accepts dry_run=true to get its cost without doing it. Errors name a likely fix.
rh does not count.