Саб-моды для AGOT - Страница 23 - A Game of Thrones - Strategium.ru Перейти к содержимому

Саб-моды для AGOT

Рекомендованные сообщения

Old_Wayfarer

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. | Скачать cаб-моды | Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  | Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  | Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  |

| Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  |

 

Официальные и сторонние саб-моды для A Game of Thrones

 

spacer.png

 

=== Официальные саб-моды ===

 

Спойлер

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  и Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  - для версий 2.1 и 2.2 (Andal Invasion, Rhoynish Wars, Valyrian Freehold, Ghiscari Wars)

Century of Blood отныне отсутствует, т.к. в 2.1 он стал частью AGoT по воле разработчиков

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание. Прямая ссылка от них -> Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. .

 

Спойлер

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  и Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  - для версии 2.0 (Andal Invasion, Rhoynish Wars, Century of Blood, Valyrian Freehold, Ghiscari Wars)

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  и Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  - для версии 1.9.1 (Andal Invasion, Rhoynish Wars, Century of Blood, Valyrian Freehold, Ghiscari Wars)

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  и Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  - для версии 1.8 (Andal Invasion, Rhoynish Wars, Century of Blood, Valyrian Freehold, Ghiscari Wars)

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  и Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  - для версии 1.7.1 (Andal Invasion, Rhoynish Wars, Century of Blood, Valyrian Freehold)

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  и Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  - для версии 1.7 (Andal Invasion, Rhoynish Wars, Century of Blood, Valyrian Freehold)

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. и Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  - для версии 1.6.1 (Andal Invasion, Rhoynish Wars, Century of Blood, Valyrian Freehold)

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  и Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  - для версии 1.6  (Andal Invasion, Rhoynish Wars, Century of Blood)

 

=== От разработчиков AGoT===

 

Спойлер

С добавлением Эссоса "прожорливость" мода заметно возросла. Этот саб-мод удаляет всех персонажей и титулы в Эссосе, оставляя играбельным только Вестерос, как это было до добавления Эссоса. Это значительно повышает производительность, хотя большинство событий и механик, например рабство, все еще работают.
Фактически саб-мод не удаляет новую карту Эссоса (поскольку это было проще сделать описанным выше образом), но она не влияет на производительность.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание. Прямая ссылка от них -> Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. .

 

Спойлер

Музыкальный саб-мод из 34 композиций. Это оригинальный саундтрек от разработчиков AGoT, и не имеет отношения к саундтреку из сериала.

 

i

AGoT не обязателен для работы этого саб-мода, поэтому его можно использовать как с ванилой, так и с любым другим модом.

 

i

Если есть желание отключить ванильную музыку, можно указать игнорировать папку "music" из ванили.

Для этого в файл-дескрипшн (.mod) музыкального мода нужно добавить строку: replace_path = "music"

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. с описанием на Steam Workshop.

 

=== Сторонние саб-моды ===

 

Спойлер
Спойлер

По праву один из наиболее известных и популярных саб-модов. Несмотря на название, саб-мод не ограничивается только родословными, но также затрагивает множество иных аспектов игры. Саб-мод включает возможность создания родовых доспехов, новые виды варгов и связанные с ними события, новые сюжетные линии (к примеру, для Роберта Баратеона добавлена группа незаконнорожденных детей, которых можно разыскать) и многое другое! Но у подобной обширности есть и обратная сторона - саб-мод конфликтует с большим количеством иных саб-модов. К счастью, учитывая популярность More Bloodlines, у многих из них есть патчи совместимости с ним.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание. Прямая ссылка на их -> Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. .

 

Спойлер

Congenital Overhaul

 

Саб-мод добавляет огромное разнообразие причесок для разных культур, новые трейты (к примеру мелодичность голоса), новые валирийские мечи, а также варианты для их перековки.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание.

 

Congenital Ovehaul Valyrian Steel Arms Standalone

 

Саб-мод представляет из себя выкроенное из Congenital Ovehaul в отдельный саб-мод валирийское оружие. Всего порядка 41 варианта валирийских мечей, топоров и копий доступных для перековки.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание. Прямая ссылка на их -> Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. .

 

Спойлер

Саб-мод отображает теорию о том, что Молодой Грифф на самом деле не Эйгон, сын Рейгара Таргариена и Элии Мартелл, а потомок Деймона Блэкфайра по линии его сына Мейлиса Блэкфайра, убитого Барристаном Селми. Существуют и другие теории о том, кем именно являются родители Юного Гриффа. Две другие, включенные в этот мод, заключаются в том, что Юный Грифф - сын Иллирио Мопатиса и его жены Серры, которая на самом деле является Блэкфайром из линии Мэйлис Блэкфайр. Другая - теория «Яркого Пламени», согласно которой Молодой Грифф это сын Иллирио Мопатиса, который на самом деле является Блэкфайром из линии Мэйлис Блэкфайр и его жены Серры, которая вместе со своим братом Варисом, потомок Таргариенов от Эйриона Яркого Пламени.

 

В настройках партии Вы можете выбрать, какую из трех теорий хотите реализовать, а также четвертый вариант, который позволяет отключить саб-мод в этой партии. Дополнительное событие сработает после восхождения Эйгона на Железный Трон и роспуска Золотых Мечей, когда их лидер может раскрыть ему правду о его родословной.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание.

 

Спойлер

Саб-мод превратит валирийские земли в руины, которые Вы сможете колонизировать. Также ландшафт Валирии теперь покрыт зеленью.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание. Прямая ссылка на их -> Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. .

Перевод авторства @Флавий АницийВойдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  | Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  [содержит версии для AGOT (адаптирована для 2.2) и More Bloodlines].

 

Спойлер

Саб-мод превращает Харренхол в замок 6 уровня, когда Харрен Хоар завершает его, но после сжигания он становится эквивалентен замку 4 уровня. После полного восстановления Харренхол вновь становится самым неприступным замком во всем Вестеросе, как и задумывал Харрен.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание.

 

Спойлер

Саб-мод изменяет внешний вид карты. Дополнительно представлены версии перед Роком Валирии и "пергаментной" воды (и их комбинация).

 

spacer.png

 

i

Саб-мод для отображения названий стран на карте использует не поддержиющий кириллицу шрифт.

Чтобы использовать шрифт из русификатора, просто удалите папку: ...\AGOT Cartographic\gfx\fonts

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание. Прямая ссылка на их -> Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. .

 

Спойлер

Саб-мод заменяет ванильные модельки солдат, советников и кораблей на соответствующие лору.

Большие изображения для демонстрации: Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  и Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. .

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание. Прямая ссылка на их -> Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. .

 

Спойлер

Саб-мод перемещает Старых Богов Севера в религиозную группу к другим почитателям Древних Богов, чтобы обозначить их отчужденность от Семибожия. Также, если Старые Боги будут реформированы одичалым или им симпатизирующим, он сможет выбрать относящуюся к одичалым доктрину, которая сочетает в себе черты доктрин ритуального жертвоприношения, неумолимости и анимизма, а также дает возможность присоединиться к ложе одичалых воинов. Дополнительно были изменены ограничения ложи одичалых воинов, чтобы им симпатизирующие могли присоединиться, даже если они высокомерны (сделано для того, чтобы Джон мог присоединиться к ложе, если он покинет Дозор).

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание. Прямая ссылка на их -> Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. .

 

Спойлер

Саб-мод позволяет строить не просто чудеса света, а целые города чудес. В наличии множество построек: храмы, статуи, башни, сады, фонтаны, склепы и т.д. Также присутствует новое игровое правило, связанное с городами чудес.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. с описанием на Steam Workshop. Прямая ссылка на авторский -> Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. .

Перевод авторства @Флавий АницийВойдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  | Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. [содержит версии для AGOT и More Bloodlines].

 

Спойлер

Саб-мод привносит событие, которое добавляет холдинги для строительства баронств. В среднем оно происходит каждые 63 года. Событие также можно вызвать через консоль (event RIP.11705).

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание.

 

Спойлер

Данный саб-мод позволяет через решение (из меню интриги) обратиться в религию Штормового Бога.

При условии, что персонаж владеет титулом Штормовой Предел, обладает родословной Дюррандонов и имеет одну из следующих черт: циничный, самодур, сумасшедший, одержимый.

После обращения Вы также получаете черту "набожный". С этой религией Вы сможете делать то же, что и последователи Утонувшего Бога: совершать набеги, плавать по рекам и иметь до 20 наложниц. Кроме того, можно вступать в браки с представителями религии Утонувшего Бога или ее реформированного варианта.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание.

Перевод авторства @Флавий АницийВойдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  | Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

 

Спойлер

Этот маленький, но полезный саб-мод позволяет жертвовать крупные суммы денег Ночному Дозору, чтобы укрепить его перед угрозой со стороны одичалых или белых ходоков.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание.

Перевод авторства @Флавий Аниций : Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  | Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

 

Спойлер

Музыкальный саб-мод, автором которого является @Флавий Аниций. Саб-мод добавляет музыку из ещё одного мода по ASoIaF - The Seven Kingdoms: An Age of Petty Kings. Около 50 атмосферных треков специально для тех, кто хочет большего музыкального разнообразия в игре.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. автора саб-мода с описанием и ссылками на скачивание.

 

Спойлер

Небольшой саб-мод, который исправляет торговые пути Вестероса, позволяя строить в них торговые поселения.  Также, @Флавий Аниций немного улучшил этот мод, добавив возможность сооружать постройки в этих торговых поселениях. Рекомендуется для тех, кто хочет развивать экономику Вестероса, получая больше денег от торговых путей. Мод не требует перевода, поскольку не изменяет локализацию и не добавляет новую. Совместим с большинством других саб-модов, за исключением тех, что изменяют торговые пути в Вестеросе.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  на форуме разработчиков, с описанием и ссылками на скачивание.

Версия, которую модифицировал @Флавий Аниций : Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  | Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

 

Спойлер

Этот саб-мод изменяет большинство портретов, делая их более реалистичными.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

 

i

Fix нужно использовать не вместо, а вместе с оригинальным саб-модом.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание. Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. под 2.2 на moddb.

 

Спойлер

Саб-мод добавляет более 200 портретов из телешоу GoT, игр Telltales и нарисованных в стиле фэнтези портретов.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. с описанием на Steam Workshop.

 

Спойлер

Это адаптированная под AGoT версия мода Bigger Interface.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. с описанием на Steam Workshop.

 

=== AGoT совместимые саб-моды ===

 

Спойлер
Спойлер

The Orders of Chivalry 

 

Бойцовские гильдии, новая система дуэлей, награда за голову и многое другое ждет вас в этом замечательном саб-моде.

 

i

Внутри загруженного архива с модом находиться директория "Look here for compatibility" с дополнительными ".mod" файлами.

 Среди прочих есть подходящий и для AGoT.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. с описанием на Steam Workshop.

 

The Orders of Chivalry for AGOT (sub-mod for 3rd party mod) (для AGOT v2.0)

 

Этот сторонний саб-мод ещё больше адаптирует вышеописанный саб-мод для AGoT. Благодаря ему Сыны Воина и Честные Бедняки превращаются в общества, если эти духовно-рыцарские ордены были созданы / Святое Воинство было восстановлено.

 

i

Этот саб-мод нужно использовать не вместо, а вместе с оригинальным.

Обязательные для AGoT настройки партии OoC: Fighters Guilds -> Non European Map; Holy Orders -> None.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание.

 

Спойлер

Увеличивает количество доктрин при реформации до 4.

 

i

Нужно использовать вместе с саб-модом Bigger Interface for Game of Thrones.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. с описанием на Steam Workshop.

 

=== More Bloodlines совместимые саб-моды ===

 

Спойлер
Спойлер

Функционал и описание аналогичны оригинальному саб-моду для AGoT.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание.

 

Спойлер

Функционал и описание аналогичны оригинальному саб-моду для AGoT.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание.

 

Спойлер

Функционал и описание аналогичны оригинальному саб-моду для AGoT.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание.

 

Спойлер

Функционал и описание аналогичны оригинальному саб-моду для AGoT.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание.

Перевод авторства @Флавий АницийВойдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  | Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  [содержит версии для AGOT (адаптирована для 2.2) и More Bloodlines].

 

Спойлер

Функционал и описание аналогичны оригинальному саб-моду для AGoT.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание. Прямая ссылка на их -> Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. .

 

Спойлер

Функционал и описание аналогичны оригинальному саб-моду для AGoT.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. с описанием на Steam Workshop. Прямая ссылка на авторский -> Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. .

Перевод авторства @Флавий АницийВойдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  | Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. [содержит версии для AGOT и More Bloodlines].

 

Спойлер

Функционал и описание аналогичны оригинальному саб-моду для AGoT.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание.

 

=== Сборки от сообщества === (НОВИНКА!)

 

Спойлер

 

Авторства: @Aveonius

  • Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

 

 

=== Переведенные сообществом саб-моды ===

 

Спойлер

Авторства @Флавий Аниций :

  • Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  (версия базовая и для More Bloodlines);
  • Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  (версия базовая и для More Bloodlines);
  • Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. ;
  • Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. .

Авторства @Aveonius :

  • Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. (на данный момент перевод не полный);
  • Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. (версия для More Bloodlines);
  • Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. (версия для More Bloodlines);
  • Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. ;
  • Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. ;
  • Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. ;
  • Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. ;
  • Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. .

 

i

    Если не знаете как скачивать с Steam Workshop, Вам поможет этот сервис -> Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. .  

Вставьте в него ссылку на страницу мода в Steam Workshop, нажмите кнопу "Download" и снизу появится файл для скачивания.

  

!

О порядке подгрузки саб-модов

Даже актуальные и совместимые саб-моды могут приводить к вылетам и/или белиберде, если не задан правильный порядок их загрузки.
Порядок можно задать в .mod файлах с помощью dependencies. Пример для AGoTAGOT Holdings+ + AGoT Russsian Fixed + CK II Russian (e479).
Т.к. моды "наслаиваются" друг на друга, логичный порядок загрузки: русификатор CK2 от e479 -> AGoT -> AGoT Russsian Fixed -> саб-мод Holdings+
Откройте текстовым редактором файл-дескрипшн (.mod) A Game of Thrones. Под path вставьте dependencies = { "[BETA] CK II - Russian 3.3.3.0 (e479)" }
Соответственно, в файле (.mod) AGoT_Rus_Fixed зависимости уже будут dependencies = { "[BETA] CK II - Russian 3.3.3.0 (e479)" "A Game of Thrones" }
А в файле (.mod) AGOT Holdings+ будет dependencies = { "[BETA] CK II - Russian 3.3.3.0 (e479)" "A Game of Thrones" "AGoT - Russian Localisation (Fixed)" }

Внимание! Проверяйте название русификатора CK2 от e479, т.к. оно меняется вместе с актуальной версией игры. Сейчас актуальна 3.3.5.1. 

 

=== Архив ===

 

Спойлер

 Westeros only

Спойлер

Саб-мод убирающий Эссос. Как сами понимаете, без Эссоса мод работает шустрее и стабильнее.

 

Для версии 1.1-1.2 Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

Для мода версии 0.8 - Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

Для мода версии 0.9 - Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

Для мода версии 0.9.2 - Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

 

More Decisions v6.3 (1.1)
Спойлер

Вносит множество изменений.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание.

 

Bloodlines v5 и Bloodlines - no limit (1.1)
Спойлер

Вносит множество изменений.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание.

 

More Bookmarks v2 (1.1)
Спойлер

Добавляет новые букмарки.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание.

 

Colonise Valyria and Challenge to Duel (1.1)
Спойлер

Вносит множество изменений.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание.

 

Congenital Overhaul (1.0)
Спойлер

Вносит множество изменений.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание.

 

Dynastic stability (1.0)

Спойлер

Любой дом будет пытаться сохранить свой дом как можно дольше, касается заключения браков.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание.

 

Roleplay (1.0)

Спойлер

Вносит множество изменений.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на форуме разработчиков, с описанием и ссылками на скачивание.

 

Mixed valyrian ethnicities, модифицированный enrique suarez (1.0-1.1)
Спойлер
enrique suarez писал:

Переделал саб-мод с цитадели под себя, "vixed valyrian ethnicities".

Вообщем мод дает смесь валирийской культуры, что то типа микса, к примеру: валирийской и песчаников, получаются в общем белокурые такие арабы))

Сабмод был очень сырым и кроме белых волос там реально ничего такого не было изменено, вообщем я решил подкорректировать данный саб-мод.

Спойлер

1.Семь смешаных культур

2.Кроме белых волос вообще толком ничего не понять.

3.Смешивая свой валирийский род с разными культурами вообще белеберда что получается ребенок рожденный от валирийца и дотракийца будет или валирийским или дотракийским или вал-дотрак, я эту идею исключил оставив только вал-дотрак или просто вал.

4.вообщем изменений от ванилы было мало вообще, тупо добавлены дополнительные культуры и всё, а механизм скрещевания работал ..... не работал вообщем.

 

Спойлер

1.Есть несколько смешанных культур:

Вал.Дотракийская

Вал.Гискарская

Вал.Квартийская

Вал.Летнийская

Вал.Песчан.Дорнийская

Вал.Солен.Дорнийская

Вал.Камен.Дорнийская

2. Поменял немного цвета волос, добавил цвета глаз сиреневые, фиолетовые и т.д. как у валирийцев...да и вообще разрабы немного код запороли у некоторых культур нельзя цвет глаз менять даже в оригинале..

3.Изменил немного наследование этнических типов, ну что бы допустим всё выглядело как то реалестичнее чтоли, к примеру:

было "НЕГР" + "БЕЛЫЙ" = 50% "НЕГР", 50% "БЕЛЫЙ"

сейчас же "НЕГР" + "БЕЛЫЙ" = 80% "МУЛАТ" 10% "негр", 10% "белый"

вообщем как то так))

4.Подвинтил все культуры полностью практически, в плане наследования этнических портретов персонажа, сейчас к примеру запад.валирийцев не так уж просто профукать так как со всеми андалами и первыми людьми у них будет 80% вероятность передачи именно этнически валирийскую рассу, также зап.валирийцы + зап.валирийцы могут дать потомство высших валирийцев, но шанс не велик 5-10%, но шанс есть, я думаю так будет как то более реалестично, валирийскую расу очень сложно будет потерять, допусти высшие валирийцы и андалы получат потомство высшых или западных другого не дано, дабы не потерять характеристики этой культуры, так как даже в книге кровь Таргов мощная штука через поколения у некоторых свои черты выражает.

 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. - совместим с CK2 2.5.2, AGOT 1.0-1.1

 

Спойлер

spacer.pngspacer.png

spacer.pngspacer.png

spacer.pngspacer.png

spacer.pngspacer.png

spacer.pngspacer.png

spacer.pngspacer.png

 

Мод не мой конечно же, но создатель как то про него совсем уж забыл, если что не против выслушать критику, что то где то подправить и если есть у кого какие идеи, готов выслушать.

 

Два Саб-мода на портреты, суть их одинакова, поэтому объединены

Спойлер

Установить по пути Documents\Paradox Interactive\Crusader Kings II\mod 
Запускать вместе с основным модом "A Game Of Thrones" 

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  - для 2.7.1

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. - для 2.8.1

fjugAoW76gE.jpg

iocdHshnTMM.jpg

 

 

Спойлер

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. (0.4.7.1) и Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. немного уличной магии.

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. (мод 0.5.1) и Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. различное оружие и доспехи для ролеплею.

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. (мод 0.5) и Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. для любителей грабежа и разбоев.

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. с новыми трейтами и событиями для рулевых династий Вэстэроса

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. больше решений в меню интриг.

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. - больше трейтов и валирийских мечей.

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. - большой выбор Домов в редакторе персонажа.

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. - для любителей юзать свиту.

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. под версию мода 0.7.1 - создание гвардий для всех, в зависимоти от культуры, вида правления и религии меняются и виды гвардий.

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. - убирает негативное отношение между последователями Семибожия и Старых Богов.

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. - Минимод для быстрой раздачи титулов

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. - минимод, позволяющий вассализировать наемников.

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. - Новые евенты, небольшие правки трейтов и персонажей.

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. - сабмод-сейв для любителей теорий (Джон Таргариен, Тирион Златопламенный, Эйгон Бллекфайр).

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  – меняет интерфейс

.

Изменено пользователем Commander Raven Feather
Реорганизация шапки
Ссылка на комментарий

Labes
i

Из-за появления подписки на дополнительный контент для CK2, версия игры была изменена на 3.3.4.

По сути ничего не изменилось, чексумма осталась прежней, а в интерфейсе меню появилась информация про подписку.

Но это повлекло за собой изменение названия русификатора для CK2. И если Вы его обновите, можете обнаружить кашу в саб-модах AGoT.

Причина банальна: в зависимостях дескрипшн-файлов (.mod) модов указана старая версия названия русификатора.

Из-за этого моды больше не загружаются в правильном порядке, что приводит к каше. Соответственно, dependencies нужно обновить.

Т.е. во всех дескрипшн-файлах (.mod) в dependencies измените "[BETA] CK II - Russian 3.3.3.0 (e479)" на "[BETA] CK II - Russian 3.3.4.0 (e479)"

Это касается как самого мода A Game of Thrones, так и AGoT_Rus_Fixed и прочих. Если что-то непонятно, спрашивайте @Labes

Внимание! Проверяйте название русификатора CK2 от e479, т.к. оно меняется вместе с актуальной версией игры. Сейчас актуальна 3.3.5.1. 

 

Изменено пользователем Labes
Ссылка на комментарий

Закреплённые сообщения
skorohod95

Не понимаю почему но не работет у меня блудлайнсы ни в какую

Ссылка на комментарий

u7262897
3 часа назад, skorohod95 сказал:

Не понимаю почему но не работет у меня блудлайнсы ни в какую

Не включаются, или с модом все становятся пиратами?

Ссылка на комментарий

Я на самом деле долго считал, что здесь никто не отвечает, но раз появились недавние ответы, все же рискну
У меня такая проблема. Установил, значится, последнюю версию CK2 (пиратская для ознакомления с материалом всех dlc, разумеется), мод и совместимые сабмоды. Проблема в том, что у меня гербы съехали. Нет, не с катушек
Условно, взять герб дома Форрестеров (что правят Железным холмом) к примеру:
 spacer.png
Это не то, чтобы прям мешало играть, однако явное не комильфо. Также съехали все параметры (а вот это уже беда)
spacer.png
Есть знающие как решить оные беды?

Ссылка на комментарий

Aurelius36
23 минуты назад, Learain сказал:

А вот это и правда не понятно. What it is?
Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

Нет локализации названий. Скорее всего неправильная последовательность загрузки и игнорируется русик..

Ссылка на комментарий

4 минуты назад, Aurelius36 сказал:

Нет локализации названий. Скорее всего неправильная последовательность загрузки и игнорируется русик..

да вроде как нет, выглядит это примерно так: русик -> агот -> Сабы агота -> патч совместимости к ним
с другой стороны, я не сильно понимаю как работает это все, поэтому запросто мог допустить какую-то оплошность

Ссылка на комментарий

Aurelius36
5 минут назад, Learain сказал:

да вроде как нет, выглядит это примерно так: русик -> агот -> Сабы агота -> патч совместимости к ним
с другой стороны, я не сильно понимаю как работает это все, поэтому запросто мог допустить какую-то оплошность

В шапке этой темы @Labes в красной рамке опубликовал правильный порядок загрузки. Проверьте так у Вас или нет.

Ссылка на комментарий

Labes
3 часа назад, Learain сказал:

Я на самом деле долго считал, что здесь никто не отвечает, но раз появились недавние ответы, все же рискну

 

Здравствуйте. К странному Вы пришли умозаключению, учитывая, что редкий вопрос остается без ответа, хотя и не всегда сразу. :unknw:

 

3 часа назад, Learain сказал:

Также съехали все параметры (а вот это уже беда)

 

Если я правильно помню, в CK2 3.0 был изменен интерфейс вкладки персонажа. В AGoT его оставили практически прежним. Для наглядности:

Спойлер

spacer.png

 

У Вас явное наложение двух интерфейсов. Т.е. либо русификатор господина e479 подгружается не там где должно, либо с саб-модами что-то не так.

Более точно сказать сложно, т.к. непонятно какие именно саб-моды и патчи совместимости Вы используете.

Изменено пользователем Labes
Ссылка на комментарий

7 часов назад, Labes сказал:

 

Здравствуйте. К странному Вы пришли умозаключению, учитывая, что редкий вопрос остается без ответа, хотя и не всегда сразу. :unknw:

 

 

Если я правильно помню, в CK2 3.0 был изменен интерфейс вкладки персонажа. В AGoT его оставили практически прежним. Для наглядности:

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. Изображение (Скрыть)

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

 

У Вас явное наложение двух интерфейсов. Т.е. либо русификатор господина e479 подгружается не там где должно, либо с саб-модами что-то не так.

Более точно сказать сложно, т.к. непонятно какие именно саб-моды и патчи совместимости Вы используете.

Я использую More Bloodlines, Faces Modification и Congenital Overhaul, все взято максимально "свежее", в том числе и патч совместимости 

Ссылка на комментарий

Labes
23 минуты назад, Learain сказал:

Я использую More Bloodlines, Faces Modification и Congenital Overhaul, все взято максимально "свежее", в том числе и патч совместимости 


В шапке есть Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на MB совместимые CO + FM. Они не требуют дополнительных патчей совместимости и прекрасно работают:

Спойлер

spacer.png

 

Я прописал через консоль кинжал, чтобы было понятно, что контент CO присутствует. FM заметен по лицам (на мой вкус они ужасны:108196:).

Попробуйте саб-моды из шапки. Если снова не будет работать - пишите, будем разбираться с Вашими dependencies.

Изменено пользователем Labes
Ссылка на комментарий

4 минуты назад, Labes сказал:


В шапке есть Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. на MB совместимые CO + FM. Они не требуют дополнительных патчей совместимости и прекрасно работают:

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. Изображение (Открыть)

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

 

Я прописал через консоль кинжал, чтобы было понятно, что контент CO присутствует. FM заметен по лицам (на мой вкус они ужасны:108196:).

Попробуйте саб-моды из шапки. Если снова не будет работать - пишите, будем разбираться с Вашими dependencies.

В этом как раз и парадокс, ибо саб-моды я качал именно отсюда:31080:

Ссылка на комментарий

Labes
12 минуты назад, Learain сказал:

В этом как раз и парадокс, ибо саб-моды я качал именно отсюда:31080:

 

dependencies, настало ваше время =)

Откройте текстовым редактором файлы-дескрипшны (.mod) соответствующих модов, и убедитесь, что у Вас также:

A Game of Thrones-> dependencies = { "[BETA] CK II - Russian 3.3.3.0 (e479)" }

AGOT More Bloodlines-> dependencies = { "[BETA] CK II - Russian 3.3.3.0 (e479)" "A Game of Thrones" }

Работает и без дописывания русификатора в CO и FM, но чтобы наверняка, допишем и в оставшихся:
AGOT Congenital Overhaul-> dependencies = { "[BETA] CK II - Russian 3.3.3.0 (e479)" "A Game of Thrones" "AGOT More Bloodlines Submod" }

AGOT Faces Modification + MB + CO-> dependencies = { "[BETA] CK II - Russian 3.3.3.0 (e479)" "A Game of Thrones" "AGOT More Bloodlines Submod" "AGOT Congenital Overhaul" }

Изменено пользователем Labes
Ссылка на комментарий

58 минут назад, Labes сказал:

 

dependencies, настало ваше время =)

Откройте текстовым редактором файлы-дескрипшны (.mod) соответствующих модов, и убедитесь, что у Вас также:

A Game of Thrones-> dependencies = { "[BETA] CK II - Russian 3.3.3.0 (e479)" }

AGOT More Bloodlines-> dependencies = { "[BETA] CK II - Russian 3.3.3.0 (e479)" "A Game of Thrones" }

Работает и без дописывания русификатора в CO и FM, но чтобы наверняка, допишем и в оставшихся:
AGOT Congenital Overhaul-> dependencies = { "[BETA] CK II - Russian 3.3.3.0 (e479)" "A Game of Thrones" "AGOT More Bloodlines Submod" }

AGOT Faces Modification + MB + CO-> dependencies = { "[BETA] CK II - Russian 3.3.3.0 (e479)" "A Game of Thrones" "AGOT More Bloodlines Submod" "AGOT Congenital Overhaul" }

Во имя Света! Это помогло
Правда знамена все ещё плохо себя чувствуют, но это не страшно, ибо отображение у портрета правильное
Мое почтение, уважение и благодарность <3

Ссылка на комментарий

skorohod95
В 20.02.2021 в 21:22, u7262897 сказал:

Не включаются, или с модом все становятся пиратами?

Нет просто не работает и все,все включаеться,но все как и было так и осталось

Ссылка на комментарий

В 24.02.2021 в 19:50, skorohod95 сказал:

Нет просто не работает и все,все включаеться,но все как и было так и осталось

версия мода и саб мода подходящие?

Ссылка на комментарий

Aurelius36
В 24.02.2021 в 18:50, skorohod95 сказал:

Нет просто не работает и все,все включаеться,но все как и было так и осталось

Игра не видит папку модов? :smile37:

Ссылка на комментарий

Aveonius

На agotcitadel написано что Forge Bloodlines (бесконечное создание родословных по амбиции) конфликтует с Congenital Overhaul. Есть какой-нибудь несложный способ убрать эту конфликтность?

Ссылка на комментарий

Aveonius

Предлагаю добавить ещё саб-модов:
1. Две новые карты на выбор Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

2. Смешение рас (графическое и культурное) Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.
3. Внутриигровое чит-меню, подстроенное под AGOT Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

4. Увеличивается количество доктрин при реформации не до 4, а до 9! Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

Все совместимы с MB+CO+FM (кстати, jonotor создал отдельную тему на agotcitadel взамен своего комментария: Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. )

Ещё я нашел картинки новых валирийских мечей из Congenital Overhaul: Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

Ссылка на комментарий

Labes
1 час назад, Aveonius сказал:

На agotcitadel написано что Forge Bloodlines (бесконечное создание родословных по амбиции) конфликтует с Congenital Overhaul. Есть какой-нибудь несложный способ убрать эту конфликтность?

 

Здравствуйте. Насколько я понимаю, FB конфликтует с MB совместимой версией CO.

Я попробовал пофиксить несовместимость. Правда не тестировал, но, думаю, будет работать.

Вам нужно заменить содержимое соответствующий файлов в FB, и не забыть в dependencies указать FB подгружаться уже после CO.

Первый -> ...\AGOT Forge Bloodlines\events\HF_bloodline_events.txt

Спойлер

# Written by Flavio (HF.24000 - HF.24239)


namespace=HF

character_event = { # Great warrior character chance
    id = HF.99
    hide_window = yes
    
    is_triggered_only = yes
    
    only_playable = yes
    only_capable = yes
    prisoner = no
    min_age = 16

    trigger = {
        any_owned_bloodline = {
            OR = {
                has_bloodline_flag = bloodline_heroes
                has_bloodline_flag = dynastic_bloodline
            }    
            founder = {
                NOT = {
                    character = ROOT
                }
                is_alive = no
            }
            bloodline_is_active_for = PREV
        }
        NOT = {
            any_courtier_or_vassal = {
                has_character_flag = bloodline_great_hero
            }
        }
    }
    
    immediate = {
        random_list = {
            2 = {
                modifier = {
                    factor = 100
                    any_owned_bloodline = {
                        has_bloodline_flag = bloodline_heroes
                        founder = {
                            NOT = {
                                character = ROOT
                            }
                            is_alive = no
                        }    
                    }
                }
                modifier = {
                    factor = 0.75
                    NOT = {
                        higher_tier_than = COUNT
                    }
                }
                modifier = {
                    factor = 0.75
                    NOT = {
                        higher_tier_than = DUKE
                    }
                }
                character_event = { id = HF.100 }
            }
            98 = {
                modifier = {
                    factor = 3
                    ai = yes
                }
            }
        }
    }
}

character_event = { # Great warrior character arrives
    id = HF.100
    desc = HF_100_DESC
    picture = GFX_placeholder
    border = GFX_event_normal_frame_war

    is_triggered_only = yes
    
    only_playable = yes
    only_capable = yes
    prisoner = no
    min_age = 16
    
    immediate = {
        random_owned_bloodline = {
            limit = {
                OR = {
                    has_bloodline_flag = bloodline_heroes
                    has_bloodline_flag = dynastic_bloodline
                }    
                founder = {
                    NOT = {
                        character = ROOT
                    }
                    is_alive = no
                }
            }
            founder = {
                save_event_target_as = target_bloodline_founder
            }
        }
        spawn_fantastic_commander_effect = yes
        event_target:invited_character = {
            set_character_flag = bloodline_great_hero
            set_character_flag = hero_knight
        }
    }
    
    option = {
        name = MNM.70013.o
        
        trigger = {
            any_realm_character = {
                NOT = {
                    higher_tier_than = BARON
                }
                liege = { character = ROOT }
                has_minor_title = title_commander
                NOT = {
                    martial = 12
                }
            }
            OR = {
                AND = {
                    tier = COUNT
                    any_realm_character = {
                        count = 2
                        liege = { character = ROOT }
                        has_minor_title = title_commander
                    }
                }
                AND = {
                    tier = DUKE
                    any_realm_character = {
                        count = 4
                        liege = { character = ROOT }
                        has_minor_title = title_commander
                    }
                }
                AND = {
                    tier = KING
                    is_nomadic = no
                    any_realm_character = {
                        count = 6
                        liege = { character = ROOT }
                        has_minor_title = title_commander
                    }
                }
                AND = {
                    tier = EMPEROR
                    is_nomadic = no
                    any_realm_character = {
                        count = 8
                        liege = { character = ROOT }
                        has_minor_title = title_commander
                    }
                }
                AND = {
                    tier = KING
                    is_nomadic = yes
                    any_realm_character = {
                        count = 2
                        liege = { character = ROOT }
                        has_minor_title = title_commander
                    }
                }
                AND = {
                    tier = EMPEROR
                    is_nomadic = yes
                    any_realm_character = {
                        count = 4
                        liege = { character = ROOT }
                        has_minor_title = title_commander
                    }
                }
            }
        }
        
        random_realm_character = {
            limit = {
                NOT = {
                    higher_tier_than = BARON
                }
                liege = { character = ROOT }
                has_minor_title = title_commander
                NOT = {
                    martial = 12
                }
            }
            remove_title = title_commander
            opinion = {
                modifier = insulted
                who = ROOT
                years = 2
            }
        }
        
        event_target:invited_character = {
            give_minor_title = title_commander
            opinion = {
                modifier = opinion_loyal_servant
                who = ROOT
                years = 100
            }
        }
    }

    option = {
        name = EVTOPTA_NE_1
        
        trigger = {
            event_target:invited_character = { has_character_flag = invited_soldier }
            OR = {
                AND = {
                    tier = COUNT
                    NOT = {
                        any_realm_character = {
                            count = 2
                            liege = { character = ROOT }
                            has_minor_title = title_commander
                        }
                    }
                }
                AND = {
                    tier = DUKE
                    NOT = {
                        any_realm_character = {
                            count = 4
                            liege = { character = ROOT }
                            has_minor_title = title_commander
                        }
                    }
                }
                AND = {
                    tier = KING
                    is_nomadic = no
                    NOT = {
                        any_realm_character = {
                            count = 6
                            liege = { character = ROOT }
                            has_minor_title = title_commander
                        }
                    }
                }
                AND = {
                    tier = EMPEROR
                    is_nomadic = no
                    NOT = {
                        any_realm_character = {
                            count = 8
                            liege = { character = ROOT }
                            has_minor_title = title_commander
                        }
                    }
                }
                AND = {
                    tier = KING
                    is_nomadic = yes
                    NOT = {
                        any_realm_character = {
                            count = 2
                            liege = { character = ROOT }
                            has_minor_title = title_commander
                        }
                    }
                }
                AND = {
                    tier = EMPEROR
                    is_nomadic = yes
                    NOT = {
                        any_realm_character = {
                            count = 4
                            liege = { character = ROOT }
                            has_minor_title = title_commander
                        }
                    }
                }
            }
        }
        
        event_target:invited_character = {
            give_minor_title = title_commander
            opinion = {
                modifier = opinion_loyal_servant
                who = ROOT
                years = 100
            }
        }
    }
    
    option = {
        name = FANTASTIC
        event_target:invited_character = {
            opinion = {
                modifier = opinion_loyal_servant
                who = ROOT
                years = 100
            }
        }
    }
    
    option = {
        name = EVTOPTB_HF_100
        
        hidden_tooltip = {
            event_target:invited_character = { 
                death = {
                    death_reason = death_missing
                }
            }
        }
    }
}

