cosmetic titles pt II

This commit is contained in:
trashmasteruni 2026-04-28 11:48:34 +02:00
parent 583b4893e5
commit 77a6987aff
4 changed files with 155 additions and 4 deletions

View file

@ -322,10 +322,26 @@ on_faith_conversion = {
has_title = title:e_france
faith = faith:carolingian
}
title:e_france = {
set_title_name_dynamic = Carolingia
set_title_color = { 255 216 0 }
trigger_event = NEOW_dynamic_titles.0013
}
if = {
limit = {
has_title = title:e_france
faith = faith:romanticist
}
trigger_event = NEOW_dynamic_titles.0015
}
if = {
limit = {
has_title = title:e_france
NOR = {
faith = faith:carolingian
faith = faith:romanticist
}
}
trigger_event = NEOW_dynamic_titles.0014
}
######################################################

View file

@ -167,6 +167,39 @@ on_title_destroyed = {
# scope:previous_holder = previous holder. Might be dead
on_title_gain = {
effect = {
################ N3OW Dynamic Titles ##################
if = {
limit = {
has_title = title:e_france
faith = faith:carolingian
}
trigger_event = NEOW_dynamic_titles.0013
}
if = {
limit = {
has_title = title:e_france
faith = faith:romanticist
}
trigger_event = NEOW_dynamic_titles.0015
}
if = {
limit = {
has_title = title:e_france
NOR = {
faith = faith:carolingian
faith = faith:romanticist
}
}
trigger_event = NEOW_dynamic_titles.0014
}
######################################################
######################
# COUNTY-TIER TITLES #
######################
@ -2826,6 +2859,38 @@ on_title_gain_inheritance = {
diarchy.0113
}
effect = {
################ N3OW Dynamic Titles ##################
if = {
limit = {
has_title = title:e_france
faith = faith:carolingian
}
trigger_event = NEOW_dynamic_titles.0013
}
if = {
limit = {
has_title = title:e_france
faith = faith:romanticist
}
trigger_event = NEOW_dynamic_titles.0015
}
if = {
limit = {
has_title = title:e_france
NOR = {
faith = faith:carolingian
faith = faith:romanticist
}
}
trigger_event = NEOW_dynamic_titles.0014
}
######################################################
if = {
limit = {
OR = {
@ -2983,6 +3048,38 @@ on_title_gain_usurpation = {
events = {
}
effect = {
################ N3OW Dynamic Titles ##################
if = {
limit = {
has_title = title:e_france
faith = faith:carolingian
}
trigger_event = NEOW_dynamic_titles.0013
}
if = {
limit = {
has_title = title:e_france
faith = faith:romanticist
}
trigger_event = NEOW_dynamic_titles.0015
}
if = {
limit = {
has_title = title:e_france
NOR = {
faith = faith:carolingian
faith = faith:romanticist
}
}
trigger_event = NEOW_dynamic_titles.0014
}
######################################################
if = {
limit = {
OR = {

View file

@ -121,6 +121,39 @@ NEOW_dynamic_titles.0012 = {
}
}
NEOW_dynamic_titles.0013 = { #Carolingia
hidden = yes
immediate = {
title:e_france = {
set_title_name = e_carolingia_cosmetic
set_title_color = { 255 216 0 }
}
}
}
NEOW_dynamic_titles.0014 = { # Default France
hidden = yes
immediate = {
title:e_france = {
set_title_name = e_france
set_title_color = { 20 17 114 }
}
}
}
NEOW_dynamic_titles.0015 = { # Gallia
hidden = yes
immediate = {
title:e_france = {
set_title_name_dynamic = e_gallia_cosmetic
set_title_color = { 8 165 126 }
}
}
}
#Holder for various dynamic titles in the future, this is for "<capital> Union"s
#NEOW_dynamic_titles.0013 = {
# hidden = yes

View file

@ -0,0 +1,5 @@
e_carolingia_cosmetic:0 "Carolingia"
e_carolingia_cosmetic_adj:0 "Carolingian"
e_gallia_cosmetic:0 "Gallia"
e_gallia_cosmetic_adj:0 "Gallian"