TSM-icons


Train Supply Manager Addon - adds procedurally generated icons for using the empty train concept. Depending on your modlist, this mod will generate suitable icons for added resources with either a cargo wagon or fluid wagon background and named empty X - where X is the resource name. Even vanilla games will receive numerous additional icons, as plates, sciences, and ammo are now supported with their empty train icons in addition to basic ores and fluids.

Content
3 years ago
0.18 - 1.1
496
Trains

i Angels refining and Petrochem support

3 years ago

I added Angels Refining and Petrochem to Tsm-Icons
To info.json:
"?angelsrefining",
"?angelspetrochem"
To data.lua:

local subgroup_whitelist = {"intermediate-product", "raw-resource", "raw-material", "terrain", "fill-barrel", "bob-ores","fb-material", "petrochem-carbon-synthesis", "angelsrefining", "angelspetrochem"}

But it did not add empty wagons for crystal slurry and seedlings and some other liquids

In angels it have description:

{
  type = "fluid",
  name = "crystal-slurry",
  icons = angelsmods.functions.create_viscous_liquid_fluid_icon(nil, { {105,237,038}, {211,255,052}, {100,255,000}, {147,207,47} }),
  subgroup = "ore-sorting-fluid",
  order = "c[crystal]-a",
  default_temperature = 25,
  heat_capacity = "1KJ",
  base_color = {r = 147 / 255, g = 207 / 255, b = 47 / 255},
  flow_color = {r = 100 / 255, g = 255 / 255, b = 0 / 255},
  max_temperature = 100,
  pressure_to_speed_ratio = 0.4,
  flow_to_energy_ratio = 0.59
},

So it fluid and it must be created, but it not. Please add support for Angels Refining and Petrochem and for missing liquids

New response