![Crying or Very Sad :cry:](./images/smilies/icon_cry.gif)
Are you planing to make it like that or do you want to wait until they make those "non-trivial time taking changes"?
Code: Select all
31.064 Error ModManager.cpp:1023: Error while loading item prototype "Diesel-Locomotive-geothermal-water-green-1" (item): Key "icon" not found in property tree at ROOT.item.Diesel-Locomotive-geothermal-water-green-1
Modifications: Diesel Locomotive
Why tho? I thought people want to leave the vanilla one alone.FuryoftheStars wrote:Personally, I like them separate. I would say, though, to swap the graphics between the two trains so that the diesel looks like the newer / more advanced one.
Alright, I will change it to use capacity from prototype instead of static from config.lua. On your second request, I think it is not possible without changing big part of the code, depends on what exactly you ask though, because I'm still not sure what exactly are you going to implement.FuryoftheStars wrote: Is there any way to change this code so that it will dynamically query the locomotive in question on what it's max tank capacity is and use that value instead rather than your statically assigned TANK_CAPACITY var?
EDIT: Also, as another thought for something that may not see fruition anyway, can something like this be modified to support single tank setups (in addition to the triple tank)? One of the things I'm doing in my mod is changing the base/vanilla loco to be more like a steam engine, but wanted to throw in water requirements.I already know that if I inadvertently modify the diesel burner inventory size to something other than 3, errors are thrown when it attempts to refuel.
Eh, probably more my personal tastes. Just seems to make more sense to me as the vanilla train is more closely akin to a steam engine (just without the water management) than a diesel in the sense of what they use for fuel, so it seems more logical in my mind for the diesel to have the more advanced look. You can leave it as is, though. I have them swapped in my personal mod.evildogbot100 wrote:Why tho? I thought people want to leave the vanilla one alone.
Thanks.evildogbot100 wrote:Alright, I will change it to use capacity from prototype instead of static from config.lua. On your second request, I think it is not possible without changing big part of the code, depends on what exactly you ask though, because I'm still not sure what exactly are you going to implement.
steinio wrote:Hi,
the latest update of Geothermal Heat broke your mod:Change was, that with Alien Biomes (what i also use) the spawn tiles were changed.Code: Select all
31.064 Error ModManager.cpp:1023: Error while loading item prototype "Diesel-Locomotive-geothermal-water-green-1" (item): Key "icon" not found in property tree at ROOT.item.Diesel-Locomotive-geothermal-water-green-1 Modifications: Diesel Locomotive
Awesome. I'll try this out, but may I suggest: create a new top level thread for your update? I almost ignored this, but was curious to see how you handled some issues, because 0.16 isn't the version I'm playing.FuryoftheStars wrote: Wed Jul 10, 2019 3:54 pm Evildogbot100 has allowed me to update this mod for 0.17.
Well, them editing the 0.16 out of the subject line would solve the problem too.FuryoftheStars wrote: Wed Jul 10, 2019 4:24 pm Yeah, wasn’t quite sure how to handle that as evildogbot100 added me as collaberator to the original mod page. We’ll talk it over real fast and figure out the best path forward.
I'm running 0.17.55 as well and do not get that error.numbernegative wrote: Thu Jul 11, 2019 5:19 pm Getting error on launching the newest version on .17.55
Capture.PNG
The new version fixed it. I also have other mods including bob's which adds more tanks, might have been it.FuryoftheStars wrote: Thu Jul 11, 2019 6:35 pmI'm running 0.17.55 as well and do not get that error.numbernegative wrote: Thu Jul 11, 2019 5:19 pm Getting error on launching the newest version on .17.55
Capture.PNG
Are you running any other mods?
EDIT: Looking into this some, I think you may be running a mod that adds the next_upgrade value to storage tanks (like something that adds additional storage tanks as an upgrade or something). I'm uploading 0.2.1 with a potential fix. Please let me know if it works.