Skip to content

Commit

Permalink
Romans Can Use the Amphitheatre (#519)
Browse files Browse the repository at this point in the history
* Romans Can Use the Amphitheatre

- Updated Amphitheatre monument to accommodate the Roman Culture Group.

* Update Culture/Religion for Monuments to Modern Standards

- Updated religion acceptance for monuments to "province_is_or_accepts_religion_group"
- Updated cultural acceptance for monuments to "province_is_or_accepts_culture_group"
  • Loading branch information
Elfangor567 authored Dec 1, 2024
1 parent 937f6ac commit 1445a0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CK2ToEU4/Data_Files/configurables/monuments_mappings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ wonder_amphitheater = {
can_be_moved = no
}
build_trigger = {
cultural_groups = { lost_cultures_group byzantine latin }
cultural_groups = { lost_cultures_group byzantine latin roman_group }
religious_groups = { pagan }
}
country_modifiers = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ void mappers::BuildTriggerBuilder::registerKeys()
registerKeyword("religious_groups", [this](std::istream& theStream) {
const auto& groups = commonItems::getStrings(theStream);
for (auto& group: groups)
buildTrigger += "AND = {\n\t\t\t\treligion_group = " + group + "\n\t\t\t\thas_owner_religion = yes\n\t\t\t}\n\t\t";
buildTrigger += "AND = {\n\t\t\t\treligion_group = " + group + "\n\t\t\t\tprovince_is_or_accepts_religion_group = yes\n\t\t\t}\n\t\t";
});
registerKeyword("cultural_groups", [this](std::istream& theStream) {
const auto& groups = commonItems::getStrings(theStream);
for (auto& group: groups)
buildTrigger += "AND = {\n\t\t\t\tculture_group = " + group + "\n\t\t\t\thas_owner_culture = yes\n\t\t\t}\n\t\t";
buildTrigger += "AND = {\n\t\t\t\tculture_group = " + group + "\n\t\t\t\tprovince_is_or_accepts_culture = yes\n\t\t\t}\n\t\t";
});
registerKeyword("cultural", [this](std::istream& theStream) {
cultural = commonItems::getString(theStream) == "yes";
Expand Down

0 comments on commit 1445a0f

Please sign in to comment.