Disco Science


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

Tweaks
3 years ago
0.17 - 1.1
167K

b [Fixed] heavy-mode desync, DiscoScience 0.1.15

4 years ago

When using DiscoScience in vanilla, when researching technologies with at least 2 science packs, there is heavy-mode desync after-scenario-update. Differences are around script rendered lights: colors are different.
https://forums.factorio.com/79330

4 years ago

Hint: desync is not happening when i change labColoring.lua line 30 from:
labColoring.colorForLab = colorFunctions[labColoring.state.lastColorFunc % #colorFunctions + 1]
into this:
labColoring.colorForLab = colorFunctions[labColoring.state.lastColorFunc]

4 years ago

Oh wow thanks I think that would've taken me a while.

4 years ago

This should be addressed in 0.16. The change should only happen when the mod changes now.

New response