Disco Science


Makes science labs light up with the colours of the science packs they are consuming.

Tweaks
17 days ago
0.17 - 1.1
172K

g Interaction with Science pack mods

5 years ago

Sounds like a fun mod! How would this work with something like Momo's 30 science packs - that adds additional science packs with a large set of colors?

5 years ago

Thanks! While Factorio (and mods) declare science pack names and graphics, they don't explicitly declare a colour for each one. Supporting additional science pack types is easy to do manually. All you need to do is add the names and colours to the list here:

https://github.com/danielbrauer/DiscoScience/blob/77ad852eee96eafcffc19ecb1544c50cbf024a45/control.lua#L18

I don't know if it can be done automatically. Also, there's a good chance the mod won't handle the presence of unrecognized science packs very well. I'll look at fixing this assumption at some point.

New response