character_event = { # Sympathy for founder group
    id = HF.110
    desc = HF_110_DESC
    picture = GFX_placeholder
    border = GFX_event_normal_frame_religion

    is_triggered_only = yes
    
    only_playable = yes
    only_capable = yes
    prisoner = no
    min_age = 16
    
    trigger = {
        has_any_sympathy_trait_trigger = no
        NOT = { trait = zealous }
        NOT = {
            has_character_flag = no_sympathy_bloodline
        }
        any_owned_bloodline = {
            founder = {
                NOT = {
                    character = ROOT
                }
                is_alive = no
                NOT = { religion_group = ROOT }
            }
        }
    }
    
    immediate = {
        random_owned_bloodline = {
            limit ={
                founder = {
                    NOT = {
                        character = ROOT
                    }
                    is_alive = no
                    NOT = { religion_group = ROOT }
                }
            }
            founder = {
                save_event_target_as = target_bloodline_founder
            }
        }
    }
    
    option = {
        name = EVTOPTC_HF_110
        tooltip_info = lunatic
        
        trigger = {
            trait = lunatic
            NOT = {
                trait = zealous
            }
        }
        
        piety = -250
        religion = event_target:target_bloodline_founder
        add_trait = zealous
        set_character_flag = ai_flag_refuse_conversion
        
        ai_chance = {
            factor = 5
        }
    }
    
    option = {
        name = EVTOPTA_HF_110
        event_target:target_bloodline_founder = {
            if = {
                limit = { religion_group = westerosi_religion }
                ROOT = { add_trait = sympathy_westerosi }
            }
            if = {
                limit = { religion_group = drowned_god_group }
                ROOT = { add_trait = sympathy_drowned_god }
            }    
            if = {
                limit = { religion_group = essos_group }
                ROOT = { add_trait = sympathy_essos_group }
            }
            if = {
                limit = { religion_group = ghiscar_rel }
                ROOT = { add_trait = sympathy_ghiscar_rel }
            }
            if = {
                limit = { religion_group = valyrian_rel_group }
                ROOT = { add_trait = sympathy_valyrian_rel_group }
            }
            if = {
                limit = { religion_group = wildling_religion }
                ROOT = { add_trait = sympathy_wildling_religion }
            }
            if = {
                limit = { religion_group = sarnor_rel }
                ROOT = { add_trait = sympathy_sarnor_rel }
            }
            if = {
                limit = { religion_group = qarth_rel }
                ROOT = { add_trait = sympathy_qarth_rel }
            }
            if = {
                limit = { religion_group = far_east_group }
                ROOT = { add_trait = sympathy_far_east_group }
            }
            if = {
                limit = { religion_group = ibben_rel }
                ROOT = { add_trait = sympathy_ibben_rel }
            }
            if = {
                limit = { religion_group = dothraki_rel_group }
                ROOT = { add_trait = sympathy_dothraki_rel_group }
            }
            if = {
                limit = { religion_group = jogos_rel_group }
                ROOT = { add_trait = sympathy_jogos_rel_group }
            }
            if = {
                limit = { religion_group = lhazar_rel_group }
                ROOT = { add_trait = sympathy_lhazar_rel_group }
            }
            if = {
                limit = { religion_group = summer_rel_group }
                ROOT = { add_trait = sympathy_summer_rel_group }
            }
            if = {
                limit = { religion_group = sothoryos_rel_group }
                ROOT = { add_trait = sympathy_sothoryos_rel_group }
            }
            if = {
                limit = { religion_group = pirate_group }
                ROOT = { add_trait = sympathy_pirate_group }
            }
            if = {
                limit = { religion_group = pagan_group }
                ROOT = { add_trait = sympathy_pagans }
            }
        }
        ai_chance = {
            factor = 45
            modifier = {
                factor = 5
                trait = cynical
            }
        }
    }
    
    option = {
        name = EVTOPTB_HF_110
        set_character_flag = no_sympathy_bloodline
        piety = 5
        
        ai_chance = {
            factor = 50
        }
    }
}
character_event = { # Chance of gaining a personality trait of Founder
    id = HF.120
    desc = HF_120_DESC
    picture = GFX_placeholder
    border = GFX_event_normal_frame_religion

    is_triggered_only = yes
    
    only_playable = yes
    only_capable = yes
    prisoner = no
    min_age = 16
    
    trigger = {
        NOT = {
            has_character_flag = had_bloodline_personality_event
        }
        NOT = { personality_traits = 6 }
        any_owned_bloodline = {
            founder = {
                NOT = {
                    character = ROOT
                }
                is_alive = no
                ROOT = {
                    can_copy_personality_trait_from = PREV
                }
            }
        }
    }
    
    immediate = {
        set_character_flag = had_bloodline_personality_event
        random_owned_bloodline = {
            limit ={
                founder = {
                    NOT = {
                        character = ROOT
                    }
                    is_alive = no
                    ROOT = {
                        can_copy_personality_trait_from = PREV
                    }
                }
            }
            founder = {
                save_event_target_as = target_bloodline_founder
            }
        }
    }
    
    option = {
        name = EVTOPTC_HF_120
        tooltip_info = lunatic
        trigger = {
            trait = lunatic
            NOT = {
                trait = cannibal_trait
            }
            event_target:target_bloodline_founder = {
                trait = cannibal_trait
            }
        }
        add_trait = cannibal_trait
    }
    
    option = {
        name = EVTOPTC_HF_120
        tooltip_info = possessed
        trigger = {
            trait = possessed
            NOR = {
                trait = cannibal_trait
                trait = lunatic
            }
            event_target:target_bloodline_founder = {
                trait = cannibal_trait
            }
        }
    }
    
    option = {
        name = EVTOPTA_HF_120
        
        copy_random_personality_trait = event_target:target_bloodline_founder
        add_character_modifier = {
            name = emulating_legend
            years = 5
        }
    }
    
    option = {
        name = EVTOPTB_HF_120
    }
}

# #Triggered by Cruel-torture event for Greek Sicilian King: Phalaris Bloodline (only gained by event).
# narrative_event = {
    # id = HF.24000
    # title = EVTTITLEHF24000
    # desc = EVTDESCHF24000
    # picture = GFX_evt_beheading
    # border = GFX_event_narrative_frame_intrigue
    # show_from_from = yes
    
    # is_triggered_only = yes

    # trigger = { 
        # has_dlc = "Holy Fury" 
        # NOT = { has_global_flag = flag_phalaris_bloodline }
        # NOT = { has_dynasty_flag = flag_phalaris_event }
        # is_female = no
    # }

    # immediate = { set_dynasty_flag = flag_phalaris_event } #If Character says no first time, event never fires again for his dynasty.
    
    # option = { #Gain Phalaris bloodline.
        # name = EVTOPTAHF24000
        # custom_tooltip = { text = tooltip_restore_brazen_bull }
        # if = { 
            # limit = { has_nickname = no }
            # give_nickname = nick_the_tyrant
        # }
        # if = { 
            # limit = { is_female = no }
            # create_bloodline = {
                # type = phalaris_male
            # }
            # new_bloodline = {
                # set_description = "bloodline_desc_phalaris"
            # }        
        # }
    # #    if = { 
    # #        limit = { is_female = yes }
    # #        create_bloodline = {
    # #            type = phalaris_female
    # #        }
    # #        new_bloodline = {
    # #            set_description = "bloodline_desc_phalaris"
    # #        }
    # #    } 
        # hidden_tooltip = { 
            # if = { 
                # limit = { has_character_modifier = brazen_bull }
                # remove_character_modifier = brazen_bull #Negative opinion is now part of the bloodline itself.        
            # }
            # any_player = { 
                # limit = { 
                    # is_within_diplo_range = ROOT 
                    # NOT = { character = ROOT }
                # }    
            # narrative_event = { id = HF.24006 }    
            # }
        # }
        # set_global_flag = flag_phalaris_bloodline
        # ai_chance = { 
            # factor = 90
            # modifier = { 
                # factor = 1.5
                # trait = lunatic
            # }
        # }
    # }
    # option = { #Nothing.
        # name = EVTOPTBHF24000
        # tiered_prestige_negative_effect = yes
        # if = { 
            # limit = { has_character_modifier = brazen_bull }
            # remove_character_modifier = brazen_bull
        # }
        # ai_chance = { 
            # factor = 10
            # modifier = { 
                # factor = 1.5
                # trait = charitable
            # }
            # modifier = { 
                # factor = 1.5
                # trait = humble
            # }
        # }
    # }
# }

# Killed by brazen bull - First time.
character_event = {
    id = HF.24001
    desc = EVTDESCHF24001
    picture = GFX_evt_beheading
    border = GFX_event_normal_frame_intrigue
    
    is_triggered_only = yes
    
    option = {
        name = EVTOPTAHF24001
        hidden_tooltip = {
            FROM = { character_event = { id = HF.24002 } }
        }
        death = {
            death_reason = death_execution_brazen_bull
            killer = FROM
        }
    }
}

# Host notified of death by brazen bull - First time.
character_event = {
    id = HF.24002
    desc = {
        trigger = {
            has_character_modifier = brazen_bull
        }
        text = EVTDESCAHF24002
    }
    desc = {
        trigger = {
            NOT = {
                has_character_modifier = brazen_bull
            }
        }
        text = EVTDESCBHF24002
    }
    picture = GFX_evt_beheading
    border = GFX_event_normal_frame_intrigue
    
    is_triggered_only = yes
    
    option = {
        name = EVTOPTAHF24002
        # hidden_tooltip = {
            # narrative_event = { id = HF.24000 days = 30 random = 80 } #Apply bloodline after rumors spread.
        # }
        #tiered_piety_negative_effect = yes
    }
}

# Killed by brazen bull - From Targetted decision. - First time.
character_event = {
    id = HF.24003
    desc = EVTDESCHF24003
    picture = GFX_evt_beheading
    border = GFX_event_normal_frame_intrigue
    
    is_triggered_only = yes
    
    option = {
        name = EVTOPTAHF24003
        death = {
            death_reason = death_execution_brazen_bull
            killer = FROMFROM
        }
    }
}
# Host notified of death by brazen bull (generic executions)
character_event = {
    id = HF.24004
    desc = EVTDESCHF24004
    picture = GFX_evt_beheading
    border = GFX_event_normal_frame_intrigue
    
    is_triggered_only = yes
    
    option = {
        name = EVTOPTAHF24004
    }
}

# Killed by brazen bull (generic executions)
character_event = {
    id = HF.24005
    desc = EVTDESCHF24005
    picture = GFX_evt_beheading
    border = GFX_event_normal_frame_intrigue
    
    is_triggered_only = yes
    
    option = {
        name = EVTOPTAHF24005
        death = {
            death_reason = death_execution_brazen_bull
            killer = FROMFROM
        }
    }
}

#Notification for players of the new Tyrant of Sicily.
narrative_event = {
    id = HF.24006
    title = EVTTITLEHF24000
    desc = EVTDESCHF24006
    picture = GFX_evt_beheading
    border = GFX_event_narrative_frame_intrigue
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury" 
    }
    option = {
        name = EVTOPTAHF24006
    }
}

#On_war_started: Corsair ships arrive for war.
character_event = {
    id = HF.24013
    hide_window = yes
    
    is_triggered_only = yes

    war = yes

    trigger = { 
        has_dlc = "Holy Fury" 
        OR = {
            FROM = {
                age = 16
                NOT = { trait = incapable }
                any_owned_bloodline = {
                    has_bloodline_flag = bloodline_spawned_ships 
                }
                any_realm_province = {
                    port = yes 
                }
            }
            ROOT = {
                age = 16
                NOT = { trait = incapable }
                any_owned_bloodline = {
                    has_bloodline_flag = bloodline_spawned_ships 
                }
                any_realm_province = {
                    port = yes 
                }
            }
        }
    }
    
    immediate = {
        if = {
            limit = {
                FROM = {
                    age = 16
                    NOT = { trait = incapable }
                    any_owned_bloodline = {
                        has_bloodline_flag = bloodline_spawned_ships 
                    }
                    any_realm_province = {
                        port = yes 
                    }
                }
            }
            FROM = { 
                random_list = { 
                    25 = {
                        modifier = {
                            factor = 1.5
                            trait = brave
                        }
                        modifier = {
                            factor = 1.25
                            trait = viking
                        }
                        modifier = {
                            factor = 1.5
                            trait = ravager
                        }
                        modifier = {
                            factor = 1.75
                            trait = seaking
                        }
                        modifier = {
                            factor = 1.75
                            trait = sea_queen
                        }
                        character_event = { id = HF.24014 days = 25 random = 40 }    
                    } 
                    50 = {
                        character_event = { id = HF.24015 days = 25 random = 40 }    
                    } 
                    25 = {
                        modifier = {
                            factor = 1.5
                            trait = craven
                        }
                        modifier = {
                            factor = 0.75
                            martial = 10
                        }
                        modifier = {
                            factor = 0.75
                            martial = 14
                        }
                        modifier = {
                            factor = 0.75
                            martial = 18
                        }
                        modifier = {
                            factor = 0.75
                            prestige = 500
                        }
                        modifier = {
                            factor = 0.75
                            prestige = 1000
                        }
                        modifier = {
                            factor = 0.75
                            prestige = 2000
                        }
                        character_event = { id = HF.24016 days = 25 random = 40 }    
                    }
                }
            }    
        }
        if = {
            limit = {
                ROOT = {
                    age = 16
                    NOT = { trait = incapable }
                    any_owned_bloodline = {
                        has_bloodline_flag = bloodline_spawned_ships 
                    }
                    any_realm_province = {
                        port = yes 
                    }
                }
            }
            ROOT = { 
                random_list = { 
                    15 = {
                        modifier = {
                            factor = 1.5
                            trait = brave
                        }
                        modifier = {
                            factor = 1.25
                            trait = viking
                        }
                        modifier = {
                            factor = 1.5
                            trait = ravager
                        }
                        modifier = {
                            factor = 1.75
                            trait = seaking
                        }
                        modifier = {
                            factor = 1.75
                            trait = sea_queen
                        }
                        character_event = { id = HF.24014 days = 25 random = 40 }    
                    } 
                    60 = {
                        character_event = { id = HF.24015 days = 25 random = 40 }    
                    } 
                    25 = {
                        modifier = {
                            factor = 1.5
                            trait = craven
                        }
                        modifier = {
                            factor = 0.75
                            martial = 10
                        }
                        modifier = {
                            factor = 0.75
                            martial = 14
                        }
                        modifier = {
                            factor = 0.75
                            martial = 18
                        }
                        modifier = {
                            factor = 0.75
                            prestige = 500
                        }
                        modifier = {
                            factor = 0.75
                            prestige = 1000
                        }
                        modifier = {
                            factor = 0.75
                            prestige = 2000
                        }
                        character_event = { id = HF.24016 days = 25 random = 40 }    
                    }
                }
            }    
        }
    }
}

#Lots of ships arrive.
character_event = {
    id = HF.24014
    desc = {
        trigger = {
            any_owned_bloodline = {
                has_bloodline_flag = bloodline_spawned_ships
                founder = { character = ROOT }
            }
        }
        text = EVTDESCHFA24014
    }
    desc = {
        trigger = {
            any_owned_bloodline = {
                has_bloodline_flag = bloodline_spawned_ships
                founder = { NOT = { character = ROOT } }
            }
        }
        text = EVTDESCHFB24014
    }
    picture = GFX_evt_norse_tempest
    border = GFX_event_normal_frame_war
    
    is_triggered_only = yes
    
    immediate = {
            any_owned_bloodline = {
                limit = { has_bloodline_flag = bloodline_spawned_ships }
                founder = { 
                    save_event_target_as = pirate_bloodline_target    #Localization use only.
                }
            }
    }
    option = {
        name = EVTOPTAHF24014
        spawn_fleet = {
            province = closest # closest sea zone
            owner = ROOT
            disband_on_peace = yes
            troops = {
                galleys = { 100 100 }
            }
            earmark = pirate_conscripts
        }
    }
}
#A few ships arrive.
character_event = {
    id = HF.24015
    desc = {
        trigger = {
            any_owned_bloodline = {
                has_bloodline_flag = bloodline_spawned_ships
                founder = { character = ROOT }
            }
        }
        text = EVTDESCHFA24015
    }
    desc = {
        trigger = {
            any_owned_bloodline = {
                has_bloodline_flag = bloodline_spawned_ships
                founder = { NOT = { character = ROOT } }
            }
        }
        text = EVTDESCHFB24015
    }
    picture = GFX_evt_longships_at_sea_oldgods
    border = GFX_event_normal_frame_war
    
    is_triggered_only = yes
    
    immediate = {
            any_owned_bloodline = {
                limit = { has_bloodline_flag = bloodline_spawned_ships }
                founder = { 
                    save_event_target_as = pirate_bloodline_target    #Localization use only.
                }
            }
    }
    option = {
        name = EVTOPTAHF24015
        spawn_fleet = {
            province = closest # closest sea zone
            owner = ROOT
            disband_on_peace = yes
            troops = {
                galleys = { 50 50 }
            }
            earmark = pirate_conscripts
        }
    }
}
#Very few ships arrive.
character_event = {
    id = HF.24016
    desc = {
        trigger = {
            any_owned_bloodline = {
                has_bloodline_flag = bloodline_spawned_ships
                founder = { character = ROOT }
            }
        }
        text = EVTDESCHFA24016
    }
    desc = {
        trigger = {
            any_owned_bloodline = {
                has_bloodline_flag = bloodline_spawned_ships
                founder = { NOT = { character = ROOT } }
            }
        }
        text = EVTDESCHFB24016
    }
    picture = GFX_evt_longships_at_sea_oldgods
    border = GFX_event_normal_frame_war
    
    is_triggered_only = yes
    
    immediate = {
            any_owned_bloodline = {
                limit = { has_bloodline_flag = bloodline_spawned_ships }
                founder = { 
                    save_event_target_as = pirate_bloodline_target    #Localization use only.
                }
            }
    }
    option = {
        name = EVTOPTAHF24016
        spawn_fleet = {
            province = closest # closest sea zone
            owner = ROOT
            disband_on_peace = yes
            troops = {
                galleys = { 10 10 }
            }
            earmark = pirate_conscripts
        }
    }
}

##################################################################
##################################################################
# Forge Bloodline Ambition events

#Hidden checks and counters first:

#On_death: check for murders.
character_event = {
    id = HF.24017
    hide_window = yes
    trigger = { 
        has_dlc = "Holy Fury"
        OR = { 
            death_murder_unknown_trigger = yes
            death_murder_known_trigger = yes
            death_execution_trigger = yes
        }
        killer = { #Not necessary to have the ambition to stack up the variable, but necessary to unlock the bloodline.
            is_playable = yes
            is_landed = yes
            NOT = { trait = incapable }
            NOT = { 
                has_character_flag = flag_about_to_murder_bloodline
            }
        }
    }
    
    is_triggered_only = yes

    immediate = { 
        killer = { 
            murder_bloodline_check_effect = yes
        }
    }
}

#on_war_ended_victory: check for war variable.
# From = Attacker, Root = Defender
character_event = {
    id = HF.24018
    hide_window = yes
    trigger = { 
        has_dlc = "Holy Fury"
        FROM = { 
            NOR = {
                trait = heresiarch
                trait = peasant_leader
                trait = adventurer
                has_character_flag = flag_about_to_war_bloodline
            }
        }
        ROOT = { 
            NOR = {
                trait = heresiarch
                trait = peasant_leader
                trait = adventurer
            }
        }
    }
    
    is_triggered_only = yes

    immediate = { 
        FROM = { 
            hidden_tooltip = { change_variable = { which = bloodline_won_wars value = 1 } }
            if = { #Pure War Bloodline.
                limit = { 
                    check_variable = { which = bloodline_won_wars value = 15 } 
                    has_ambition = obj_forge_bloodline
                }
                set_character_flag = flag_about_to_war_bloodline
                character_event = { id = HF.24031 days = 25 random = 25 }
            }
            else_if = { # Murder War Hybrid.
                limit = { 
                    check_variable = { which = bloodline_murdered_people value = 20 } 
                    check_variable = { which = bloodline_won_wars value = 10 }
                    has_ambition = obj_forge_bloodline
                }
                set_character_flag = flag_about_to_war_bloodline
                narrative_event = { id = HF.24045 days = 25 random = 25 }
            }
        }
    }
}

#on_war_ended_defeat: check for war variable.
# From = Attacker, Root = Defender
character_event = {
    id = HF.24019
    hide_window = yes
    trigger = { 
        has_dlc = "Holy Fury"
        FROM = { 
            NOR = {
                trait = heresiarch
                trait = peasant_leader
                trait = adventurer
            }
        }
        ROOT = { 
            NOR = {
                trait = heresiarch
                trait = peasant_leader
                trait = adventurer
                has_character_flag = flag_about_to_war_bloodline
            }
        }
    }
    
    is_triggered_only = yes

    immediate = { 
        ROOT = { 
            hidden_tooltip = { change_variable = { which = bloodline_won_wars value = 1 } }
            if = { #Pure War Bloodline.
                limit = { 
                    check_variable = { which = bloodline_won_wars value = 15 } 
                    has_ambition = obj_forge_bloodline
                }
                set_character_flag = flag_about_to_war_bloodline
                character_event = { id = HF.24031 days = 25 random = 25 }
            }
            else_if = { # Murder War Hybrid.
                limit = { 
                    check_variable = { which = bloodline_murdered_people value = 20 } 
                    check_variable = { which = bloodline_won_wars value = 10 }
                    has_ambition = obj_forge_bloodline
                }
                set_character_flag = flag_about_to_war_bloodline
                narrative_event = { id = HF.24045 days = 25 random = 25 }
            }
        }
    }
}

#Fired from ambition: check years at peace.
character_event = {
    id = HF.24020
    hide_window = yes
    has_dlc = "Holy Fury"
    trigger = {     
        has_ambition = obj_forge_bloodline
        NOT = { check_variable = { which = bloodline_peaceful_years value = 30 } }
    }
    
    is_triggered_only = yes

    immediate = { 
        hidden_tooltip = { change_variable = { which = bloodline_peaceful_years value = 1 } }
        if = { #Pure Peace Bloodline.
            limit = { 
                check_variable = { which = bloodline_peaceful_years value = 30 } 
                has_ambition = obj_forge_bloodline
            }
            character_event = { id = HF.24037 days = 25 random = 25 }
        }
        else_if = { #Murder Peace Hybrid.
            limit = { 
                check_variable = { which = bloodline_peaceful_years value = 15 } 
                check_variable = { which = bloodline_murdered_people value = 20 } 
                has_ambition = obj_forge_bloodline
            }
            narrative_event = { id = HF.24046 days = 25 random = 25 }
        }
        else_if = { #Peace Architect Hybrid.
            limit = { 
                check_variable = { which = bloodline_peaceful_years value = 15 } 
                check_variable = { which = bloodline_built_cities value = 5 } 
                has_ambition = obj_forge_bloodline
            }
            narrative_event = { id = HF.24049 days = 25 random = 25 }
        }
        else_if = { #Peace Castellan Hybrid.
            limit = { 
                check_variable = { which = bloodline_peaceful_years value = 15 } 
                check_variable = { which = bloodline_built_castles value = 5 } 
                has_ambition = obj_forge_bloodline
            }
            narrative_event = { id = HF.24050 days = 25 random = 25 }
        }
        else_if = { #Peace Monumental Hybrid.
            limit = { 
                check_variable = { which = bloodline_peaceful_years value = 15 } 
                check_variable = { which = bloodline_built_temples value = 5 } 
                has_ambition = obj_forge_bloodline
            }
            narrative_event = { id = HF.24051 days = 25 random = 25 }
        }
        else = { # Fire again, with yearly delay.
            character_event = { id = HF.24020 days = 365 }
        }
    }
}

#on_war_started: reset peaceful_years variable.
character_event = {
    id = HF.24021
    hide_window = yes
    trigger = { 
        has_dlc = "Holy Fury"
        has_ambition = obj_forge_bloodline
    }
    
    is_triggered_only = yes

    immediate = { 
        if = { 
            limit = { 
                ROOT = { check_variable = { which = bloodline_peaceful_years value = 1 } }     
            }
            ROOT = { set_variable = { which = bloodline_peaceful_years value = 0 } }
        }
        if = { 
            limit = { 
                FROM = { check_variable = { which = bloodline_peaceful_years value = 1 } }     
            }
            FROM = { set_variable = { which = bloodline_peaceful_years value = 0 } }
        }
    }
}

#on_settlement_construction_completed: check the Architect Bloodline.
character_event = {
    id = HF.24022
    hide_window = yes
    trigger = { 
        has_dlc = "Holy Fury"
        FROM = { holding_type = CITY }
        NOT = {
            has_character_flag = flag_about_to_builder_bloodline
        }
    }
    
    is_triggered_only = yes

    immediate = { 
        change_variable = { which = bloodline_built_cities value = 1 }
        change_variable = { which = bloodline_built_holdings value = 1 }
        if = { #First check for pure Architect Bloodline.
            limit = {
                check_variable = { which = bloodline_built_cities value = 10 }
                has_ambition = obj_forge_bloodline
            }
            set_character_flag = flag_about_to_builder_bloodline
            narrative_event = { id = HF.24042 days = 25 random = 25 } 
        }
        else_if = { # Then check for Builder Hybrid.
            limit = {
                check_variable = { which = bloodline_built_holdings value = 24 }
                has_ambition = obj_forge_bloodline
            }
            set_character_flag = flag_about_to_builder_bloodline
            narrative_event = { id = HF.24047 days = 25 random = 25 } 
        }
        else_if = { #Then check for Murder Builder Hybrid.
            limit = {
                killer = { 
                    check_variable = { which = bloodline_murdered_people value = 20 } 
                    check_variable = { which = bloodline_built_holdings value = 15 } 
                    has_ambition = obj_forge_bloodline
                }
            }
            set_character_flag = flag_about_to_builder_bloodline
            narrative_event = { id = HF.24048 days = 25 random = 25 }
        }
        else_if = { #Peace Architect Hybrid.
            limit = { 
                check_variable = { which = bloodline_peaceful_years value = 15 } 
                check_variable = { which = bloodline_built_cities value = 5 } 
                has_ambition = obj_forge_bloodline
            }
            set_character_flag = flag_about_to_builder_bloodline
            narrative_event = { id = HF.24049 days = 25 random = 25 }
        }
    }
}

#on_settlement_construction_completed: check the Castellan Bloodline.
character_event = {
    id = HF.24023
    hide_window = yes
    trigger = { 
        has_dlc = "Holy Fury"
        FROM = { holding_type = CASTLE }
        NOT = {
            has_character_flag = flag_about_to_builder_bloodline
        }
    }
    
    is_triggered_only = yes

    immediate = { 
        change_variable = { which = bloodline_built_castles value = 1 }
        change_variable = { which = bloodline_built_holdings value = 1 }
        if = { #First check for pure Castellan Bloodline.
            limit = {
                check_variable = { which = bloodline_built_castles value = 10 }
                has_ambition = obj_forge_bloodline
            }
            set_character_flag = flag_about_to_builder_bloodline
            narrative_event = { id = HF.24043 days = 25 random = 25 } 
        }
        else_if = { # Then check for Builder Hybrid.
            limit = {
                check_variable = { which = bloodline_built_holdings value = 24 }
                has_ambition = obj_forge_bloodline
            }
            set_character_flag = flag_about_to_builder_bloodline
            narrative_event = { id = HF.24047 days = 25 random = 25 } 
        }
        else_if = { #Then check for Murder Builder Hybrid.
            limit = {
                killer = { 
                    check_variable = { which = bloodline_murdered_people value = 20 } 
                    check_variable = { which = bloodline_built_holdings value = 15 } 
                    has_ambition = obj_forge_bloodline
                }
            }
            set_character_flag = flag_about_to_builder_bloodline
            narrative_event = { id = HF.24048 days = 25 random = 25 }
        }
        else_if = { #Peace Castellan Hybrid.
            limit = { 
                check_variable = { which = bloodline_peaceful_years value = 15 } 
                check_variable = { which = bloodline_built_castles value = 5 } 
                has_ambition = obj_forge_bloodline
            }
            set_character_flag = flag_about_to_builder_bloodline
            narrative_event = { id = HF.24050 days = 25 random = 25 }
        }
    }
}

#on_settlement_construction_completed: check the Monumental Bloodline.
character_event = {
    id = HF.24024
    hide_window = yes
    trigger = { 
        has_dlc = "Holy Fury"
        FROM = { holding_type = TEMPLE }
        NOT = {
            has_character_flag = flag_about_to_builder_bloodline
        }
    }
    
    is_triggered_only = yes

    immediate = { 
        change_variable = { which = bloodline_built_temples value = 1 }
        change_variable = { which = bloodline_built_holdings value = 1 }
        if = { #First check for pure Monumental Bloodline.
            limit = {
                check_variable = { which = bloodline_built_temples value = 10 }
                has_ambition = obj_forge_bloodline
            }
            set_character_flag = flag_about_to_builder_bloodline
            narrative_event = { id = HF.24044 days = 25 random = 25 } 
        }
        else_if = { # Then check for Builder Hybrid.
            limit = {
                check_variable = { which = bloodline_built_holdings value = 24 }
                has_ambition = obj_forge_bloodline
            }
            set_character_flag = flag_about_to_builder_bloodline
            narrative_event = { id = HF.24047 days = 25 random = 25 } 
        }
        else_if = { #Then check for Murder Builder Hybrid.
            limit = {
                killer = { 
                    check_variable = { which = bloodline_murdered_people value = 20 } 
                    check_variable = { which = bloodline_built_holdings value = 15 } 
                    has_ambition = obj_forge_bloodline
                }
            }
            set_character_flag = flag_about_to_builder_bloodline
            narrative_event = { id = HF.24048 days = 25 random = 25 }
        }
        else_if = { #Peace Monumental Hybrid.
            limit = { 
                check_variable = { which = bloodline_peaceful_years value = 15 } 
                check_variable = { which = bloodline_built_temples value = 5 } 
                has_ambition = obj_forge_bloodline
            }
            set_character_flag = flag_about_to_builder_bloodline
            narrative_event = { id = HF.24051 days = 25 random = 25 }
        }
    }
}

#Bloodline notification events for chosen path:

#Pure Murder Bloodline crossroad.
character_event = {
    id = HF.24025
    hide_window = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    is_triggered_only = yes

    immediate = { 
        if = { #First check if qualifies for Death little helper flavor.
            limit = { 
                OR = { 
                    NOT = { age = 16 }
                    AND = { 
                        has_character_flag = flag_forge_bloodline_was_child 
                        NOT = { age = 35 } #Should still be somewhat young.
                    }
                }
            }
            narrative_event = { id = HF.24026 }
        }
        else = { 
            character_event = { id = HF.24027 } #Otherwise let player decide the flavor.
        }
    }
}

#Child gains Pure Murder Bloodline.
narrative_event = {
    id = HF.24026
    title = EVTTITLEHF24026
    desc = { 
        trigger = { 
            age = 25
        } 
        text = EVTDESCHFA24026
    }
    desc = { 
        trigger = { 
            NOT = { age = 25 } 
        } 
        text = EVTDESCHFB24026
    }
    picture = GFX_evt_child_reading
    border = GFX_event_narrative_frame_intrigue
    sound = bloodline_added
    hide_from = yes
    show_from_from = no
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { #Gain Murder bloodline.
        name = EVTOPTAHF24026
        if = { 
            limit = { NOT = { trait = cruel } } 
            add_trait = cruel
        }
        hidden_tooltip = { 
            if = { 
                limit = { this_has_super_cool_nickname_trigger = no }
                random_list = { 
                    10 = { 
                        give_nickname = nick_the_deaths_child 
                    } 
                    10 = { 
                        give_nickname = nick_the_snakeling 
                    } 
                    10 = { 
                        give_nickname = nick_the_little_spider 
                    } 
                    10 = { 
                        give_nickname = nick_the_eerie 
                    } 
                    10 = { 
                        give_nickname = nick_the_little_nightmare 
                    }
                }
            }
        }
        if = { 
            limit = { is_female = no }
            create_bloodline = {
                type = pure_murder_bloodline_01
            }        
        }
        if = { 
            limit = { is_female = yes }
            create_bloodline = {
                type = pure_murder_bloodline_01
                inheritance = matrilineal
            }        
        }
        ai_chance = { 
            factor = 100
        }
    }
}

#Adult crossroad for pure Murder Bloodline.
character_event = {
    id = HF.24027
    desc = EVTDESCAHF24027
    picture = GFX_evt_whispers
    border = GFX_event_normal_frame_intrigue
    
    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }

    is_triggered_only = yes
    
    # Lunatic Dragon-King Bloodline.
    # Prop up embalmed corpses in Macabre Feast.
    # Hide everything.
    # Entrap next victim.

    option = {
        name = EVTOPTZHF24027
        custom_tooltip = { text = TT_EVTOPTZHF24027 }
        trigger = {  
            OR = {
                trait = lunatic
                trait = possessed
                trait = cannibal_trait
            }
            trait = cruel
        }
        if = { 
            limit = { NOT = { trait = cannibal_trait } } 
            add_trait = cannibal_trait
        }
        if = { 
            limit = { 
                this_has_super_cool_nickname_trigger = no 
                is_female = no
            }
            ROOT = { give_nickname = nick_the_dragon }
        }
        if = { 
            limit = { 
                this_has_super_cool_nickname_trigger = no 
                is_female = yes
            }
            ROOT = { give_nickname = nick_the_dragoness }
        }
        tooltip = { #Show bloodline effects
            create_bloodline = {
                type = pure_murder_bloodline_05
            }        
        }
        hidden_tooltip = { narrative_event = { id = HF.24231 } }
        ai_chance = { 
            factor = 20
        }
    }
    option = {
        name = EVTOPTAHF24027
        custom_tooltip = { text = TT_EVTOPTAHF24027 }
        if = { 
            limit = { NOT = { trait = cruel } } 
            add_trait = cruel
        }
        if = { 
            limit = { NOT = { trait = lunatic } } 
            random = { 
                chance = 5 
                add_trait = lunatic
            }
        }
        if = { 
            limit = { 
                this_has_super_cool_nickname_trigger = no 
                culture_group = latin
            }
            ROOT = { give_nickname = nick_the_ferrante }
        }
        if = { 
            limit = { 
                this_has_super_cool_nickname_trigger = no 
                NOT = { culture_group = latin }
            }
            ROOT = { give_nickname = nick_the_iron_heart }
        }
        tooltip = { #Show bloodline effects
            create_bloodline = {
                type = pure_murder_bloodline_02
            }        
        }
        hidden_tooltip = { narrative_event = { id = HF.24028 } }
        ai_chance = { 
            factor = 20
        }
    }
    option = {
        name = EVTOPTBHF24027
        custom_tooltip = { text = TT_EVTOPTBHF24027 }
        if = { 
            limit = { NOT = { trait = paranoid } } 
            add_trait = paranoid
        }
        if = { 
            limit = { 
                this_has_super_cool_nickname_trigger = no 
                is_female = no
            }
            ROOT = { give_nickname = nick_the_pale_spider }
        }
        if = { 
            limit = { 
                this_has_super_cool_nickname_trigger = no 
                is_female = yes
            }
            ROOT = { give_nickname = nick_the_grim_mistress }
        }
        tooltip = { #Show bloodline effects
            create_bloodline = {
                type = pure_murder_bloodline_03
            }        
        }
        hidden_tooltip = { narrative_event = { id = HF.24029 } }
        ai_chance = { 
            factor = 20
        }
    }
    option = {
        name = EVTOPTCHF24027
        custom_tooltip = { text = TT_EVTOPTCHF24027 }
        trigger = { 
            NOR = { 
                is_unattractive_trigger = yes
                trait = celibate
                trait = eunuch
            } 
        } 
        if = { 
            limit = { NOT = { trait = cruel } } 
            add_trait = cruel
        }
        if = { 
            limit = { 
                this_has_super_cool_nickname_trigger = no 
                is_female = no
            }
            ROOT = { give_nickname = nick_the_ripper }
        }
        if = { 
            limit = { 
                this_has_super_cool_nickname_trigger = no 
                is_female = yes
            }
            ROOT = { give_nickname = nick_the_black_widow }
        }
        tooltip = { #Show bloodline effects
            create_bloodline = {
                type = pure_murder_bloodline_04
            }        
        }
        hidden_tooltip = { narrative_event = { id = HF.24030 } }
        ai_chance = { 
            factor = 20
        }
    }
}

