MaFi-Games / Captain-of-industry-modding

Official modding resource for video game Captain of Industry.
https://www.captain-of-industry.com
MIT License
40 stars 40 forks source link

Stopped Low Pressure Steam and Acid pipe color change #1

Open veldthui opened 2 years ago

veldthui commented 2 years ago

I followed the instructions and installed it. Noted that the new item appeared in the research tree. When I closed it my power generation had stopped due to my LP turbine being full on both lines. It was going out a singe stack for each line through a Pipe 1 so should not have stopped. Also noted my Acid line had changed color from Red to Green in the sight glass. Disabled Mod support and restarted and everything was working again. Realise moding is extremely early but thought you might like to know.

MaFi-Games commented 2 years ago

Is it possible that you have loaded a game that was created without the mods? This is not supported. We need to add check for this.

veldthui commented 2 years ago

I started a game and was well into it before adding the mod. I take it from above mod support must be turned on before starting a new game?

NightElfik commented 2 years ago

Basically, if you'd like to use any mods, you need to start a game from scratch with those mods and never change them. If you load a game that has different set of mods, unexpected things will happen. Since mod support is experimental, we do not check that current mods match the save game, we will add this check later to avoid these things.

Generally, adding mods to a game in the middle can be problematic and we are not sure if that will be officially supported. Removing mods will likely not be possible.