Page 1 of 1

[0.17] Data Science

Posted: Mon May 28, 2018 12:51 am
by dorfl
Adds data science elements to blue, purple and yellow science packs, requiring collection, cleansing and analysis of production data across the entire base.

https://mods.factorio.com/mod/datascience

Entities
  • Sensors to collect data from crafting machines.
  • Collectors to receive and aggregate raw data records on punch cards.
  • Computers to perform data cleansing and analysis.
Items
  • Punch Cards for storing data.
  • Raw Data added to blue science recipe.
  • Clean Data added to purple science recipe.
  • Analysed Data added to yellow science recipe.
Technologies
  • Data Collection (red + green)
  • Data Computation (red + green + blue)
  • Data Analysis (red + green + blue + purple)
Basic Approach
  1. Build a normal starter base for red and green science, and the usual engines + mining-drill arrays in preparation for blue science.
  2. Craft a bunch of *sensors* and cover all available assemblers, refineries, chemical plants, and furnaces. Just like beacons, sensors have a yellow area of effect overlay. Note that furnaces won't be selection-highlighted but they're still counted by the mod.
  3. Craft a collector or two. Supply these with punch cards and raw data records should start to flow. Commence blue science.
Some Vague Aims...
  • Link science output to overall base production.
  • Make science a bit more interesting with a different game mechanic.
  • Complicate just about every blueprint in existence with sensors!
  • Replace, or make more indirect, the requirement for intermediate items in higher science pack recipes.
  • Think about ways to link this stuff into the circuit network a bit more in the future.
  • Think of a way to add a higher-level computer that must be laid out using more than one entity -- Cluster? Cooling?

Re: [0.16] Data Science

Posted: Sat Jun 02, 2018 1:26 pm
by Tekero
Hi. Playing Factorio 0.16.36 with no mods installed. While trying to place sensor I keep getting this error:

Code: Select all

Error while running event datascience::on_tick (ID 0)
__datascience__/control.lua:30: bad argument #-1 to 'find_entities_filtered' (string expected, got table)
Can you fix this please?

Re: [0.16] Data Science

Posted: Sun Jun 03, 2018 12:02 pm
by dorfl
Thanks, seems I have introduced a 0.16.40+ API dependency for find_entities_filtered. Looking into it.

Re: [0.16] Data Science

Posted: Sun Jun 03, 2018 12:20 pm
by dorfl
0.1.4 has a fix for find_entities_filtered on 0.16.36.

As I'm rarely playing with 0.16.36 now I appreciate hearing about such bugs. Thank you.

Re: [0.16] Data Science

Posted: Tue Jul 16, 2019 7:11 pm
by ZombieMooose
I would like to formally request an update to 0.17.

Re: [0.16] Data Science

Posted: Sat Jul 20, 2019 7:46 am
by dorfl
0.17 update posted.

Sorry for the delay. I want to do new graphics for this one, but it keeps falling down the to-do list. So this is a plain update of the 0.16 version.