#Adult gains pure Murder Bloodline (Dragon Lunatic)
narrative_event = {
    id = HF.24231
    title = EVTTITLEHF24231
    desc = EVTDESCHF24231
    picture = GFX_evt_feast_hf
    border = GFX_event_narrative_frame_intrigue
    sound = bloodline_added
    hide_from = yes
    show_from_from = no
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { #Gain Murder bloodline.
        name = EVTOPTAHF24231
        if = { 
            limit = { is_female = no }
            create_bloodline = {
                type = pure_murder_bloodline_05
            }        
        }
        if = { 
            limit = { is_female = yes }
            create_bloodline = {
                type = pure_murder_bloodline_05
                inheritance = matrilineal
            }        
        }
        ai_chance = { 
            factor = 100
        }
    }
}
#Adult gains pure Murder Bloodline (Macabre Feast)
narrative_event = {
    id = HF.24028
    title = EVTTITLEHF24028
    desc = EVTDESCHF24028
    picture = GFX_evt_feast_hf
    border = GFX_event_narrative_frame_intrigue
    sound = bloodline_added
    hide_from = yes
    show_from_from = no
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { #Gain Murder bloodline.
        name = EVTOPTAHF24028
        if = { 
            limit = { is_female = no }
            create_bloodline = {
                type = pure_murder_bloodline_02
            }        
        }
        if = { 
            limit = { is_female = yes }
            create_bloodline = {
                type = pure_murder_bloodline_02
                inheritance = matrilineal
            }        
        }
        ai_chance = { 
            factor = 100
        }
    }
}

#Adult gains pure Murder Bloodline (Silent Killer)
narrative_event = {
    id = HF.24029
    title = EVTTITLEHF24029
    desc = EVTDESCHF24029
    picture = GFX_evt_meeting_hf
    border = GFX_event_narrative_frame_intrigue
    sound = bloodline_added
    hide_from = yes
    show_from_from = no
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { #Gain Murder bloodline.
        name = EVTOPTAHF24029
        if = { 
            limit = { is_female = no }
            create_bloodline = {
                type = pure_murder_bloodline_03
            }        
        }
        if = { 
            limit = { is_female = yes }
            create_bloodline = {
                type = pure_murder_bloodline_03
                inheritance = matrilineal
            }        
        }
        ai_chance = { 
            factor = 100
        }
    }
}

#Adult gains pure Murder Bloodline (Ripper)
narrative_event = {
    id = HF.24030
    title = EVTTITLEHF24030
    desc = EVTDESCHF24030
    picture = { 
        trigger = { 
            ROOT = { 
                is_female = no
            } 
        } 
        picture = GFX_evt_cornered_duel_hf
    }
    picture = { 
        trigger = { 
            ROOT = { 
                is_female = yes
            } 
        } 
        picture = GFX_evt_slit_throat_hf
    }
    border = GFX_event_narrative_frame_intrigue
    sound = bloodline_added
    hide_from = yes
    show_from_from = no
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { #Gain Murder bloodline.
        name = EVTOPTAHF24030
        if = { 
            limit = { is_female = no }
            create_bloodline = {
                type = pure_murder_bloodline_04
            }        
        }
        if = { 
            limit = { is_female = yes }
            create_bloodline = {
                type = pure_murder_bloodline_04
                inheritance = matrilineal
            }        
        }
        ai_chance = { 
            factor = 100
        }
    }
}

#Pure War Bloodline crossroad.
character_event = {
    id = HF.24031
    hide_window = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    is_triggered_only = yes

    immediate = { 
        if = { #First check if qualifies for Deaht little helper flavor.
            limit = { 
                OR = { 
                    NOT = { age = 16 }
                    AND = { 
                        has_character_flag = flag_forge_bloodline_was_child 
                        NOT = { age = 35 } #Should still be somewhat young.
                    }
                }
            }
            narrative_event = { id = HF.24032 }
        }
        else = { 
            character_event = { id = HF.24033 } #Otherwise let player decide the flavor.
        }
    }
}

#Child gains Pure War Bloodline.
narrative_event = {
    id = HF.24032
    title = EVTTITLEHF24032
    desc = EVTDESCHF24032
    # picture = { 
        # trigger = { 
            # religion_group = christian
        # } 
        # picture = GFX_evt_childrens_crusade
    # }
    picture = { 
        # trigger = { 
            # NOT = { religion_group = christian }
        # } 
        picture = GFX_evt_child_sword
    }
    border = GFX_event_narrative_frame_war
    sound = bloodline_added
    hide_from = yes
    show_from_from = no
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { #Gain War bloodline.
        name = EVTOPTAHF24032
        if = { 
            limit = { 
                NOT = { trait = brave } 
                NOT = { trait = craven }
            } 
            add_trait = brave
        }
        hidden_tooltip = { 
            if = { 
                limit = { this_has_super_cool_nickname_trigger = no }
                random_list = { 
                    10 = { 
                        give_nickname = nick_the_young_eagle 
                    } 
                    10 = { 
                        give_nickname = nick_the_green_warrior 
                    } 
                    10 = { 
                        give_nickname = nick_the_warrior_child 
                    } 
                    10 = { 
                        give_nickname = nick_the_young_conqueror 
                    }
                }
            }
        }
        if = { 
            limit = { is_female = no }
            create_bloodline = {
                type = pure_war_bloodline_01
            }        
        }
        if = { 
            limit = { is_female = yes }
            create_bloodline = {
                type = pure_war_bloodline_01
                inheritance = matrilineal
            }        
        }
        ai_chance = { 
            factor = 100
        }
    }
}

#Adult crossroad for pure War Bloodline.
character_event = {
    id = HF.24033
    desc = EVTDESCAHF24033
    picture = GFX_evt_battle
    border = GFX_event_normal_frame_war
    
    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }

    is_triggered_only = yes
    
    # Knightly speech.
    # Craving for more land and blood.
    # Discussing about tactics.

    option = {
        name = EVTOPTAHF24033
        trigger = { 
            religion = the_seven 
            is_evil_trigger = no 
            OR = {
                is_female = no
                has_religion_feature = religion_matriarchal     #AltStart
                has_religion_feature = religion_equal
                has_religion_feature = religion_feature_rhoynar_pagan
            }
        }
        custom_tooltip = { text = TT_EVTOPTAHF24033 }
        if = { 
            limit = { 
                NOT = { trait = brave } 
                NOT = { trait = craven }
                NOT = { personality_traits = 6 }
            } 
            add_trait = brave
        }
        if = { 
            limit = { 
                this_has_super_cool_nickname_trigger = no 
                is_female = no
            }
            ROOT = { give_nickname = nick_the_white_knight }
        }
        if = { 
            limit = { 
                this_has_super_cool_nickname_trigger = no 
                is_female = yes
            }
            ROOT = { give_nickname = nick_the_virago }
        }
        tooltip = { #Show bloodline effects
            create_bloodline = {
                type = pure_war_bloodline_02
            }        
        }
        hidden_tooltip = { narrative_event = { id = HF.24034 } }
        ai_chance = { 
            factor = 20
        }
    }
    option = {
        name = EVTOPTBHF24033
        custom_tooltip = { text = TT_EVTOPTBHF24033 }
        if = { 
            limit = { 
                NOT = { trait = wroth } 
                NOT = { trait = patient }
                NOT = { personality_traits = 6 }
            } 
            add_trait = wroth
        }
        if = { 
            limit = { 
                this_has_super_cool_nickname_trigger = no 
                is_female = no
            }
            ROOT = { give_nickname = nick_the_bloodhound }
        }
        if = { 
            limit = { 
                this_has_super_cool_nickname_trigger = no 
                is_female = yes
            }
            ROOT = { give_nickname = nick_the_fury }
        }
        tooltip = { #Show bloodline effects
            create_bloodline = {
                type = pure_war_bloodline_03
            }        
        }
        hidden_tooltip = { narrative_event = { id = HF.24035 } }
        ai_chance = { 
            factor = 20
        }
    }
    option = {
        name = EVTOPTCHF24033
        trigger = { 
            NOT = { is_dumb_trigger = yes } 
            learning = 8
        }
        tooltip_info = learning
        custom_tooltip = { text = TT_EVTOPTCHF24033 }
        if = { 
            limit = { 
                NOT = { trait = diligent } 
                NOT = { trait = slothful }
                NOT = { personality_traits = 6 }
            } 
            add_trait = diligent
        }
        if = { 
            limit = { 
                this_has_super_cool_nickname_trigger = no 
            }
            ROOT = { give_nickname = nick_the_warrior_philosopher }
        }
        tooltip = { #Show bloodline effects
            create_bloodline = {
                type = pure_war_bloodline_04
            }        
        }
        hidden_tooltip = { narrative_event = { id = HF.24036 } }
        ai_chance = { 
            factor = 20
        }
    }
}

#Adult gains pure War Bloodline (Perfect Knight)
narrative_event = {
    id = HF.24034
    title = EVTTITLEHF24034
    desc = EVTDESCHF24034
    picture = GFX_evt_joust
    border = GFX_event_narrative_frame_war
    sound = bloodline_added
    hide_from = yes
    show_from_from = no
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { #Gain War bloodline.
        name = EVTOPTAHF24034
        hidden_tooltip = {
        add_artifact = crown_winged_helmet
            new_artifact = {
                set_description = crown_winged_helmet_bloodline_desc_1
                set_name = crown_winged_helmet_bloodline_name_1
            }
        }
        if = { 
            limit = { is_female = no }
            create_bloodline = {
                type = pure_war_bloodline_02
            }        
        }
        if = { 
            limit = { is_female = yes }
            create_bloodline = {
                type = pure_war_bloodline_02
                inheritance = matrilineal
            }        
        }
        ai_chance = { 
            factor = 100
        }
    }
}

#Adult gains pure War Bloodline (Warlord)
narrative_event = {
    id = HF.24035
    title = EVTTITLEHF24035
    desc = EVTDESCHF24035
    picture = GFX_evt_mounted_knights_hf
    border = GFX_event_narrative_frame_war
    sound = bloodline_added
    hide_from = yes
    show_from_from = no
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { #Gain War bloodline.
        name = EVTOPTAHF24035
        if = { 
            limit = { is_female = no }
            create_bloodline = {
                type = pure_war_bloodline_03
            }        
        }
        if = { 
            limit = { is_female = yes }
            create_bloodline = {
                type = pure_war_bloodline_03
                inheritance = matrilineal
            }        
        }
        ai_chance = { 
            factor = 100
        }
    }
}

#Adult gains pure War Bloodline (Warrior Philosopher)
narrative_event = {
    id = HF.24036
    title = EVTTITLEHF24036
    desc = EVTDESCHF24036
    picture = { 
        trigger = { 
            has_dlc = "Way of Life"
        } 
        picture = GFX_evt_war_planning
    }
    picture = { 
        trigger = { 
            NOT = { has_dlc = "Way of Life" }
        } 
        picture = GFX_evt_council
    }
    border = GFX_event_narrative_frame_war
    sound = bloodline_added
    hide_from = yes
    show_from_from = no
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { #Gain War bloodline.
        name = EVTOPTAHF24036
        if = { 
            limit = { is_female = no }
            create_bloodline = {
                type = pure_war_bloodline_04
            }        
        }
        if = { 
            limit = { is_female = yes }
            create_bloodline = {
                type = pure_war_bloodline_04
                inheritance = matrilineal
            }        
        }
        ai_chance = { 
            factor = 100
        }
    }
}

#Pure Peace Bloodline crossroad.
character_event = {
    id = HF.24037
    hide_window = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    is_triggered_only = yes

    immediate = { 
        if = { #First check if qualifies for blessed child flavor.
            limit = { 
                OR = { 
                    NOT = { age = 16 }
                    AND = { 
                        has_character_flag = flag_forge_bloodline_was_child 
                        NOT = { age = 45 } #Should still be somewhat young.
                    }
                }
            }
            narrative_event = { id = HF.24038 }
        }
        else = { 
            character_event = { id = HF.24039 } #Otherwise let player decide the flavor.
        }
    }
}

#Child gains Pure Peace Bloodline.
narrative_event = {
    id = HF.24038
    title = EVTTITLEHF24038
    desc = EVTDESCHF24038
    picture = GFX_evt_child_talking
    border = GFX_event_narrative_frame_diplomacy
    sound = bloodline_added
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { #Gain Peace bloodline.
        name = EVTOPTAHF24038
        if = { 
            limit = { 
                NOT = { trait = kind } 
                NOT = { trait = cruel }
                NOT = { personality_traits = 6 }
            } 
            add_trait = kind
        }
        hidden_tooltip = { 
            if = { 
                limit = { this_has_super_cool_nickname_trigger = no }
                random_list = { 
                    # 10 = { 
                        # trigger = { religion_group = christian }
                        # give_nickname = nick_the_angel 
                    # } 
                    10 = { 
                        give_nickname = nick_the_pure 
                    } 
                    10 = { 
                        give_nickname = nick_the_celestial 
                    } 
                    10 = { 
                        give_nickname = nick_the_radiant 
                    } 
                    10 = { 
                        give_nickname = nick_the_innocent 
                    }
                }
            }
        }
        if = { 
            limit = { is_female = no }
            create_bloodline = {
                type = pure_peace_bloodline_01
            }        
        }
        if = { 
            limit = { is_female = yes }
            create_bloodline = {
                type = pure_peace_bloodline_01
                inheritance = matrilineal
            }        
        }
        ai_chance = { 
            factor = 100
        }
    }
}

#Adult crossroad for pure Peace Bloodline.
character_event = {
    id = HF.24039
    desc = EVTDESCAHF24039
    picture = GFX_evt_garden
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    # Protect realm.
    # Issue great celebrations everywhere.

    option = {
        name = EVTOPTAHF24039
        if = { 
            limit = { 
                NOT = { trait = kind } 
                NOT = { trait = cruel }
                NOT = { personality_traits = 6 }
            } 
            add_trait = kind
        }
        if = { 
            limit = { 
                this_has_super_cool_nickname_trigger = no 
            }
            ROOT = { give_nickname = nick_the_peace_maker }
        }
        tooltip = { #Show bloodline effects
            create_bloodline = {
                type = pure_peace_bloodline_02
            }        
        }
        hidden_tooltip = { narrative_event = { id = HF.24040 } }
        ai_chance = { 
            factor = 20
        }
    }
    option = {
        name = EVTOPTBHF24039
        if = { 
            limit = { 
                NOT = { trait = charitable }
                NOT = { trait = greedy }
                NOT = { personality_traits = 6 }
            } 
            add_trait = charitable
        }
        if = { 
            limit = { 
                this_has_super_cool_nickname_trigger = no 
            }
            ROOT = { give_nickname = nick_the_munificent }
        }
        tooltip = { #Show bloodline effects
            create_bloodline = {
                type = pure_peace_bloodline_03
            }        
        }
        hidden_tooltip = { narrative_event = { id = HF.24041 } }
        ai_chance = { 
            factor = 20
        }
    }
}

#Adult gains pure Peace Bloodline (Protector)
narrative_event = {
    id = HF.24040
    title = EVTTITLEHF24040
    desc = EVTDESCHF24040
    picture = GFX_evt_market_hf
    border = GFX_event_narrative_frame_diplomacy
    sound = bloodline_added
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { #Gain Peace bloodline.
        name = EVTOPTAHF24040
        if = { 
            limit = { is_female = no }
            create_bloodline = {
                type = pure_peace_bloodline_02
            }        
        }
        if = { 
            limit = { is_female = yes }
            create_bloodline = {
                type = pure_peace_bloodline_02
                inheritance = matrilineal
            }        
        }
        ai_chance = { 
            factor = 100
        }
    }
}

#Adult gains pure Peace Bloodline (Munificent)
narrative_event = {
    id = HF.24041
    title = EVTTITLEHF24041
    desc = EVTDESCHF24041
    picture = GFX_evt_jugglers
    border = GFX_event_narrative_frame_diplomacy
    sound = bloodline_added
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { #Gain Peace bloodline.
        name = EVTOPTAHF24041
        if = { 
            limit = { is_female = no }
            create_bloodline = {
                type = pure_peace_bloodline_03
            }        
        }
        if = { 
            limit = { is_female = yes }
            create_bloodline = {
                type = pure_peace_bloodline_03
                inheritance = matrilineal
            }        
        }
        ai_chance = { 
            factor = 100
        }
    }
}

#Ruler gains Pure Architect Bloodline.
narrative_event = {
    id = HF.24042
    title = EVTTITLEHF24042
    desc = EVTDESCHF24042
    picture = GFX_evt_busy_trading_dock_republic
    border = GFX_event_narrative_frame_economy
    sound = bloodline_added
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { #Gain Architect bloodline.
        name = EVTOPTAHF24042
        if = { 
            limit = { 
                this_has_super_cool_nickname_trigger = no 
            }
            ROOT = { give_nickname = nick_the_architect }
        }
        if = { 
            limit = { is_female = no }
            create_bloodline = {
                type = pure_architect_bloodline_01
            }        
        }
        if = { 
            limit = { is_female = yes }
            create_bloodline = {
                type = pure_architect_bloodline_01
                inheritance = matrilineal
            }        
        }
        ai_chance = { 
            factor = 100
        }
    }
}

#Ruler gains Pure Castellan Bloodline.
narrative_event = {
    id = HF.24043
    title = EVTTITLEHF24043
    desc = EVTDESCHF24043
    picture = GFX_evt_magnificent_castle
    border = GFX_event_narrative_frame_economy
    sound = bloodline_added
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { #Gain Castellan bloodline.
        name = EVTOPTAHF24043
        if = { 
            limit = { 
                this_has_super_cool_nickname_trigger = no 
            }
            ROOT = { give_nickname = nick_the_castellan }
        }
        if = { 
            limit = { is_female = no }
            create_bloodline = {
                type = pure_castellan_bloodline_01
            }        
        }
        if = { 
            limit = { is_female = yes }
            create_bloodline = {
                type = pure_castellan_bloodline_01
                inheritance = matrilineal
            }        
        }
        ai_chance = { 
            factor = 100
        }
    }
}

#Ruler gains Pure Monumental Bloodline.
narrative_event = {
    id = HF.24044
    title = EVTTITLEHF24044
    desc = EVTDESCHF24044
    picture = GFX_evt_cathedral
    border = GFX_event_narrative_frame_economy
    sound = bloodline_added
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { #Gain Monumental bloodline.
        name = EVTOPTAHF24044
        if = { 
            limit = { 
                this_has_super_cool_nickname_trigger = no 
                religion = the_seven
            }
            ROOT = { give_nickname = nick_the_carpenter }
        }
        if = { 
            limit = { 
                this_has_super_cool_nickname_trigger = no 
                NOT = { religion = the_seven }
            }
            ROOT = { give_nickname = nick_the_grandiose }
        }
        if = { 
            limit = { is_female = no }
            create_bloodline = {
                type = pure_monumental_bloodline_01
            }        
        }
        if = { 
            limit = { is_female = yes }
            create_bloodline = {
                type = pure_monumental_bloodline_01
                inheritance = matrilineal
            }        
        }
        ai_chance = { 
            factor = 100
        }
    }
}

#Ruler gains Murder War Hybrid Bloodline.
narrative_event = {
    id = HF.24045
    title = EVTTITLEHF24045
    desc = EVTDESCHF24045
    picture = GFX_evt_cornered_duel_hf
    border = GFX_event_narrative_frame_war
    sound = bloodline_added
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { #Gain Murder War Hybrid bloodline.
        name = EVTOPTAHF24045
        if = { 
            limit = { 
                this_has_super_cool_nickname_trigger = no 
            }
            ROOT = { give_nickname = nick_the_griffin }
        }
        if = { 
            limit = { is_female = no }
            create_bloodline = {
                type = hybrid_murder_war_bloodline_01
            }        
        }
        if = { 
            limit = { is_female = yes }
            create_bloodline = {
                type = hybrid_murder_war_bloodline_01
                inheritance = matrilineal
            }        
        }
        ai_chance = { 
            factor = 100
        }
    }
}

#Ruler gains Murder Peace Hybrid Bloodline.
narrative_event = {
    id = HF.24046
    title = EVTTITLEHF24046
    desc = EVTDESCHF24046
    picture = GFX_evt_shadowy_cabal
    border = GFX_event_narrative_frame_intrigue
    sound = bloodline_added
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { #Gain Murder Peace Hybrid bloodline.
        name = EVTOPTAHF24046
        if = { 
            limit = { 
                this_has_super_cool_nickname_trigger = no 
            }
            ROOT = { give_nickname = nick_the_compassionate }
        }
        if = { 
            limit = { is_female = no }
            create_bloodline = {
                type = hybrid_murder_peace_bloodline_01
            }        
        }
        if = { 
            limit = { is_female = yes }
            create_bloodline = {
                type = hybrid_murder_peace_bloodline_01
                inheritance = matrilineal
            }        
        }
        ai_chance = { 
            factor = 100
        }
    }
}

#Ruler gains Builder Combo Hybrid Bloodline.
narrative_event = {
    id = HF.24047
    title = EVTTITLEHF24047
    desc = EVTDESCHF24047
    picture = GFX_evt_busy_trading_dock_republic
    border = GFX_event_narrative_frame_economy
    sound = bloodline_added
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { #Gain Builder Combo Hybrid bloodline.
        name = EVTOPTAHF24047
        if = { 
            limit = { 
                this_has_super_cool_nickname_trigger = no 
            }
            ROOT = { give_nickname = nick_the_founder }
        }
        if = { 
            limit = { is_female = no }
            create_bloodline = {
                type = hybrid_builder_bloodline_01
            }        
        }
        if = { 
            limit = { is_female = yes }
            create_bloodline = {
                type = hybrid_builder_bloodline_01
                inheritance = matrilineal
            }        
        }
        ai_chance = { 
            factor = 100
        }
    }
}

#Ruler gains Murder Builder Hybrid Bloodline.
narrative_event = {
    id = HF.24048
    title = EVTTITLEHF24048
    desc = EVTDESCHF24048
    picture = GFX_evt_mountaintop_castle_hf
    border = GFX_event_narrative_frame_intrigue
    sound = bloodline_added
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { #Gain Murder Builder Hybrid bloodline.
        name = EVTOPTAHF24048
        if = { 
            limit = { 
                this_has_super_cool_nickname_trigger = no 
            }
            ROOT = { give_nickname = nick_the_bloodlime }
        }
        if = { 
            limit = { is_female = no }
            create_bloodline = {
                type = hybrid_murder_builder_bloodline_01
            }        
        }
        if = { 
            limit = { is_female = yes }
            create_bloodline = {
                type = hybrid_murder_builder_bloodline_01
                inheritance = matrilineal
            }        
        }
        ai_chance = { 
            factor = 100
        }
    }
}

#Ruler gains Peace Architect Hybrid Bloodline.
narrative_event = {
    id = HF.24049
    title = EVTTITLEHF24049
    desc = EVTDESCHF24042
    picture = GFX_evt_busy_trading_dock_republic
    border = GFX_event_narrative_frame_diplomacy
    sound = bloodline_added
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { #Gain Peace Architect Hybrid bloodline.
        name = EVTOPTAHF24049
        if = { 
            limit = { 
                this_has_super_cool_nickname_trigger = no 
            }
            ROOT = { give_nickname = nick_the_patron_of_arts }
        }
        if = { 
            limit = { is_female = no }
            create_bloodline = {
                type = hybrid_peace_architect_bloodline_01
            }        
        }
        if = { 
            limit = { is_female = yes }
            create_bloodline = {
                type = hybrid_peace_architect_bloodline_01
                inheritance = matrilineal
            }        
        }
        ai_chance = { 
            factor = 100
        }
    }
}

#Ruler gains Peace Castellan Hybrid Bloodline.
narrative_event = {
    id = HF.24050
    title = EVTTITLEHF24050
    desc = EVTDESCHF24043
    picture = GFX_evt_magnificent_castle
    border = GFX_event_narrative_frame_diplomacy
    sound = bloodline_added
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { #Gain Peace Castellan Hybrid bloodline.
        name = EVTOPTAHF24050
        if = { 
            limit = { 
                this_has_super_cool_nickname_trigger = no 
            }
            ROOT = { give_nickname = nick_the_bastion_of_capital }
        }
        if = { 
            limit = { is_female = no }
            create_bloodline = {
                type = hybrid_peace_castellan_bloodline_01
            }        
        }
        if = { 
            limit = { is_female = yes }
            create_bloodline = {
                type = hybrid_peace_castellan_bloodline_01
                inheritance = matrilineal
            }        
        }
        ai_chance = { 
            factor = 100
        }
    }
}

#Ruler gains Peace Monumental Hybrid Bloodline.
narrative_event = {
    id = HF.24051
    title = EVTTITLEHF24051
    desc = EVTDESCHF24044
    picture = GFX_evt_cathedral
    border = GFX_event_narrative_frame_diplomacy
    sound = bloodline_added
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { #Gain Peace Monumental Hybrid bloodline.
        name = EVTOPTAHF24051
        if = { 
            limit = { 
                this_has_super_cool_nickname_trigger = no 
            }
            ROOT = { give_nickname = nick_the_holy_mason }
        }
        if = { 
            limit = { is_female = no }
            create_bloodline = {
                type = hybrid_peace_monumental_bloodline_01
            }        
        }
        if = { 
            limit = { is_female = yes }
            create_bloodline = {
                type = hybrid_peace_monumental_bloodline_01
                inheritance = matrilineal
            }        
        }
        ai_chance = { 
            factor = 100
        }
    }
}

