安装 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. ;)