Moreover, there are modifiers related to the stockpile limit, which offers us new options for industry techs, ministers, events etc.
Speaking of moddability I found that not all ways to mod this are into the DD(we're busy these days ), so here they are directly from the change-log:
Code:
* Minister modifier on stockpiles:
# stockpile - modifiers on stockpiles limit
# which = industry / supplies (used for oil too) / all (default)
# when = war / peace / all (default)
# value = x.xxxx
* Policy modifier on stockpiles limit MODIFIER_STOCKPILES – set is policy_effects.csv
* Difficulty modifier on stockpiles limit STOCKPILES – set in difficulty.csv
* Event commands and country specific modifiers on max stockpiles:
- command = { type = stockpile which = (industry / supplies (used for oil too) / all) when = ( war / peace / all ) value = XX }
* New commands to toggle auto-trade options.
- command = { type = auto_trade which = (oil/energy/metal /rare_materials/supplies/money) when = (import/export/stockpile) value = 1/0 }
Notes:
a. Enabling Stockpile will disable Export and enable Import
b. Enabling Export will disable Stockpile
c. Disabling Import will disable Stockpile
- command = { type = auto_trade_reset } - reset auto-trade options to defaults ( Stockpile disabled, Import and Export enabled for all resources)
* New trade system triggers:
- stockpile = oil/energy/metal /rare_materials/supplies/money - Returns true if Stockpile is set for the given resource.
- import = oil/energy/metal /rare_materials/supplies/money - Returns true if Import is enabled for the given resource.
- export = oil/energy/metal /rare_materials/supplies/money - Returns true if Export is enabled for the given resource.
- resource_shortage = oil/energy/metal /rare_materials/supplies/money/all - Returns true if there is resource shortage for that resource or for any resource when used with “all”. NOTE: This trigger is not very reliable because it is set correctly on the second game day on every game session.
EDIT:
I cannot remember if those are new or just extended commands, but are somehow related to the topic too, so here they are:
Code:
* type = embargo which = TAG where = TAG [value = -2/-1/0/1/2/3] # which – enforcer; where – subject; value: -2 – clear tech embargo; -1 – clear trade embargo; 0 or no value – clear all embargoes; 1 – enforce trade embargo; 2 – enforce tech embargo; 3 – enforce both trade and tech embargoes; If which = where then value = 0 (clear all embargoes the country has), -1 (clears all trade embargoes the country has), -2 (clears all tech embargoes the country has)
* type = trade which = TAG where = TAG [energy = x] [metal = x] [rare_materials = x] [oil = x] [supplies = x] [money = x] [when = Days duration / default is 100 years] [value = 1/0 – default, can be broken, 1 = not]
Last edited: