Open xhh2a opened 2 years ago
https://ck3.paradoxwikis.com/Data_types Has a list of additional functions that can be used, we probably don't need to modify the gui at all since we can use AddTextIf and other comparator functions
Another thing we could potentially do since we have various additional localization functions is to make there be more than 1tick per day but that would require significant changes in the history DB as we will need to convert the dates to some other format.
Right now we are pretending dates are in the IY system which is offset from AD by 3 months. This means that the number of days/month is incorrect.
In addition we may want to support pre year 0 events in the future.
This issue tracks how we may implement this. https://fireemblem.fandom.com/wiki/F%C3%B3dlan_Calendar https://forum.paradoxplaza.com/forum/threads/mod-the-bronze-age-maryannu.1414700/page-3#post-26949113
$YEAR$
with a conditional[Subtract_int32('(int32)$YEAR$', '(int32)1')]
, with the conditional check defined ingui/hud.gui
(need to check 0 bounds)
localization.yml
gui/hud.gui
common/scripted_triggers/fodlan_calendar.txt
common/scripted_guis/fodlan_calendar.txt