安裝 Steam
登入
|
語言
簡體中文
日本語(日文)
한국어(韓文)
ไทย(泰文)
Български(保加利亞文)
Čeština(捷克文)
Dansk(丹麥文)
Deutsch(德文)
English(英文)
Español - España(西班牙文 - 西班牙)
Español - Latinoamérica(西班牙文 - 拉丁美洲)
Ελληνικά(希臘文)
Français(法文)
Italiano(義大利文)
Bahasa Indonesia(印尼語)
Magyar(匈牙利文)
Nederlands(荷蘭文)
Norsk(挪威文)
Polski(波蘭文)
Português(葡萄牙文 - 葡萄牙)
Português - Brasil(葡萄牙文 - 巴西)
Română(羅馬尼亞文)
Русский(俄文)
Suomi(芬蘭文)
Svenska(瑞典文)
Türkçe(土耳其文)
tiếng Việt(越南文)
Українська(烏克蘭文)
回報翻譯問題
But again, I did not yet try this mod, so I'm not sure what "quirks" one gets.
I'm not 100% sure if it works, but for me it does!
I've spent some time looking through the files of Yeol's mod and found an intresting thing.
You can edit the code and change the town demands without losing them after a game rejoin/restart, just open the sensless.lua scrip, you can find it at: SteamLibrary\steamapps\workshop\content\1066780\1951335527\res\config\game_script
Open the file (sensless.lua) and go to code line 37 and delete everything until row 46, I used Visual Studio Code for this.
If you're using a different coding program or don't understand, then try to find this code in the scrip:
local function GetTownGoods()
local commercialGoodsType = nil
local industrialGoodsType = nil
local commercialGoodsIndex = -1
local industrialGoodsIndex = -1
local cargoTypes = game.interface.getCargoTypes ()
--[DELETE EVERYTHING FORM HERE]--
for index=1,#cargoTypes do
local cargoType = game.interface.getCargoType(cargoTypes[index])
if (cargoType.id=="COMMERCIAL_GOODS") then
commercialGoodsIndex= index-1
commercialGoodsType = cargoType
elseif (cargoType.id=="INDUSTRIAL_GOODS") then
industrialGoodsIndex= index-1
industrialGoodsType = cargoType
end
end
--[TO HERE]--
if commercialGoodsType==nil or industrialGoodsType==nil or commercialGoodsIndex==-1 or industrialGoodsIndex==-1 then
print("Senseless ERROR: Failed to find commercial of industrial good types")
return nil
end
return {{index=commercialGoodsIndex,goodsType=commercialGoodsType},{index=industrialGoodsIndex,goodsType=industrialGoodsType}}
end
The only testing that I've done until now (after posting this), its left and rejoined a game save many times and close the game and rejoin the game save. I still had the demand that I've chosen for the town and I assumed that it worked, I'm not aware of any bugs that might happen if this bit of code its deleted, so go at your own risks =P
(Anyway, I don't think anything bad can really happen)
GOOD LUCK!
Thanks for looking for the solution and sharing it. ;)