Bland Ore Colors


Lets you independently control ore colors ingame and in the minimap, including making them invisible!

Tweaks
3 years ago
0.16 - 1.1
221

i [Merged] Compatibility with other mods

3 years ago

I would like to have your mod compatible with my "Realistic Ores". I looked into your code and it is almost capable of handling it already.

The main problem is that my mod loads after yours so it basically overrides values you've set up. One solution would be to add my mod to dependencies of yours but I don't think that is the best solution. Instead I propose to rename your "data.lua" to "data-updates.lua" (which makes it load a little later - after "data.lua"s from other mods). This method would potentially solve compatibility issues with most mods that change or add new ores.

There is also a little problem causing a crash if colors are indexed by names (e.g. "{r=1.0, b=0.5, g=0.0}" instead of "{1.0, 0.5, 0.0}").

I allowed myself to create a pull request in your repo so you can accept it if you agree with me.

3 years ago

pull request merged in to 20.1.3 and published :)

3 years ago

Thank you!