#Event-based Bloodlines.
#First event, pick the branch.
character_event = {
    id = HF.24052
    title = EVTTITLEHF24052
    desc = EVTDESCHF24052
    picture = { 
        trigger = { 
            has_religion_feature = religion_matriarchal
        } 
        picture = GFX_evt_matriarchy_throne_room
    }
    picture = { 
        trigger = { 
            has_religion_feature = religion_patriarchal
        } 
        picture = GFX_evt_tengri_throneroom_oldgods
    }
    picture = { 
        trigger = { 
            NOR = { 
                has_religion_feature = religion_patriarchal
                has_religion_feature = religion_matriarchal
            } 
        } 
        picture = GFX_evt_bloodlines
    }
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
        OR = {
            NOT = { trait = cynical }
            AND = {
                NOT = { trait = greedy }
                NOT = { trait = selfish }
            }
        }
    }
    
    option = { #Becoming Exemplar ruler (Benevolent/Family)
        name = EVTOPTAHF24052
        trigger = {
            NOT = { trait = greedy }
            NOT = { trait = selfish }
        }
        custom_tooltip = { text = TT_EVTOPTAHF24052 }
        hidden_tooltip = { 
            character_event = { id = HF.24053 days = 150 random = 150 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = { #Improving the realm (Religious I/Technology)
        name = EVTOPTBHF24052
        trigger = {
            NOT = { trait = cynical }
        }
        custom_tooltip = { text = TT_EVTOPTBHF24052 }
        hidden_tooltip = { 
            character_event = { id = HF.24054 days = 150 random = 150 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = { #Becoming Feared ruler (Religious II/Ruthless)
        name = EVTOPTCHF24052
        trigger = {
            NOT = { trait = cynical }
            NOT = { trait = honorable }
        }
        custom_tooltip = { text = TT_EVTOPTCHF24052 }
        hidden_tooltip = { 
            character_event = { id = HF.24055 days = 150 random = 150 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = { #Refuse event chain.
        name = EVTOPTDHF24052
        custom_tooltip = { text = TT_EVTOPTDHF24052 }
        ai_chance = { 
            factor = 30
        }
    }
}

#Branch 1: Benevolent or Family Bloodline paths.
character_event = {
    id = HF.24053
    title = EVTTITLEHF24052
    desc = EVTDESCHF24053
    picture = { 
        trigger = { 
            has_religion_feature = religion_matriarchal
        } 
        picture = GFX_evt_matriarchy_throne_room
    }
    picture = { 
        trigger = { 
            has_religion_feature = religion_patriarchal
        } 
        picture = GFX_evt_tengri_throneroom_oldgods
    }
    picture = { 
        trigger = { 
            NOR = { 
                has_religion_feature = religion_patriarchal
                has_religion_feature = religion_matriarchal
            } 
        } 
        picture = GFX_evt_bloodlines
    }
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { #Focus on personal accomplishments
        name = EVTOPTAHF24053
        custom_tooltip = { text = TT_EVTOPTAHF24053 }
        hidden_tooltip = { 
            character_event = { id = HF.24056 days = 150 random = 250 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = { #Focus on dynasty accomplishments
        name = EVTOPTBHF24053
        custom_tooltip = { text = TT_EVTOPTBHF24053 }
        piety = -100
        hidden_tooltip = { 
            character_event = { id = HF.24059 days = 150 random = 250 }
        }
        ai_chance = { 
            factor = 30
        }
    }
}
#Branch 2: Religious Study or Technological Bloodline paths.
character_event = {
    id = HF.24054
    title = EVTTITLEHF24052
    desc = EVTDESCHF24054
    picture = { 
        trigger = { 
            has_religion_feature = religion_matriarchal
        } 
        picture = GFX_evt_matriarchy_throne_room
    }
    picture = { 
        trigger = { 
            has_religion_feature = religion_patriarchal
        } 
        picture = GFX_evt_tengri_throneroom_oldgods
    }
    picture = { 
        trigger = { 
            NOR = { 
                has_religion_feature = religion_patriarchal
                has_religion_feature = religion_matriarchal
            } 
        } 
        picture = GFX_evt_bloodlines
    }
    border = GFX_event_normal_frame_economy
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { #Focus on increasing religious knowledge throughout the realm.
        name = EVTOPTAHF24054
        custom_tooltip = { text = TT_EVTOPTAHF24054 }
        hidden_tooltip = { 
            character_event = { id = HF.24062 days = 150 random = 250 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = { #Focus on technical advancements.
        name = EVTOPTBHF24054
        custom_tooltip = { text = TT_EVTOPTBHF24054 }
        hidden_tooltip = { 
            character_event = { id = HF.24065 days = 150 random = 250 }
        }
        ai_chance = { 
            factor = 30
        }
    }
}
#Branch 3: Religious Zealotry or Ruthless Bloodline paths.
character_event = {
    id = HF.24055
    title = EVTTITLEHF24052
    desc = EVTDESCHF24055
    picture = { 
        trigger = { 
            has_religion_feature = religion_matriarchal
        } 
        picture = GFX_evt_matriarchy_throne_room
    }
    picture = { 
        trigger = { 
            has_religion_feature = religion_patriarchal
        } 
        picture = GFX_evt_tengri_throneroom_oldgods
    }
    picture = { 
        trigger = { 
            NOR = { 
                has_religion_feature = religion_patriarchal
                has_religion_feature = religion_matriarchal
            } 
        } 
        picture = GFX_evt_bloodlines
    }
    border = GFX_event_normal_frame_intrigue
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { #Focus on pushing religion.
        name = EVTOPTAHF24055
        trigger = { 
            NOR = { 
                has_religion_feature = religion_cosmopolitan 
                has_religion_feature = religion_peaceful 
                has_religion_feature = religion_feature_nath_pagan
            } 
        }
        custom_tooltip = { text = TT_EVTOPTAHF24055 }
        hidden_tooltip = { 
            character_event = { id = HF.24068 days = 150 random = 250 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = { #Focus on extertion of loyalty from subjects.
        name = EVTOPTBHF24055
        custom_tooltip = { text = TT_EVTOPTBHF24055 }
        hidden_tooltip = { 
            character_event = { id = HF.24071 days = 150 random = 250 }
        }
        ai_chance = { 
            factor = 30
        }
    }
}

#Gaining Benevolent Bloodline.
#First Row. - Revising old realm laws to improve conditions of vassals and peasants.
character_event = {
    id = HF.24056
    title = EVTTITLEHF24056
    desc = EVTDESCHF24056
    picture = { 
        trigger = { 
            has_religion_feature = religion_matriarchal
        } 
        picture = GFX_evt_matriarchy_throne_room
    }
    picture = { 
        trigger = { 
            has_religion_feature = religion_patriarchal
        } 
        picture = GFX_evt_tengri_throneroom_oldgods
    }
    picture = { 
        trigger = { 
            NOR = { 
                has_religion_feature = religion_patriarchal
                has_religion_feature = religion_matriarchal
            } 
        } 
        picture = GFX_evt_bloodlines
    }
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }

    #Special learning option. - Revise laws yourself.
    #Hire scholars to look at and revise old unfair laws.
    #Try revising old laws.
    #Dedicate more time to court hearings.
    #Abandon quest for Bloodline.
    
    option = { 
        name = EVTOPTAHF24056
        trigger = { 
            learning = 18 
        }
        tooltip_info = learning
        custom_tooltip = { text = TT_EVTOPTAHF24056 }
        if = { 
            limit = { trait = arbitrary }
            remove_trait = arbitrary
        }
        hidden_tooltip = { 
            character_event = { id = HF.24057 days = 150 random = 250 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTBHF24056
        custom_tooltip = { text = TT_EVTOPTBHF24056 }
        if = { 
            limit = { trait = arbitrary }
            remove_trait = arbitrary
        }
        scaled_wealth = { value = -2 min = -500 max = -900 }
        prestige = -2000
        add_character_modifier = {
            name = forging_legend_revisiting_laws_1
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24057 days = 500 random = 500 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTCHF24056
        custom_tooltip = { text = TT_EVTOPTCHF24056 }
        if = { 
            limit = { trait = arbitrary }
            remove_trait = arbitrary
        }
        prestige = -1500
        add_character_modifier = {
            name = forging_legend_revisiting_laws_2
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24057 days = 1000 random = 1000 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTDHF24056
        trigger = { 
            NOT = { learning = 18 }
        }
        custom_tooltip = { text = TT_EVTOPTDHF24056 }
        if = { 
            limit = { trait = arbitrary }
            remove_trait = arbitrary
        }
        if = { 
            limit = { NOT = { trait = stressed } }
            add_trait = stressed
        }
        else_if = { 
            limit = { trait = stressed }
            health = -0.5
        }
        prestige = -900
        hidden_tooltip = { 
            character_event = { id = HF.24057 days = 2000 random = 2000 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTEHF24056
        custom_tooltip = { text = TT_EVTOPTEHF24056 }
        if = { 
            limit = {
                NOT = { trait = content }
                NOT = { trait = ambitious }
                NOT = { personality_traits = 6 }
            }
            random = {
                chance = 25
                add_trait = content
            }
        }
        ai_chance = { 
            factor = 0
        }
    }
}

#Second Row.
#Peasants growing needy.
character_event = {
    id = HF.24057
    title = EVTTITLEHF24056
    desc = EVTDESCHF24057
    picture = { 
        trigger = { 
            has_religion_feature = religion_matriarchal
        } 
        picture = GFX_evt_matriarchy_throne_room
    }
    picture = { 
        trigger = { 
            has_religion_feature = religion_patriarchal
        } 
        picture = GFX_evt_tengri_throneroom_oldgods
    }
    picture = { 
        trigger = { 
            NOR = { 
                has_religion_feature = religion_patriarchal
                has_religion_feature = religion_matriarchal
            } 
        } 
        picture = GFX_evt_bloodlines
    }
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }

    #Special diplomacy option. - Address the public.
    #Give into demands.
    #Ignore disobedience.
    #Address the public.
    #Abandon quest for Bloodline.
    
    option = { 
        name = EVTOPTAHF24057
        trigger = { 
            diplomacy = 18 
        }
        tooltip_info = diplomacy
        custom_tooltip = { text = TT_EVTOPTAHF24056 }
        if = { 
            limit = { 
                NOT = { trait = charitable } 
                NOT = { trait = greedy }
                NOT = { personality_traits = 6 }
            }
            add_trait = charitable
        }
        add_character_modifier = {
            name = forging_legend_peasant_disobedience_2
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24058 days = 150 random = 250 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTBHF24057
        custom_tooltip = { text = TT_EVTOPTBHF24056 }
        if = { 
            limit = { 
                NOT = { trait = charitable } 
                NOT = { trait = greedy }
                NOT = { personality_traits = 6 }
            }
            add_trait = charitable
        }
        prestige = -2000
        add_character_modifier = {
            name = forging_legend_peasant_disobedience_1
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24058 days = 500 random = 500 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTCHF24057
        custom_tooltip = { text = TT_EVTOPTCHF24056 }
        if = { 
            limit = { NOT = { trait = stressed } }
            add_trait = stressed
        }
        prestige = -1200
        hidden_tooltip = { 
            character_event = { id = HF.24058 days = 1000 random = 1000 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTDHF24057
        trigger = { 
            NOT = { diplomacy = 18 }
        }
        custom_tooltip = { text = TT_EVTOPTDHF24056 }
        if = { 
            limit = { NOT = { trait = stressed } }
            add_trait = stressed
        }
        prestige = -600
        add_character_modifier = {
            name = forging_legend_peasant_disobedience_2
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24058 days = 2000 random = 2000 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTEHF24057
        custom_tooltip = { text = TT_EVTOPTEHF24056 }
        if = { 
            limit = {
                NOT = { trait = content }
                NOT = { trait = ambitious }
                NOT = { personality_traits = 6 }
            }
            random = {
                chance = 25
                add_trait = content
            }
        }
        ai_chance = { 
            factor = 0
        }
    }
}

#Benevolent Bloodline gained.
narrative_event = {
    id = HF.24058
    title = EVTTITLEHF24056
    desc = EVTDESCHF24058
    picture = { 
        trigger = { 
            has_religion_feature = religion_matriarchal
        } 
        picture = GFX_evt_matriarchy_throne_room
    }
    picture = { 
        trigger = { 
            has_religion_feature = religion_patriarchal
        } 
        picture = GFX_evt_tengri_throneroom_oldgods
    }
    picture = { 
        trigger = { 
            NOR = { 
                has_religion_feature = religion_patriarchal
                has_religion_feature = religion_matriarchal
            } 
        } 
        picture = GFX_evt_bloodlines
    }
    border = GFX_event_narrative_frame_diplomacy
    sound = bloodline_added
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { 
        name = EVTOPTAHF24058
        if = { 
            limit = { 
                this_has_cool_nickname_trigger = no 
                this_has_super_cool_nickname_trigger = no 
            }
            ROOT = { give_nickname = nick_the_benevolent }
        }
        if = { 
            limit = { is_female = no }
            create_bloodline = {
                type = event_benevolent_bloodline_01
            }        
        }
        if = { 
            limit = { is_female = yes }
            create_bloodline = {
                type = event_benevolent_bloodline_01
                inheritance = matrilineal
            }        
        }
        ai_chance = { 
            factor = 100
        }
    }
}

#Gaining the Family Bloodline.
#First Row. - Research family tree.
character_event = {
    id = HF.24059
    title = EVTTITLEHF24059
    desc = { 
        trigger = { 
            num_of_dynasty_members = 10
        } 
        text = EVTDESCAHF24059
    }
    desc = { 
        trigger = { 
            NOT = { num_of_dynasty_members = 10 } 
        } 
        text = EVTDESCBHF24059
    }
    picture = GFX_evt_library
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }

    #Special learning option. - Research family tree yourself.
    #Hire scholars to look at family tree.
    #Focus on immediate family.
    #Try studying family tree.
    #Abandon quest for Bloodline.
    
    option = { 
        name = EVTOPTAHF24059
        trigger = { 
            learning = 18 
        }
        tooltip_info = learning
        custom_tooltip = { text = TT_EVTOPTAHF24056 }
        if = { 
            limit = { trait = proud }
            remove_trait = proud
        }
        hidden_tooltip = { 
            character_event = { id = HF.24060 days = 150 random = 250 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTBHF24059
        custom_tooltip = { text = TT_EVTOPTBHF24056 }
        if = { 
            limit = { trait = proud }
            remove_trait = proud
        }
        if = { 
            limit = { NOT = { trait = stressed } }
            add_trait = stressed
        }
        else_if = { 
            limit = { trait = stressed }
            health = -0.5
        }
        scaled_wealth = { value = -6 min = -750 max = -1500 }
        prestige = -1000
        hidden_tooltip = { 
            character_event = { id = HF.24060 days = 500 random = 500 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTCHF24059
        custom_tooltip = { text = TT_EVTOPTCHF24056 }
        if = { 
            limit = { trait = proud }
            remove_trait = proud
        }
        if = { 
            limit = { NOT = { trait = stressed } }
            add_trait = stressed
        }
        else_if = { 
            limit = { trait = stressed }
            health = -0.5
        }
        prestige = -800
        hidden_tooltip = { 
            character_event = { id = HF.24060 days = 1000 random = 1000 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTDHF24059
        trigger = { 
            NOT = { learning = 18 }
        }
        custom_tooltip = { text = TT_EVTOPTDHF24056 }
        if = { 
            limit = { trait = proud }
            remove_trait = proud
        }
        if = { 
            limit = { NOT = { trait = stressed } }
            add_trait = stressed
        }
        else_if = { 
            limit = { trait = stressed }
            health = -0.5
        }
        prestige = -600
        hidden_tooltip = { 
            character_event = { id = HF.24060 days = 2000 random = 2000 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTEHF24059
        custom_tooltip = { text = TT_EVTOPTEHF24056 }
        if = { 
            limit = {
                NOT = { trait = content }
                NOT = { trait = ambitious }
                NOT = { personality_traits = 6 }
            }
            random = {
                chance = 25
                add_trait = content
            }
        }
        ai_chance = { 
            factor = 0
        }
    }
}

#Second Row. - Focus on living family members.
character_event = {
    id = HF.24060
    title = EVTTITLEHF24059
    desc = { 
        trigger = { 
            num_of_dynasty_members = 10
        } 
        text = EVTDESCAHF24060
    }
    desc = { 
        trigger = { 
            NOT = { num_of_dynasty_members = 10 } 
        } 
        text = EVTDESCBHF24060
    }
    picture = GFX_evt_family
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }

    #Special diplomacy option.
    #Complete dedication.
    #Partial dedication.
    #Minimal dedication.
    #Abandon quest for Bloodline.
    
    option = { 
        name = EVTOPTAHF24060
        trigger = { 
            diplomacy = 18 
        }
        tooltip_info = diplomacy
        custom_tooltip = { text = TT_EVTOPTAHF24056 }
        if = { 
            limit = {
                NOT = { trait = familyperson }
                NOT = { trait = selfish }
                NOT = { personality_traits = 6 }
            }
            add_trait = familyperson
        }
        add_character_modifier = {
            name = forging_legend_family_dedication_2
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24061 days = 150 random = 250 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTBHF24060
        custom_tooltip = { text = TT_EVTOPTBHF24056 }
        if = { 
            limit = {
                NOT = { trait = familyperson }
                NOT = { trait = selfish }
                NOT = { personality_traits = 6 }
            }
            add_trait = familyperson
        }
        if = { 
            limit = { NOT = { trait = stressed } }
            add_trait = stressed
        }
        else_if = { 
            limit = { trait = stressed }
            health = -0.5
        }
        add_character_modifier = {
            name = forging_legend_family_dedication_1
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24061 days = 500 random = 500 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTCHF24060
        custom_tooltip = { text = TT_EVTOPTCHF24056 }
        if = { 
            limit = {
                NOT = { trait = familyperson }
                NOT = { trait = selfish }
                NOT = { personality_traits = 6 }
            }
            add_trait = familyperson
        }
        if = { 
            limit = { NOT = { trait = stressed } }
            add_trait = stressed
        }
        else_if = { 
            limit = { trait = stressed }
            health = -0.5
        }
        add_character_modifier = {
            name = forging_legend_family_dedication_2
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24061 days = 1000 random = 1000 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTDHF24060
        trigger = { 
            NOT = { diplomacy = 18 }
        }
        custom_tooltip = { text = TT_EVTOPTDHF24056 }
        if = { 
            limit = {
                NOT = { trait = kind }
                NOT = { trait = cruel }
                NOT = { personality_traits = 6 }
            }
            add_trait = kind
        }
        if = { 
            limit = { NOT = { trait = stressed } }
            add_trait = stressed
        }
        else_if = { 
            limit = { trait = stressed }
            health = -0.5
        }
        add_character_modifier = {
            name = forging_legend_family_dedication_3
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24061 days = 2000 random = 2000 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTEHF24060
        custom_tooltip = { text = TT_EVTOPTEHF24056 }
        if = { 
            limit = {
                NOT = { trait = content }
                NOT = { trait = ambitious }
                NOT = { personality_traits = 6 }
            }
            random = {
                chance = 25
                add_trait = content
            }
        }
        ai_chance = { 
            factor = 0
        }
    }
}

#Family Bloodline gained.
narrative_event = {
    id = HF.24061
    title = EVTTITLEHF24059
    desc = { 
        trigger = { 
            num_of_dynasty_members = 10
        } 
        text = EVTDESCAHF24061
    }
    desc = { 
        trigger = { 
            NOT = { num_of_dynasty_members = 10 } 
        } 
        text = EVTDESCBHF24061
    }
    picture = GFX_evt_family
    border = GFX_event_narrative_frame_diplomacy
    sound = bloodline_added
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { 
        name = EVTOPTAHF24061
        if = { 
            limit = { 
                this_has_cool_nickname_trigger = no 
                this_has_super_cool_nickname_trigger = no 
                is_female = no
            }
            ROOT = { give_nickname = nick_the_grand_patriarch }
        }
        if = { 
            limit = { 
                this_has_cool_nickname_trigger = no 
                this_has_super_cool_nickname_trigger = no 
                is_female = yes
            }
            ROOT = { give_nickname = nick_the_grand_matriarch }
        }
        if = { 
            limit = { is_female = no }
            create_bloodline = {
                type = event_family_bloodline_01
            }        
        }
        if = { 
            limit = { is_female = yes }
            create_bloodline = {
                type = event_family_bloodline_01
                inheritance = matrilineal
            }        
        }
        ai_chance = { 
            factor = 100
        }
    }
}

#Gaining the Theologian Bloodline.
#First Row. - Research dogma.
character_event = {
    id = HF.24062
    title = EVTTITLEHF24062
    desc  = EVTDESCAHF24062
    picture = GFX_evt_library
    border = GFX_event_normal_frame_religion
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }

    #Special learning option. - Lead research yourself.
    #Hire famous scholars.
    #Hire regular scholars.
    #Try private research.
    #Abandon quest for Bloodline.
    
    option = { 
        name = EVTOPTAHF24062
        trigger = { 
            learning = 18 
        }
        tooltip_info = learning
        custom_tooltip = { text = TT_EVTOPTAHF24056 }
        if = { 
            limit = { trait = cynical }
            remove_trait = cynical
        }
        hidden_tooltip = { 
            character_event = { id = HF.24063 days = 150 random = 250 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTBHF24062
        custom_tooltip = { text = TT_EVTOPTBHF24056 }
        scaled_wealth = { value = -5 min = -750 max = -1500 }
        piety = -600
        hidden_tooltip = { 
            character_event = { id = HF.24063 days = 500 random = 500 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTCHF24062
        custom_tooltip = { text = TT_EVTOPTCHF24056 }
        if = { 
            limit = { trait = cynical }
            remove_trait = cynical
        }
        scaled_wealth = { value = -5 min = -500 max = -1000 }
        piety = -300
        hidden_tooltip = { 
            character_event = { id = HF.24063 days = 1000 random = 1000 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTDHF24062
        trigger = { 
            NOT = { learning = 18 }
        }
        custom_tooltip = { text = TT_EVTOPTDHF24056 }
        scaled_wealth = { value = -5 min = -250 max = -500 }
        piety = -500
        hidden_tooltip = { 
            character_event = { id = HF.24063 days = 2000 random = 2000 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTEHF24062
        custom_tooltip = { text = TT_EVTOPTEHF24056 }
        if = { 
            limit = {
                NOT = { trait = content }
                NOT = { trait = ambitious }
                NOT = { personality_traits = 6 }
            }
            random = {
                chance = 25
                add_trait = content
            }
        }
        ai_chance = { 
            factor = 0
        }
    }
}

#Second Row. - Discredit opposition.
character_event = {
    id = HF.24063
    title = EVTTITLEHF24062
    desc  = EVTDESCAHF24063
    picture = GFX_evt_church_council
    border = GFX_event_normal_frame_religion
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }

    #Special intrigue option.
    #Hire good debaters.
    #Hire regular debaters.
    #Hire slanderers.
    #Abandon quest for Bloodline.
    
    option = { 
        name = EVTOPTAHF24063
        trigger = { 
            intrigue = 18 
        }
        tooltip_info = intrigue
        custom_tooltip = { text = TT_EVTOPTAHF24056 }
        religion_authority = {
            modifier = theology_debates
            years = 100
        }
        hidden_tooltip = { 
            character_event = { id = HF.24064 days = 150 random = 250 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTBHF24063
        custom_tooltip = { text = TT_EVTOPTBHF24056 }
        scaled_wealth = { value = -5 min = -750 max = -1500 }
        religion_authority = {
            modifier = theology_debates
            years = 100
        }
        add_character_modifier = {
            name = forging_legend_religious_squabble_1
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24064 days = 500 random = 500 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTCHF24063
        custom_tooltip = { text = TT_EVTOPTCHF24056 }
        add_character_modifier = {
            name = forging_legend_religious_squabble_1
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24064 days = 1000 random = 1000 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTDHF24063
        trigger = { 
            NOT = { intrigue = 18 }
        }
        custom_tooltip = { text = TT_EVTOPTDHF24056 }
        add_character_modifier = {
            name = forging_legend_religious_squabble_2
            years = 5
        }
        piety = -300
        hidden_tooltip = { 
            character_event = { id = HF.24064 days = 2000 random = 2000 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTEHF24063
        custom_tooltip = { text = TT_EVTOPTEHF24056 }
        if = { 
            limit = {
                NOT = { trait = content }
                NOT = { trait = ambitious }
                NOT = { personality_traits = 6 }
            }
            random = {
                chance = 25
                add_trait = content
            }
        }
        ai_chance = { 
            factor = 0
        }
    }
}
#Theologian Bloodline gained.
narrative_event = {
    id = HF.24064
    title = EVTTITLEHF24062
    desc = EVTDESCAHF24064
    picture = GFX_evt_church_council
    border = GFX_event_narrative_frame_religion
    sound = bloodline_added
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { 
        name = EVTOPTAHF24064
        if = { 
            limit = { 
                this_has_cool_nickname_trigger = no 
                this_has_super_cool_nickname_trigger = no 
            }
            ROOT = { give_nickname = nick_the_theologian }
        }    
        if = { 
            limit = { is_female = no }
            create_bloodline = {
                type = event_religion_peaceful_bloodline_04
            }        
        }
        if = { 
            limit = { is_female = yes }
            create_bloodline = {
                type = event_religion_peaceful_bloodline_04
                inheritance = matrilineal
            }        
        }
        set_bloodline_founder_religion_flag_effect = yes
        ai_chance = { 
            factor = 100
        }
    }
}

#Gaining Technology Bloodline.
#First Row. - Find artists and philosophers.
character_event = {
    id = HF.24065
    title = EVTTITLEHF24065
    desc  = EVTDESCAHF24065
    picture = GFX_evt_library
    border = GFX_event_normal_frame_economy
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }

    #Special stewardship option. - Lead research yourself.
    #Scour foreign lands.
    #Scour homeland.
    #Try private research.
    #Abandon quest for Bloodline.
    
    option = { 
        name = EVTOPTAHF24065
        trigger = { 
            stewardship = 18 
        }
        tooltip_info = stewardship
        custom_tooltip = { text = TT_EVTOPTAHF24056 }
        if = { 
            limit = { trait = dull }
            remove_trait = dull
        }
        add_character_modifier = {
            name = forging_legend_searching_philosophers_3
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24066 days = 150 random = 250 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTBHF24065
        custom_tooltip = { text = TT_EVTOPTBHF24056 }
        scaled_wealth = { value = -5 min = -350 max = -750 }
        add_character_modifier = {
            name = forging_legend_searching_philosophers_1
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24066 days = 500 random = 500 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTCHF24065
        custom_tooltip = { text = TT_EVTOPTCHF24056 }
        if = { 
            limit = { trait = dull }
            remove_trait = dull
        }
        scaled_wealth = { value = -5 min = -250 max = -500 }
        add_character_modifier = {
            name = forging_legend_searching_philosophers_2
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24066 days = 1000 random = 1000 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTDHF24065
        trigger = { 
            NOT = { stewardship = 18 }
        }
        custom_tooltip = { text = TT_EVTOPTDHF24056 }
        add_character_modifier = {
            name = forging_legend_searching_philosophers_3
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24066 days = 2000 random = 2000 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTEHF24065
        custom_tooltip = { text = TT_EVTOPTEHF24056 }
        if = { 
            limit = {
                NOT = { trait = content }
                NOT = { trait = ambitious }
                NOT = { personality_traits = 6 }
            }
            random = {
                chance = 25
                add_trait = content
            }
        }
        ai_chance = { 
            factor = 0
        }
    }
}

#Second Row. - Build infrastructure.
character_event = {
    id = HF.24066
    title = EVTTITLEHF24065
    desc  = EVTDESCAHF24066
    picture = GFX_evt_busy_trading_dock_republic
    border = GFX_event_normal_frame_economy
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }

    #Special stewardship option. - Lead construction efforts.
    #Grandiose library.
    #Research study.
    #Host within own palace.
    #Abandon quest for Bloodline.
    
    option = { 
        name = EVTOPTAHF24066
        trigger = { 
            stewardship = 18 
        }
        tooltip_info = stewardship
        custom_tooltip = { text = TT_EVTOPTAHF24056 }
        if = { 
            limit = { trait = dull }
            remove_trait = dull
        }
        add_character_modifier = {
            name = forging_legend_building_infrastructure_3
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24067 days = 150 random = 250 } 
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTBHF24066
        custom_tooltip = { text = TT_EVTOPTBHF24056 }
        add_character_modifier = {
            name = forging_legend_building_infrastructure_1
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24067 days = 500 random = 500 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTCHF24066
        custom_tooltip = { text = TT_EVTOPTCHF24056 }
        add_character_modifier = {
            name = forging_legend_building_infrastructure_2
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24067 days = 1000 random = 1000 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTDHF24066
        trigger = { 
            NOT = { stewardship = 18 }
        }
        custom_tooltip = { text = TT_EVTOPTDHF24056 }
        add_character_modifier = {
            name = forging_legend_searching_philosophers_3
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24067 days = 2000 random = 2000 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTEHF24066
        custom_tooltip = { text = TT_EVTOPTEHF24056 }
        if = { 
            limit = {
                NOT = { trait = content }
                NOT = { trait = ambitious }
                NOT = { personality_traits = 6 }
            }
            random = {
                chance = 25
                add_trait = content
            }
        }
        ai_chance = { 
            factor = 0
        }
    }
}

#Technology Bloodline gained.
narrative_event = {
    id = HF.24067
    title = EVTTITLEHF24065
    desc = EVTDESCAHF24067
    picture = GFX_evt_victory_arch_byzantine
    border = GFX_event_narrative_frame_economy
    sound = bloodline_added
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { 
        name = EVTOPTAHF24067
        if = { 
            limit = { 
                this_has_cool_nickname_trigger = no 
                this_has_super_cool_nickname_trigger = no 
            }
            ROOT = { give_nickname = nick_the_philosopher }
        }
        if = { 
            limit = { is_female = no }
            create_bloodline = {
                type = event_technology_bloodline_01
            }        
        }
        if = { 
            limit = { is_female = yes }
            create_bloodline = {
                type = event_technology_bloodline_01
                inheritance = matrilineal
            }        
        }
        ai_chance = { 
            factor = 100
        }
    }
}


#Gaining Zealot Bloodline.
#First Row. - Find spread fervor.
character_event = {
    id = HF.24068
    title = EVTTITLEHF24068
    desc  = EVTDESCAHF24068
    picture = GFX_evt_bishop
    border = GFX_event_normal_frame_religion
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }

    #Special diplomacy option. - Lead proselytizing effort.
    #Exert influence over priesthood.
    #Exert some influence over priesthood.
    #Lead proselytizing effort.
    #Abandon quest for Bloodline.
    
    option = { 
        name = EVTOPTAHF24068
        trigger = { 
            diplomacy = 18 
        }
        tooltip_info = diplomacy
        custom_tooltip = { text = TT_EVTOPTAHF24056 }
        if = { 
            limit = { trait = cynical }
            remove_trait = cynical
        }
        add_character_modifier = {
            name = forging_legend_building_zealotry_2
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24069 days = 150 random = 250 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTBHF24068
        custom_tooltip = { text = TT_EVTOPTBHF24056 }
        if = { 
            limit = { trait = cynical }
            remove_trait = cynical
        }
        piety = -400
        hidden_tooltip = { 
            character_event = { id = HF.24069 days = 500 random = 500 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTCHF24068
        custom_tooltip = { text = TT_EVTOPTCHF24056 }
        if = { 
            limit = { trait = cynical }
            remove_trait = cynical
        }
        piety = -200
        hidden_tooltip = { 
            character_event = { id = HF.24069 days = 1000 random = 1000 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTDHF24068
        trigger = { 
            NOT = { diplomacy = 18 }
        }
        custom_tooltip = { text = TT_EVTOPTDHF24056 }
        add_character_modifier = {
            name = forging_legend_building_zealotry_1
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24069 days = 2000 random = 2000 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTEHF24068
        custom_tooltip = { text = TT_EVTOPTEHF24056 }
        if = { 
            limit = {
                NOT = { trait = content }
                NOT = { trait = ambitious }
                NOT = { personality_traits = 6 }
            }
            random = {
                chance = 25
                add_trait = content
            }
        }
        ai_chance = { 
            factor = 0
        }
    }
}

#Second Row. - Control crafts.
character_event = {
    id = HF.24069
    title = EVTTITLEHF24068
    desc  = EVTDESCBHF24069
    picture = GFX_evt_bishop
    border = GFX_event_normal_frame_religion
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }

    #Special stewardship option. - Lead censorship effort.
    #Hire inquisitors.
    #Hire some inquisitors.
    #Lead censorship effort.
    #Abandon quest for Bloodline.
    
    option = { 
        name = EVTOPTAHF24069
        trigger = { 
            stewardship = 18 
        }
        tooltip_info = stewardship
        custom_tooltip = { text = TT_EVTOPTAHF24056 }
        if = { 
            limit = { trait = cynical }
            remove_trait = cynical
        }
        add_character_modifier = {
            name = forging_legend_censoring_arts_3
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24070 days = 150 random = 250 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTBHF24069
        custom_tooltip = { text = TT_EVTOPTBHF24056 }
        if = { 
            limit = { trait = cynical }
            remove_trait = cynical
        }
        scaled_wealth = { value = -5 min = -350 max = -750 }
        add_character_modifier = {
            name = forging_legend_censoring_arts_1
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24070 days = 500 random = 500 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTCHF24069
        custom_tooltip = { text = TT_EVTOPTCHF24056 }
        if = { 
            limit = { trait = cynical }
            remove_trait = cynical
        }
        scaled_wealth = { value = -5 min = -250 max = -500 }
        add_character_modifier = {
            name = forging_legend_censoring_arts_2
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24070 days = 1000 random = 1000 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTDHF24069
        trigger = { 
            NOT = { stewardship = 18 }
        }
        custom_tooltip = { text = TT_EVTOPTDHF24056 }
        scaled_wealth = { value = -5 min = -150 max = -350 }
        add_character_modifier = {
            name = forging_legend_censoring_arts_3
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24070 days = 2000 random = 2000 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTEHF24069
        custom_tooltip = { text = TT_EVTOPTEHF24056 }
        if = { 
            limit = {
                NOT = { trait = content }
                NOT = { trait = ambitious }
                NOT = { personality_traits = 6 }
            }
            random = {
                chance = 25
                add_trait = content
            }
        }
        ai_chance = { 
            factor = 0
        }
    }
}

#Zealot Bloodline gained.
narrative_event = {
    id = HF.24070
    title = EVTTITLEHF24068
    desc = EVTDESCAHF24070
    picture = { 
        trigger = { 
            has_dlc = "Mystics"
        } 
        picture = GFX_evt_catching_heretic
    }
    picture = { 
        trigger = { 
            NOT = { has_dlc = "Mystics" }
        } 
        picture = GFX_evt_beheading
    }
    border = GFX_event_narrative_frame_religion
    sound = bloodline_added
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { 
        name = EVTOPTAHF24070
        if = { 
            limit = { 
                this_has_cool_nickname_trigger = no 
                this_has_super_cool_nickname_trigger = no 
            }
            ROOT = { give_nickname = nick_the_zealot }
        }
        if = {
            limit = { is_female = no }
            create_bloodline = {
                type = event_religion_aggressive_bloodline_04
            }        
        }
        if = { 
            limit = { is_female = yes }
            create_bloodline = {
                type = event_religion_aggressive_bloodline_04
                inheritance = matrilineal
            }        
        }
        set_bloodline_founder_religion_flag_effect = yes
        ai_chance = { 
            factor = 100
        }
    }
}

#Gaining Ruthless Bloodline.
#First Row. - Stricter Laws.
character_event = {
    id = HF.24071
    title = EVTTITLEHF24071
    desc = EVTDESCHF24071
    picture = { 
        trigger = { 
            has_religion_feature = religion_matriarchal
        } 
        picture = GFX_evt_matriarchy_throne_room
    }
    picture = { 
        trigger = { 
            has_religion_feature = religion_patriarchal
        } 
        picture = GFX_evt_tengri_throneroom_oldgods
    }
    picture = { 
        trigger = { 
            NOR = { 
                has_religion_feature = religion_patriarchal
                has_religion_feature = religion_matriarchal
            } 
        } 
        picture = GFX_evt_bloodlines
    }
    border = GFX_event_normal_frame_intrigue
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }

    #Special learning option. - Revise laws yourself.
    #Hire scholars to look at and revise old laws.
    #Try revising old laws.
    #Dedicate more time to court hearings.
    #Abandon quest for Bloodline.
    
    option = { 
        name = EVTOPTAHF24071
        trigger = { 
            learning = 18 
        }
        tooltip_info = learning
        custom_tooltip = { text = TT_EVTOPTAHF24056 }
        if = { 
            limit = { trait = arbitrary }
            remove_trait = arbitrary
        }
        hidden_tooltip = { 
            character_event = { id = HF.24072 days = 150 random = 250 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTBHF24071
        custom_tooltip = { text = TT_EVTOPTBHF24056 }
        if = { 
            limit = { trait = arbitrary }
            remove_trait = arbitrary
        }
        scaled_wealth = { value = -2 min = -350 max = -600 }
        prestige = -1000
        add_character_modifier = {
            name = forging_legend_revisiting_laws_1
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24072 days = 500 random = 500 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTCHF24071
        custom_tooltip = { text = TT_EVTOPTCHF24056 }
        if = { 
            limit = { trait = arbitrary }
            remove_trait = arbitrary
        }
        prestige = -800
        add_character_modifier = {
            name = forging_legend_revisiting_laws_2
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24072 days = 1000 random = 1000 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTDHF24071
        trigger = { 
            NOT = { learning = 18 }
        }
        custom_tooltip = { text = TT_EVTOPTDHF24056 }
        if = { 
            limit = { trait = arbitrary }
            remove_trait = arbitrary
        }
        if = { 
            limit = { NOT = { trait = stressed } }
            add_trait = stressed
        }
        else_if = { 
            limit = { trait = stressed }
            health = -0.5
        }
        prestige = -600
        hidden_tooltip = { 
            character_event = { id = HF.24072 days = 2000 random = 2000 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTEHF24071
        custom_tooltip = { text = TT_EVTOPTEHF24056 }
        if = { 
            limit = {
                NOT = { trait = content }
                NOT = { trait = ambitious }
                NOT = { personality_traits = 6 }
            }
            random = {
                chance = 25
                add_trait = content
            }
        }
        ai_chance = { 
            factor = 0
        }
    }
}

#Second Row. - Deal with protests.
character_event = {
    id = HF.24072
    title = EVTTITLEHF24071
    desc = EVTDESCHF24072
    picture = { 
        trigger = { 
            has_religion_feature = religion_matriarchal
        } 
        picture = GFX_evt_matriarchy_throne_room
    }
    picture = { 
        trigger = { 
            has_religion_feature = religion_patriarchal
        } 
        picture = GFX_evt_tengri_throneroom_oldgods
    }
    picture = { 
        trigger = { 
            NOR = { 
                has_religion_feature = religion_patriarchal
                has_religion_feature = religion_matriarchal
            } 
        } 
        picture = GFX_evt_lunatic
    }
    border = GFX_event_normal_frame_intrigue
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }

    #Special intrigue option. - Dissenters disappear.
    #Martial law, burned villages.
    #Hire troops to deal with peasants.
    #Ignore protesters.
    #Abandon quest for Bloodline.
    
    option = { 
        name = EVTOPTAHF24072
        trigger = { 
            intrigue = 18 
        }
        tooltip_info = intrigue
        custom_tooltip = { text = TT_EVTOPTAHF24056 }
        if = { 
            limit = {
                NOT = { trait = honorable } 
                NOT = { trait = ruthless }
                NOT = { personality_traits = 6 }
            }
            add_trait = ruthless
        }
        hidden_tooltip = { 
            character_event = { id = HF.24073 days = 150 random = 250 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTBHF24072
        custom_tooltip = { text = TT_EVTOPTBHF24056 }
        if = { 
            limit = {
                NOT = { trait = honorable } 
                NOT = { trait = ruthless }
                NOT = { personality_traits = 6 }
            }
            add_trait = ruthless
        }
        prestige = -1000
        add_character_modifier = {
            name = forging_legend_martial_law_1
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24073 days = 500 random = 500 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTCHF24072
        custom_tooltip = { text = TT_EVTOPTCHF24056 }
        if = { 
            limit = {
                NOT = { trait = honorable } 
                NOT = { trait = ruthless }
                NOT = { personality_traits = 6 }
            }
            add_trait = ruthless
        }
        scaled_wealth = { value = -2 min = -350 max = -600 }
        hidden_tooltip = { 
            character_event = { id = HF.24073 days = 1000 random = 1000 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTDHF24072
        trigger = { 
            NOT = { intrigue = 18 }
        }
        custom_tooltip = { text = TT_EVTOPTDHF24056 }
        if = { 
            limit = {
                NOT = { trait = honorable } 
                NOT = { trait = ruthless }
                NOT = { personality_traits = 6 }
            }
            add_trait = ruthless
        }
        if = { 
            limit = { NOT = { trait = stressed } }
            add_trait = stressed
        }
        else_if = { 
            limit = { trait = stressed }
            health = -0.5
        }
        prestige = -600
        add_character_modifier = {
            name = forging_legend_martial_law_2
            years = 5
        }
        hidden_tooltip = { 
            character_event = { id = HF.24073 days = 2000 random = 2000 }
        }
        ai_chance = { 
            factor = 30
        }
    }
    option = {
        name = EVTOPTEHF24072
        custom_tooltip = { text = TT_EVTOPTEHF24056 }
        if = { 
            limit = {
                NOT = { trait = content }
                NOT = { trait = ambitious }
                NOT = { personality_traits = 6 }
            }
            random = {
                chance = 25
                add_trait = content
            }
        }
        ai_chance = { 
            factor = 0
        }
    }
}

#Ruthless Bloodline gained.
narrative_event = {
    id = HF.24073
    title = EVTTITLEHF24071
    desc = EVTDESCAHF24073
    picture = { 
        trigger = { 
            has_religion_feature = religion_matriarchal
        } 
        picture = GFX_evt_matriarchy_throne_room
    }
    picture = { 
        trigger = { 
            has_religion_feature = religion_patriarchal
        } 
        picture = GFX_evt_tengri_throneroom_oldgods
    }
    picture = { 
        trigger = { 
            NOR = { 
                has_religion_feature = religion_patriarchal
                has_religion_feature = religion_matriarchal
            } 
        } 
        picture = GFX_evt_lunatic
    }
    border = GFX_event_narrative_frame_intrigue
    sound = bloodline_added
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury"
    #    NOT = {
    #        any_owned_bloodline = { 
    #            has_bloodline_flag = created_bloodline
    #        }
    #    }
        has_ambition = obj_forge_bloodline
    }
    
    option = { 
        name = EVTOPTAHF24073
        if = { 
            limit = { 
                this_has_cool_nickname_trigger = no 
                this_has_super_cool_nickname_trigger = no 
            }
            ROOT = { give_nickname = nick_the_ruthless }
        }
        if = { 
            limit = { is_female = no }
            create_bloodline = {
                type = event_ruthless_bloodline_01
            }        
        }
        if = { 
            limit = { is_female = yes }
            create_bloodline = {
                type = event_ruthless_bloodline_01
                inheritance = matrilineal
            }        
        }
        ai_chance = { 
            factor = 100
        }
    }
}

########################################################
# Custom Bloodlines Special effects

#Murder Child
#On_childhood pulse: Ward is bored. 
character_event = {
    id = HF.24100
    desc = EVTDESCAHF24100
    picture = GFX_evt_child_reading
    border = GFX_event_normal_frame_intrigue

    is_triggered_only = yes

    min_age = 12
    max_age = 16

    prisoner = no
    capable_only = yes

    trigger = { 
        any_owned_bloodline = {
            has_bloodline_flag = bloodline_murder_child
        }
        intrigue = 3
        NOR = { 
            trait = incapable
            trait = maimed
            trait = mangled
            trait = kind
            trait = idolizer
            trait = affectionate
            trait = honorable
        }
        OR = { 
            trait = cruel
            trait = deceitful            
            trait = brooding
            trait = haughty
            trait = ruthless
        }
        OR = { 
            AND = { 
                educator = {
                    is_alive = yes
                    prisoner = no
                }
                educator = {
                    NOR = {
                        is_close_relative = ROOT
                        trait = incapable
                        is_inaccessible_trigger = yes
                        reverse_opinion = { who = ROOT value = 50 }
                    }
                }
            }
            AND = { 
                guardian = {
                    is_alive = yes
                    prisoner = no
                }
                guardian = {
                    NOR = {
                        is_close_relative = ROOT
                        trait = incapable
                        is_inaccessible_trigger = yes
                        reverse_opinion = { who = ROOT value = 50 }
                    }
                }
            }
        }
    }

    immediate = {
        if = {
            limit = {
                guardian = {
                    is_alive = yes
                    prisoner = no
                }
                guardian = {
                    NOR = {
                        is_close_relative = ROOT
                        trait = incapable
                        is_inaccessible_trigger = yes
                        reverse_opinion = { who = ROOT value = 50 }
                    }
                }
            }
            guardian = { save_event_target_as = scoped_guardian }
        }
        else_if = {
            limit = {
                educator = {
                    is_alive = yes
                    prisoner = no
                }
                educator = {
                    NOR = {
                        is_close_relative = ROOT
                        trait = incapable
                        is_inaccessible_trigger = yes
                        reverse_opinion = { who = ROOT value = 50 }
                    }
                }
            }
            educator = { save_event_target_as = scoped_guardian }
        }
    }
    
    option = {
        name = EVTOPTAHF24100
        custom_tooltip = { text = TT_EVTOPTAHF24100 }
        random = { 
            chance = 50 
            change_intrigue = 1
        }
        hidden_tooltip = {
            event_target:scoped_guardian = {
                character_event = { id = HF.24101 }
            }
        }
    }
    option = {
        name = EVTOPTBHF24100
        custom_tooltip = { text = TT_EVTOPTBHF24100 }
    }
}

#Educator receives event.
character_event = {
    id = HF.24101
    desc = EVTDESCAHF24101
    picture = GFX_evt_child_reading
    border = GFX_event_normal_frame_intrigue

    is_triggered_only = yes
    
    option = {
        name = EVTOPTAHF24101
        trigger = { OR = { trait = strong trait = strong_1 trait = strong_2 } }
        tooltip_info = strong
        hidden_tooltip = {
            FROM = {
                character_event = { id = HF.24102 }
            }
        }
    }
    option = {
        name = EVTOPTAHF24101
        trigger = { trait = robust }
        tooltip_info = robust
        hidden_tooltip = {
            FROM = {
                character_event = { id = HF.24102 }
            }
        }
    }
    option = {
        name = EVTOPTBHF24101
        trigger = { intrigue = 16 }
        tooltip_info = intrigue
        hidden_tooltip = {
            FROM = {
                character_event = { id = HF.24102 }
            }
        }
    }
    option = {
        name = EVTOPTCHF24101
        hidden_tooltip = { FROM = { character_event = { id = HF.24103 } } }
        hidden_tooltip = { 
            if = { 
                limit = { 
                    FROM = { NOT = { is_liege_of = ROOT } }
                }
                liege = { character_event = { id = HF.24104 } }
            }
        }
        death = { death_reason = death_murder_unknown killer = FROM }
    }
}

#Child was busted.
character_event = {
    id = HF.24102
    desc = EVTDESCAHF24102
    picture = GFX_evt_child_reading
    border = GFX_event_normal_frame_intrigue

    is_triggered_only = yes
    
    option = {
        name = EVTOPTAHF24102
        tiered_prestige_negative_effect = yes
    }
}

#Child notified of success.
character_event = {
    id = HF.24103
    desc = EVTDESCAHF24103
    picture = GFX_evt_child_reading
    border = GFX_event_normal_frame_intrigue

    is_triggered_only = yes
    
    option = {
        name = EVTOPTAHF24103
        tiered_prestige_reward_effect = yes
    }
}

#Liege notified of child's success.
character_event = {
    id = HF.24104
    desc = EVTDESCAHF24104
    picture = GFX_evt_child_reading
    border = GFX_event_normal_frame_intrigue

    is_triggered_only = yes
    
    option = {
        name = EVTOPTAHF24104
        trigger = { dynasty = FROMFROM }
    }
    option = {
        name = EVTOPTBHF24104
        trigger = { NOT = { dynasty = FROMFROM } }
    }
}
###################

#Executing people by adding them to the Macabre Banquet.
character_event = {
    id = HF.24105
    desc = EVTDESCHF24105
    picture = GFX_evt_feast_hf
    border = GFX_event_normal_frame_intrigue
    
    is_triggered_only = yes
    
    option = {
        name = EVTOPTAHF24105
    }
}

# Killed by macabre banquet (generic executions)
character_event = {
    id = HF.24106
    desc = EVTDESCHF24106
    picture = GFX_evt_feast_hf
    border = GFX_event_normal_frame_intrigue
    
    is_triggered_only = yes
    
    option = {
        name = EVTOPTAHF24106
        death = {
            death_reason = death_execution_macabre_banquet
            killer = FROM
        }
    }
}

###################

#Murder deflection
character_event = {
    id = HF.24107
    desc = EVTDESCHF24107
    picture = GFX_evt_meeting_hf
    border = GFX_event_normal_frame_intrigue
    
    is_triggered_only = yes
    
    option = {
        name = EVTOPTAHF24107
        trigger = {
            OR = {
                trait = kinslayer
                trait = familial_kinslayer
                trait = dynastic_kinslayer
                trait = tribal_kinslayer
            }
        }
        if = {
            limit = {
                intrigue = 15
            }
            if = {
                limit = {
                    trait = kinslayer
                }
                prestige = -500
                remove_trait = kinslayer
            }
            if = {
                limit = {
                    trait = familial_kinslayer
                }
                prestige = -250
                remove_trait = familial_kinslayer
            }
            if = {
                limit = {
                    trait = dynastic_kinslayer
                }
                prestige = -150
                remove_trait = dynastic_kinslayer
            }
            if = {
                limit = {
                    trait = tribal_kinslayer
                }
                prestige = -150
                remove_trait = tribal_kinslayer
            }
        }
        else = {
            if = {
                limit = {
                    trait = kinslayer
                }
                prestige = -1000
                remove_trait = kinslayer
            }
            if = {
                limit = {
                    trait = familial_kinslayer
                }
                prestige = -500
                remove_trait = familial_kinslayer
            }
            if = {
                limit = {
                    trait = dynastic_kinslayer
                }
                prestige = -300
                remove_trait = dynastic_kinslayer
            }
            if = {
                limit = {
                    trait = tribal_kinslayer
                }
                prestige = -300
                remove_trait = tribal_kinslayer
            }
        }
    }
    option = {
        name = EVTOPTBHF24107
        trigger = {
            has_character_modifier = known_murderer
        }
        if = {
            limit = {
                intrigue = 15
            }
            prestige = -500
            remove_character_modifier = known_murderer
        }
        else = {
            prestige = -750
            remove_character_modifier = known_murderer
        }
    }
    option = {
        name = EVTOPTCHF24107
        trigger = {
            OR = {
                has_character_modifier = vicious_rumors
                has_character_modifier = vicious_rumors_2
            }
        }
        if = {
            limit = {
                intrigue = 15
            }
            if = {
                limit = {
                    has_character_modifier = vicious_rumors_2
                }
                prestige = -250
                remove_character_modifier = vicious_rumors_2
            }
            if = {
                limit = {
                    has_character_modifier = vicious_rumors
                }
                prestige = -150
                remove_character_modifier = vicious_rumors
            }
        }
        else = {
            if = {
                limit = {
                    has_character_modifier = vicious_rumors_2
                }
                prestige = -500
                remove_character_modifier = vicious_rumors_2
            }
            if = {
                limit = {
                    has_character_modifier = vicious_rumors
                }
                prestige = -300
                remove_character_modifier = vicious_rumors
            }
        }
    }
    option = {
        name = EVTOPTDHF24107
        hidden_tooltip = {
            remove_character_modifier = deflection_decision_cooldown
        }
        break = yes
    }
    after = { #After-effects
        hidden_tooltip = {
            random_list = {
                #Stress
                #Paranoia
                #Deceit
                #Cruelty
                #Lunacy
                250 = {}
                10 = {
                    trigger = {
                        NOT = {
                            trait = stressed
                        }
                    }
                    character_event = { id = HF.24108 days = 25 random = 25 }
                }
                10 = {
                    trigger = {
                        NOT = {
                            trait = paranoid
                        }
                    }
                    character_event = { id = HF.24109 days = 25 random = 25 }
                }
                10 = {
                    trigger = {
                        NOT = {
                            trait = deceitful
                        }
                    }
                    character_event = { id = HF.24110 days = 25 random = 25 }
                }
                10 = {
                    trigger = {
                        NOT = {
                            trait = cruel
                        }
                    }
                    character_event = { id = HF.24111 days = 25 random = 25 }
                }
                1 = {
                    trigger = {
                        NOT = {
                            trait = lunatic
                        }
                    }
                    character_event = { id = HF.24112 days = 25 random = 25 }
                }
            }
        }
    }
}

#Ruler beomes stressed.
character_event = {
    id = HF.24108
    desc = EVTDESCHF24108
    picture = GFX_evt_bad_news
    border = GFX_event_normal_frame_intrigue
    
    is_triggered_only = yes
    
    option = {
        name = EVTOPTAHF24108
        if = {
            limit = {
                trait = stressed
            }
            health = -0.5
        }
        else_if = {
            limit = {
                NOT = { trait = stressed }
            }
            add_trait = stressed
        }
    }
}
#Ruler beomes paranoid.
character_event = {
    id = HF.24109
    desc = EVTDESCHF24109
    picture = GFX_evt_bad_news
    border = GFX_event_normal_frame_intrigue
    
    is_triggered_only = yes
    
    option = {
        name = EVTOPTAHF24109
        if = {
            limit = { trait = trusting }
            remove_trait = trusting
        }
        else_if = {
            limit = {
                trait = paranoid
            }
            health = -0.5
        }
        else = {
            add_trait = paranoid
        }
    }
}
#Ruler beomes deceitful.
character_event = {
    id = HF.24110
    desc = EVTDESCHF24110
    picture = GFX_evt_bad_news
    border = GFX_event_normal_frame_intrigue
    
    is_triggered_only = yes
    
    option = {
        name = EVTOPTAHF24110
        if = {
            limit = { trait = honest }
            remove_trait = honest
        }
        else_if = {
            limit = {
                trait = deceitful
            }
            change_intrigue = 1
        }
        else = {
            add_trait = deceitful
        }
    }
}
#Ruler beomes cruel.
character_event = {
    id = HF.24111
    desc = EVTDESCHF24111
    picture = GFX_evt_bad_news
    border = GFX_event_normal_frame_intrigue
    
    is_triggered_only = yes
    
    option = {
        name = EVTOPTAHF24111
        if = {
            limit = { trait = kind }
            remove_trait = kind
        }
        else_if = {
            limit = {
                trait = cruel
            }
            change_intrigue = 1
        }
        else = {
            add_trait = cruel
        }
    }
}
#Ruler beomes lunatic.
character_event = {
    id = HF.24112
    desc = EVTDESCHF24112
    picture = GFX_evt_bad_news
    border = GFX_event_normal_frame_intrigue
    
    is_triggered_only = yes
    
    option = {
        name = EVTOPTAHF24112
        if = {
            limit = {
                trait = lunatic
            }
            health = -0.5
        }
        else_if = {
            limit = {
                NOT = { trait = lunatic }
            }
            add_trait = lunatic
        }
    }
}


#Plotter sees an opportunity - assassinate
character_event = {
    id = HF.24113
    desc = EVTDESCHF24113
    picture = { 
        trigger = { 
            ROOT = { 
                is_female = no
            } 
        } 
        picture = GFX_evt_cornered_duel_hf
    }
    picture = { 
        trigger = { 
            ROOT = { 
                is_female = yes
            } 
        } 
        picture = GFX_evt_slit_throat_hf
    }
    border = GFX_event_normal_frame_intrigue
    
    is_part_of_plot = yes
    capable_only = yes
    prisoner = no
    
    trigger = {
        any_owned_bloodline = {
            has_bloodline_flag = bloodline_murder_stalk 
        }
        OR = {
            has_plot = plot_kill_character
            has_plot = plot_kill_spouse
        }
        combat_rating = -20
        is_inaccessible_trigger = no
        plot_target_char = {
            age = 16
            NOR = {
                is_inaccessible_trigger = yes
                trait = incapable
                prisoner = yes
            }
        }
        NOT = { has_character_flag = murder_in_motion }
    }
    
    mean_time_to_happen = {
        months = 3000

        modifier = {
            factor = 0.9
            plot_power = 0.1
        }
        modifier = {
            factor = 0.9
            plot_power = 0.2
        }
        modifier = {
            factor = 0.9
            plot_power = 0.3
        }
        modifier = {
            factor = 0.8
            plot_power = 0.4
        }
        modifier = {
            factor = 0.8
            plot_power = 0.5
        }
        modifier = {
            factor = 0.8
            plot_power = 0.6
        }
        modifier = {
            factor = 0.8
            plot_power = 0.7
        }
        modifier = {
            factor = 0.8
            plot_power = 0.8
        }
        modifier = {
            factor = 0.7
            plot_power = 0.9
        }
        modifier = {
            factor = 0.7
            plot_power = 1.0
        }
        modifier = {
            factor = 0.6
            plot_power = 1.5
        }
        modifier = {
            factor = 0.5
            plot_power = 2.0
        }
        modifier = {
            factor = 0.9
            intrigue = 10
        }
        modifier = {
            factor = 0.9
            intrigue = 12
        }
        modifier = {
            factor = 0.9
            intrigue = 14
        }
        modifier = {
            factor = 0.8
            intrigue = 16
        }
        modifier = {
            factor = 0.7
            intrigue = 18
        }
        modifier = {
            factor = 0.6
            intrigue = 20
        }
    }
    
    immediate = {
        plot_target_char = { save_event_target_as = plot_target }
        save_event_target_as = assassin_plot_owner
    }
    
    #Do it
    option = {
        name = EVTOPTAHF24113
        custom_tooltip = { text = EVTOPTA_HF24113_TOOLTIP }
        hidden_effect = { 
            event_target:plot_target = { character_event = { id = HF.24114 days = 7 } } 
            set_character_flag = murder_in_motion
        }
    }

    #Wait
    option = {
        name = EVTOPTBHF24113
        custom_tooltip = { text = EVTOPTB_HF24113_TOOLTIP }
    }
}

#Assassination attempt
character_event = {
    id = HF.24114
    desc = EVTDESCHF24114
    picture = { 
        trigger = { 
            ROOT = { 
                is_female = no
            } 
        } 
        picture = GFX_evt_cornered_duel_hf
    }
    picture = { 
        trigger = { 
            ROOT = { 
                is_female = yes
            } 
        } 
        picture = GFX_evt_slit_throat_hf
    }
    border = GFX_event_normal_frame_intrigue

    is_triggered_only = yes
    hide_from = yes
    
    immediate = {
        hidden_tooltip = {
            set_character_flag = fighting_murder
            set_character_flag = duel_murder
            murder_success_calulator_effect = yes
            clr_character_flag = fighting_murder
            clr_character_flag = duel_murder
        }    
    }


    option = {
        name = EVTOPTAHF24114

        event_target:assassin_plot_owner = { clr_character_flag = murder_in_motion }

        hidden_effect = {
            if = {
                limit = { has_character_flag = murder_success }
                random_list = {
                    75 = {    #Not discovered
                        character_event = { id = HF.24115 days = 3 }
                    }
                    25 = {    #Discovered
                        modifier = {
                            factor = 0.75
                            NOT = { intrigue = 2 }
                        }
                        modifier = {
                            factor = 0.75
                            NOT = { intrigue = 5 }
                        }
                        modifier = {
                            factor = 1.33
                            intrigue = 8
                        }
                        modifier = {
                            factor = 1.33
                            intrigue = 11
                        }
                        modifier = {
                            factor = 1.33
                            intrigue = 14
                        }
                        modifier = {
                            factor = 1.33
                            intrigue = 17
                        }
                        modifier = {
                            factor = 1.33
                            event_target:assassin_plot_owner = { NOT = { intrigue = 2 } }
                        }
                        modifier = {
                            factor = 1.33
                            event_target:assassin_plot_owner = { NOT = { intrigue = 5 } }
                        }
                        modifier = {
                            factor = 0.75
                            event_target:assassin_plot_owner = { intrigue = 8 }
                        }
                        modifier = {
                            factor = 0.75
                            event_target:assassin_plot_owner = { intrigue = 11 }
                        }
                        modifier = {
                            factor = 0.75
                            event_target:assassin_plot_owner = { intrigue = 14 }
                        }
                        modifier = {
                            factor = 0.75
                            event_target:assassin_plot_owner = { intrigue = 17 }
                        }
                        character_event = { id = HF.24118 days = 3 }
                    }
                }    
                clr_character_flag = murder_success
            }
            else_if = {
                limit = { has_character_flag = murder_fail }
                random_list = {
                    50 = {    #Not discovered
                        modifier = {
                            factor = 1.33
                            NOT = { intrigue = 2 }
                        }
                        modifier = {
                            factor = 1.33
                            NOT = { intrigue = 5 }
                        }
                        modifier = {
                            factor = 0.75
                            intrigue = 8
                        }
                        modifier = {
                            factor = 0.75
                            intrigue = 11
                        }
                        modifier = {
                            factor = 0.75
                            intrigue = 14
                        }
                        modifier = {
                            factor = 0.75
                            intrigue = 17
                        }
                        modifier = {
                            factor = 0.75
                            event_target:assassin_plot_owner = { NOT = { intrigue = 2 } }
                        }
                        modifier = {
                            factor = 0.75
                            event_target:assassin_plot_owner = { NOT = { intrigue = 5 } }
                        }
                        modifier = {
                            factor = 1.33
                            event_target:assassin_plot_owner = { intrigue = 8 }
                        }
                        modifier = {
                            factor = 1.33
                            event_target:assassin_plot_owner = { intrigue = 11 }
                        }
                        modifier = {
                            factor = 1.33
                            event_target:assassin_plot_owner = { intrigue = 14 }
                        }
                        modifier = {
                            factor = 1.33
                            event_target:assassin_plot_owner = { intrigue = 17 }
                        }
                        character_event = { id = HF.24121 days = 3 }
                    }
                    25 = {    #Discovered and wounded
                        character_event = { id = HF.24124 days = 3 }
                        hidden_tooltip = {
                            save_event_target_as = target_victim
                            event_target:assassin_plot_owner = { character_event = { id = 11 } } # Consequences of discovery
                            clear_event_target = target_victim
                        }    
                    }
                    25 = { #Killed assailant
                        trigger = {
                            NOT = {
                                event_target:assassin_plot_owner = {
                                    combat_rating_diff = { character = ROOT value = 40 }
                                }    
                            }
                        }
                        modifier = {
                            factor = 1.33
                            combat_rating_diff = { character = event_target:assassin_plot_owner value = 20 }
                        }
                        modifier = {
                            factor = 1.33
                            combat_rating_diff = { character = event_target:assassin_plot_owner value = 40 }
                        }
                        modifier = {
                            factor = 1.33
                            combat_rating_diff = { character = event_target:assassin_plot_owner value = 60 }
                        }
                        character_event = { id = HF.24127 days = 3 }
                        hidden_tooltip = {
                            save_event_target_as = target_victim
                            event_target:assassin_plot_owner = { character_event = { id = 11 } } # Consequences of discovery
                            clear_event_target = target_victim
                        }    
                    }
                }    
                clr_character_flag = murder_fail
            }
        }
    }
}

#Plot target dies, undiscovered
character_event = {
    id = HF.24115
    desc = EVTDESCHF24115
    picture = { 
        trigger = { 
            ROOT = { 
                is_female = no
            } 
        } 
        picture = GFX_evt_cornered_duel_hf
    }
    picture = { 
        trigger = { 
            ROOT = { 
                is_female = yes
            } 
        } 
        picture = GFX_evt_slit_throat_hf
    }
    border = GFX_event_normal_frame_intrigue

    is_triggered_only = yes
    hide_from = yes

    option = {
        name = EVTOPTAHF24115
        plot_murder_undiscovered_effect = yes
        tooltip = { death = { death_reason = death_murder_unknown_slayed killer = event_target:assassin_plot_owner } }
        hidden_effect = {
            event_target:assassin_plot_owner = { character_event = { id = HF.24116 } }
        }
    }
}

#Assassin notified of "Plot target dies, undiscovered"
character_event = {
    id = HF.24116
    desc = EVTDESCHF24116
    picture = { 
        trigger = { 
            ROOT = { 
                is_female = no
            } 
        } 
        picture = GFX_evt_cornered_duel_hf
    }
    picture = { 
        trigger = { 
            ROOT = { 
                is_female = yes
            } 
        } 
        picture = GFX_evt_slit_throat_hf
    }
    border = GFX_event_normal_frame_intrigue
    is_triggered_only = yes

    option = {
        name = EVTOPTAHF24116
        FROM = { death = { death_reason = death_murder_unknown_slayed killer = event_target:assassin_plot_owner } } 
        # #If quest holder, clear quest and reward
        # if = {
            # limit = {
                # society_member_of = the_assassins
                # has_quest = quest_the_assassins_assassination
                # quest_target = { character = event_target:plot_target }
            # }
            # clr_quest = quest_the_assassins_assassination
            # sound_effect = assassins_assassinate_character

            # if = {
                # limit = { event_target:plot_target = { higher_tier_than = DUKE } }
                # add_society_currency_major_effect = yes
            # }
            # if = {
                # limit = { event_target:plot_target = { tier = DUKE } } 
                # add_society_currency_medium_effect = yes
            # }
            # if = {
                # limit = { event_target:plot_target = { lower_tier_than = DUKE } }
                # add_society_currency_minor_effect = yes
            # }
        # }
        clr_character_flag = murder_in_motion
    }
}


#Plot target dies, discovered
character_event = {
    id = HF.24118
    desc = EVTDESCHF24118
    picture = { 
        trigger = { 
            ROOT = { 
                is_female = no
            } 
        } 
        picture = GFX_evt_cornered_duel_hf
    }
    picture = { 
        trigger = { 
            ROOT = { 
                is_female = yes
            } 
        } 
        picture = GFX_evt_slit_throat_hf
    }
    border = GFX_event_normal_frame_intrigue

    is_triggered_only = yes
    portrait = event_target:assassin_plot_owner

    option = {
        name = EVTOPTAHF24118
        plot_murder_discovered_effect = yes
        tooltip = { death = { death_reason = death_murder_slayed killer = event_target:assassin_plot_owner } }

        hidden_effect = {
            event_target:assassin_plot_owner = { character_event = { id = HF.24119 } }
        }
    }
}

#Assassin notified of "Plot target dies, discovered"
character_event = {
    id = HF.24119
    desc = EVTDESCHF24119
    picture = { 
        trigger = { 
            ROOT = { 
                is_female = no
            } 
        } 
        picture = GFX_evt_cornered_duel_hf
    }
    picture = { 
        trigger = { 
            ROOT = { 
                is_female = yes
            } 
        } 
        picture = GFX_evt_slit_throat_hf
    }
    border = GFX_event_normal_frame_intrigue

    is_triggered_only = yes

    option = {
        name = EVTOPTAHF24119
        FROM = { death = { death_reason = death_murder_slayed killer = event_target:assassin_plot_owner } }
        # #If quest holder, clear quest and reward
        # if = {
            # limit = {
                # society_member_of = the_assassins
                # has_quest = quest_the_assassins_assassination
                # quest_target = { character = event_target:plot_target }
            # }
            # clr_quest = quest_the_assassins_assassination
            # sound_effect = assassins_assassinate_character

            # if = {
                # limit = { event_target:plot_target = { higher_tier_than = DUKE } }
                # add_society_currency_major_effect = yes
            # }
            # if = {
                # limit = { event_target:plot_target = { tier = DUKE } } 
                # add_society_currency_medium_effect = yes
            # }
            # if = {
                # limit = { event_target:plot_target = { lower_tier_than = DUKE } }
                # add_society_currency_minor_effect = yes
            # }
        # }
        clr_character_flag = murder_in_motion
        piety = -100
        if = {
            limit = {
                NOT = { trait = deceitful }
                NOT = { trait = honest }
                NOT = { trait = honorable }
                NOT = { personality_traits = 6 }
            }
            random = {
                chance = 33
                add_trait = deceitful
                hidden_tooltip = {
                    character_event = {
                        id = 38255 #Notify Deceitful
                    }
                }                
            }    
        }        
        if = {
            limit = { trait = honest }
            remove_trait = honest
        }    
        if = {
            limit = { trait = honorable }
            remove_trait = honorable
        }
        if = {
            limit = { NOT = { has_cutthroat_religion_trigger = yes } }
            tooltip = { change_variable = { which = "dishonorable" value = 10 } }
        }
    }
}

#Plot target survives, undiscovered
character_event = {
    id = HF.24121
    desc = EVTDESCHF24121
    picture = { 
        trigger = { 
            ROOT = { 
                is_female = no
            } 
        } 
        picture = GFX_evt_cornered_duel_hf
    }
    picture = { 
        trigger = { 
            ROOT = { 
                is_female = yes
            } 
        } 
        picture = GFX_evt_slit_throat_hf
    }
    border = GFX_event_normal_frame_intrigue

    is_triggered_only = yes
    hide_from = yes

    option = {
        name = EVTOPTAHF24121
        if = {
            limit = { ai = no }
            random_courtier = {
                limit = {
                    OR = {
                        has_minor_title = title_bodyguard
                        has_minor_title = title_bloodrider
                    }
                    liege = { character = ROOT }
                    NOT = { character = FROM }
                    NOT = { character = FROMFROM }
                }
                custom_tooltip = { text = TOOLTIPBODYGUARDMURDERRESCUE }
            }
            if = {
                limit = { has_landed_title = e_iron_throne }
                kingsguard = {
                    limit = {
                        is_alive = yes
                        prisoner = no
                        NOT = { trait = incapable }
                        NOT = { character = FROM }
                        NOT = { character = FROMFROM }
                        NOR = {
                            war_with = ROOT
                            any_liege = { war_with = ROOT }
                        }
                    }
                    custom_tooltip = { text = TOOLTIPBODYGUARDMURDERRESCUE }
                }
            }
        }
        add_character_modifier = {
            name = alerted_to_plot
            duration = 1095
        }
        hidden_effect = {
            event_target:assassin_plot_owner = { character_event = { id = HF.24122 } }
        }
    }
}

#Assassin notified of "Plot target survives, undiscovered"
character_event = {
    id = HF.24122
    desc = EVTDESCHF24122
    picture = { 
        trigger = { 
            ROOT = { 
                is_female = no
            } 
        } 
        picture = GFX_evt_cornered_duel_hf
    }
    picture = { 
        trigger = { 
            ROOT = { 
                is_female = yes
            } 
        } 
        picture = GFX_evt_slit_throat_hf
    }
    border = GFX_event_normal_frame_intrigue

    is_triggered_only = yes

    option = {
        name = EVTOPTAHF24122
    }
}

#Plot target survives, wounded
character_event = {
    id = HF.24124
    desc = EVTDESCHF24124
    picture = { 
        trigger = { 
            ROOT = { 
                is_female = no
            } 
        } 
        picture = GFX_evt_cornered_duel_hf
    }
    picture = { 
        trigger = { 
            ROOT = { 
                is_female = yes
            } 
        } 
        picture = GFX_evt_slit_throat_hf
    }
    border = GFX_event_normal_frame_intrigue

    is_triggered_only = yes

    option = {
        name = EVTOPTAHF24124
        if = {
            limit = { ai = no }
            random_courtier = {
                limit = {
                    OR = {
                        has_minor_title = title_bodyguard
                        has_minor_title = title_bloodrider
                    }
                    liege = { character = ROOT }
                    NOT = { character = FROM }
                    NOT = { character = FROMFROM }
                }
                custom_tooltip = { text = TOOLTIPBODYGUARDMURDERRESCUE }
            }
            if = {
                limit = { has_landed_title = e_iron_throne }
                kingsguard = {
                    limit = {
                        is_alive = yes
                        prisoner = no
                        NOT = { trait = incapable }
                        NOT = { character = FROM }
                        NOT = { character = FROMFROM }
                        NOR = {
                            war_with = ROOT
                            any_liege = { war_with = ROOT }
                        }
                    }
                    custom_tooltip = { text = TOOLTIPBODYGUARDMURDERRESCUE }
                }
            }
        }
        add_character_modifier = {
            name = alerted_to_plot
            duration = 1095
        }
        random_list = {
            70 = {
                event_target:assassin_plot_owner = { 
                    tooltip = { add_trait = wounded }
                    set_character_flag = assassin_wounded
                }
            }
            30 = {
                event_target:assassin_plot_owner = {
                    tooltip = { add_maimed_trait_effect = yes }
                    set_character_flag = assassin_maimed
                }
            }
        }

        hidden_effect = {
            event_target:assassin_plot_owner = { character_event = { id = HF.24125 } }
        }
    }
}

#Assassin notified of "Plot target survives, wounded"
character_event = {
    id = HF.24125
    desc = EVTDESCHF24125
    picture = { 
        trigger = { 
            ROOT = { 
                is_female = no
            } 
        } 
        picture = GFX_evt_cornered_duel_hf
    }
    picture = { 
        trigger = { 
            ROOT = { 
                is_female = yes
            } 
        } 
        picture = GFX_evt_slit_throat_hf
    }
    border = GFX_event_normal_frame_intrigue

    is_triggered_only = yes

    option = {
        name = EVTOPTAHF24124
        if = {
            limit = { has_character_flag = assassin_wounded }
            add_trait_wounded_effect = yes
            clr_character_flag = assassin_wounded
        }
        if = {
            limit = { has_character_flag = assassin_maimed }
            add_maimed_trait_effect = yes
            clr_character_flag = assassin_maimed
        }
        clr_character_flag = murder_in_motion
        if = {
            limit = { NOT = { has_cutthroat_religion_trigger = yes } }
            tooltip = { change_variable = { which = "dishonorable" value = 10 } }
        }
    }
}

#Plot target survives, killed
character_event = {
    id = HF.24127
    desc = EVTDESCHF24127
    picture = { 
        trigger = { 
            ROOT = { 
                is_female = no
            } 
        } 
        picture = GFX_evt_cornered_duel_hf
    }
    picture = { 
        trigger = { 
            ROOT = { 
                is_female = yes
            } 
        } 
        picture = GFX_evt_slit_throat_hf
    }
    border = GFX_event_normal_frame_intrigue


    is_triggered_only = yes

    option = {
        name = EVTOPTAHF24127
        if = {
            limit = { ai = no }
            random_courtier = {
                limit = {
                    OR = {
                        has_minor_title = title_bodyguard
                        has_minor_title = title_bloodrider
                    }
                    liege = { character = ROOT }
                    NOT = { character = FROM }
                    NOT = { character = FROMFROM }
                }
                custom_tooltip = { text = TOOLTIPBODYGUARDMURDERRESCUE }
            }
            if = {
                limit = { has_landed_title = e_iron_throne }
                kingsguard = {
                    limit = {
                        is_alive = yes
                        prisoner = no
                        NOT = { trait = incapable }
                        NOT = { character = FROM }
                        NOT = { character = FROMFROM }
                        NOR = {
                            war_with = ROOT
                            any_liege = { war_with = ROOT }
                        }
                    }
                    custom_tooltip = { text = TOOLTIPBODYGUARDMURDERRESCUE }
                }
            }
        }
        add_character_modifier = {
            name = alerted_to_plot
            duration = 1095
        }
        tooltip = { event_target:assassin_plot_owner = { death = { death_reason = death_duel_murder_attempt killer = event_target:plot_target } } }

        hidden_effect = {
            event_target:assassin_plot_owner = { character_event = { id = HF.24128 } }
        }
    }
}

#Assassin notified of "Plot target survives, killed"
character_event = {
    id = HF.24128
    desc = EVTDESCHF24128
    picture = { 
        trigger = { 
            ROOT = { 
                is_female = no
            } 
        } 
        picture = GFX_evt_cornered_duel_hf
    }
    picture = { 
        trigger = { 
            ROOT = { 
                is_female = yes
            } 
        } 
        picture = GFX_evt_slit_throat_hf
    }
    border = GFX_event_normal_frame_intrigue

    is_triggered_only = yes

    option = {
        name = EVTOPTAHF24128
        if = {
            limit = { NOT = { has_cutthroat_religion_trigger = yes } }
            tooltip = { change_variable = { which = "dishonorable" value = 10 } }
        }
        death = { death_reason = death_duel_murder_attempt killer = event_target:plot_target } 
    }
}

# Knight Bloodline
# Bards/Knights arriving at court.
character_event = { 
    id = HF.24129
    hide_window = yes
    
    is_triggered_only = yes
    
    only_playable = yes
    only_capable = yes
    prisoner = no
    min_age = 16

    trigger = {
        piety = 50
        any_owned_bloodline = {
            has_bloodline_flag = bloodline_knights
            founder = {
                NOT = {
                    character = ROOT
                }
                religion = the_seven
            }
        }
    }
    
    immediate = {
        random_list = {
            60 = { #Knight
                character_event = { id = HF.24130 }
            }
            60 = { #Bard
                character_event = { id = HF.24131 }
            }
            80 = {
                modifier = {
                    factor = 3
                    ai = yes
                }
                modifier = {
                    factor = 1.35
                    NOT = {
                        higher_tier_than = COUNT
                    }
                }
                modifier = {
                    factor = 1.35
                    NOT = {
                        higher_tier_than = DUKE
                    }
                }
                modifier = {
                    factor = 1.75
                    is_evil_trigger = yes
                }
                modifier = {
                    factor = 0.65
                    is_benevolent_trigger = yes
                }
                modifier = {
                    factor = 1.35
                    any_courtier_or_vassal = {
                        count = 2
                        has_bloodline_flag = bloodline_knights
                    }
                }
                modifier = {
                    factor = 1.35
                    any_courtier_or_vassal = {
                        count = 3
                        has_bloodline_flag = bloodline_knights
                    }
                }
            }
        }
    }
}

character_event = { # Knight character arrives
    id = HF.24130
    desc = EVTDESCHF24130
    picture = GFX_evt_western_knights_byzantine
    border = GFX_event_normal_frame_war

    is_triggered_only = yes
    
    only_playable = yes
    only_capable = yes
    prisoner = no
    min_age = 16
    
    immediate = {
        spawn_fantastic_commander_effect = yes
        event_target:invited_character = {
            set_character_flag = bloodline_great_hero
            set_character_flag = hero_knight
            knight_character_effect = yes
            remove_trait = ruthless
            remove_trait = craven
            add_trait = honorable
            add_trait = cavalry_leader
        }
    }
    
    option = {
        name = EVTOPTAHF24130
        
        trigger = {
            any_realm_character = {
                NOT = {
                    higher_tier_than = BARON
                }
                liege = { character = ROOT }
                has_minor_title = title_commander
                NOT = {
                    martial = 12
                }
            }
            OR = {
                AND = {
                    tier = COUNT
                    any_realm_character = {
                        count = 2
                        liege = { character = ROOT }
                        has_minor_title = title_commander
                    }
                }
                AND = {
                    tier = DUKE
                    any_realm_character = {
                        count = 4
                        liege = { character = ROOT }
                        has_minor_title = title_commander
                    }
                }
                AND = {
                    tier = KING
                    is_nomadic = no
                    any_realm_character = {
                        count = 6
                        liege = { character = ROOT }
                        has_minor_title = title_commander
                    }
                }
                AND = {
                    tier = EMPEROR
                    is_nomadic = no
                    any_realm_character = {
                        count = 8
                        liege = { character = ROOT }
                        has_minor_title = title_commander
                    }
                }
                AND = {
                    tier = KING
                    is_nomadic = yes
                    any_realm_character = {
                        count = 2
                        liege = { character = ROOT }
                        has_minor_title = title_commander
                    }
                }
                AND = {
                    tier = EMPEROR
                    is_nomadic = yes
                    any_realm_character = {
                        count = 4
                        liege = { character = ROOT }
                        has_minor_title = title_commander
                    }
                }
            }
        }
        
        random_realm_character = {
            limit = {
                NOT = {
                    higher_tier_than = BARON
                }
                liege = { character = ROOT }
                has_minor_title = title_commander
                NOT = {
                    martial = 12
                }
            }
            remove_title = title_commander
            opinion = {
                modifier = insulted
                who = ROOT
                years = 2
            }
        }
        
        event_target:invited_character = {
            give_minor_title = title_commander
            opinion = {
                modifier = opinion_loyal_servant
                who = ROOT
                years = 100
            }
        }
    }

    option = {
        name = EVTOPTAHF24130
        
        trigger = {
            event_target:invited_character = { has_character_flag = invited_soldier }
            OR = {
                AND = {
                    tier = COUNT
                    NOT = {
                        any_realm_character = {
                            count = 2
                            liege = { character = ROOT }
                            has_minor_title = title_commander
                        }
                    }
                }
                AND = {
                    tier = DUKE
                    NOT = {
                        any_realm_character = {
                            count = 4
                            liege = { character = ROOT }
                            has_minor_title = title_commander
                        }
                    }
                }
                AND = {
                    tier = KING
                    is_nomadic = no
                    NOT = {
                        any_realm_character = {
                            count = 6
                            liege = { character = ROOT }
                            has_minor_title = title_commander
                        }
                    }
                }
                AND = {
                    tier = EMPEROR
                    is_nomadic = no
                    NOT = {
                        any_realm_character = {
                            count = 8
                            liege = { character = ROOT }
                            has_minor_title = title_commander
                        }
                    }
                }
                AND = {
                    tier = KING
                    is_nomadic = yes
                    NOT = {
                        any_realm_character = {
                            count = 2
                            liege = { character = ROOT }
                            has_minor_title = title_commander
                        }
                    }
                }
                AND = {
                    tier = EMPEROR
                    is_nomadic = yes
                    NOT = {
                        any_realm_character = {
                            count = 4
                            liege = { character = ROOT }
                            has_minor_title = title_commander
                        }
                    }
                }
            }
        }
        
        event_target:invited_character = {
            give_minor_title = title_commander
            opinion = {
                modifier = opinion_loyal_servant
                who = ROOT
                years = 100
            }
        }
    }
    
    option = {
        name = FANTASTIC
        event_target:invited_character = {
            opinion = {
                modifier = opinion_loyal_servant
                who = ROOT
                years = 100
            }
        }
    }
    
    option = {
        name = EVTOPTCHF24130
        
        hidden_tooltip = {
            event_target:invited_character = { 
                death = {
                    death_reason = death_missing
                }
            }
        }
    }
}

character_event = { # Bard character arrives
    id = HF.24131
    desc = EVTDESCHF24131
    picture = GFX_evt_jugglers
    border = GFX_event_normal_frame_diplomacy

    is_triggered_only = yes
    
    only_playable = yes
    only_capable = yes
    prisoner = no
    min_age = 16
    
    immediate = {
        spawn_fantastic_diplomat_effect = yes
        event_target:invited_character = {
            add_trait = poet
        }
    }
    
    option = {
        name = EVTOPTAHF24131
        event_target:invited_character = {
            opinion = {
                modifier = opinion_loyal_servant
                who = ROOT
                years = 100
            }
        }
    }
    option = {
        name = EVTOPTCHF24130
        
        hidden_tooltip = {
            event_target:invited_character = { 
                death = {
                    death_reason = death_missing
                }
            }
        }
    }
}

#Landless ladies of same religion might ask for protection.
character_event = { 
    id = HF.24132
    hide_window = yes

    is_triggered_only = yes
    
    only_women = yes
    min_age = 16
    max_age = 30
    only_capable = yes
    prisoner = no
    religion = the_seven
    
    trigger = {
        may_move_court_trigger = yes
        is_female = yes
        NOT = { has_religion_feature = religion_matriarchal }        
        can_marry_trigger = yes
        NOT = { num_of_friends = 1 }
        NOR = { 
            trait = brave
            trait = content
        }
        NOT = { has_character_flag = special_marshal }
        liege = {  
            OR = { 
                NOT = { religion = ROOT }
                NOT = { reverse_opinion = { who = ROOT value = -40 } }
                is_rival = ROOT
            }
        }
    }

    immediate = {
        random = {
            chance = 5
            liege = {
                random_neighbor_independent_ruler = {  
                    limit = {  
                        age = 16
                        NOT = { trait = incapable }
                        any_owned_bloodline = { 
                            has_bloodline_flag = bloodline_knights
                            bloodline_is_active_for = PREV
                        }
                        religion = ROOT
                        can_marry_trigger = yes
                        NOT = { is_inaccessible_trigger = yes }
                    }
                    character_event = { id = HF.24133 }
                }
            }    
        }
    }
}

character_event = { # Woman asks for assistance
    id = HF.24133
    desc = EVTDESCHF24133
    picture = GFX_evt_homage_hf
    border = GFX_event_normal_frame_diplomacy

    is_triggered_only = yes
    
    #Marry her.
    #Host her.
    #Refuse her.
    
    option = {
        name = EVTOPTAHF24133
        trigger = {
            is_benevolent_trigger = yes
            is_female = no
        }
        FROM = {
            show_scope_change = no
            liege = {
                show_scope_change = no
                opinion = {
                    modifier = opinion_outraged
                    who = ROOT
                    years = 100
                }
            }
        }
        FROM = {
            show_scope_change = no
            opinion = {
                modifier = opinion_saved_me
                who = ROOT
                years = 100
            }
            move_character = ROOT
            if = {
                limit = {
                    is_betrothed = yes
                }
                break_betrothal = yes
            }
            if = {
                limit = {
                    is_married = yes #Multiplayer delay
                }
                remove_spouse = yes
            }
            add_spouse = ROOT
            add_lover = ROOT
        }
    }
    option = {
        name = EVTOPTBHF24133
        FROM = {
            show_scope_change = no
            liege = {
                show_scope_change = no
                opinion = {
                    modifier = opinion_outraged
                    who = ROOT
                    years = 100
                }
            }
        }
        FROM = {
            show_scope_change = no
            opinion = {
                modifier = opinion_saved_me
                who = ROOT
                years = 100
            }
            move_character = ROOT
            if = {
                limit = {
                    is_betrothed = yes
                }
                break_betrothal = yes
            }
            if = {
                limit = {
                    is_married = yes #Multiplayer delay
                }
                remove_spouse = yes
            }
        }
    }
    option = {
        name = EVTOPTCHF24133
        tiered_piety_negative_effect = yes
        FROM = {
            opinion = {
                modifier = opinion_dishonorable_scum
                who = ROOT
                years = 100
            }
        }
    }
}

#Philosopher-Warrior Drills troops.
character_event = {
    id = HF.24134
    desc = EVTDESCAHF24134
    picture = { 
        trigger = { 
            has_dlc = "Way of Life"
        } 
        picture = GFX_evt_war_planning
    }
    picture = { 
        trigger = { 
            NOT = { has_dlc = "Way of Life" }
        } 
        picture = GFX_evt_council
    }
    border = GFX_event_normal_frame_war
    
    is_triggered_only = yes

    option = { 
        name = EVTOPTAHF24134
        if = { 
            limit = { 
                OR = {
                    trait = strategist
                    martial = 15
                } 
            }
            prestige = -300 
        }
        if = { 
            limit = { 
                NOR = {
                    trait = strategist
                    martial = 15
                } 
            }
            prestige = -600
        }
        add_character_modifier = { name = infiltration_tactics years = 4 } 
        ai_chance = { 
            factor = 25 
        }
    }
    option = { 
        name = EVTOPTBHF24134
        if = { 
            limit = { 
                OR = {
                    trait = strategist
                    martial = 15
                } 
            }
            prestige = -300 
        }
        if = { 
            limit = { 
                NOR = {
                    trait = strategist
                    martial = 15
                } 
            }
            prestige = -600
        }
        add_character_modifier = { name = polished_formation years = 4 } 
        ai_chance = { 
            factor = 25 
        }
    }
    option = { 
        name = EVTOPTCHF24134
        if = { 
            limit = { 
                OR = {
                    trait = strategist
                    martial = 15
                } 
            }
            prestige = -200 
        }
        if = { 
            limit = { 
                NOR = {
                    trait = strategist
                    martial = 15
                } 
            }
            prestige = -400
        }
        add_character_modifier = { name = advanced_supply_lines years = 4 } 
        ai_chance = { 
            factor = 75
        }
    }
    option = { #Changed my mind.
        name = EVTOPTDHF24134
        hidden_tooltip = { remove_character_modifier = drill_troops_cooldown }
        break = yes #No post effects if player changed his mind and picked Option C.
        ai_chance = { 
            factor = 0
        }
    }
    after = { 
        hidden_tooltip = { 
            random_list = { 
                90 = { }
                3 = { 
                    trigger = { 
                        NOR = { 
                            trait = uncouth
                            trait = robust
                        }
                    }
                    modifier = { 
                        factor = 2
                        trait = brave
                    }
                    modifier = { 
                        factor = 2
                        trait = wroth
                    }
                    character_event = { id = HF.24135 days = 20 random = 20 } 
                }
                3 = { 
                    trigger = { 
                        NOT = { 
                            trait = wroth
                        }
                        NOT = { trait = patient }
                        NOT = { personality_traits = 6 }
                    }
                    modifier = { 
                        factor = 2
                        trait = aggressive_leader
                    }
                    modifier = { 
                        factor = 2
                        trait = brave
                    }
                    modifier = { 
                        factor = 2
                        trait = cruel
                    }
                    character_event = { id = HF.24136 days = 20 random = 20 } 
                }
                3 = { 
                    trigger = { 
                        NOT = { trait = is_malnourished }
                    }
                    modifier = { 
                        factor = 2
                        trait = temperate
                    }
                    modifier = { 
                        factor = 2
                        trait = stressed
                    }
                    character_event = { id = HF.24137 days = 20 random = 20 } 
                }
            }
        }
    }
}

#Ruler cares more about training than appearance.
character_event = {
    id = HF.24135
    desc = { 
        trigger = { 
            is_female = yes
        } 
        text = EVTDESCAHF24135
    }
    desc = { 
        trigger = { 
            is_female = no
        } 
        text = EVTDESCBHF24135
    }
    picture = { 
        trigger = { 
            has_dlc = "Way of Life"
        } 
        picture = GFX_evt_war_planning
    }
    picture = { 
        trigger = { 
            NOT = { has_dlc = "Way of Life" }
        } 
        picture = GFX_evt_council
    }
    border = GFX_event_normal_frame_war
    
    is_triggered_only = yes

    option = { #Proud saves.
        name = EVTOPTAHF24135
        trigger = { trait = proud }
        tooltip_info = proud
        ai_chance = { 
            factor = 25 
        }
    }
    option = { 
        name = EVTOPTBHF24135
        if = { 
            limit = { trait = robust }
            change_martial = 1 
        }
        else_if = { 
            limit = { NOR = { trait = feeble trait = robust } }
            add_trait = robust
        }
        else_if = { 
            limit = { trait = feeble }
            remove_trait = feeble
        }
        if = { 
            limit = { trait = uncouth }
            change_diplomacy = -1 
        }
        else_if = { 
            limit = { NOR = { trait = uncouth has_fashionable_groomed_trigger = yes } }
            add_trait = uncouth
        }
        else_if = { 
            limit = { trait = groomed }
            remove_trait = groomed
        }
        else_if = { 
            limit = { trait = fashionable }
            remove_trait = fashionable
        }
        ai_chance = { 
            factor = 75 
        }
    }
}

#Ruler has become wroth.
character_event = {
    id = HF.24136
    desc = EVTDESCAHF24136
    picture = { 
        trigger = { 
            has_dlc = "Way of Life"
        } 
        picture = GFX_evt_war_planning
    }
    picture = { 
        trigger = { 
            NOT = { has_dlc = "Way of Life" }
        } 
        picture = GFX_evt_council
    }
    border = GFX_event_normal_frame_war
    
    is_triggered_only = yes

    option = { #Deceitful saves.
        name = EVTOPTAHF24136
        trigger = { 
            trait = deceitful
        }
        tooltip_info = deceitful
        ai_chance = { 
            factor = 25 
        }
    }
    option = { 
        name = EVTOPTBHF24136
        if = { 
            limit = { trait = stressed }
            remove_trait = stressed 
        }
        add_trait = wroth
        ai_chance = { 
            factor = 75 
        }
    }
}

#Ruler is skipping too many meals.
character_event = {
    id = HF.24137
    desc = { 
        trigger = { 
            is_female = yes
        } 
        text = EVTDESCAHF24137
    }
    desc = { 
        trigger = { 
            is_female = no
        } 
        text = EVTDESCBHF24137
    }
    picture = { 
        trigger = { 
            has_dlc = "Way of Life"
        } 
        picture = GFX_evt_war_planning
    }
    picture = { 
        trigger = { 
            NOT = { has_dlc = "Way of Life" }
        } 
        picture = GFX_evt_council
    }
    border = GFX_event_normal_frame_war
    
    is_triggered_only = yes

    option = { #Gluttonous saves.
        name = EVTOPTAHF24137
        trigger = { trait = gluttonous }
        tooltip_info = gluttonous
        ai_chance = { 
            factor = 25 
        }
    }
    option = { 
        name = {
            text = EVTOPTBHF24137_A
            trigger = {
                trait = is_fat
            }
        }
        name = {
            text = EVTOPTBHF24137_B
            trigger = {
                NOT = { trait = is_fat }
            }
        }
        if = { 
            limit = { trait = stressed }
            remove_trait = stressed 
        }
        custom_tooltip = { text = tooltip_warning_20629 }
        hidden_tooltip = { lose_weight_small_effect = yes }
        hidden_tooltip = { weight_trait_check_effect = yes }
        ai_chance = { 
            factor = 75 
        }
    }
}

#Munificent Bloodline - Boosting opinion.
character_event = {
    id = HF.24138
    desc = EVTDESCAHF24138
    picture = { 
        trigger = { 
            has_religion_feature = religion_matriarchal
        } 
        picture = GFX_evt_matriarchy_throne_room
    }
    picture = { 
        trigger = { 
            has_religion_feature = religion_patriarchal
        } 
        picture = GFX_evt_tengri_throneroom_oldgods
    }
    picture = { 
        trigger = { 
            NOR = { 
                has_religion_feature = religion_matriarchal
                has_religion_feature = religion_patriarchal
            }
        } 
        picture = GFX_evt_fancy_feast
    }
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    option = { #Endear neighbors.
        name = EVTOPTAHF24138
        trigger = { 
            any_neighbor_independent_ruler = { 
                is_alive = yes
                is_adult = yes
            }
        }
        custom_tooltip = { text = TT_EVTOPTAHF24138 }
        if = { 
            limit = { 
                OR = {
                    is_attractive_trigger = yes
                    diplomacy = 15
                } 
            }
            prestige = -300 
        }
        if = { 
            limit = { 
                NOR = {
                    is_attractive_trigger = yes
                    diplomacy = 15
                } 
            }
            prestige = -600
        }
        hidden_tooltip = { 
            any_neighbor_independent_ruler = {
                limit = { 
                    is_adult = yes 
                }
                character_event = { id = HF.24139 }
            }
            random_neighbor_independent_ruler = { #Random infatuation
                limit = { 
                    ai = yes
                    is_adult = yes 
                    NOR = { trait = celibate trait = eunuch is_rival = ROOT }
                    OR = {    
                        AND = {
                            ROOT = { is_female = no }
                            prefers_men_trigger = yes
                            NOT = { has_religion_feature = religion_matriarchal }
                        }
                        AND = {
                            ROOT = { is_female = yes }
                            prefers_men_trigger = no
                            NOT = { has_religion_feature = religion_patriarchal }
                        }
                    }
                }
                preferred_limit = {
                    trait = lustful
                }
                random = {
                    chance = 20
                    modifier = {
                        factor = 1.5
                        ROOT = { is_attractive_trigger = yes }
                    }
                    modifier = {
                        factor = 0.5
                        ROOT = { is_unattractive_trigger = yes }
                    }
                    modifier = {
                        factor = 0.5
                        ROOT = { age = 40 }
                    }
                    modifier = {
                        factor = 1.5
                        ROOT = { diplomacy = 8 }
                    }
                    modifier = {
                        factor = 1.5
                        ROOT = { diplomacy = 10 }
                    }
                    modifier = {
                        factor = 1.5
                        ROOT = { diplomacy = 12 }
                    }
                    modifier = {
                        factor = 1.5
                        ROOT = { diplomacy = 14 }
                    }
                    modifier = {
                        factor = 1.5
                        ROOT = { diplomacy = 16 }
                    }
                    opinion = { 
                        who = ROOT
                        modifier = opinion_infatuated
                        years = 8
                    }
                }
            }
        }
        ai_chance = { 
            factor = 25 
        }
    }
    option = { #Endear subjects.
        name = EVTOPTBHF24138
        add_character_modifier = { name = endearing_peasants duration = 1460 }
        if = { 
            limit = { 
                OR = {
                    is_attractive_trigger = yes
                    diplomacy = 15
                } 
            }
            prestige = -200 
        }
        if = { 
            limit = { 
                NOR = {
                    is_attractive_trigger = yes
                    diplomacy = 15
                } 
            }
            prestige = -400
        }
        ai_chance = { 
            factor = 25 
        }
    }
    option = { #Changed my mind.
        name = EVTOPTCHF24138
        hidden_tooltip = { remove_character_modifier = endearing_noblemen_cooldown }
        break = yes #No post effects if player changed his mind and picked Option C.
        ai_chance = { 
            factor = 0
        }
    }
    after = { 
        hidden_tooltip = { 
            random_list = { 
                90 = { }
                3 = { 
                    trigger = { 
                        NOR = { 
                            trait = groomed
                            trait = dull
                        }
                    }
                    modifier = { 
                        factor = 2
                        trait = proud
                    }
                    modifier = { 
                        factor = 2
                        trait = hedonist
                    }
                    character_event = { id = HF.24141 days = 20 random = 20 } 
                }
                3 = { 
                    trigger = { 
                        NOT = { 
                            trait = drunkard
                        }
                        NOT = { trait = temperate }
                    }
                    modifier = { 
                        factor = 2
                        trait = gluttonous
                    }
                    modifier = { 
                        factor = 2
                        trait = hedonist
                    }
                    character_event = { id = HF.24142 days = 20 random = 20 } 
                }
                3 = { 
                    trigger = { 
                        NOT = { 
                            trait = is_fat
                        }
                    }
                    modifier = { 
                        factor = 2
                        trait = gluttonous
                    }
                    modifier = { 
                        factor = 2
                        trait = hedonist
                    }
                    character_event = { id = HF.24143 days = 20 random = 20 } 
                }
            }
        }
    }
}

#Vassals/Neighbors pacified.
character_event = {
    id = HF.24139
    desc = { 
        trigger = { 
            vassal_of = FROM
        } 
        text = EVTDESCAHF24139
    }
    desc = { 
        trigger = { 
            NOT = { vassal_of = FROM } 
        } 
        text = EVTDESCBHF24139
    }
    picture = { 
        trigger = { 
            has_religion_feature = religion_matriarchal
        } 
        picture = GFX_evt_matriarchy_throne_room
    }
    picture = { 
        trigger = { 
            has_religion_feature = religion_patriarchal
        } 
        picture = GFX_evt_tengri_throneroom_oldgods
    }
    picture = { 
        trigger = { 
            NOR = { 
                has_religion_feature = religion_matriarchal
                has_religion_feature = religion_patriarchal
            }
        } 
        picture = GFX_evt_fancy_feast
    }
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    #Gain opinion.
    #Envious copout.
    #Opposite Doctrine copout.

    option = { 
        name = EVTOPTAHF24139
        trigger = { 
            OR = { 
                AND = { 
                    is_female = yes
                    FROM = { is_female = yes }
                }
                AND = { 
                    is_female = no
                    FROM = { is_female = no }
                }
            }
            trait = envious
        }
        tooltip_info = envious
        ai_chance = { 
            factor = 0 
        }
    }
    option = { 
        name = EVTOPTCHF24139
        trigger = { 
            OR = { 
                AND = { 
                    has_religion_feature = religion_patriarchal
                    FROM = { is_female = yes }
                }
                AND = { 
                    has_religion_feature = religion_matriarchal
                    FROM = { is_female = no }
                }
            }
        }
        tooltip_info_custom = available_because_religious_doctrine
        tiered_piety_reward_effect = yes
        ai_chance = { 
            factor = 0 
        }
    }
    option = { 
        name = EVTOPTDHF24139
        trigger = { 
            OR = {  
                ai = no
                NOR = {
                    has_opinion_modifier = { 
                        who = FROM
                        modifier = opinion_infatuated
                    } 
                    is_lover = FROM
                }
            } 
            OR = {
                AND = {
                    FROM = { is_female = yes }
                    prefers_men_trigger = yes
                }
                AND = {
                    FROM = { is_female = no }
                    prefers_men_trigger = no
                }
            }
        }
        opinion = { 
            who = FROM
            modifier = opinion_impressed
            years = 5
        }
        ai_chance = { 
            factor = 70 
        }
    }
    option = { 
        name = EVTOPTEHF24139
        trigger = { 
            OR = {  
                ai = no
                NOR = {
                    has_opinion_modifier = { 
                        who = FROM
                        modifier = opinion_infatuated
                    } 
                    is_lover = FROM
                }
            } 
            OR = {
                AND = {
                    FROM = { is_female = yes }
                    prefers_men_trigger = no
                }
                AND = {
                    FROM = { is_female = no }
                    prefers_men_trigger = yes
                }
            }
        }
        opinion = { 
            who = FROM
            modifier = opinion_impressed_infatuated
            years = 5
        }
        ai_chance = { 
            factor = 70 
        }
    }
    option = { 
        name = EVTOPTFHF24139
        trigger = { 
            OR = {
                has_opinion_modifier = { 
                    who = FROM
                    modifier = opinion_infatuated
                } 
                is_lover = FROM
            }
        }
        transfer_scaled_wealth = { to = FROM value = 0.5 min = 10 max = 100 } 
        show_portrait = FROM
        hidden_tooltip = { FROM = { character_event = { id = HF.24140 } } } 
        ai_chance = { 
            factor = 20 
        }
    }
}

#Notified of present.
character_event = {
    id = HF.24140
    desc = EVTDESCAHF24140
    desc = EVTDESCBHF24140
    desc = EVTDESCCHF24140
    desc = EVTDESCDHF24140
    picture = GFX_evt_fancy_feast
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    notification = yes

    option = { 
        name = EVTOPTDHF24139
        ai_chance = { 
            factor = 25 
        }
    }
}

#Ruler cares more about appearances than substance.
character_event = {
    id = HF.24141
    desc = EVTDESCAHF24141
    picture = { 
        trigger = { 
            has_religion_feature = religion_matriarchal
        } 
        picture = GFX_evt_matriarchy_throne_room
    }
    picture = { 
        trigger = { 
            has_religion_feature = religion_patriarchal
        } 
        picture = GFX_evt_tengri_throneroom_oldgods
    }
    picture = { 
        trigger = { 
            NOR = { 
                has_religion_feature = religion_matriarchal
                has_religion_feature = religion_patriarchal
            }
        } 
        picture = GFX_evt_fancy_feast
    }
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    option = { #Shy saves.
        name = EVTOPTAHF24141
        trigger = { trait = shy }
        tooltip_info = shy
        ai_chance = { 
            factor = 25 
        }
    }
    option = { 
        name = EVTOPTBHF24141
        if = { 
            limit = { trait = uncouth }
            remove_trait = uncouth
        }
        else_if = { 
            limit = { NOT = { trait = groomed } }
            add_trait = groomed
        }
        else = { 
            change_diplomacy = 1 
        }
                
        if = { 
            limit = { trait = dull }
            change_stewardship = -1 
        }
        else_if = { 
            limit = { NOR = { trait = dull trait = shrewd } }
            add_trait = dull
        }
        else_if = { 
            limit = { trait = shrewd }
            remove_trait = shrewd
        }
        ai_chance = { 
            factor = 75 
        }
    }
}

#Ruler has become drunkard.
character_event = {
    id = HF.24142
    desc = { 
        trigger = { 
            is_female = yes
        } 
        text = EVTDESCAHF24142
    }
    desc = { 
        trigger = { 
            is_female = no
        } 
        text = EVTDESCBHF24142
    }
    picture = { 
        trigger = { 
            has_religion_feature = religion_matriarchal
        } 
        picture = GFX_evt_matriarchy_throne_room
    }
    picture = { 
        trigger = { 
            has_religion_feature = religion_patriarchal
        } 
        picture = GFX_evt_tengri_throneroom_oldgods
    }
    picture = { 
        trigger = { 
            NOR = { 
                has_religion_feature = religion_matriarchal
                has_religion_feature = religion_patriarchal
            }
        } 
        picture = GFX_evt_fancy_feast
    }
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    option = { #Diligent saves.
        name = EVTOPTAHF24142
        trigger = { trait = diligent }
        tooltip_info = diligent
        ai_chance = { 
            factor = 25 
        }
    }
    option = { 
        name = EVTOPTBHF24142
        if = { 
            limit = { trait = stressed }
            remove_trait = stressed 
        }
        add_trait = drunkard
        ai_chance = { 
            factor = 75 
        }
    }
}

#Ruler is having too many feasts.
character_event = {
    id = HF.24143
    desc = { 
        trigger = { 
            is_female = yes
        } 
        text = EVTDESCAHF24143
    }
    desc = { 
        trigger = { 
            is_female = no
        } 
        text = EVTDESCBHF24143
    }
    picture = { 
        trigger = { 
            has_religion_feature = religion_matriarchal
        } 
        picture = GFX_evt_matriarchy_throne_room
    }
    picture = { 
        trigger = { 
            has_religion_feature = religion_patriarchal
        } 
        picture = GFX_evt_tengri_throneroom_oldgods
    }
    picture = { 
        trigger = { 
            NOR = { 
                has_religion_feature = religion_matriarchal
                has_religion_feature = religion_patriarchal
            }
        } 
        picture = GFX_evt_fancy_feast
    }
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    option = { #Temperate saves.
        name = EVTOPTAHF24143
        trigger = { trait = temperate }
        tooltip_info = temperate
        ai_chance = { 
            factor = 25 
        }
    }
    option = { 
        name = {
            text = EVTOPTBHF24143_A
            trigger = {
                trait = is_malnourished
            }
        }
        name = {
            text = EVTOPTBHF24143_B
            trigger = {
                NOT = { trait = is_malnourished }
            }
        }
        if = { 
            limit = { trait = stressed }
            remove_trait = stressed 
        }
        custom_tooltip = { text = tooltip_warning_20606 }
        hidden_tooltip = { gain_weight_small_effect = yes }
        hidden_tooltip = { weight_trait_check_effect = yes }
        ai_chance = { 
            factor = 75 
        }
    }
}

########################

#Murder Peace Bloodline: Ruler dismantles factions.
character_event = {
    id = HF.24144
    desc = EVTDESCAHF24144
    picture = { 
        trigger = { 
            has_dlc = "Mystics"
        } 
        picture = GFX_evt_catching_heretic
    }
    picture = { 
        trigger = { 
            NOT = { has_dlc = "Mystics" }
        } 
        picture = GFX_evt_beheading
    }
    border = GFX_event_normal_frame_intrigue
    
    is_triggered_only = yes

    option = { 
        name = EVTOPTAHF24144
        trigger = { intrigue = 18 }
        tooltip_info = intrigue
        custom_tooltip = { text = TT_EVTOPTAHF24144 }
        prestige = -450
        hidden_tooltip = { 
            any_vassal = { character_event = { id = HF.24145 days = 5 random = 10 } }
        }
        ai_chance = { 
            factor = 25 
        }
    }
    option = { 
        name = EVTOPTBHF24144
        trigger = { intrigue = 14 }
        tooltip_info = intrigue
        custom_tooltip = { text = TT_EVTOPTBHF24144 }
        prestige = -350
        hidden_tooltip = { 
            any_vassal = { character_event = { id = HF.24146 days = 5 random = 10 } }
        }
        ai_chance = { 
            factor = 25 
        }
    }
    option = { 
        name = EVTOPTCHF24144
        trigger = { intrigue = 10 }
        tooltip_info = intrigue
        custom_tooltip = { text = TT_EVTOPTCHF24144 }
        prestige = -250
        hidden_tooltip = { 
            any_vassal = { character_event = { id = HF.24147 days = 5 random = 10 } }
        }
        ai_chance = { 
            factor = 25 
        }
    }
    option = { 
        name = EVTOPTDHF24144
        custom_tooltip = { text = TT_EVTOPTDHF24144 }
        hidden_tooltip = { 
            any_vassal = { character_event = { id = HF.24148 days = 5 random = 10 } }
        }
        ai_chance = { 
            factor = 25 
        }
    }
    after = { 
        hidden_tooltip = { 
            random_list = { 
                90 = { }
                3 = { 
                    trigger = { 
                        NOT = { trait = paranoid }
                    }
                    modifier = { 
                        factor = 2
                        trait = shy
                    }
                    modifier = { 
                        factor = 2
                        trait = cruel
                    }
                    character_event = { id = HF.24149 days = 20 random = 20 } 
                }
                3 = { 
                    trigger = { 
                        NOT = { trait = arbitrary }
                    }
                    modifier = { 
                        factor = 2
                        trait = zealous
                    }
                    modifier = { 
                        factor = 2
                        trait = paranoid
                    }
                    character_event = { id = HF.24150 days = 20 random = 20 } 
                }
                3 = { 
                    trigger = { 
                        NOT = { trait = cruel }
                    }
                    modifier = { 
                        factor = 2
                        trait = arbitrary
                    }
                    modifier = { 
                        factor = 2
                        trait = cruel
                    }
                    character_event = { id = HF.24151 days = 20 random = 20 } 
                }
            }
        }
    }
}

#Vassal notified of full crackdown.
character_event = {
    id = HF.24145
    desc = EVTDESCAHF24145
    picture = { 
        trigger = { 
            has_dlc = "Mystics"
        } 
        picture = GFX_evt_catching_heretic
    }
    picture = { 
        trigger = { 
            NOT = { has_dlc = "Mystics" }
        } 
        picture = GFX_evt_beheading
    }
    border = GFX_event_normal_frame_intrigue
    
    is_triggered_only = yes

    option = { 
        name = EVTOPTAHF24145
        custom_tooltip = { text = TT_EVTOPTAHF24145 }
        opinion = {
            modifier = opinion_coerced_into_leaving_faction
            who = FROM
            years = 10
        }
        ai_chance = { factor = 100 }
    }
}

#Vassal notified of heavy crackdown.
character_event = {
    id = HF.24146
    desc = EVTDESCAHF24145
    picture = { 
        trigger = { 
            has_dlc = "Mystics"
        } 
        picture = GFX_evt_catching_heretic
    }
    picture = { 
        trigger = { 
            NOT = { has_dlc = "Mystics" }
        } 
        picture = GFX_evt_beheading
    }
    border = GFX_event_normal_frame_intrigue
    
    is_triggered_only = yes

    option = { 
        name = EVTOPTAHF24146
        custom_tooltip = { text = TT_EVTOPTAHF24145 }
        opinion = {
            modifier = opinion_coerced_into_leaving_faction
            who = FROM
            years = 6
        }
        ai_chance = { factor = 100 }
    }
}

#Vassal notified of medium crackdown.
character_event = {
    id = HF.24147
    desc = EVTDESCAHF24145
    picture = { 
        trigger = { 
            has_dlc = "Mystics"
        } 
        picture = GFX_evt_catching_heretic
    }
    picture = { 
        trigger = { 
            NOT = { has_dlc = "Mystics" }
        } 
        picture = GFX_evt_beheading
    }
    border = GFX_event_normal_frame_intrigue
    
    is_triggered_only = yes

    option = { 
        name = EVTOPTAHF24147
        custom_tooltip = { text = TT_EVTOPTAHF24145 }
        opinion = {
            modifier = opinion_coerced_into_leaving_faction
            who = FROM
            years = 4
        }
        ai_chance = { factor = 100 }
    }
}

#Vassal notified of light crackdown.
character_event = {
    id = HF.24148
    desc = EVTDESCAHF24145
    picture = { 
        trigger = { 
            has_dlc = "Mystics"
        } 
        picture = GFX_evt_catching_heretic
    }
    picture = { 
        trigger = { 
            NOT = { has_dlc = "Mystics" }
        } 
        picture = GFX_evt_beheading
    }
    border = GFX_event_normal_frame_intrigue
    
    is_triggered_only = yes

    option = { 
        name = EVTOPTAHF24148
        custom_tooltip = { text = TT_EVTOPTAHF24145 }
        opinion = {
            modifier = opinion_coerced_into_leaving_faction
            who = FROM
            years = 2
        }
        ai_chance = { factor = 100 }
    }
}

#Ruler has become paranoid.
character_event = {
    id = HF.24149
    desc = EVTDESCAHF24149
    picture = { 
        trigger = { 
            has_dlc = "Mystics"
        } 
        picture = GFX_evt_catching_heretic
    }
    picture = { 
        trigger = { 
            NOT = { has_dlc = "Mystics" }
        } 
        picture = GFX_evt_beheading
    }
    border = GFX_event_normal_frame_intrigue
    
    is_triggered_only = yes

    option = { #Brave saves.
        name = EVTOPTAHF24149
        trigger = { trait = brave }
        tooltip_info = brave
        ai_chance = { 
            factor = 25 
        }
    }
    option = { 
        name = EVTOPTBHF24149
        if = { 
            limit = {
                trait = trusting
            }
            remove_trait = trusting
        }
        else_if = { 
            limit = {
                NOT = { trait = paranoid }
                NOT = { personality_traits = 6 }
            }
            add_trait = paranoid
        }
        else = {
            change_intrigue = 1
            change_martial = -1
        }
        ai_chance = { 
            factor = 75 
        }
    }
}

#Ruler has become arbitrary.
character_event = {
    id = HF.24150
    desc = EVTDESCAHF24150
    picture = { 
        trigger = { 
            has_dlc = "Mystics"
        } 
        picture = GFX_evt_catching_heretic
    }
    picture = { 
        trigger = { 
            NOT = { has_dlc = "Mystics" }
        } 
        picture = GFX_evt_beheading
    }
    border = GFX_event_normal_frame_intrigue
    
    is_triggered_only = yes

    option = { #Kind saves.
        name = EVTOPTAHF24150
        trigger = { trait = kind }
        tooltip_info = kind
        ai_chance = { 
            factor = 25 
        }
    }
    option = { 
        name = EVTOPTBHF24150
        if = { 
            limit = {
                trait = just
            }
            remove_trait = just
        }
        else_if = { 
            limit = {
                NOT = { trait = arbitrary }
                NOT = { personality_traits = 6 }
            }
            add_trait = arbitrary
        }
        else = {
            change_intrigue = 1
            change_stewardship = -1
        }
        ai_chance = { 
            factor = 75 
        }
    }
}

#Ruler has become cruel.
character_event = {
    id = HF.24151
    desc = EVTDESCAHF24151
    picture = { 
        trigger = { 
            has_dlc = "Mystics"
        } 
        picture = GFX_evt_catching_heretic
    }
    picture = { 
        trigger = { 
            NOT = { has_dlc = "Mystics" }
        } 
        picture = GFX_evt_beheading
    }
    border = GFX_event_normal_frame_intrigue
    
    is_triggered_only = yes

    option = { #Just saves.
        name = EVTOPTAHF24151
        trigger = { trait = just }
        tooltip_info = just
        ai_chance = { 
            factor = 25 
        }
    }
    option = { 
        name = EVTOPTBHF24151
        if = { 
            limit = {
                trait = kind
            }
            remove_trait = kind
        }
        else_if = { 
            limit = {
                NOT = { trait = cruel }
                NOT = { personality_traits = 6 }
            }
            add_trait = cruel
        }
        else = {
            change_intrigue = 1
            change_diplomacy = -1
        }
        ai_chance = { 
            factor = 75 
        }
    }
}

#########################

#Family Bloodline - Dynastic meddling.
character_event = {
    id = HF.24152
    desc = EVTDESCAHF24152
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = yes
            }
            event_target:meddler_target = {
                is_female = yes
            }
        } 
        picture = GFX_evt_daughter_asking_mother
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = yes
            }
            event_target:meddler_target = {
                is_female = no
            }
        } 
        picture = GFX_evt_daughter_asking_father
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = no
            }
            event_target:meddler_target = {
                is_female = yes
            }
        } 
        picture = GFX_evt_courtiers_talking
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = no
            }
            event_target:meddler_target = {
                is_female = no
            }
        } 
        picture = GFX_evt_son_asking_father
    }
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    immediate = { 
        FROM = { save_event_target_as = meddling_target }
        ROOT = { save_event_target_as = meddler_target }
    }
    option = { #Meddle with behavior.
        name = EVTOPTAHF24152
        custom_tooltip = { text = TT_EVTOPTAHF24152 }
        hidden_tooltip = { character_event = { id = HF.24153 } }
        ai_chance = { 
            factor = 50 
            modifier = { 
                factor = 0.5
                NOR = {
                    FROM = { trait = stressed }
                    FROM = { trait = depressed }
                    FROM = { trait = drunkard }
                    FROM = { trait = slothful }
                    FROM = { trait = lustful }
                    FROM = { 
                        is_married = yes 
                        NOT = { num_of_children = 2 }
                    }
                    any_owned_bloodline = { #Target does not share the culture of the founder, while still being within the same culture group.
                        has_bloodline_flag = bloodline_dynastic_meddling
                        founder = {
                            NOT = { culture = event_target:meddling_target }
                            culture_group = event_target:meddling_target
                        }
                        bloodline_is_active_for = PREV
                    }
                    trait = kind
                    trait = diligent
                    trait = chaste
                    has_focus = focus_family
                }
            }
        }
    }
    option = { #Meddle with appearance.
        name = EVTOPTBHF24152
        custom_tooltip = { text = TT_EVTOPTBHF24152 }
        hidden_tooltip = { character_event = { id = HF.24154 } }
        ai_chance = { 
            factor = 50 
            modifier = { 
                factor = 0.5
                NOR = {
                    FROM = { has_fashionable_groomed_trigger = yes }
                    FROM = { trait = uncouth }
                    FROM = { trait = is_fat }
                    FROM = { trait = is_malnourished }
                    trait = proud
                    trait = diligent
                    trait = gluttonous
                    trait = temperate
                }
            }
        }
    }
    option = { 
        name = EVTOPTCHF24152
        hidden_tooltip = {  
            remove_character_modifier = dynastic_meddling_cooldown
            FROM = { remove_character_modifier = dynastic_meddling_target_cooldown }
        }
        ai_chance = { 
            factor = 0 
        }
    }
}

#Meddling with behavior.
character_event = {
    id = HF.24153
    desc = EVTDESCAHF24152
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = yes
            }
            event_target:meddler_target = {
                is_female = yes
            }
        } 
        picture = GFX_evt_daughter_asking_mother
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = yes
            }
            event_target:meddler_target = {
                is_female = no
            }
        } 
        picture = GFX_evt_daughter_asking_father
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = no
            }
            event_target:meddler_target = {
                is_female = yes
            }
        } 
        picture = GFX_evt_courtiers_talking
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = no
            }
            event_target:meddler_target = {
                is_female = no
            }
        } 
        picture = GFX_evt_son_asking_father
    }
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    immediate = { 
        #Select founder for scoping purposes.
        any_owned_bloodline = { #Target does not share the culture of the founder, while still being within the same culture group.
            limit = { 
                has_bloodline_flag = bloodline_dynastic_meddling 
                bloodline_is_active_for = PREV
            }
            founder = {
                save_event_target_as = scoped_founder
            }
        }
    }

    option = { #Take care.
        name = EVTOPTAHF24153
        tooltip = { 
            event_target:meddling_target = { 
                show_scope_change = no
                if = {
                    limit = { 
                        trait = depressed 
                    }
                    remove_trait = depressed
                } 
                else_if = {
                    limit = { 
                        trait = stressed
                    }
                    remove_trait = stressed
                }
                else_if = {
                    limit = { 
                        NOR = { 
                            trait = stressed
                            trait = depressed 
                        }
                    }
                    event_target:meddling_target = { health = 0.5 }
                }
            }
        }
        hidden_tooltip = { event_target:meddling_target = { character_event = { id = HF.24155 } } }
        ai_chance = { 
            factor = 50 
            modifier = { 
                factor = 0.5
                NOR = {
                    event_target:meddling_target = { trait = stressed }
                    event_target:meddling_target = { trait = depressed }
                    trait = kind
                }
            }
        }
    }
    option = { #Straighten up.
        name = {
            text = EVTOPTBHF24153_A
            trigger = {
                event_target:meddling_target = { trait = drunkard }
            }
        }
        name = {
            text = EVTOPTBHF24153_B
            trigger = {
                event_target:meddling_target = { trait = slothful }
            }
        }
        name = {
            text = EVTOPTBHF24153_C
            trigger = {
                event_target:meddling_target = { NOR = { trait = drunkard trait = slothful } }
            }
        }
        tooltip = { 
            event_target:meddling_target = { 
                show_scope_change = no
                if = {
                    limit = { 
                        trait = drunkard 
                    }
                    remove_trait = drunkard
                } 
                else_if = {
                    limit = { 
                        trait = slothful
                    }
                    remove_trait = slothful
                }
                else_if = {
                    limit = { 
                        NOR = { 
                            trait = drunkard
                            trait = slothful 
                            trait = diligent
                        }
                        NOT = { personality_traits = 6 }
                    }
                    add_trait = diligent
                }
                else_if = {
                    limit = { 
                        NOR = { 
                            trait = drunkard
                            trait = slothful 
                        }
                        trait = diligent
                    }
                    event_target:meddling_target = { change_stewardship = 1 }
                }
            }
        }
        hidden_tooltip = { event_target:meddling_target = { character_event = { id = HF.24156 } } }
        ai_chance = { 
            factor = 50 
            modifier = { 
                factor = 0.5
                NOR = {
                    event_target:meddling_target = { trait = drunkard }
                    event_target:meddling_target = { trait = slothful }
                    trait = diligent
                }
            }
        }
    }
    option = { #Importance of marriage.
        name = {
            text = EVTOPTCHF24153_A
            trigger = {
                event_target:meddling_target = { NOT = { trait = chaste } } #Should be chaste.
            }
        }
        name = {
            text = EVTOPTCHF24153_B
            trigger = {
                event_target:meddling_target = { is_married = yes num_of_children = 2 } #Should love spouse.
            }
        }
        name = {
            text = EVTOPTCHF24153_C
            trigger = {
                event_target:meddling_target = { is_married = yes NOR = { num_of_children = 2 trait = celibate trait = eunuch } } #Should make kids.
            }
        }
        tooltip = { 
            event_target:meddling_target = { 
                show_scope_change = no
                if = {
                    limit = { 
                        trait = lustful
                    }
                    remove_trait = lustful
                } 
                else_if = {
                    limit = { 
                        NOR = { 
                            trait = lustful 
                            trait = chaste
                        }
                        NOT = { personality_traits = 6 }
                    }
                    add_trait = chaste
                }
                else_if = {
                    limit = { 
                        is_married = no
                        trait = chaste
                    }
                    event_target:meddling_target = { change_learning = 1 }
                }
                else_if = {
                    limit = { 
                        is_married = yes
                        NOR = { 
                            num_of_children = 2 
                            trait = celibate 
                            trait = eunuch 
                        }
                    }
                    event_target:meddling_target = { add_character_modifier = { name = marital_duty duration = 720 } }
                }
                else = {
                    opinion = { modifier = opinion_rekindle_love who = spouse years = 2 }
                }

                if = { #Regardless, moralizing against Seduction will happen.
                    limit = { 
                        has_focus = focus_seduction
                    }
                    set_focus = focus_family
                }
            }
        }
        hidden_tooltip = { event_target:meddling_target = { character_event = { id = HF.24157 } } }
        ai_chance = { 
            factor = 50 
            modifier = { 
                factor = 0.5
                NOR = {
                    event_target:meddling_target = { trait = lustful }
                    event_target:meddling_target = { has_focus = focus_seduction }
                    has_focus = focus_family
                    trait = chaste
                }
            }
        }
    }
    option = { #Act like the founder.
        name = EVTOPTDHF24153
        trigger = {
            event_target:meddling_target = {
                NOT = { culture = event_target:scoped_founder }
                culture_group = event_target:scoped_founder
                
                #Cannot convert to valyrian culture provinces, unless between west-east valyrian, or valyrian cull is off
                trigger_if = {
                    limit = { has_game_rule = { name = high_valyrian_cull value = on } }
                    NOR = { #Valyrian characters cannot convert culture, unless between west-east valyrian, or valyrian cull is off
                        culture = high_valyrian
                        AND = {
                            low_valyrian_culture_trigger = yes
                            NOT = { event_target:scoped_founder = { true_valyrian_culture_trigger = yes } }
                        }    
                    }
                    #Convert to east/west
                    trigger_if = {
                        limit = { event_target:scoped_founder = { low_valyrian_culture_trigger = yes } }
                        NOT = { culture = high_valyrian }
                        OR = {
                            low_valyrian_culture_trigger = yes
                            father_even_if_dead = { true_valyrian_culture_trigger = yes }
                            mother_even_if_dead = { true_valyrian_culture_trigger = yes }                        
                        }
                    }                
                    trigger_else_if = {
                        limit = { 
                            event_target:scoped_founder = { culture = high_valyrian } 
                            low_valyrian_culture_trigger = no
                        }
                        OR = {
                            father_even_if_dead = { true_valyrian_culture_trigger = yes }
                            mother_even_if_dead = { true_valyrian_culture_trigger = yes }                    
                        }
                    }
                    #Convert to high
                    trigger_else_if = {
                        limit = { 
                            event_target:scoped_founder = { culture = high_valyrian } 
                            low_valyrian_culture_trigger = yes
                        }
                        OR = {
                            father_even_if_dead = { culture = high_valyrian }
                            mother_even_if_dead = { culture = high_valyrian }                
                        }
                    }
                }
            }            
        }
        show_portrait = event_target:meddling_target
        custom_tooltip = { 
            text = TT_EVTOPTDHF24153 #Not certain.
        }
        hidden_tooltip = { event_target:meddling_target = { character_event = { id = HF.24158 } } }
        ai_chance = { 
            factor = 50 
            modifier = { 
                factor = 0.5
                NOR = {
                    trait = proud
                    trait = gregarious
                    trait = socializer
                }
            }
        }
    }
    option = { # Revert.
        name = EVTOPTCHF24152
        trigger = {  
            event_target:meddling_target = {
                OR = { 
                    culture = event_target:scoped_founder 
                    NOT = { culture_group = event_target:scoped_founder }
                }
            }
        }
        hidden_tooltip = {  
            remove_character_modifier = dynastic_meddling_cooldown
            event_target:meddling_target = { remove_character_modifier = dynastic_meddling_target_cooldown }
        }
        ai_chance = { 
            factor = 0 
        }
    }
}

#Meddling with appearance.
character_event = {
    id = HF.24154
    desc = EVTDESCAHF24152
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = yes
            }
            event_target:meddler_target = {
                is_female = yes
            }
        } 
        picture = GFX_evt_daughter_asking_mother
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = yes
            }
            event_target:meddler_target = {
                is_female = no
            }
        } 
        picture = GFX_evt_daughter_asking_father
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = no
            }
            event_target:meddler_target = {
                is_female = yes
            }
        } 
        picture = GFX_evt_courtiers_talking
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = no
            }
            event_target:meddler_target = {
                is_female = no
            }
        } 
        picture = GFX_evt_son_asking_father
    }
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    option = { #More studying, less grooming.
        name = EVTOPTAHF24154
        tooltip = { 
            event_target:meddling_target = { 
                show_scope_change = no
                if = {
                    limit = { 
                        trait = groomed 
                    }
                    remove_trait = groomed
                } 
                else_if = {
                    limit = { 
                        trait = fashionable
                    }
                    remove_trait = fashionable
                } 
                else_if = {
                    limit = { 
                        NOT = { 
                            trait = uncouth
                        }
                    }
                    add_trait = uncouth
                }
                else = {
                    event_target:meddling_target = { change_diplomacy = -1 } 
                }
                event_target:meddling_target = { 
                    change_martial = 1
                    change_learning = 1
                }
            }
        }
        hidden_tooltip = { event_target:meddling_target = { character_event = { id = HF.24159 } } }
        ai_chance = { 
            factor = 50 
            modifier = { 
                factor = 0.5
                NOR = {
                    event_target:meddling_target = { trait = groomed }
                    trait = humble
                    trait = uncouth
                }
            }
            modifier = { 
                factor = 1.5
                event_target:meddling_target = { is_female = no }
                NOR = {
                    has_religion_feature = religion_matriarchal
                    has_game_rule = {
                        name = gender
                        value = all
                    }
                }
            }
        }
    }
    option = { #More grooming, less studying.
        name = EVTOPTBHF24154
        tooltip = { 
            event_target:meddling_target = { 
                show_scope_change = no
                if = {
                    limit = { 
                        trait = uncouth 
                    }
                    remove_trait = uncouth
                } 
                else_if = {
                    limit = { 
                        NOR = { 
                            trait = groomed
                            trait = uncouth
                        }
                    }
                    add_trait = groomed
                }
                else_if = {
                    limit = { 
                        trait = groomed
                    }
                    event_target:meddling_target = { change_diplomacy = 1 }
                }
                event_target:meddling_target = { change_stewardship = -1 }
            }
        }
        hidden_tooltip = { event_target:meddling_target = { character_event = { id = HF.24160 } } }
        ai_chance = { 
            factor = 50 
            modifier = { 
                factor = 0.5
                NOR = {
                    event_target:meddling_target = { trait = uncouth }
                    trait = proud
                    trait = groomed
                }
            }
            modifier = { 
                factor = 1.5
                event_target:meddling_target = { is_female = yes }
                NOR = {
                    has_religion_feature = religion_matriarchal
                    has_game_rule = {
                        name = gender
                        value = all
                    }
                }
            }
        }
    }
    option = { #Eat more.
        name = EVTOPTCHF24154
        trigger = { 
            NOT = { event_target:meddling_target = { trait = is_fat } }
        }
        show_portrait = event_target:meddling_target
        show_trait = is_fat
        custom_tooltip = { 
            text = TT_EVTOPTCHF24154
        }
        if = { 
            limit = { 
                event_target:meddling_target = { 
                    OR = { 
                        NOT = { check_variable = { which = physique_variable value = -5 } } 
                        trait = feeble
                    } 
                }     
            }
            custom_tooltip = { 
                text = TT_EVTOPTCHF24154_HEALTH
            }
        }
        hidden_tooltip = { event_target:meddling_target = { character_event = { id = HF.24161 } } }
        ai_chance = { 
            factor = 50 
            modifier = { 
                factor = 0.5
                NOR = {
                    NOT = { event_target:meddling_target = { check_variable = { which = physique_variable value = 0 } } }
                    trait = gluttonous
                    trait = hedonist
                    trait = is_fat
                }
            }
        }
    }
    option = { #Eat less.
        name = EVTOPTDHF24154
        trigger = { 
            NOT = { event_target:meddling_target = { trait = is_malnourished } }
        }
        show_portrait = event_target:meddling_target
        show_trait = is_malnourished
        custom_tooltip = { 
            text = TT_EVTOPTDHF24154
        }
        if = { 
            limit = { 
                event_target:meddling_target = { 
                    OR = { 
                        check_variable = { which = physique_variable value = 5 } 
                        trait = sturdy
                    } 
                } 
            }
            custom_tooltip = { 
                text = TT_EVTOPTCHF24154_HEALTH
            }
        }
        hidden_tooltip = { event_target:meddling_target = { character_event = { id = HF.24162 } } }
        ai_chance = { 
            factor = 50 
            modifier = { 
                factor = 0.5
                NOR = {
                    event_target:meddling_target = { check_variable = { which = physique_variable value = 0 } }
                    trait = temperate
                    trait = zealous
                    trait = is_malnourished
                }
            }
        }
    }
    option = { # Revert.
        name = EVTOPTCHF24152
        trigger = {  
            event_target:meddling_target = {
                OR = { 
                    trait = is_fat
                    trait = is_malnourished
                }
            }
        }
        hidden_tooltip = {  
            remove_character_modifier = dynastic_meddling_cooldown
            event_target:meddling_target = { remove_character_modifier = dynastic_meddling_target_cooldown }
        }
        ai_chance = { 
            factor = 0 
        }
    }
}

#Relative makes you feel better.
character_event = {
    id = HF.24155
    desc = EVTDESCAHF24155
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = yes
            }
            event_target:meddler_target = {
                is_female = yes
            }
        } 
        picture = GFX_evt_daughter_asking_mother
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = yes
            }
            event_target:meddler_target = {
                is_female = no
            }
        } 
        picture = GFX_evt_daughter_asking_father
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = no
            }
            event_target:meddler_target = {
                is_female = yes
            }
        } 
        picture = GFX_evt_courtiers_talking
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = no
            }
            event_target:meddler_target = {
                is_female = no
            }
        } 
        picture = GFX_evt_son_asking_father
    }
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    option = { 
        name = EVTOPTAHF24155
        if = {
            limit = { 
                trait = depressed 
            }
            remove_trait = depressed
        } 
        else_if = {
            limit = { 
                trait = stressed
            }
            remove_trait = stressed
        }
        else_if = {
            limit = { 
                NOR = { 
                    trait = stressed
                    trait = depressed 
                }
            }
            health = 0.5
        }
    }
}

#Relative invites to stop messing around.
character_event = {
    id = HF.24156
    desc = EVTDESCAHF24156
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = yes
            }
            event_target:meddler_target = {
                is_female = yes
            }
        } 
        picture = GFX_evt_daughter_asking_mother
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = yes
            }
            event_target:meddler_target = {
                is_female = no
            }
        } 
        picture = GFX_evt_daughter_asking_father
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = no
            }
            event_target:meddler_target = {
                is_female = yes
            }
        } 
        picture = GFX_evt_courtiers_talking
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = no
            }
            event_target:meddler_target = {
                is_female = no
            }
        } 
        picture = GFX_evt_son_asking_father
    }
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    option = { 
        name = EVTOPTAHF24156
        if = {
            limit = { 
                trait = drunkard 
            }
            remove_trait = drunkard
        } 
        else_if = {
            limit = { 
                trait = slothful
            }
            remove_trait = slothful
        }
        else_if = {
            limit = { 
                NOR = { 
                    trait = drunkard
                    trait = slothful 
                    trait = diligent
                }
                NOT = { personality_traits = 6 }
            }
            add_trait = diligent
        }
        else_if = {
            limit = { 
                NOR = { 
                    trait = drunkard
                    trait = slothful 
                }
                trait = diligent
            }
            change_stewardship = 1
        }
    }
}

#Relative moralizes about family values.
character_event = {
    id = HF.24157
    desc = EVTDESCAHF24157
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = yes
            }
            event_target:meddler_target = {
                is_female = yes
            }
        } 
        picture = GFX_evt_daughter_asking_mother
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = yes
            }
            event_target:meddler_target = {
                is_female = no
            }
        } 
        picture = GFX_evt_daughter_asking_father
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = no
            }
            event_target:meddler_target = {
                is_female = yes
            }
        } 
        picture = GFX_evt_courtiers_talking
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = no
            }
            event_target:meddler_target = {
                is_female = no
            }
        } 
        picture = GFX_evt_son_asking_father
    }
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    option = { 
        name = EVTOPTAHF24157
        if = {
            limit = { 
                trait = lustful
            }
            remove_trait = lustful
        } 
        else_if = {
            limit = { 
                NOR = { 
                    trait = lustful 
                    trait = chaste
                }
                NOT = { personality_traits = 6 }
            }
            add_trait = chaste
            if = { 
                limit = {
                    is_married = yes
                    FROM = { 
                        trait = chaste 
                        is_married = yes #Both married and chaste.
                    }
                }
                if = { 
                    limit = {
                        is_married = FROM
                        NOT = { is_lover = FROM }
                    }
                    add_lover = FROM 
                }
                else = { 
                    opinion = { who = FROM modifier = opinion_kindred_spirit years = 15 } 
                    reverse_opinion = { who = FROM modifier = opinion_kindred_spirit years = 15 } 
                }
                hidden_tooltip = { FROM = { character_event = { id = HF.24173 } } } 
            }
        }
        else_if = {
            limit = { 
                is_married = no
                trait = chaste
            }
            change_learning = 1
        }
        else_if = {
            limit = { 
                is_married = yes
                NOR = { 
                    num_of_children = 2 
                    trait = celibate 
                    trait = eunuch 
                }
            }
            add_character_modifier = { name = marital_duty duration = 720 }
        }
        else = {
            opinion = { modifier = opinion_rekindle_love who = spouse years = 2 }
        }
        if = { #Regardless, moralizing against Seduction will happen.
            limit = { 
                has_focus = focus_seduction
            }
            set_focus = focus_family
        }
    }
}

#Relative causes culture shift.
character_event = {
    id = HF.24158
    desc = EVTDESCAHF24158
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = yes
            }
            event_target:meddler_target = {
                is_female = yes
            }
        } 
        picture = GFX_evt_daughter_asking_mother
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = yes
            }
            event_target:meddler_target = {
                is_female = no
            }
        } 
        picture = GFX_evt_daughter_asking_father
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = no
            }
            event_target:meddler_target = {
                is_female = yes
            }
        } 
        picture = GFX_evt_courtiers_talking
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = no
            }
            event_target:meddler_target = {
                is_female = no
            }
        } 
        picture = GFX_evt_son_asking_father
    }
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    option = { 
        name = EVTOPTAHF24158
        if = { #May convert to east/west valyrian
            limit = { 
                event_target:scoped_founder = { culture = high_valyrian }
                NOR = {
                    father_even_if_dead = { culture = high_valyrian }
                    mother_even_if_dead = { culture = high_valyrian }                        
                }
                has_game_rule = { name = high_valyrian_cull value = on }
            }
            if = {
                limit = {
                    OR = {
                        capital_scope = { region = world_westeros }
                        AND = {
                            is_ruler = no
                            liege = { capital_scope = { region = world_westeros } }
                        }    
                    }
                }    
                culture = western_valyrian
            }    
            else = {
                culture = eastern_valyrian
            }
        }
        else = {
            culture = event_target:scoped_founder
        }    
        if = {
            limit = { culture = high_valyrian }
            set_character_flag = high_valyrian
        }
        if = { 
            limit = {
                FROM = { NOT = { culture = event_target:scoped_founder } }
            }
            reverse_opinion = { who = FROM modifier = opinion_took_my_advice years = 5 } 
        }
        else_if = { 
            limit = {
                FROM = { culture = event_target:scoped_founder }
            }
            opinion = { who = FROM modifier = opinion_kindred_spirit years = 15 } 
            reverse_opinion = { who = FROM modifier = opinion_kindred_spirit years = 15 } 
        }
        hidden_tooltip = { FROM = { character_event = { id = HF.24163 } } }
        ai_chance = { factor = 90 }
    }
    option = { 
        name = EVTOPTBHF24158
        reverse_opinion = { who = FROM modifier = opinion_denied_advice years = 5 }
        hidden_tooltip = { FROM = { character_event = { id = HF.24164 } } }
        ai_chance = {  
            factor = 10
            modifier = { 
                factor = 2
                trait = proud
            }
            modifier = { 
                factor = 2
                is_ruler = yes
                capital_scope = { culture = ROOT }
            }
            modifier = { 
                factor = 0.5
                is_ruler = yes
                capital_scope = { culture = event_target:scoped_founder }
            }
            modifier = { 
                factor = 2
                is_rival = FROM
            }
            modifier = { 
                factor = 0.5
                is_lover = FROM
            }
            modifier = { 
                factor = 0.5
                is_friend = FROM
            }
            modifier = { 
                factor = 0.5
                is_married = FROM
            }
            modifier = { 
                factor = 0.5
                opinion = { who = FROM value = 20 }
            }
            modifier = { 
                factor = 2
                NOT = { opinion = { who = FROM value = 0 } }
            }
            modifier = { 
                factor = 2
                NOT = { opinion = { who = FROM value = -50 } }
            }
        }
    }
}

#Relative pushes study over grooming.
character_event = {
    id = HF.24159
    desc = { 
        trigger = { 
            is_female = no
        } 
        text = EVTDESCAHF24159
    }
    desc = { 
        trigger = { 
            is_female = yes
        } 
        text = EVTDESCBHF24159
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = yes
            }
            event_target:meddler_target = {
                is_female = yes
            }
        } 
        picture = GFX_evt_daughter_asking_mother
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = yes
            }
            event_target:meddler_target = {
                is_female = no
            }
        } 
        picture = GFX_evt_daughter_asking_father
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = no
            }
            event_target:meddler_target = {
                is_female = yes
            }
        } 
        picture = GFX_evt_courtiers_talking
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = no
            }
            event_target:meddler_target = {
                is_female = no
            }
        } 
        picture = GFX_evt_son_asking_father
    }
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    option = { 
        name = EVTOPTAHF24159
        if = {
            limit = { 
                trait = groomed 
            }
            remove_trait = groomed
            reverse_opinion = { who = FROM modifier = opinion_took_my_advice years = 5 } 
        } 
        else_if = {
            limit = { 
                trait = fashionable
            }
            remove_trait = fashionable
            reverse_opinion = { who = FROM modifier = opinion_took_my_advice years = 5 } 
        } 
        else_if = {
            limit = { 
                NOT = { 
                    trait = uncouth
                }
            }
            add_trait = uncouth
            if = { 
                limit = {
                    FROM = { NOT = { trait = uncouth } }
                }
                reverse_opinion = { who = FROM modifier = opinion_took_my_advice years = 5 } 
            }
            else_if = { 
                limit = {
                    FROM = { trait = uncouth }
                }
                opinion = { who = FROM modifier = opinion_kindred_spirit years = 15 } 
                reverse_opinion = { who = FROM modifier = opinion_kindred_spirit years = 15 } 
            }
        }
        else = {
            change_diplomacy = -1
            reverse_opinion = { who = FROM modifier = opinion_took_my_advice years = 5 } 
        }
        change_martial = 1
        change_learning = 1
        hidden_tooltip = { FROM = { character_event = { id = HF.24165 } } }
        ai_chance = { factor = 90 }
    }
    option = { 
        name = EVTOPTBHF24159
        tiered_prestige_negative_effect = yes
        reverse_opinion = { who = FROM modifier = opinion_denied_advice years = 5 }
        hidden_tooltip = { FROM = { character_event = { id = HF.24166 } } }
        ai_chance = {  
            factor = 10
            modifier = { 
                factor = 2
                trait = proud
            }
            modifier = { 
                factor = 2
                is_rival = FROM
            }
            modifier = { 
                factor = 0.5
                is_lover = FROM
            }
            modifier = { 
                factor = 0.5
                is_friend = FROM
            }
            modifier = { 
                factor = 0.5
                is_married = FROM
            }
            modifier = { 
                factor = 0.5
                opinion = { who = FROM value = 20 }
            }
            modifier = { 
                factor = 2
                NOT = { opinion = { who = FROM value = 0 } }
            }
            modifier = { 
                factor = 2
                NOT = { opinion = { who = FROM value = -50 } }
            }
        }
    }
}

