Transport Fever 2

Transport Fever 2

Appalachian Climate
GordonDry 2019 年 12 月 20 日 上午 1:45
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.
< >
正在显示第 1 - 6 条,共 6 条留言
AbbyTheFoxx  [开发者] 2019 年 12 月 20 日 上午 10:17 
Ahh, sorry, leftover code from when the climate was part of the generator mod, I'll fix that quick, thanks!
AbbyTheFoxx  [开发者] 2019 年 12 月 20 日 上午 10:20 
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.
最后由 AbbyTheFoxx 编辑于; 2019 年 12 月 20 日 上午 10:32
GordonDry 2019 年 12 月 20 日 下午 12:59 
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  [开发者] 2019 年 12 月 20 日 下午 1:07 
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 2019 年 12 月 20 日 下午 1:17 
It's alright again... had to redownload.
AbbyTheFoxx  [开发者] 2019 年 12 月 20 日 下午 1:24 
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.
< >
正在显示第 1 - 6 条,共 6 条留言
每页显示数: 1530 50