Ruler Reign Marker

If you liked this item, please rate it up on Steam Workshop page.

Author: Beux

Last revision: 5 Jun at 02:01 UTC

File size: 635.09 KB

On Steam Workshop

Description:

# Ruler Reign Marker

Small standalone CK3 1.19 mod that surfaces **when each ruler took a title and how long they’ve held it** in the places where the game already shows holder info.

## What it shows

### 1. Title COA hover tooltip
Any title coat-of-arms hover (realm view, character window title list, title view, decisions…) now reads:

“`
Holder: <name>
Reign Began: c. <YYYY>
Held for N years
“`

### 2. Character realm tooltip
Hovering on a character’s big primary-title coat-of-arms or realm flag adds the same Reign Began / Held for N years lines for their top title.

### 3. Title History window
Each entry’s header now shows a date **range** instead of a single date — *"DD Month, YYYY – DD Month, YYYY"*.

Five mutually exclusive cases (correctly computed per entry):
– **Destruction event marker** -> start date alone
– **Past tenure** -> end = start date of the next-newer history entry (correct even when the holder lost the title without dying, or when a different holder briefly held it in between)
– **Current holder, alive** -> "DD Month, YYYY – present"
– **Current holder, died holding** -> "DD Month, YYYY – <death date>"
– **No character** -> start date alone

Each entry is also visually framed: 12 px gap between cards, divider line under the date header.

## Accuracy notes

– **Exact date** is shown for any title whose holder gained it AFTER the mod was active. Tracked via `on_title_gain`.
– **Approximate year** (current_year – title_held_years) is shown for titles whose holder gained them BEFORE the mod was installed and whose birthday hasn’t passed yet since install. After the first yearly tick that includes that character, the date precise-stamps forward to that date.
– **Title history past tenures** use the next-newer entry’s start date as the end — exact when there’s an intermediate transfer, off only when CK3 doesn’t write a history entry for the transition.

## Files

“`

## Compatibility

– Standalone — no required dependencies.
– Conflicts with any mod that also rewrites `window_title_history.gui` or overrides the `COA_TOOLTIP_HOLDER` / `COA_REALM_TOOLTIP_CHARACTER_ALIVE` loc keys. Other mods touching the title view header will not conflict.
– Save-safe to add. Save-safe to remove (the title variables are dormant data after removal).
– No gameplay effects — pure UI/text plus passive data tracking.