
Maximum allowed iteration for loop effects The popup messages that doesn't require the player respond will automatically hide after some timeout.Īir combat log data will be pruned after this durationĭefault days before an event times out if not scriptedĭefault value for timeout_days attribute in eventsĭefault days before a mission is removed from the interface after having failed or completedĭefault value for days_remove attribute in decisionsĭays left when player will be alerted about timing out events or decisions Minimum number of major countries a major must be at war with to delay final scoreboard past END_DATEĬombat log data will be pruned after this duration Minimum number of major countries involved in a war to consider it major enough to not end the game even though the enddate has been reached.

Must be 5 entries with last one 0 for unbound

Translates pixel distances from world map bitmaps into game distancesĭata to modify generated checksum when game binaries have changed but not any content files.ĭays of client lag for decrease of gamespeedĭays of client lag for pause of gamespeed. Used for the end date, later year = more time it takes for the end date to come.Īfter this date the final scoreboard will be shown as soon as not blocked by MAJOR_PARTICIPANTS_FOR_MAJOR_WAR For this reason, modifying either NDefines or NDefines_Graphics works for changing graphical defines.Ī mod should never contain the 00_a and 00_a files within of itself: these files are commonly changed even in minor game updates, and having a define missing from a file results in the mod being unstable, potentially having a crash on startup.ĭefault start date, base for some durations (e.g. However, since Lua does not create copies of tables by default, the base game's NDefines contains pointers to the actual elements, which are contained within NDefines_Graphics regardless. In the base game files, the graphical defines are set to be merged into NDefines in the last line of the base game file. This goes into a separate file set to be loaded after the base game defines. Each of these lines is contained on a separate line and there are no commas separating them, such as the following: Defines, including graphical defines, are merely a Lua-contained array, and it is possible to modify a single member of the array in Lua using, for example, _DATE = "1936.1.2.12". As a consequence of this, there is no need to copy the entire file to edit it.


As defines are Lua code rather than a PDXscript-interpreted file, any Lua code can go in there, however modules allowing to go out of this directory are not available.
