Automatic Train Painter


Automatically colors locomotives and wagons based on their contents.

Tweaks
10 months ago
0.17 - 2.0
112K
Trains

b pY's native flora trains are no longer getting painted

5 months ago

Probably due to my old bug report (https://github.com/pyanodon/pybugreports/issues/788) "bioreserve" got changed into "native-flora". I made the similar change on the line 117 in pyalienlife.lua and it seemed to do the trick.

P.S. Love your mod, definitely one of the must haves for me!

5 months ago

Also no carbolic oil preset, here's a new line for pypetroleumhandling.lua

['carbolic-oil']={r=098, g=092, b=013, a=127}, --Carbolic Oil

5 months ago

Also tailings are now called internally dirty-water-heavy and not dirty-water (pycoalprocessing, line 236)

5 months ago

Also no antimony oxide preset in pyrawores.lua

['sb-oxide']={r=255, g=155, b=195, a=127}, --Antimony oxide

4 months ago

Also no molten salt

['molten-salt']={r=248, g=255, b=255, a=127}, --Molten Salt

4 months ago

Also no Iron nexelit antimony special alloy

['fenxsb-alloy']={r=190, g=180, b=255, a=127}, --Iron nexelit antimony special alloy

4 months ago

['anthracene-oil']={r=025, g=050, b=100, a=127}, -- Anthracene Oil

4 months ago

Correct color for Simple circuit boards

['electronic-circuit-pyht']={r=025, g=130, b=123, a=127}, --Simple circuit board

4 months ago

['intermetallics']={r=171, g=158, b=002, a=127}, --Intermetallics

4 months ago
(updated 4 months ago)

['shaft-mk01']={r=155, g=155, b=155, a=127}, --Shaft MK01
['brake-mk01']={r=155, g=155, b=155, a=127}, --Brake MK01
['gearbox-mk01']={r=155, g=155, b=155, a=127}, --Gearbox MK01
['py-limestone']={r=245, g=185, b=135, a=127}, --Limestone tile
['vitreloy']={r=080, g=180, b=240, a=127}, --Vitreloy

4 months ago

Correct color for
['pcb1']={r=000, g=110, b=070, a=127}, --Printed circuit substrate (tier 1)
+
['pbsb-alloy']={r=040, g=100, b=000, a=127}, --Lead Antimony Alloy
['mechanical-parts-01']={r=240, g=240, b=240, a=127}, --Mechanical Parts
['utility-box-mk01']={r=255, g=255, b=255, a=127}, --Utility Box

4 months ago
(updated 4 months ago)

Correct color for
['fawogae-substrate-pyal'] ={r=255, g=135, b=045, a=127}, --Basic substrate
+
['molten-glass']={r=255, g=255, b=255, a=127}, --Molten Glass
['battery-mk01']={r=235, g=040, b=040, a=127}, --Battery MK01
['planter-box']={r=185, g=165, b=140, a=127}, --Planter Box

4 months ago

Correct color for
['lab-instrument']={r=068, g=141, b=182, a=127}, --Laboratory instrument

4 months ago

['fish-hydrolysate']={r=148, g=148, b=081, a=127}, --Fish Hydrolysate

4 months ago

['dirty-water-light']={r=090, g=050, b=012, a=127}, --Muddy Sludge

2 months ago

['automation-science-pack']={r=146, g=122, b=097, a=127}, --Automation science pack
['py-science-pack-1']={r=178, g=088, b=001, a=127}, --pY Pack 1
['py-science-pack-2']={r=243, g=077, b=064, a=127}, --pY Pack 2

2 months ago

['nxsb-alloy']={r=014, g=075, b=114, a=127}, --Nexilit-antimony Alloy

2 months ago

['eg-si']={r=170, g=180, b=190, a=127}, --Electronic-grade Silicon
['sb-pulp-02']={r=240, g=080, b=085, a=127}, --Antimony Pulp 02

a month ago

['controler-mk01']={r=080, g=083, b=070, a=127}, --Controler
['rotor']={r=220, g=218, b=218, a=127}, --Rotor
['electric-engine-unit']={r=061, g=061, b=061, a=127}, --Electric Engine
['fatty-acids']={r=180, g=185, b=066, a=127}, --Fatty Acids
['geothermal-water']={r=133, g=040, b=004, a=127}, --Geothermal Water
['trichlorosilane']={r=046, g=245, b=046, a=127}, --Trichlorosilane

a month ago

['eva']={r=115, g=137, b=162, a=127}, --Eva
['electronics-mk02']={r=246, g=215, b=196, a=127}, --Electronics MK2
['controler-mk02']={r=191, g=203, b=212, a=127}, --Controler MK2
['utility-box-mk02']={r=230, g=230, b=230, a=127}, --Utility Box MK2
['self-assembly-monolayer']={r=125, g=046, b=046, a=127}, --Self Assembly Monolayer

a month ago
(updated a month ago)

['brake-mk02']={r=140, g=144, b=145, a=127}, --Brake MK02
['shaft-mk02']={r=000, g=000, b=000, a=127}, --Shaft MK02
['gearbox-mk02']={r=073, g=069, b=063, a=127}, --Gearbox MK02
['saddle']={r=195, g=115, b=080, a=127}, --Saddle
['mechanical-parts-02']={r=253, g=098, b=037, a=127}, --Mechanical Parts 2
['brain-cartridge-01']={r=248, g=255, b=001, a=127}, --i don't care anymore
['nbalti']={r=232, g=225, b=210, a=127}, --
['organic-acid-anhydride']={r=059, g=059, b=058, a=127}, --
['brain-cartridge-02']={r=246, g=041, b=001, a=127}, --

29 days ago
(updated 27 days ago)

Thanks for this! I noticed some missing colors when I installed this mod and was wondering what values to use. I try to avoid altering the .lua files to avoid update problems, so I put all the colors you've provided so far into a table that matches the in-game settings format. I also changed the name 'dirty-water-light' to 'muddy-water'. The changelog indicates that dirty-water-light was tailings, but you call it muddy sludge, so I changed it to the new muddy sludge name.

{
['carbolic-oil']={r=098, g=092, b=013, a=127},
['sb-oxide']={r=255, g=155, b=195, a=127},
['molten-salt']={r=248, g=255, b=255, a=127},
['fenxsb-alloy']={r=190, g=180, b=255, a=127},
['anthracene-oil']={r=025, g=050, b=100, a=127},
['electronic-circuit-pyht']={r=025, g=130, b=123, a=127},
['intermetallics']={r=171, g=158, b=002, a=127},
['shaft-mk01']={r=155, g=155, b=155, a=127},
['brake-mk01']={r=155, g=155, b=155, a=127},
['gearbox-mk01']={r=155, g=155, b=155, a=127},
['py-limestone']={r=245, g=185, b=135, a=127},
['vitreloy']={r=080, g=180, b=240, a=127},
['pcb1']={r=000, g=110, b=070, a=127},
['pbsb-alloy']={r=040, g=100, b=000, a=127},
['mechanical-parts-01']={r=240, g=240, b=240, a=127},
['utility-box-mk01']={r=255, g=255, b=255, a=127},
['fawogae-substrate-pyal'] ={r=255, g=135, b=045, a=127},
['molten-glass']={r=255, g=255, b=255, a=127},
['battery-mk01']={r=235, g=040, b=040, a=127},
['planter-box']={r=185, g=165, b=140, a=127},
['lab-instrument']={r=068, g=141, b=182, a=127},
['fish-hydrolysate']={r=148, g=148, b=081, a=127},
['muddy-water']={r=090, g=050, b=012, a=127},
['automation-science-pack']={r=146, g=122, b=097, a=127},
['py-science-pack-1']={r=178, g=088, b=001, a=127},
['py-science-pack-2']={r=243, g=077, b=064, a=127},
['nxsb-alloy']={r=014, g=075, b=114, a=127},
['eg-si']={r=170, g=180, b=190, a=127},
['sb-pulp-02']={r=240, g=080, b=085, a=127},
['controler-mk01']={r=080, g=083, b=070, a=127},
['rotor']={r=220, g=218, b=218, a=127},
['electric-engine-unit']={r=061, g=061, b=061, a=127},
['fatty-acids']={r=180, g=185, b=066, a=127},
['geothermal-water']={r=133, g=040, b=004, a=127},
['trichlorosilane']={r=046, g=245, b=046, a=127},
['eva']={r=115, g=137, b=162, a=127},
['electronics-mk02']={r=246, g=215, b=196, a=127},
['controler-mk02']={r=191, g=203, b=212, a=127},
['utility-box-mk02']={r=230, g=230, b=230, a=127},
['self-assembly-monolayer']={r=125, g=046, b=046, a=127},
['brake-mk02']={r=140, g=144, b=145, a=127},
['shaft-mk02']={r=000, g=000, b=000, a=127},
['gearbox-mk02']={r=073, g=069, b=063, a=127},
['saddle']={r=195, g=115, b=080, a=127},
['mechanical-parts-02']={r=253, g=098, b=037, a=127},
['brain-cartridge-01']={r=248, g=255, b=001, a=127},
['nbalti']={r=232, g=225, b=210, a=127},
['organic-acid-anhydride']={r=059, g=059, b=058, a=127},
['brain-cartridge-02']={r=246, g=041, b=001, a=127},
}

29 days ago

yeah tailings were renamed in one of the latest updates, i didn't have the time to reedit them

19 days ago

['mold']={r=182, g=151, b=133, a=127},
['naphthalene'] ={r=056, g=056, b=056, a=127},

New response