Version 1.03 is up!
Changelog:
Code:
Additions:
-Added some macros to event header comments; see Macros.txt for more info.
-Start and end dates can now be parsed from the triggers of random events.
Changes:
-Changed the layout of the event-loading window.
-Widened the preview window; now horizontal scroll bars will not always show.
Bugfixes:
-Start and end years will now work properly when "Increment dates" is selected.
Previously, they would be incremented before printing the first one, so all
dates would be off by <increment> years.
-Random events no longer print the start date when it is -1.
Info on the new macro feature:
Code:
Macros currently implemented:
-${tag} Prints the tag.
-${country} Prints the country's name.
-${provid} Prints the province ID number.
-${provname} Prints the province's name.
-${id} Prints the event ID number.
-${startdate} Prints the event's starting year.
-${deathdate} Prints the event's ending year.
-${today} Prints today's date.
Example:
Event ${id}
AI-switching for ${Tag} (${COUNTRY})
Start: ${startdate}
End: ${deathdate}
Created on ${today}
This produces the following headers:
##############################################
# AI-switching for FRA (France)
# Start: 1419
# End: 1429
# Created on 9/30/06
##############################################
##############################################
# Event 75001
# AI-switching for FRA (France)
# Start: 1429
# End: 1439
# Created on 9/30/06
##############################################
##############################################
# Event 75002
# AI-switching for FRA (France)
# Start: 1439
# End: 1449
# Created on 9/30/06
##############################################
Version 1.03 can be found in the usual place.
As always, feedback and comments would be appreciated.