hi,
it would be neat if the trains could use the (flow) color of the fluid if their name isn't registered in the database.
i have done a small amount of research into if it were possible or not, but it seems performance heavy to go through it every time (so it probably needs to be cached somehow)
the reason i'm asking this is for my liquify 2 mod which turns items into fluids and vice versa (and uses api calls to register more so a fixed list in your database won't work)
for now i would like to request this bit to be added to color/util.java:
-- remove "liquify2-solution-" from item name
if string.find(item,"liquify2%-solution%-") then
item=string.gsub(item,"liquify2%-solution%-","")
end
(its not perfect since it doesn't use the exact colors registered in my mod, but it falls back to the item name which is the next best thing :)
i look forward to your reply, hopefully we can find a proper solution together ❤️