#Relative pushes grooming over study.
character_event = {
    id = HF.24160
    desc = { 
        trigger = { 
            is_female = no
        } 
        text = EVTDESCAHF24160
    }
    desc = { 
        trigger = { 
            is_female = yes
        } 
        text = EVTDESCBHF24160
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = yes
            }
            event_target:meddler_target = {
                is_female = yes
            }
        } 
        picture = GFX_evt_daughter_asking_mother
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = yes
            }
            event_target:meddler_target = {
                is_female = no
            }
        } 
        picture = GFX_evt_daughter_asking_father
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = no
            }
            event_target:meddler_target = {
                is_female = yes
            }
        } 
        picture = GFX_evt_courtiers_talking
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = no
            }
            event_target:meddler_target = {
                is_female = no
            }
        } 
        picture = GFX_evt_son_asking_father
    }
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    option = { 
        name = EVTOPTAHF24160
        if = {
            limit = { 
                trait = uncouth 
            }
            remove_trait = uncouth
        } 
        else_if = {
            limit = { 
                NOR = { 
                    trait = groomed
                    trait = uncouth
                }
            }
            add_trait = groomed
            if = { 
                limit = {
                    FROM = { NOT = { trait = groomed } }
                }
                reverse_opinion = { who = FROM modifier = opinion_took_my_advice years = 5 } 
            }
            else_if = { 
                limit = {
                    FROM = { trait = groomed }
                }
                opinion = { who = FROM modifier = opinion_kindred_spirit years = 15 } 
                reverse_opinion = { who = FROM modifier = opinion_kindred_spirit years = 15 } 
            }
        }
        else_if = {
            limit = { 
                trait = groomed
            }
            change_diplomacy = 1
        }
        change_stewardship = -1
        hidden_tooltip = { FROM = { character_event = { id = HF.24167 } } }
        ai_chance = { factor = 90 }
    }
    option = { 
        name = EVTOPTBHF24160
        tiered_prestige_negative_effect = yes
        reverse_opinion = { who = FROM modifier = opinion_denied_advice years = 5 }
        hidden_tooltip = { FROM = { character_event = { id = HF.24168 } } }
        ai_chance = {  
            factor = 10
            modifier = { 
                factor = 2
                trait = diligent
            }
            modifier = { 
                factor = 2
                is_rival = FROM
            }
            modifier = { 
                factor = 0.5
                is_lover = FROM
            }
            modifier = { 
                factor = 0.5
                is_friend = FROM
            }
            modifier = { 
                factor = 0.5
                is_married = FROM
            }
            modifier = { 
                factor = 0.5
                opinion = { who = FROM value = 20 }
            }
            modifier = { 
                factor = 2
                NOT = { opinion = { who = FROM value = 0 } }
            }
            modifier = { 
                factor = 2
                NOT = { opinion = { who = FROM value = -50 } }
            }
        }
    }
}

