decisions = {
my_city_convert_to_castle = {
is_high_prio = yes
potential = {
ai = no
is_feudal = yes
any_demesne_title = {
has_any_building = my_city_to_castle
}
}
allow = {
any_demesne_title = {
has_any_building = my_city_to_castle
}
}
effect = {
hidden_tooltip = {
any_demesne_title = {
if = {
limit = {
has_building = my_city_to_castle
}
convert_to_castle = yes
refill_holding_levy = yes
}
}
}
custom_tooltip = {
text = my_city_convert_to_castle_adopt
}
}
revoke_allowed = {
always = no
}
}
my_temple_convert_to_city = {
is_high_prio = yes
potential = {
ai = no
is_feudal = yes
any_demesne_title = {
has_any_building = my_temple_to_city
}
}
allow = {
any_demesne_title = {
has_any_building = my_temple_to_city
}
}
effect = {
hidden_tooltip = {
any_demesne_title = {
if = {
limit = {
has_building = my_temple_to_city
}
convert_to_city = yes
refill_holding_levy = yes
}
}
}
custom_tooltip = {
text = my_temple_convert_to_city_desc_adopt
}
}
revoke_allowed = {
always = no
}
}
my_castle_convert_to_city = {
is_high_prio = yes
potential = {
ai = no
is_feudal = yes
any_demesne_title = {
has_any_building = my_castle_to_city
#location = { is_capital = no }
#or = {
# holding_type = city
# holding_type = temple
#}
}
}
allow = {
any_demesne_title = {
has_any_building = my_castle_to_city
}
}
effect = {
hidden_tooltip = {
any_demesne_title = {
if = {
limit = {
has_building = my_castle_to_city
}
convert_to_city = yes
refill_holding_levy = yes
}
}
}
custom_tooltip = {
text = my_castle_convert_to_city_adopt
}
}
revoke_allowed = {
always = no
}
}
my_destory_sp_build = {
is_high_prio = yes
potential = {
ai = no
is_feudal = yes
any_demesne_title = {
or = {
has_any_building = my_castle_to_city
has_any_building = my_city_to_castle
has_any_building = my_temple_to_city
}
}
}
allow = {
any_demesne_title = {
or = {
has_any_building = my_castle_to_city
has_any_building = my_city_to_castle
has_any_building = my_temple_to_city
}
}
}
effect = {
hidden_tooltip = {
any_demesne_title = {
if = {
limit = {
holding_type = castle
}
if = {
limit = {
has_building = my_castle_to_city
}
remove_building = my_castle_to_city
}
}
if = {
limit = {
holding_type = city
}
if = {
limit = {
has_building = my_city_to_castle
}
remove_building = my_city_to_castle
}
}
if = {
limit = {
holding_type = temple
}
if = {
limit = {
has_building = my_temple_to_city
}
remove_building = my_temple_to_city
}
}
}
}
custom_tooltip = {
text = my_destory_sp_build_adopt
}
}
revoke_allowed = {
always = no
}
}
}