Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: Master flowchart?  (Read 10473 times)

Ihmhi

  • Bay Watcher
    • View Profile
Master flowchart?
« on: February 02, 2012, 05:58:51 pm »

I was recently designing a workshop/stockpile floor for my Fortress and realized that the wiki really needs a  master flowchart of the industry in the game.

Currently, there's flowcharts for seperate industries (Wood Industry, Textile Industry, etc.) but there is nothing of the sort of the entire game. It's very much doable.

The ideal is that it would be based around workshops and laborers and kept as simple as possible. An example would be:

Code: [Select]
Fell Tree (Carpenter)  --->  Make Charcoal (Wood Burner) (Wood Furnace)

                                              |
                                              |
                                              |
                                              V

             Dig (Miner)  --->  Smelt (Weapons Grade Ore) (Furnace Operator) (Smelter) ---> Forge ______ Battleaxe (Weapons Grade Bar) (Metalsmith's Forge) (Weaponsmith)


The above example is how you would make an Iron Battleaxe from scratch, cradle to grave.

The idea is that someone wanting to do something can look at an item on one page and trace what they need backwards. While some industries are isolated, there's a lot of interaction between them as well.

Moreover, the flowchart could solve the problem that I sort of had to intuitively figure out - it could be used to map out a "flowchart" design in the game, where production is about as optimized as it can be if you're going to do everything.

Any ideas? Worth the time, or no?
Logged

Sallen

  • Bay Watcher
    • View Profile
Re: Master flowchart?
« Reply #1 on: February 03, 2012, 06:32:46 am »

Totally worth the time. Are you talking about adding this to the wiki pages? I always wanted to go to, say the page for honey and be able to see the whole process/requirements in a way I could follow step by step.

I'll contribute to this.

Ihmhi

  • Bay Watcher
    • View Profile
Re: Master flowchart?
« Reply #2 on: February 04, 2012, 09:33:07 am »

I have to admit that while I have the idea it's hard to figure out how to do it. It's also hard to figure out how to organize it.

The programmer in me says that some kind of auto-generated flowchart based on dependencies would be the easiest way to do it (Charcoal depends on wood, metal depends on charcoal, etc.) and having the links done automatically...

And yeah, I'd want to add this to the wiki. It'd be massive for sure.
Logged

rx80

  • Bay Watcher
    • View Profile
Re: Master flowchart?
« Reply #3 on: February 09, 2012, 03:12:17 am »

A nice and easy way of generating dependancy graphs is with graphviz. It's an open source program.
Here are example images, if you click on them you'll see the code needed to generate them
http://www.graphviz.org/Gallery.php
Logged

AnnanFay

  • Bay Watcher
    • View Profile
Re: Master flowchart?
« Reply #4 on: February 17, 2012, 04:59:06 am »

[...]
Currently, there's flowcharts for seperate industries (Wood Industry, Textile Industry, etc.) but there is nothing of the sort of the entire game. It's very much doable.

The ideal is that it would be based around workshops and laborers and kept as simple as possible. An example would be:
[...]
Any ideas? Worth the time, or no?

You mean like: http://df.magmawiki.com/index.php/File:DFflowchart.png

It includes all workshops, so not exactly everything. I assume you didn't know about it since you said there are only spreadsheets for separate industries?

It would be cool to have a spreadsheet that included everything, like hospitals, barracks and gathering professions. I agree with Ihmhi that this should be automatically generated from some sort of data sheet.
Logged

King Mir

  • Bay Watcher
    • View Profile
Re: Master flowchart?
« Reply #5 on: February 17, 2012, 09:43:34 pm »

This is a good idea, and I'm gonna make one. It will be material oriented, not workshop oriented, like the one linked to above. Cause really, it's the flow of material through stockpiles that you want to optimize; the fact that the same building is used in multiple industries is inconsequential.

GreatWyrmGold

  • Bay Watcher
  • Sane, by the local standards.
    • View Profile
Re: Master flowchart?
« Reply #6 on: March 02, 2012, 04:28:10 pm »

Good luck, guys. You'll have your work cut out for you.

Don't forget magma forges/smelters/etc. Which now seem to require actual, magma-safe materials...
Logged
Sig
Are you a GM with players who haven't posted? TheDelinquent Players Help will have Bay12 give you an action!
[GreatWyrmGold] gets a little crown. May it forever be his mark of Cain; let no one argue pointless subjects with him lest they receive the same.

King Mir

  • Bay Watcher
    • View Profile
Re: Master flowchart?
« Reply #7 on: March 04, 2012, 01:42:03 pm »

Yeah I haven't decided what to do with the the construction industry. It's a bit of an odd ball, and will use some random things from many industries.

Containers are tricky too, because they're a finished good product of many industries that's used in primary industries.

vidboi

  • Bay Watcher
    • View Profile
Re: Master flowchart?
« Reply #8 on: May 23, 2012, 07:32:56 am »


You mean like: http://df.magmawiki.com/index.php/File:DFflowchart.png

It includes all workshops, so not exactly everything. I assume you didn't know about it since you said there are only spreadsheets for separate industries?

It would be cool to have a spreadsheet that included everything, like hospitals, barracks and gathering professions. I agree with Ihmhi that this should be automatically generated from some sort of data sheet.

I was going to post as well. It's pretty much complete although there are a couple things lacking and it could do with better organisation. I'd like to see something interactive where you can choose what you want to make and it'll highlight the process for you. For things like producing steel or clear and crystal glass this'd be especially useful as they aren't obvious at first.
Logged

King Mir

  • Bay Watcher
    • View Profile
Re: Master flowchart?
« Reply #9 on: May 23, 2012, 09:46:55 am »

Mine won't be interactive, but all the industries will be in sections. And you can trace materials to finished products. Like if you see an ore, you can trace what metals can be made from it, and what those metals can be used for.

vidboi

  • Bay Watcher
    • View Profile
Re: Master flowchart?
« Reply #10 on: May 24, 2012, 07:09:57 am »

Mine won't be interactive, but all the industries will be in sections. And you can trace materials to finished products. Like if you see an ore, you can trace what metals can be made from it, and what those metals can be used for.

Yeah, I think that it's probably best to get it laid out before doing anything else with it. Would joining it with the quickstart quide flowchart be a good idea to help newer players? The existing flowchart's pretty good but it'd be useful to go into more detail about what every step needs.
Logged

King Mir

  • Bay Watcher
    • View Profile
Re: Master flowchart?
« Reply #11 on: May 25, 2012, 04:07:09 pm »

No way, it's way too complex for that.

Calite

  • Bay Watcher
    • View Profile
Re: Master flowchart?
« Reply #12 on: June 03, 2012, 04:42:08 pm »

How's work on this going? Do you need any help? I'm fairly familiar with both the raws and the wiki.
Logged

King Mir

  • Bay Watcher
    • View Profile
Re: Master flowchart?
« Reply #13 on: June 04, 2012, 01:46:32 pm »

Well, every industry is currently represented in some form, except construction, medicine, and trade, which I haven't decided what I want to do with. Most of them need a second pass, because they're incomplete.

Most of the work is in going through each workshop and copying over all the tasks. Metal working is in the best state, so I may post that by itself soon as a sample. I also keep changing the look of the tasks and items, so different parts of the flowchart look very different right now.

I don't want any help with it, but that's the status.

King Mir

  • Bay Watcher
    • View Profile
Re: Master flowchart?
« Reply #14 on: June 14, 2012, 08:35:19 pm »

Got the metalworking flowchart done. Includes mining, Fuel, and metalworking industries. Mining Industry is just what is necessary for metalworking. Does not include ademantine clothing or metal studding. I had trouble exporting it as an image, so it's a pdf for now.

There also seem to be a few small errors from cutting this section of the chart out, like grey lines. Not sure what's up with that.

http://dl.dropbox.com/u/13793153/DF%20diagram%20metalworking.pdf

Enjoy.
Pages: [1] 2