#Relative invites to eat more.
character_event = {
    id = HF.24161
    desc = { 
        trigger = { 
            is_female = no
        } 
        text = EVTDESCAHF24161
    }
    desc = { 
        trigger = { 
            is_female = yes
        } 
        text = EVTDESCBHF24161
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = yes
            }
            event_target:meddler_target = {
                is_female = yes
            }
        } 
        picture = GFX_evt_daughter_asking_mother
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = yes
            }
            event_target:meddler_target = {
                is_female = no
            }
        } 
        picture = GFX_evt_daughter_asking_father
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = no
            }
            event_target:meddler_target = {
                is_female = yes
            }
        } 
        picture = GFX_evt_courtiers_talking
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = no
            }
            event_target:meddler_target = {
                is_female = no
            }
        } 
        picture = GFX_evt_son_asking_father
    }
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    option = { 
        name = EVTOPTAHF24161
        gain_weight_medium_effect = yes
        set_character_flag = flag_primed_physique #No random flavor needed.
        weight_trait_check_effect = yes
        if = { 
            limit = { 
                OR = { 
                    NOT = { check_variable = { which = physique_variable value = -5 } } 
                    trait = feeble
                } 
            } 
            health = 0.5
        }
        if = { 
            limit = {
                FROM = { trait = is_fat }
                check_variable = { which = physique_variable value = 5 } #The option would bring past threshold.
            }
            opinion = { who = FROM modifier = opinion_kindred_spirit years = 15 } 
            reverse_opinion = { who = FROM modifier = opinion_kindred_spirit years = 15 } 
        }
        else = { 
            reverse_opinion = { who = FROM modifier = opinion_took_my_advice years = 5 }
        }
        if = { 
            limit = {
                check_variable = { which = physique_variable value = 15 } #The option would bring past threshold.
            }
            set_character_flag = flag_fat_for_stress
            hidden_tooltip = { this_post_weight_gain_flavor_effect = yes } #Random positive flavor to justify decision's cost.
        }
        hidden_tooltip = { FROM = { character_event = { id = HF.24169 } } }
        ai_chance = { factor = 90 }
    }
    option = { 
        name = EVTOPTBHF24161
        tiered_prestige_negative_effect = yes
        reverse_opinion = { who = FROM modifier = opinion_denied_advice years = 5 }
        hidden_tooltip = { FROM = { character_event = { id = HF.24170 } } }
        ai_chance = {  
            factor = 10
            modifier = { 
                factor = 2
                trait = temperate
            }
            modifier = { 
                factor = 2
                is_rival = FROM
            }
            modifier = { 
                factor = 0.5
                is_lover = FROM
            }
            modifier = { 
                factor = 0.5
                is_friend = FROM
            }
            modifier = { 
                factor = 0.5
                is_married = FROM
            }
            modifier = { 
                factor = 0.5
                opinion = { who = FROM value = 20 }
            }
            modifier = { 
                factor = 2
                NOT = { opinion = { who = FROM value = 0 } }
            }
            modifier = { 
                factor = 2
                NOT = { opinion = { who = FROM value = -50 } }
            }
        }
    }
}
#Relative invites to eat less.
character_event = {
    id = HF.24162
    desc = { 
        trigger = { 
            is_female = no
        } 
        text = EVTDESCAHF24162
    }
    desc = { 
        trigger = { 
            is_female = yes
        } 
        text = EVTDESCBHF24162
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = yes
            }
            event_target:meddler_target = {
                is_female = yes
            }
        } 
        picture = GFX_evt_daughter_asking_mother
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = yes
            }
            event_target:meddler_target = {
                is_female = no
            }
        } 
        picture = GFX_evt_daughter_asking_father
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = no
            }
            event_target:meddler_target = {
                is_female = yes
            }
        } 
        picture = GFX_evt_courtiers_talking
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = no
            }
            event_target:meddler_target = {
                is_female = no
            }
        } 
        picture = GFX_evt_son_asking_father
    }
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    option = { 
        name = EVTOPTAHF24161
        lose_weight_medium_effect = yes
        set_character_flag = flag_primed_physique #No random flavor needed.
        weight_trait_check_effect = yes
        if = { 
            limit = { 
                OR = { 
                    check_variable = { which = physique_variable value = -5 }
                    trait = sturdy
                } 
            } 
            health = 0.5
        }
        if = { 
            limit = {
                FROM = { trait = is_malnourished }
                NOT = { check_variable = { which = physique_variable value = -5 } } #The option would bring past threshold.
            }
            opinion = { who = FROM modifier = opinion_kindred_spirit years = 15 } 
            reverse_opinion = { who = FROM modifier = opinion_kindred_spirit years = 15 } 
        }
        else = { 
            reverse_opinion = { who = FROM modifier = opinion_took_my_advice years = 5 }
        }
        if = { 
            limit = {
                NOT = { check_variable = { which = physique_variable value = -15 } } #The option would bring past threshold.
            }
            set_character_flag = flag_malnourished_for_diligence
            hidden_tooltip = { this_post_weight_loss_flavor_effect = yes } #Random positive flavor to justify decision's cost.
        }
        hidden_tooltip = { FROM = { character_event = { id = HF.24171 } } }
        ai_chance = { factor = 90 }
    }
    option = { 
        name = EVTOPTBHF24161
        tiered_prestige_negative_effect = yes
        reverse_opinion = { who = FROM modifier = opinion_denied_advice years = 5 }
        hidden_tooltip = { FROM = { character_event = { id = HF.24172 } } }
        ai_chance = {  
            factor = 10
            modifier = { 
                factor = 2
                trait = gluttonous
            }
            modifier = { 
                factor = 2
                trait = hedonist
            }
            modifier = { 
                factor = 2
                is_rival = FROM
            }
            modifier = { 
                factor = 0.5
                is_lover = FROM
            }
            modifier = { 
                factor = 0.5
                is_friend = FROM
            }
            modifier = { 
                factor = 0.5
                is_married = FROM
            }
            modifier = { 
                factor = 0.5
                opinion = { who = FROM value = 20 }
            }
            modifier = { 
                factor = 2
                NOT = { opinion = { who = FROM value = 0 } }
            }
            modifier = { 
                factor = 2
                NOT = { opinion = { who = FROM value = -50 } }
            }
        }
    }
}

