Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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. ;)