Railhead tycoon: Build a transport empire
harbor run -t rachittshah/railhead-tycoon-dev-0034harbor download rachittshah/railhead-tycoon-dev-0034You run a new transport company with a 365-day mandate. Build whatever network you like (road, rail, air, water). When the mandate ends, your company keeps running without you for 730 more days; the reward is your net worth (cash minus loan) after that run-off, scaled so that doing nothing scores 0, a simple scripted truck route scores 0.5 (net worth £3,873), and doubling its gain scores 1. Asset stripping and loan games do not help: only sustainable profit survives the run-off.
rh submit) the world runs 730 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.