System · 38
Adds a province trigger checking whether it is a holy site for a given religion.
is_holy_site_of_religion triggerAdds a country trigger checking whether given trade goods may be traded away by the country.
is_trade_goods_allowed triggerAdds a country effect that instantly calls an omen for a deity category at no cost.
call_omen effectOmen and construction costs were removed when called from script so modders can assign custom costs.
omen and construction costs when called from scriptAdds a province trigger checking whether it is a holy site for a given deity.
is_holy_site_of_deity triggerDefines an integer check against which a losing commander may charm their way out of capture, succeeding if the roll is below the army leader's charisma.
battle commander escape capture chanceThe setup editor no longer saves automatically every time a province is selected and uses the console command only.
setup editor auto-saveAdds an enemy = country option allowing simulated combat against other nations, declaring war automatically if none exists.
combat simulator enemy nation optionAmplifies the strength ratio by the given define, increasing or decreasing its effect on the end of combat morale boost.
end of combat strength ratio impactAdds country effects that allow or disallow the AI from trading away specified trade goods.
allow/disallow trade goods effectDefines the maximum share of total morale a unit can regain at the end of combat.
end of combat morale regain capThe battle result is only stored if combat losses exceed this minimum ratio.
battle result storage thresholdDefines a modulo check used to capture the losing commander when the army was overrun or the roll is below half the highest winning martial value; mercenaries are excluded and the check is skipped if the winning side has no leader.
battle commander martial capture checkMakes religion_category customizable and localizable so mods can add categories, and adds is_monotheistic for religions.
religion category customizationAdds a character effect that, when set false, prevents the character from ever marrying until set true again.
set_can_marry effectAdds a country effect that instantly ends the truce between the scope country and a target country.
end_truce effectAdds a character trigger that checks the set_can_marry value along with default marriage conditions, unifying marriage checks.
can_marry triggerAdds a character effect that, when set false, stops the character inheriting possessions or country leadership and triggers instant successor recalculation.
set_can_inherit effectAt the start of combat, an enemy army is instantly overrun if the difference meets or exceeds this factor.
instant overrun initial checkAdds a country culture effect to change a culture's levy template in one country without affecting other countries.
set_levy_template effect for cultureAdds a country trigger that checks whether the country has a claim on a given province.
has_claim triggerAdds province effects that start or cancel construction of a given building.
start and cancel building construction effectThe automatic legacy character setup conversion was moved to a console command.
legacy character setup conversionGetLevyTemplate on CountryCulture now takes into account the template set via set_levy_template.
getlevytemplate for countrycultureAdds a character trigger returning the value set by can_inherit, defaulting to true.
can_inherit triggerscript_docs now reports proper modifier categories and supports showing multiple categories.
script_docs modifier categoryDefines the unit-count ratio at which a defender who loses suffers no popularity loss.
defender popularity loss exemption ratioAdds an effect that starts a character interaction with a target character, as a player would via the UI.
start_character_interaction effectThe local_fort_limit property was renamed to state_fort_limit, which affects mods.
local_fort_limit renamed to state_fort_limitAdds a province effect to change climate to mild_winter, normal_winter, severe_winter, arid or none.
change_climate effectDefines a minimum casualty amount that always occurs regardless of the tactics difference between armies.
minimum casualties from tactics differenceDefines the unit-count ratio at which an attacker who loses suffers no popularity loss.
attacker popularity loss exemption ratioThe AI now disbands units created via create_unit instead of keeping them forever and harming its economy.
ai unit disbanding for create_unit unitThe tag limit is now customizable as a define so mods can set their own limits.
tag limit customizationAdds a war effect that saves a participant's war score into a local variable, shown from the war leader's perspective.
war_score_value effectAdds modifier script access on country, character and province scopes via modifier:modifier_name.
modifier script accessBattle defines that were previously hardcoded are now exposed to be changed, with explanations as comments in 00_defines.txt.
previously hardcoded battle defines exposed for moddingOverlords can now construct buildings in certain subject types, set via can_build in the subject type.
overlord building construction in subject type
UI · 3
Adds GUI functions to highlight governorships and states.
governorship and state highlightingAdds a climate map mode.
climate map modeThe Find dialog now also returns governorships and states.
find dialog result
Fix · 21
Fixed befriending not being removed properly on ruler change.
befriending script bug on ruler changeSecondary war participants now also see peace deals as popups.
secondary war participant peace popupRevolt countries now instantly recalculate cached data so integrated cultures and levies are correct immediately.
revolt country cached data recalculationFixed a crash on peace offer when the receiving country differs from the offering country and the offerer has no province in the area.
crash on peace offer state receiptDECLWAROTHER_MAP is now localized on the map in all languages, previously only correct in French.
declwarother_map unlocalized displayPrevented the game from crashing when the tag limit is exceeded.
crash when exceeding tag limitFixed a crash for players using mods that lack certain gfx assets available from the free DLC.
crash with missing gfx assets from modMoving pops too quickly no longer charges a cost without moving pops; the pop moves if possible and no cost is deducted otherwise.
pop move cost when moving pops quickly in multiplayerForts and ports are now removed when a province is decolonized, and province dominant culture, religion and modifiers recalculate instantly when pops are removed.
3d map objects not removed on decolonizationWhen switching to a government without a co-ruler, the existing co-ruler is now removed properly.
co-ruler removal on government changeHoldings are now removed properly when characters move countries or provinces change owners, and only owner-controlled provinces join civil wars.
holdings removal on character move or province owner changeFixed all tag issues with the formable Crete tag, which started with an invalid character.
formable crete tag issueFixed a governor policies script bug involving country cultures.
governor policies script bug with country cultureCombat simulator crashes were fixed and location is now defined once per simulation.
combat simulator crashSparta's location no longer visually disappears when a road is built through the province.
sparta province visual disappearanceFixed an OOS (out of sync) issue that had been introduced.
out-of-sync bugMore than one instance per building can again be added to the construction queue.
construction queue limit per buildingThese scripting iterators were fixed so they now work properly.
every_province, random_province and any_provinceThe tooltip stating achievements only work with no mods enabled was corrected, as they can be gained with mods.
achievement tooltip with modArrange marriage is now available in countries with custom ruler setups, for the ruler family instead of only close relatives.
arrange marriage availabilityMercenaries can no longer be marriage targets.
mercenaries as marriage target