#Relative has changed culture.
character_event = {
    id = HF.24163
    desc = EVTDESCAHF24163
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = yes
            }
            event_target:meddler_target = {
                is_female = yes
            }
        } 
        picture = GFX_evt_daughter_asking_mother
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = yes
            }
            event_target:meddler_target = {
                is_female = no
            }
        } 
        picture = GFX_evt_daughter_asking_father
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = no
            }
            event_target:meddler_target = {
                is_female = yes
            }
        } 
        picture = GFX_evt_courtiers_talking
    }
    picture = { 
        trigger = { 
            event_target:meddling_target = {
                is_female = no
            }
            event_target:meddler_target = {
                is_female = no
            }
        } 
        picture = GFX_evt_son_asking_father
    }
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    option = { 
        name = {
            text = EVTOPTAHF24163_A
            trigger = {
                culture = FROM
            }
        }
        name = {
            text = EVTOPTAHF24163_B
            trigger = {
                NOT = { culture = FROM }
            }
        }
        tooltip = { 
            if = { 
                limit = {
                    NOT = { culture = FROM }
                }
                opinion = { who = FROM modifier = opinion_took_my_advice years = 5 } 
            }
            else_if = { 
                limit = {
                    culture = FROM
                }
                opinion = { who = FROM modifier = opinion_kindred_spirit years = 15 } 
                reverse_opinion = { who = FROM modifier = opinion_kindred_spirit years = 15 } 
            }
        }
    }
}
#Relative has refused culture change.
character_event = {
    id = HF.24164
    desc = EVTDESCAHF24164
    picture = GFX_evt_quarrel
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    option = { 
        name = EVTOPTAHF24164
        opinion = { who = FROM modifier = opinion_denied_advice years = 5 }
    }
}
#Relative is studying more.
character_event = {
    id = HF.24165
    desc = { 
        trigger = { 
            FROM = { is_female = no }
            NAND = { 
                FROM = { trait = uncouth }
                trait = uncouth 
            }
        } 
        text = EVTDESCAHF24165
        picture = GFX_evt_library
    }
    desc = { 
        trigger = { 
            FROM = { is_female = yes }
            NAND = { 
                FROM = { trait = uncouth }
                trait = uncouth 
            }
        } 
        text = EVTDESCBHF24165
        picture = GFX_evt_princess_byzantine
    }
    desc = { 
        trigger = { 
            FROM = { is_female = no }
            FROM = { trait = uncouth }
            trait = uncouth
        } 
        text = EVTDESCCHF24165
        picture = GFX_evt_library
    }
    desc = { 
        trigger = { 
            FROM = { is_female = yes }
            FROM = { trait = uncouth }
            trait = uncouth
        } 
        text = EVTDESCCHF24165
        picture = GFX_evt_princess_byzantine
    }
    picture = GFX_evt_courtiers_talking
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    option = { 
        name = {
            text = EVTOPTAHF24165_A
            trigger = {
                trait = uncouth
            }
        }
        name = {
            text = EVTOPTAHF24165_B
            trigger = {
                NOT = { trait = uncouth }
            }
        }
        tooltip = { 
            if = { 
                limit = {
                    trait = uncouth
                    FROM = { trait = uncouth }
                }
                opinion = { who = FROM modifier = opinion_kindred_spirit years = 15 } 
                reverse_opinion = { who = FROM modifier = opinion_kindred_spirit years = 15 } 
            }
            else = { 
                opinion = { who = FROM modifier = opinion_took_my_advice years = 5 } 
            }
        }
    }
}
#Relative has refused to forsake grooming.
character_event = {
    id = HF.24166
    desc = EVTDESCAHF24166
    picture = GFX_evt_quarrel
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    option = { 
        name = EVTOPTAHF24164 #Same
        opinion = { who = FROM modifier = opinion_denied_advice years = 5 }
    }
}
#Relative is grooming himself more.
character_event = {
    id = HF.24167
    desc = { 
        trigger = { 
            FROM = { is_female = no }
            NAND = { 
                FROM = { trait = groomed }
                trait = groomed 
            }
        } 
        text = EVTDESCAHF24167
    }
    desc = { 
        trigger = { 
            FROM = { is_female = yes }
            NAND = { 
                FROM = { trait = groomed }
                trait = groomed 
            }
        } 
        text = EVTDESCBHF24167
    }
    desc = { 
        trigger = { 
            FROM = { is_female = no }
            FROM = { trait = groomed }
            trait = groomed
        } 
        text = EVTDESCCHF24167
    }
    desc = { 
        trigger = { 
            FROM = { is_female = yes }
            FROM = { trait = groomed }
            trait = groomed
        } 
        text = EVTDESCDHF24167
    }
    picture = GFX_evt_dancing
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    option = { 
        name = {
            text = EVTOPTAHF24167_A
            trigger = {
                trait = groomed
            }
        }
        name = {
            text = EVTOPTAHF24167_B
            trigger = {
                NOT = { trait = groomed }
            }
        }
        tooltip = { 
            if = { 
                limit = {
                    trait = groomed
                    FROM = { trait = groomed }
                }
                opinion = { who = FROM modifier = opinion_kindred_spirit years = 15 } 
                reverse_opinion = { who = FROM modifier = opinion_kindred_spirit years = 15 } 
            }
            else = { 
                opinion = { who = FROM modifier = opinion_took_my_advice years = 5 } 
            }
        }
    }
}
#Relative has refused to grooming advice.
character_event = {
    id = HF.24168
    desc = EVTDESCAHF24168
    picture = GFX_evt_quarrel
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    option = { 
        name = EVTOPTAHF24164 #Same
        opinion = { who = FROM modifier = opinion_denied_advice years = 5 }
    }
}
#Relative is eating more.
character_event = {
    id = HF.24169
    desc = { 
        trigger = { 
            FROM = { is_female = no }
            NAND = { 
                FROM = { trait = is_fat }
                trait = is_fat 
            }
        } 
        text = EVTDESCAHF24169
    }
    desc = { 
        trigger = { 
            FROM = { is_female = yes }
            NAND = { 
                FROM = { trait = is_fat }
                trait = is_fat 
            }
        } 
        text = EVTDESCBHF24169
    }
    desc = { 
        trigger = { 
            FROM = { is_female = no }
            FROM = { trait = is_fat }
            trait = is_fat
        } 
        text = EVTDESCCHF24169
    }
    desc = { 
        trigger = { 
            FROM = { is_female = yes }
            FROM = { trait = is_fat }
            trait = is_fat
        } 
        text = EVTDESCDHF24169
    }
    picture = GFX_evt_fancy_feast
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    option = { 
        name = {
            text = EVTOPTAHF24167_A
            trigger = {
                trait = is_fat
            }
        }
        name = {
            text = EVTOPTAHF24167_A
            trigger = {
                NOT = { trait = is_fat }
            }
        }
        tooltip = { 
            if = { 
                limit = {
                    trait = is_fat
                    FROM = { trait = is_fat }
                }
                opinion = { who = FROM modifier = opinion_kindred_spirit years = 15 } 
                reverse_opinion = { who = FROM modifier = opinion_kindred_spirit years = 15 } 
            }
            else = { 
                opinion = { who = FROM modifier = opinion_took_my_advice years = 5 } 
            }
        }
    }
}
#Relative has refused dieting advice.
character_event = {
    id = HF.24170
    desc = EVTDESCAHF24170
    picture = GFX_evt_quarrel
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    option = { 
        name = EVTOPTAHF24164 #Same
        opinion = { who = FROM modifier = opinion_denied_advice years = 5 }
    }
}
#Relative is eating less.
character_event = {
    id = HF.24171
    desc = { 
        trigger = { 
            FROM = { is_female = no }
            NAND = { 
                FROM = { trait = is_fat }
                trait = is_fat 
            }
        } 
        text = EVTDESCAHF24171
    }
    desc = { 
        trigger = { 
            FROM = { is_female = yes }
            NAND = { 
                FROM = { trait = is_fat }
                trait = is_fat 
            }
        } 
        text = EVTDESCBHF24171
    }
    desc = { 
        trigger = { 
            FROM = { is_female = no }
            FROM = { trait = is_malnourished }
            trait = is_malnourished
        } 
        text = EVTDESCCHF24171
    }
    desc = { 
        trigger = { 
            FROM = { is_female = yes }
            FROM = { trait = is_malnourished }
            trait = is_malnourished
        } 
        text = EVTDESCDHF24171
    }
    picture = GFX_evt_dancing
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    option = { 
        name = {
            text = EVTOPTAHF24167_A
            trigger = {
                trait = is_malnourished
            }
        }
        name = {
            text = EVTOPTAHF24167_A
            trigger = {
                NOT = { trait = is_malnourished }
            }
        }
        tooltip = { 
            if = { 
                limit = {
                    trait = is_malnourished
                    FROM = { trait = is_malnourished }
                }
                opinion = { who = FROM modifier = opinion_kindred_spirit years = 15 } 
                reverse_opinion = { who = FROM modifier = opinion_kindred_spirit years = 15 } 
            }
            else = { 
                opinion = { who = FROM modifier = opinion_took_my_advice years = 5 } 
            }
        }
    }
}
#Relative has refused dieting advice.
character_event = {
    id = HF.24172
    desc = EVTDESCAHF24172
    picture = GFX_evt_feast
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    option = { 
        name = EVTOPTAHF24164 #Same
        opinion = { who = FROM modifier = opinion_denied_advice years = 5 }
    }
}

