Comment

Comment by gnidan

Dwarf Fortress is definitely a developer game. I love how the game allows you to creatively stand-up industries of scale.

For instance, (shamelessly plugging), the game has minecarts, which transport goods point-to-point, following some track.

To avoid having to lay track for each route separately, I devised a system of logic components that will allow routes to share track, via automated routing:

http://dwarffortresswiki.org/index.php/User:Gnidan#Minecart_...

The routing system uses synchronization primitives to ensure that each shared track segment is only occupied by at most one minecart at a time. Using this guarantee, I have my system switch track exits accordingly, so each minecart in transit gets sent to the right place.

GIF for anyone who might be interested: https://i.imgur.com/nC3dfLK.gif

And the save file: http://dffd.bay12games.com/file.php?id=11721

parent gnidan 9 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton