Login
Ratjoy.com » Forums » EoS General Discussion » All factory recipes in JSON format contained herein

All factory recipes in JSON format contained herein


David MacIver
RJ: DRMacIver
CO: David R. MacIver

Post Rating: 1
+ / -

Total Posts: 47
Karma: 56
Joined: Apr 5, 2012
I wanted to do some calculations based on which can be used to make which others, so I needed a programmatic representation of the data for construction. It took way longer to put together than expected, so I thought I'd share it here in case anyone else wants to use it:

https://gist.github.com/2424231

I've normalized the qualities to 1 rather than 100, for no overwhelmingly good reason except that it seemed to make sense. Other than that, hopefully the format is relatively self explanatory if you understand JSON (if you don't it probably won't be much use. Sorry).

Hope it's useful to someone.
David
Space Butler
RJ: Space Butler
CO: Space Butler

Post Rating: 2
+ / -

Total Posts: 19
Karma: 18
Joined: Apr 2, 2012
Yeah, that's great.
I made this graph out of it:

http://www.scribd.com/doc/90245301/eosflow

Thicker lines mean more material to create one unit. Colors refer to different factories.
Scott (Admin)
RJ: Ratan Joyce
CO: Ratan Joyce

Post Rating: 0
+ / -

Total Posts: 1175
Karma: 5083
Joined: Jan 13, 2012
Just looking at the eosflow makes me feel my head is going to explode.
David MacIver
RJ: DRMacIver
CO: David R. MacIver

Post Rating: 0
+ / -

Total Posts: 47
Karma: 56
Joined: Apr 5, 2012
Space: Cool, But I don't think your graph is right. e.g. you've got "Beef Sausage" sitting there on its loneseome, but there's definitely a recipe for it in the data.

Edit: Never mind. Looking at the original I guess that's a rendering problem with the PDF.
Alexia Perdhaer
RJ: Alexia Perdhaer

Post Rating: 0
+ / -

Total Posts: 100
Karma: 30
Joined: Apr 6, 2012
thanks this is cool -- if you happen to run it again, could you add the product ids?
Space Butler
RJ: Space Butler
CO: Space Butler

Post Rating: 1
+ / -

Total Posts: 19
Karma: 18
Joined: Apr 2, 2012
Scribd doesn't render the lines very well, so I'm using mediafire:

http://www.mediafire.com/?w37iq7yl1e2rzrg,cuaf9atda10aziu

The second one shows the graph without water or electricity, which makes it a bit more interesting.
Tony Wooster
RJ: Johnny Appleseed

Post Rating: 4
+ / -

Total Posts: 41
Karma: 51
Joined: Apr 4, 2012
Here's my own run, with a bit more data -- factories, rnds, stores, categories, who sells what, who researches what, etc:

https://docs.google.com/open?id=0B9RXS-jDwRtTVXpIQ25zT21M MlE

It's basically the entire Pedia scraped into a single file. Everything is based around ids, as well, so you can use it to interact with the site programmatically.


You need to register or login to post a reply.