Transport Fever 2

Transport Fever 2

Appalachian Climate
GordonDry 20 Dec, 2019 @ 1:45am
Adding this besides the generator I get two entries in new game parameters
I cannot create a proper screenshot, you know, the created screenshot never shows the actual state but something from the past ... well ... that would be a Tpf2 bug.
In new game - settings - climate (or alike, I got german localization) there are two entries called "appalachian" now.


mods\appalachian_climate_2\mod.lua says at the end:

runFn = function (settings)
if settings.climate == "appalachian" then
game.config.climate = "temperate.clima.lua"
addModifier("loadClimate", climateMod)
end
end

mods\appalachian_generator_alpha_2\mod.lua says at the end:

runFn = function (settings)
if settings.climate == "appalachian" then
game.config.climate = "appalachian.clima.lua"
end
end

This confuses me.
< >
Showing 1-6 of 6 comments
AbbyTheFoxx  [developer] 20 Dec, 2019 @ 10:17am 
Ahh, sorry, leftover code from when the climate was part of the generator mod, I'll fix that quick, thanks!
AbbyTheFoxx  [developer] 20 Dec, 2019 @ 10:20am 
Actually I see that I did remove that from the generator mod.lua, I'll try pushing an update to make sure it went through, maybe it's possible that your workshop content didn't update yet after downloading the climate mod? Let me know if you still have issues.

As of now looking at what Steam Workshop sent me when I subscribe to my own mod, the settings.climate stuff in the generator mod should definitely be gone now.
Last edited by AbbyTheFoxx; 20 Dec, 2019 @ 10:32am
GordonDry 20 Dec, 2019 @ 12:59pm 
Now it's completely broken.
The new download of Appalachian Generator lacks these referenced files:

error in file mods/appalachian_generator_2/res/config/terrain_generators/appalachian.gen.lua: [string "mods/appalachian_generator_2/res/config/terra..."]:2: module 'terrain/appalachian_mapgenutil' not found:
no field package.preload['terrain/appalachian_mapgenutil']


...

at least ...
AbbyTheFoxx  [developer] 20 Dec, 2019 @ 1:07pm 
Have you tried unsubscribing and resubscribing to the mods? I'm testing it right now without any local copies, only what I received from Steam Workshop and it's working fine. It sounds like you have missing or outdated files.
GordonDry 20 Dec, 2019 @ 1:17pm 
It's alright again... had to redownload.
AbbyTheFoxx  [developer] 20 Dec, 2019 @ 1:24pm 
Glad it's working! I knew moving the climate to another mod would be risky but it was a band-aid I wanted to rip off since it was making the generator mod more clunky than it needed to be, basically just didn't want to have a big disclaimer on my mod for using it.
< >
Showing 1-6 of 6 comments
Per page: 1530 50