Science Logger

by fobar22

Logs the currently consumed science packs to a text file.

2 months ago
1.1
12
Owner:
fobar22
Source:
https://github.com/davidfobar/factori...
Homepage:
N/A
License:
MIT
Created:
2 months ago
Latest Version:
0.1.2 (2 months ago)
Factorio version:
1.1
Downloaded by:
12 users

A simple mod that adds two files {"script-output/available_science_packs.txt", "script-output/science_log.txt"}

At the loading of a map, all of the possible sciences are printed to the available science packs file.
Each second the log file is updated to reflect the science packs currently being utilized in the labs.

The intent behind these two actions is to create the ability to bring the Disco Science mod to real life. A simple python script will monitor the science log, and it will send a list of appropriate colors to an arduino. The arduino will flash a series of RGB leds, much like what is seen in the mod Disco Science. The arduino and leds will be housed in a 3d printed Factorio lab.

The user will have to update the python script in order to control which colors are sent to the arduino, which is why printing all science packs at the beginning is useful.

Once I proof out the arduino code, I will add it to the github repository along with the python script.