Etiam-ONI-Modpack icon indicating copy to clipboard operation
Etiam-ONI-Modpack copied to clipboard

Fix Material color to check for tiles dynamically instead of using a …

Open Sgt-Imalas opened this issue 1 year ago • 2 comments

The current live version of the mod uses a static list of building IDs for applying the tile-tint. this doesnt work for any tiles added by other mods and base tiles that arent added to the list like the storage tile.

the change made in this request adjusts this behavior to instead check for a KAnimGridTileVisualizer component, something present on all these tiles to work with all tiles klei or other mods add.

The ElementIdx also changed recently from byte to ushort, allowing mods and klei to add more than 256 elements in total, so I adjusted that aswell

Sgt-Imalas avatar Jan 08 '24 21:01 Sgt-Imalas

Question: Does this also "fix" the display of Cobalt and Cobaltite? Thanks

Ghent avatar Apr 17 '24 18:04 Ghent

there is nothing to be fixed about those. the internal colours of those elements are just that bright, adjusting those is an optional thing anyone can do but does not belong into this pr

Sgt-Imalas avatar Apr 19 '24 08:04 Sgt-Imalas