#Both meddler and meddled are chaste and married.
character_event = {
    id = HF.24173
    desc = { 
        trigger = { 
            FROM = { is_female = no }
            NOT = { 
                is_married = ROOT
            }
        } 
        text = EVTDESCAHF24173
    }
    desc = { 
        trigger = { 
            FROM = { is_female = yes }
            NOT = { 
                is_married = ROOT
            }
        } 
        text = EVTDESCBHF24173
    }
    desc = { 
        trigger = { 
            is_married = ROOT
        } 
        text = EVTDESCCHF24173
    }
    picture = GFX_evt_family
    border = GFX_event_normal_frame_diplomacy
    
    is_triggered_only = yes

    option = { 
        name = {
            text = EVTOPTAHF24173_A
            trigger = {
                is_married = FROM
            }
        }
        name = {
            text = EVTOPTAHF24173_B
            trigger = {
                NOT = { is_married = FROM }
            }
        }
        tooltip = { 
            if = { 
                limit = {
                    is_married = FROM
                    NOT = { is_lover = FROM }
                }
                add_lover = FROM 
            }
            else = { 
                opinion = { who = FROM modifier = opinion_kindred_spirit years = 15 } 
                reverse_opinion = { who = FROM modifier = opinion_kindred_spirit years = 15 } 
            }
        }
    }
}

###########################################################

# Forging Claim on Alexander the Great's Bloodline.


###########################################################

# Forging Claim on Ashoka's Bloodline.


#HF.24231 Taken for Dragon Bloodline event.

#on_death of Dragon Bloodline's founder, fire delayed event to change portrait.
character_event = {
    id = HF.24232
    hide_window = yes
    
    is_triggered_only = yes

    trigger = { 
        any_owned_bloodline = {
            has_bloodline_flag = bloodline_dragon
            founder = {
                character = ROOT
            }
        }
        NOT = {
            has_game_rule = {
                name = supernatural_events
                value = off
            }
        }
    }

    immediate = { 
        333 = { #Delayed province event on Rome, to make sure it always fires.
            province_event = { id = HF.24233 days = 7300 }
        }
    }
}

#Time has passed, ruler is believed to have actually been a Dragon.
province_event = {
    id = HF.24233
    hide_window = yes
    is_triggered_only = yes

    immediate = { 
        FROM = { 
            set_graphical_culture = dragon_culture
            culture = dragon_culture
            add_trait = dragon
            random_list = {
                1 = { add_trait = dragon_1 }
                1 = { add_trait = dragon_2 }
                1 = { add_trait = dragon_3 }
                1 = { add_trait = dragon_4 }
                1 = { add_trait = dragon_5 }
                1 = { add_trait = dragon_6 }
                1 = { add_trait = dragon_7 }
                1 = { add_trait = dragon_8 }
                1 = { add_trait = dragon_9 }
                1 = { add_trait = dragon_10 }
                1 = { add_trait = dragon_11 }
                1 = { add_trait = dragon_12 }
                1 = { add_trait = dragon_13 }
                1 = { add_trait = dragon_14 }
                1 = { add_trait = dragon_15 }
                1 = { add_trait = dragon_16 }
                1 = { add_trait = dragon_17 }
                1 = { add_trait = dragon_18 }
                1 = { add_trait = dragon_19 }
                1 = { add_trait = dragon_20 }
                1 = { add_trait = dragon_21 }
                1 = { add_trait = dragon_22 }
                1 = { add_trait = dragon_23 }
                1 = { add_trait = dragon_24 }
                1 = { add_trait = dragon_25 }
                1 = { add_trait = dragon_26 }
                1 = { #Balerion
                    modifier = {
                        factor = 0.05
                    }
                    add_trait = dragon_27 
                }
            }
        }
    }
}
###################

#Executing people by (dragon) burning.
character_event = {
    id = HF.24234
    desc = EVTDESCHF24234
    picture = GFX_evt_burning_man_hf
    border = GFX_event_normal_frame_intrigue
    
    is_triggered_only = yes
    
    option = {
        name = EVTOPTAHF24234
    }
}

# Killed by (dragon) burning.
character_event = {
    id = HF.24235
    desc = EVTDESCHF24235
    picture = GFX_evt_burning_man_hf
    border = GFX_event_normal_frame_intrigue
    
    is_triggered_only = yes
    
    option = {
        name = EVTOPTAHF24235
        death = {
            death_reason = death_execution_burning
            killer = FROMFROM
        }
    }
}

###################

#Technology Bloodline.
# Bards/Scholars/Mystics arriving at court.
character_event = { 
    id = HF.24236
    hide_window = yes
    
    is_triggered_only = yes
    
    only_playable = yes
    only_capable = yes
    prisoner = no
    min_age = 16

    trigger = {
        piety = 0
        any_owned_bloodline = {
            has_bloodline_flag = bloodline_wandering_artists
        }
    }
    
    immediate = {
        random_list = {
            60 = { #Bard
                character_event = { id = HF.24237 }
            }
            30 = { #Scholar
                character_event = { id = HF.24238 }
            }
            10 = { #Mystic
                character_event = { id = HF.24239 }
            }
            60 = {
                modifier = {
                    factor = 3
                    ai = yes
                }
                modifier = {
                    factor = 1.35
                    NOT = {
                        higher_tier_than = COUNT
                    }
                }
                modifier = {
                    factor = 1.35
                    NOT = {
                        higher_tier_than = DUKE
                    }
                }
                modifier = {
                    factor = 1.7
                    NOT = {
                        learning = 4
                    }
                }
                modifier = {
                    factor = 1.5
                    NOT = {
                        learning = 8
                    }
                }
                modifier = {
                    factor = 1.35
                    NOT = {
                        learning = 12
                    }
                }
                modifier = {
                    factor = 1.75
                    is_evil_trigger = yes
                }
                modifier = {
                    factor = 0.65
                    is_benevolent_trigger = yes
                }
            }
        }
    }
}

character_event = { # Bard character arrives
    id = HF.24237
    desc = EVTDESCHF24237
    picture = GFX_evt_open_book_hf
    border = GFX_event_normal_frame_diplomacy

    is_triggered_only = yes
    
    only_playable = yes
    only_capable = yes
    prisoner = no
    
    immediate = {
        spawn_fantastic_diplomat_effect = yes
        event_target:invited_character = {
            add_trait = poet
        }
    }
    
    option = {
        name = EVTOPTAHF24237
        scaled_wealth = { value = -0.1 min = -5 max = -100 }
        tiered_prestige_reward_effect = yes
        event_target:invited_character = {
            opinion = {
                modifier = opinion_loyal_servant
                who = ROOT
                years = 100
            }
        }
    }
    option = {
        name = EVTOPTBHF24237
        
        hidden_tooltip = {
            event_target:invited_character = { 
                death = {
                    death_reason = death_missing
                }
            }
        }
    }
}

character_event = { # Scholar character arrives
    id = HF.24238
    desc = EVTDESCHF24238
    picture = GFX_evt_open_book_hf
    border = GFX_event_normal_frame_diplomacy

    is_triggered_only = yes
    
    only_playable = yes
    only_capable = yes
    prisoner = no
    
    immediate = {
        spawn_fantastic_scholar_effect = yes
        event_target:invited_character = {
            add_trait = scholar
        }
    }
    
    option = {
        name = EVTOPTAHF24238
        scaled_wealth = { value = -0.1 min = -5 max = -100 }
        tiered_piety_reward_effect = yes
        event_target:invited_character = {
            opinion = {
                modifier = opinion_loyal_servant
                who = ROOT
                years = 100
            }
        }
    }
    option = {
        name = EVTOPTBHF24238
        
        hidden_tooltip = {
            event_target:invited_character = { 
                death = {
                    death_reason = death_missing
                }
            }
        }
    }
}

character_event = { # Mystic character arrives
    id = HF.24239
    desc = { 
        trigger = { 
            ROOT = { 
                is_female = no
            } 
        } 
        picture = GFX_evt_hooded_figure_hf
        text = EVTDESCHFA24239
    }
    desc = { 
        trigger = { 
            ROOT = { 
                is_female = yes
            } 
        } 
        picture = GFX_evt_woman_at_window_hf
        text = EVTDESCHFB24239
    }
    picture = GFX_evt_hooded_figure_hf
    border = GFX_event_normal_frame_diplomacy

    is_triggered_only = yes
    
    only_playable = yes
    only_capable = yes
    prisoner = no
    
    immediate = {
        spawn_fantastic_scholar_effect = yes
        event_target:invited_character = {
            add_trait = mystic
            change_intrigue = 12
            remove_trait = honest
            remove_trait = trusting
            remove_trait = kind
            remove_trait = humble
            set_character_flag = ai_flag_refuse_conversion
        }
    }
    
    option = {
        name = EVTOPTAHF24239
        tiered_piety_negative_effect = yes
        event_target:invited_character = {
            opinion = {
                modifier = opinion_loyal_servant
                who = ROOT
                years = 100
            }
        }
    }
    option = {
        name = EVTOPTBHF24239
        
        hidden_tooltip = {
            event_target:invited_character = { 
                death = {
                    death_reason = death_missing
                }
            }
        }
    }
}

#Matilde's (or similar) bloodline. Fired on_war_ended_victory of an Antipapal/Excommunication war against the HREmperor.
# From = Attacker, Root = Defender
character_event = {
    id = HF.24250
    hide_window = yes
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury" 
        NOT = { has_global_flag = flag_matilde_bloodline } #Just once.
        FROM = {  #Must be attacker.
            is_feudal = yes
            is_adult = yes
            is_alternate_start = no
            lower_tier_than = EMPEROR
            religion = the_seven
            is_heretic = no
            piety = 500
            NOT = { realm_size = 120 } 
            religion_head = { 
                has_landed_title = k_the_most_devout #Under the real Pope, no imitations.
                NOT = { is_rival = PREV }
                opinion = { who = PREV value = 25 } #At the very least in somewhat good terms...
            } 
    #        NOR = { #Not if already Forger of a Bloodline, or owner of a Forged Bloodline.
    #            any_owned_bloodline = { 
    #                has_bloodline_flag = created_bloodline
    #            }
    #            any_owned_bloodline = { 
    #                founder = {
    #                    character = PREVPREV
    #                }
    #            }
    #        }
            NOR = { #No glaring spots on reputation
                trait = incapable
                trait = excommunicated
                trait = lustful
                trait = gluttonous
                trait = greedy
                trait = proud
                trait = slothful
                trait = envious
                trait = wroth
                #trait = heresiarch
                #trait = crowned_by_myself
                has_character_modifier = adulteress
                has_character_modifier = incestuous_adulteress
                has_character_modifier = modifier_witch
                has_character_modifier = consorts_with_infidels
                has_character_modifier = consorts_with_mystics
                any_child = { trait = bastard }
                any_child = { trait = legit_bastard }
                is_any_kinslayer_trigger = yes
            }
            calc_true_if = { #And at least a couple of virtues
                amount = 2 
                trait = zealous
                trait = chaste
                trait = diligent
                trait = humble
                trait = charitable
                trait = temperate
                trait = kind
                trait = patient
                trait = celibate
                trait = theologian                
                #trait = nun
                trait = honorable
                trait = septon
                piety = 1000
            }
            OR = {
                is_married = yes
                NOT = { num_of_children = 1 }
            }
            OR = { #Either below King-tier, or must be either a Crowned Queen or a Vicereine.
                lower_tier_than = KING
                is_vice_royalty = yes
                has_character_flag = flag_crowned_by_priest
                has_character_flag = flag_crowned_by_bishop
                has_character_flag = flag_crowned_by_pope
                has_character_flag = flag_excommunicated_for_coronation
            }
        }
        ROOT = { 
            has_landed_title = e_iron_throne
            any_war = { 
                #OR = { 
                    using_cb = excommunicated_ruler 
                    #using_cb = depose_antipope
                #}
                any_attacker = { character = FROM }
            }
        }
    }
    immediate = { 
        set_global_flag = flag_matilde_bloodline
        ROOT = {
            save_event_target_as = defeated_emperor
        }    
        FROM = {
            religion_head = {
                save_event_target_as = scoped_pope
            }
            narrative_event = { id = HF.24251 days = 20 }
        }
    }
}

narrative_event = {
    id = HF.24251
    title = EVTTITLEHF24251
    # desc = {
        # trigger = {
            # character = 7757 #Special loc for Matilde.
        # }
        # text = EVTDESCAHF24251
    # }
    desc = {
        #trigger = {
            #NOT = { character = 7757 } #Generic if just similar ruler.
        #}
        text = EVTDESCBHF24251
    }
    picture = GFX_evt_virgin_mary_icon
    border = GFX_event_narrative_frame_war
    sound = bloodline_added
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury" 
    }
    
    option = {
        name = EVTOPTAHF24251
        the_seven = {
            show_scope_change = no
            religion_authority = {
                modifier = restored_primacy
                years = 50
            }
        }
        if = { 
            limit = { 
                this_has_cool_nickname_trigger = no 
                this_has_super_cool_nickname_trigger = no 
            }
            give_nickname = nick_the_sword_of_the_gods
        }
        # if = { 
            # limit = { character = 7757 }
            # create_bloodline = {
                # type = true_matilde_bloodline
            # }    
        # }
        if = {
            limit = { is_female = yes } 
            create_bloodline = {
                type = matilde_bloodline
            }    
        }
        else = {
            create_bloodline = {
                type = matilde_male_bloodline
            }    
        }
        hidden_tooltip = { 
            any_player = { 
                limit = { 
                    is_within_diplo_range = ROOT 
                    NOT = { character = event_target:defeated_emperor }
                    NOT = { character = ROOT }
                    religion = ROOT
                }    
                narrative_event = { id = HF.24252 days = 1 }    
            }
            event_target:defeated_emperor = { 
                narrative_event = { id = HF.24253 days = 1 }    
            }
        }
        ai_chance = { 
            factor = 100
        }
    }
    option = {
        name = EVTOPTBHF24251
        tiered_piety_reward_effect = yes
        the_seven = {
            show_scope_change = no
            religion_authority = {
                modifier = restored_primacy
                years = 50
            }
        }
        ai_chance = { 
            factor = 0
        }
    }
}

narrative_event = {
    id = HF.24252
    title = EVTTITLEHF24252
    desc = EVTDESCAHF24252
    # desc = {
        # trigger = {
            # FROM = { character = 7757 } 
        # }
        # text = EVTDESCAHF24252
    # }
    desc = {
        #trigger = {
            #FROM = { NOT = { character = 7757 } } 
        #}
        text = EVTDESCBHF24252
    }
    picture = GFX_evt_virgin_mary_icon
    border = GFX_event_narrative_frame_war
    sound = bloodline_added
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury" 
    }

    option = {
        name = EVTOPTAHF24252
        ai_chance = { 
            factor = 100
        }
    }
}

narrative_event = {
    id = HF.24253
    title = EVTTITLEHF24252
    # desc = {
        # trigger = {
            # FROM = { character = 7757 } 
        # }
        # text = EVTDESCAHF24253
    # }
    desc = {
        #trigger = {
            #FROM = { NOT = { character = 7757 } } 
        #}
        text = EVTDESCBHF24253
    }
    picture = GFX_evt_virgin_mary_icon
    border = GFX_event_narrative_frame_war
    sound = bloodline_added
    
    is_triggered_only = yes

    trigger = { 
        has_dlc = "Holy Fury" 
    }

    option = {
        name = EVTOPTAHF24253
        tiered_piety_negative_effect = yes
        if = { 
            limit = { 
                NOT = { is_rival = FROM }
            }
            add_rival = FROM
        }
        ai_chance = { 
            factor = 100
        }
    }
}

 

Второй -> ...\AGOT Forge Bloodlines\common\objectives\00_HF_ambitions.txt

Спойлер

# Supported types:
# character, spouse, rivals, friends, liege_titles, vassal_titles, realm_titles, realm_characters, realm_characters_plus, independent_rulers

###############
# AMBITIONS
###############

#Create a treasury
obj_create_treasury = {
    type = character
    
    
    potential = {
        NOR = {
            has_character_flag = created_treasury
            any_artifact = { 
                quality = 2
            }
            trait = incapable
        }
        is_landed = yes
        higher_tier_than = BARON
        has_dlc = "Holy Fury"
    }
    
    allow = {
        NOT = {
            is_inaccessible_trigger = yes
        }
        is_adult = yes
    }
    
    chance = {
        factor = 25
        
        modifier = {
            factor = 2
            trait = ambitious
        }
        modifier = {
            factor = 2
            trait = greedy
        }
        modifier = {
            factor = 2
            trait = envious
        }
        modifier = {
            factor = 2
            trait = proud
        }
        modifier = {
            factor = 0.5
            trait = slothful
        }
        modifier = {
            factor = 0.5
            trait = humble
        }
        modifier = {
            factor = 0.1
            trait = content
        }
        
    }
    
    success = {
        custom_tooltip = {
            text = create_treasury_condition_tooltip
            any_artifact = { 
                count = 3 
                quality = 2
            }
        } 
    }    
    
    abort = {
        OR = {
            has_character_flag = abort_obj
            trait = incapable
        }    
    }
    
    abort_effect = {
        clr_character_flag = abort_obj
    }
    
    effect = {
        change_stewardship = 1
        set_character_flag = created_treasury
        add_character_modifier = {
            name = impressive_treasury
            years = 5
        }
    }
}

#Make a friend
obj_make_friends = {
    type = character
    
    potential = {
        NOR = {
            any_friend = { is_alive = yes NOT_mythical_creature_trigger = yes }
            has_character_flag = made_friends
            trait = shy
            trait = incapable
        }
        is_landed = yes
        higher_tier_than = BARON
        has_dlc = "Holy Fury"
    }
    
    allow = {
        NOT = {
            is_inaccessible_trigger = yes
        }
        is_adult = yes
    }
    
    chance = {
        factor = 25

        modifier = {
            factor = 2
            trait = stressed
        }
        modifier = {
            factor = 2
            trait = depressed
        }    
        modifier = {
            factor = 0.5
            trait = ambitious
        }
        modifier = {
            factor = 0.5
            trait = envious
        }
        modifier = {
            factor = 2
            trait = greedy
        }
        modifier = {
            factor = 0.5
            trait = selfish
        }
        modifier = {
            factor = 0.5
            trait = wroth
        }
        modifier = {
            factor = 0.5
            trait = proud
        }    
        modifier = {
            factor = 2
            trait = patient
        }
        modifier = {
            factor = 2
            trait = humble
        }
        modifier = {
            factor = 0.5
            trait = slothful
        }
        modifier = {
            factor = 0.5
            trait = arbitrary
        }    
        modifier = {
            factor = 2
            trait = kind
        }
        modifier = {
            factor = 0.5
            trait = cruel
        }
    }
    
    success = {
        custom_tooltip = {
            text = obj_make_friends_condition_tooltip
            any_friend = { is_alive = yes NOT_mythical_creature_trigger = yes }
        } 
    }    
    
    abort = {
        OR = {
            has_character_flag = abort_obj
            trait = incapable
        }    
    }
    
    abort_effect = {
        clr_character_flag = abort_obj
    }
    
    effect = {
        change_diplomacy = 1
        set_character_flag = made_friends
        add_character_modifier = {
            name = popular_modifier
            years = 5
        }
    }
}


obj_forge_bloodline = {
    type = character
    can_cancel = no

    creation_effect = {
        if = {
            limit = {
                NOT = { check_variable = { which = bloodline_murdered_people value = 1 } } # Set variables immediately so that the 0s show in the tooltip.
            }
            set_variable = { which = bloodline_murdered_people value = 0 }
        }
        if = {
            limit = {
                NOT = { check_variable = { which = bloodline_won_wars value = 1 } } # Set variables immediately so that the 0s show in the tooltip.
            }
            set_variable = { which = bloodline_won_wars value = 0 }
        }
        if = {
            limit = {
                NOT = { check_variable = { which = bloodline_built_holdings value = 1 } } # Set variables immediately so that the 0s show in the tooltip.
            }
            set_variable = { which = bloodline_built_holdings value = 0 }
        }
        if = {
            limit = {
                NOT = { check_variable = { which = bloodline_built_cities value = 1 } } # Set variables immediately so that the 0s show in the tooltip.
            }
            set_variable = { which = bloodline_built_cities value = 0 }
        }
        if = {
            limit = {
                NOT = { check_variable = { which = bloodline_built_castles value = 1 } } # Set variables immediately so that the 0s show in the tooltip.
            }
            set_variable = { which = bloodline_built_castles value = 0 }
        }
        if = {
            limit = {
                NOT = { check_variable = { which = bloodline_built_temples value = 1 } } # Set variables immediately so that the 0s show in the tooltip.
            }
            set_variable = { which = bloodline_built_temples value = 0 }
        }
        if = {
            limit = {
                NOT = { age = 12 }
            }
            set_character_flag = flag_forge_bloodline_was_child # Checked to unlock special flavor.
        }
        if = {
            limit = {
                check_variable = { which = bloodline_murdered_people value = 30 }
            }
            set_character_flag = flag_about_to_murder_bloodline
            character_event = { id = HF.24025 days = 25 random = 25 } #If you already fulfilled one of the paths, fire event immediately.
        }
        else_if = {
            limit = {
                check_variable = { which = bloodline_won_wars value = 15 }
            }
            set_character_flag = flag_about_to_war_bloodline
            character_event = { id = HF.24031 days = 25 random = 25 } #If you already fulfilled one of the paths, fire event immediately.
        }
        else_if = {
            limit = {
                check_variable = { which = bloodline_built_holdings value = 24 }
            }
            set_character_flag = flag_about_to_builder_bloodline
            character_event = { id = HF.24047 days = 25 random = 25 } #If you already fulfilled one of the paths, fire event immediately.
        }
        else_if = {
            limit = {
                check_variable = { which = bloodline_built_cities value = 10 }
            }
            set_character_flag = flag_about_to_builder_bloodline
            character_event = { id = HF.24042 days = 25 random = 25 } #If you already fulfilled one of the paths, fire event immediately.
        }
        else_if = {
            limit = {
                check_variable = { which = bloodline_built_castles value = 10 }
            }
            set_character_flag = flag_about_to_builder_bloodline
            character_event = { id = HF.24043 days = 25 random = 25 } #If you already fulfilled one of the paths, fire event immediately.
        }
        else_if = {
            limit = {
                check_variable = { which = bloodline_built_temples value = 10 }
            }
            set_character_flag = flag_about_to_builder_bloodline
            character_event = { id = HF.24044 days = 25 random = 25 } #If you already fulfilled one of the paths, fire event immediately.
        }
        else_if = {
            limit = {
                higher_real_tier_than = DUKE
                ai = no
            }
            character_event = { id = HF.24052 days = 800 random = 800 } #Otherwise delayed fire of event bloodlines chain.
        }
        #Finally, set counter for years at peace.
        set_variable = { which = bloodline_peaceful_years value = 0 }
        character_event = { id = HF.24020 days = 365 } #And start increasing it. on_started_war actions will reset it.
    }
    
    potential = {
        has_dlc = "Holy Fury"
        NOT = {
            any_owned_bloodline = { # Should not already have a created bloodline.
    #            has_bloodline_flag = created_bloodline
                founder = {
                    character = ROOT
                }
            }
        }
    #    NAND = { # The AI shouldn't create bloodlines when they already have a historical one
    #        ai = yes
    #        any_owned_bloodline = {
    #            has_bloodline_flag = historical_bloodline
    #        }
    #    }
        OR = {
            prestige = 5000 #Adults
            AND = { #Child facilitation
                prestige = 2500
                is_adult = no
                OR = {
                    trait = willful
                    trait = proud
                    trait = ambitious
                    is_smart_trigger = yes
                    is_genius_trigger = yes
                }
            }
        }
        is_landed = yes
        is_playable = yes
        higher_tier_than = COUNT
        #independent = yes
    }
    
    allow = {
        #independent = yes
        NOT = { trait = content }
        NOT = { trait = incapable }
        age = 6
    }
    
    chance = {
        factor = 100
        
        modifier = {
            factor = 0
            NOT = { trait = ambitious }
        }
        modifier = {
            factor = 0
            NOT = { 
                any_owned_bloodline = { #Founders of historical Bloodlines tend to spawn with enough prestige and troops to have an easy time achieving this ambition. Fine for the player, but the AI should not do it.
                    founder = {
                        character = ROOT
                    }
                } 
            }
        }
        modifier = {
            factor = 0
            any_dynasty_member = { ai = no } #Don't step on the player's dreams, AI.
        }
    }
    success = {
        custom_tooltip = {
            text = obj_forge_bloodline_condition_tooltip        
            hidden_tooltip = { 
                any_owned_bloodline = { # Could be either one of the Bloodlines tied to this ambition or one of the other earned bloodlines scattered throughout the game.
                    #has_bloodline_flag = created_bloodline
                    founder = {
                        character = ROOT
                    }
                }
                # Possible Bloodlines specifically tied to this ambition:
                # Murder Bloodline (assassinate 30 people)     --->     (Little Killer/Dreaded/Feast Macabre/Silent)        
                # War Bloodline (win 15 wars)                 --->     (Young Warrior/Knight/Warlord/Warrior Philosopher)    
                # Peace Bloodline (ruled 30 years at peace)    --->    (protector/munificent/angel)                        
                # Architect Bloodline (built 10 cities)                                                                    
                # Castellan Bloodline (built 10 castles)                                                                
                # Monumental Bloodline (built 10 temples)                                                                

                # Hybrid (Murder + War) (20 kills + 10 wars)                                                            
                # Hybrid (Murder + Peace) (20 kills + 10 years)                                                            
                # Hybrid (Architect + Castellan + Monumental) (24 holdings)                                                
                # Hybrid (Murder + Architect/Castellan/Monumental) (20 kills + 15 holdings)                                
                # Hybrid (Peace + Architect) (15 years + 5 cities)                                                        
                # Hybrid (Peace + Castellan) (15 years + 5 castles)                                                        
                # Hybrid (Peace + Monumental) (15 years + 5 temples)                                                    


                # Event Bloodlines (event chain, with several variations)
                    #Family
                    #Technology
                    #Religion - Open
                    #Religion - Fanatical
                    #Benevolent
                    #Ruthless

                # Alexander/Ashoka (event chain)
            }
        }
    }    
    abort = {
        OR = {
            trait = incapable
            trait = content
        }
    }
    
    abort_effect = {
        prestige = -1000
    }
    
    effect = {
        prestige = 1000
    #    set_dynasty_flag = flag_dynasty_forged_bloodline
    }
}

 

Согласен, тысячи строк кода под первым спойлером формат неудобный, но “маємо те, що маємо”.

Изменено пользователем Labes
Ссылка на комментарий

Присоединиться к обсуждению

Вы можете оставить комментарий уже сейчас, а зарегистрироваться позже! Если у вас уже есть аккаунт, войдите, чтобы оставить сообщение через него.

Гость
Ответить в тему...

×   Вы вставили отформатированное содержимое.   Удалить форматирование

  Only 75 emoji are allowed.

×   Ваша ссылка автоматически преображена.   Отображать как простую ссылку

×   Предыдущее содержимое было восстановлено..   Очистить текст в редакторе

×   You cannot paste images directly. Upload or insert images from URL.

  • Ответы 679
  • Создано
  • Последний ответ
  • Просмотры 210656

Лучшие авторы в этой теме

  • Labes

    66

  • Aveonius

    40

  • u7262897

    37

  • Флавий Аниций

    27

  • Lormik

    23

  • Деймон Блэкфайр

    19

  • Vremen

    14

  • NZA

    10

  • Limonic

    9

  • Otox

    8

  • Skyri11

    8

  • ne_maksim

    8

  • Alterus

    7

  • fet_ted

    7

  • Лагос

    7

  • JamesMails

    7

  • Learain

    7

  • jcback

    6

  • олегатор227

    6

  • Герцог Цербст

    5

  • Филипп1999

    5

  • Embro

    5

  • Desidur

    5

  • lВеликий князьl

    5

Лучшие авторы в этой теме

Популярные сообщения

Old_Wayfarer

| Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. | Скачать cаб-моды | Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  | Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  | Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  | | fdf58849f679ed289858c712b16e

Флавий Аниций

Нашел на agotcitadel.boards.net небольшой, но полезный саб-мод AGOT Westeros Trade Routes Fix, который исправляет торговые пути Вестероса, позволяя строить в них торговые поселения.  Также, я немного

Флавий Аниций

Вот ссылка на новый More Bloodlines, версии 3.0:   Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.   и альтернативная ссылка (на всякий случай) Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

Флавий Аниций

На днях выдалось чуть больше свободного времени, чем обычно. Поэтому я смог перевести на русский язык замечательный саб-мод Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. . Позволяет строить не просто чудеса с

Aveonius

Предлагаю добавить саб-мод Manic's Units for AGOT: Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. Заменяет ванильные фигурки солдат, советников и кораблей на соответствующие лору.

vitovt13

Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.   - работает лишь в паре с основным модом (Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое. )    

Деймон Блэкфайр

Перевёл последние два саба (Ройнары и Валирия). Тут они уже все четыре. Ссылки: Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.  и Войдите или зарегистрируйтесь, чтобы увидеть скрытое содержимое.

Labes

Здравствуйте. Из не официальных саб-модов, один из форумчан делал НЕ машинный перевод AGOT More Bloodlines. Со слов автора, он немножечко неполный и несколько устаревший, но все ещё вполне играбел

  • Сейчас на странице   1 пользователь

    • Фомуля


Copyright © 2008-2024 Strategium.ru Powered by Invision Community

×
×
  • Создать...