
Major decision · Major Decisions
Clear Ground for a Legendary Building
No cost
The legend is complete and my people inspired. My lands are ripe for a new monument to my legend, but what exactly should be built?
Requirements
The game shows no text of its own for these conditions; the script is below.
Can be taken when (is_valid) (1 line of game script)
has_variable = clear_ground
As written in game/common/decisions/06_ce1_decisions.txt.
Effects
The effect has no text of its own in the files; its script is below.
Effect (83 lines of game script)
send_interface_toast = {
type = event_toast_effect_good
title = clear_ground_for_legendary_building.toast
switch = {
trigger = root.var:clear_ground
flag:legendary_shrine = {
scope:barony.title_province ?= {
add_special_building_slot = legendary_shrine
}
}
flag:legendary_palace = {
scope:barony.title_province ?= {
add_special_building_slot = legendary_palace
}
}
flag:legendary_statue = {
scope:barony.title_province ?= {
add_special_building_slot = legendary_statue
}
}
flag:legendary_watchtower = {
scope:barony.title_province ?= {
add_special_building_slot = legendary_watchtower
}
}
flag:legendary_hunting_lodge = {
scope:barony.title_province ?= {
add_special_building_slot = legendary_hunting_lodge
}
}
}
}
hidden_effect = {
remove_variable = clear_ground
if = {
limit = {
exists = var:legendary_figure
}
scope:barony.title_province ?= {
set_variable = {
name = legendary_figure
value = root.var:legendary_figure
}
}
remove_variable = legendary_figure
}
if = {
limit = {
has_character_flag = legendary_shrine_flag
}
remove_character_flag = legendary_shrine_flag
}
if = {
limit = {
has_character_flag = legendary_statue_flag
}
remove_character_flag = legendary_statue_flag
}
if = {
limit = {
has_character_flag = legendary_palace_flag
}
remove_character_flag = legendary_palace_flag
}
if = {
limit = {
has_character_flag = legendary_watchtower_flag
}
remove_character_flag = legendary_watchtower_flag
}
if = {
limit = {
has_character_flag = legendary_hunting_lodge_flag
}
remove_character_flag = legendary_hunting_lodge_flag
}
if = {
limit = {
exists = var:legendary_reward_location
}
remove_variable = legendary_reward_location
}
}As written in game/common/decisions/06_ce1_decisions.txt.
Source: game/common/decisions/06_ce1_decisions.txt and the English localisation, Crusader Kings III 1.20.0.3.