Установить 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 (вьетнамский)
Українська (украинский)
Сообщить о проблеме с переводом
no trade routes show up, except the ones under the "X market" of the good you're directly inspecting, meaning the trade routes do still work but the trade route panel under the F4 shortcut doesnt
You're supposed to turn the automation on, create hundreds of profitable trade routes and a few unprofitable ones, turn the automation off, trash the few unprofitable routes.
I cannot conceive how someone can literally play Paradox's spreadsheet simulators but need explaining in order to understand this.
I did it on my PC, it is literally just the two button_icon_round_action buttons need to be pasted into the market_panel.gui
I usually add everything green then sort be revenue and keep deleting back until reds are gone, and bureaucracy is positive. This mod does the adding part, so it saves quite a lot of time. It is not supposed to be turned longer than a few days, only for the time it fills the list.
One thing I can recommend for this mod, is to click the automate trade button, let it sit for awhile and then disable it, and delete any remaining unprofitable trade routes, I also recommend TheGamingNot's Trade Overhaul mod, since it makes trade inherently more profitable, and therefore it's more likely that the trade routes this mod creates will be / remain profitable
it is working very well still
I find below code that can screen those countries, which has war with root.
root = {
NOT = {
has_war_with = prev
}
}
It's for your reference of future update.
Although 1.7 improved a lot, especially for buildings and Pops management, but for trade management, it's still tedious. Your mod is very valuable to help this.
The trade routes growing is depend on many factors, we would have covered the majority, and would find more in the future. I think it's good to help major trade management works and let a few done by manually.
BTW, I search the game's code again , don't find cancel trade route API, I guess it would by hidden by the company on purpose :)
Thank you for all your help @gamedreamcd I am an absolute modding noob, so any help is greatly appreciated and you've helped a ton. thank you :)
market = { NOT = { any_trade_route = { exporter.owner = root goods = g:fruit } } }
market = { NOT = { any_trade_route = { importer.owner = root goods = g:fruit } } }
market.owner = { NOT = { has_law = law_type:law_isolationism } }
The code find a good trade country called Chiengmai, its law is fine but its market owner's law is isolationism :)
It's screened after I added above code.
spreadsheet_trade_scripted_guis.txt
at common\scripted_guis
If we want to get best trade routes and create them. It have to be done in two steps. first step is to get the best trade route for every good, and save the result to global variables or global variable list.
The second step is to write a new section code to go through all the result of first step, and create the trade route one by one.
It can only create 1 trade route for 1 good at a time,but the code would be more complex. I did the first step in my mod, and didn't do the second step, you may read it for reference.
If only paradox had made it possible to automatically delete unprofitable trade routes this would have been a non-issue.
Just a notice, there is a difference of my though in my mod for your reference.
The way in my mod is to get all the countries which can meet the basic lowest request first, then compare the product of goods_cheaper * goods_production of all of them, at last get a best country to show. So I lowed down all your conditions for first checking, as well as use this code "every_country =", it will check every countries then finally get the best one.
I see you use this code "random_country =", it means it only run once when the condition is met , and return the result at once and ignore other countries which are not checked. It would result in get a lower trade route and would ignore more better routes.
It's fine if It's your wanted design.
Just a reminder I set the check conditions at the lowest base request.
At the same time, I used the multiply of goods_cheaper * goods_production for comparison and balance.