Disco Science


Science labs light up with the colours of the science packs they are consuming, instead of just blue.

Tweaks
27 days ago
0.17 - 2.0
220K

g [Implemented] Industrial Revolution colors?

5 years ago

Any chance to add support for IR? Right now labs just glow (an admittedly nice) purple no matter what science is being done.

5 years ago

Indeed, this is an issue of mod compatibility. If you look at the game log, you'd see that DS doesn't recognize IR's "medium" labs.

5 years ago

Even though the "medium labs" are just the vanilla labs. >.>

5 years ago

I'm about to release an update with support for IR's icons. It's a bit silly because they're just copies of the base science pack icons, which would work fine if IR just pointed at them.

Can you tell me more about this "medium lab" error? The regular-looking labs in IR seem to work as expected in my testing.

5 years ago

I'm about to release an update with support for IR's icons. It's a bit silly because they're just copies of the base science pack icons, which would work fine if IR just pointed at them.

No, they are copies of the high-res technology icons scaled down to 64x64. I'm not putting 128x128 icons on items. Vanilla Factorio is still using the old plain 32x32 icons.

So, not copies at all.

5 years ago

I guess I didn't realize the issue was from the science icons, and not the labs themselves. I kind of figured you found the majority color using a procedural way instead of something more fixed.

5 years ago

Thanks for the fix!

5 years ago

@Deadlock989 That makes perfect sense, and indeed what I'm doing with icon names is unusual. Thanks for the explanation!

5 years ago

@AshenSwift That would be nice, but unfortunately I don't think there is any way of querying colours from images in Factorio's scripting API.

5 years ago

Was the latest update supposed to fix support for IR? My labs still just glow purple when I put red, green, and military packs in them. I'm also playing with Krastorio if that matters.

5 years ago

@sonaxaton Yes, version 0.1.14 includes support for IR. Can you provide a copy of Factorio's logs when loading with your current mod set?

5 years ago

Sure thing. It looks like Krastorio is actually overriding the graphics for all the science packs.
https://pastebin.com/nY6ipKsw

5 years ago

Any progress on this?

4 years ago

I think this should work now (0.1.15)

4 years ago

Works great, thanks!

New response