Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More intuitive decision conditions in priesthood restorations #174

Merged
merged 3 commits into from
Aug 8, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ACR_Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ General:
- Seneca the Younger, Roman Promethean Pagan, master scholar.
- Lucan the Younger, Roman Hellenic Pagan, master scholar.
- Improved Nile River Flooding event to prevent repeated messages.
- Added requirements in Atenic and Kemetic priesthood restoration decisions to have the temples of respectively Akhetaten and Luxor restored

Celtic:
- Fixes bug where the Unfit King Beta game rule was being ignored.
Expand Down
36 changes: 22 additions & 14 deletions AncientReligions/decisions/ACR_egyptian_decisions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ decisions = {
only_playable = yes
is_high_prio = yes
potential = {
is_playable = yes
is_playable = yes
independent = yes
higher_tier_than = duke
religion = egyptian_pagan
Expand All @@ -70,7 +70,7 @@ decisions = {
}
}
war = no
has_regent = no
has_regent = no
}
effect = {
set_global_flag = luxor_restoring
Expand Down Expand Up @@ -101,13 +101,13 @@ decisions = {
only_playable = yes
is_high_prio = yes
potential = {
is_playable = yes
is_playable = yes
higher_tier_than = duke
OR = {
religion = egyptian_pagan
religion = aten_pagan
}
NOT = {
NOT = {
has_character_flag = pyramid_built
has_character_flag = pyramid_building_char
capital_scope = { has_province_flag = pyramid_building_prov }
Expand All @@ -116,7 +116,7 @@ decisions = {
allow = {
wealth = 600
war = no
has_regent = no
has_regent = no
}
effect = {
set_character_flag = pyramid_building_char
Expand All @@ -137,7 +137,7 @@ decisions = {
learning = 8
}
}
}
}
}

restore_priesthood_egyptian_pagan = {
Expand All @@ -157,9 +157,13 @@ decisions = {
piety = 500
wealth = 500
war = no
religion_authority = 0.6
religion_authority = 0.6
custom_tooltip = {
text = luxor_restored_condition
has_global_flag = luxor_restored
}
b_luxor = {
has_holder = yes
has_holder = yes
holder_scope = { top_liege = { character = ROOT } }
}
}
Expand Down Expand Up @@ -209,17 +213,21 @@ decisions = {
higher_tier_than = duke # Tease the decision for kings
religion = aten_pagan
NOT = { has_global_flag = aten_priesthood_founded }
has_regent = no
has_regent = no
}
allow = {
higher_tier_than = king
realm_learning = 25
piety = 500
wealth = 500
war = no
religion_authority = 0.6
b_meir = {
has_holder = yes
religion_authority = 0.6
custom_tooltip = {
text = akhetaten_restored_condition
has_global_flag = akhetaten_restored
}
b_meir = {
has_holder = yes
holder_scope = { top_liege = { character = ROOT } }
}
}
Expand Down Expand Up @@ -247,7 +255,7 @@ decisions = {
}
ai_will_do = {
factor = 1
}
}
}

organize_anubis = {
Expand Down Expand Up @@ -380,7 +388,7 @@ decisions = {
only_playable = yes
is_high_prio = yes
potential = {
is_playable = yes
is_playable = yes
independent = yes
higher_tier_than = duke
religion = aten_pagan
Expand Down
2 changes: 2 additions & 0 deletions AncientReligions/localisation/ACR_egyptian_events.csv
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ restore_luxor;Restore Luxor Temple;Restaurer le Temple de Luxor;Restore Luxor Te
restore_luxor_desc;Restore Luxor Temple to its former glory.;Restaurer le Temple de Luxor � la hauteur de son lustre d'antan.;Restore Luxor Temple to its former glory.;;Restore Luxor Temple to its former glory.;;;;;;;;;x
restore_priesthood_egyptian_pagan;Restore the Paragon Xroj;Restaurer le Parangon Xroj;Restore the Paragon Xroj;;Restore the Paragon Xroj;;;;;;;;;x
restore_priesthood_egyptian_pagan_desc;Restore the Paragon Xroj.;Restaurer le Parangon Xroj;Restore the Paragon Xroj;;Restore the Paragon Xroj;;;;;;;;;x
luxor_restored_condition;The temple of Luxor is restored;;;;;;;;;;;;;x
build_pyramid;Build a Pyramid;Construire une Pyramide;Build a Pyramid;;Build a Pyramid;;;;;;;;;x
build_pyramid_desc;Build yourself a mighty tomb;Vous construire une tombe majestueuse.;Build yourself a mighty tomb;;Build yourself a mighty tomb;;;;;;;;;x
organize_anubis;Organize the Anubis Guard;Mettre sur pied la Garde d'Anubis;Organize the Anubis Guard;;Organize the Anubis Guard;;;;;;;;;x
Expand All @@ -28,6 +29,7 @@ organize_burning_blades;Organize the Burning Blades;;;;;;;;;;;;;x
organize_burning_blades_desc;Organize the Burning Blades Holy Order;;;;;;;;;;;;;x
restore_priesthood_aten_pagan;Restore the Priesthood of Aten;;;;;;;;;;;;;
restore_priesthood_aten_pagan_desc;Establish yourself as the Meryaten, highest priest of the Aten faith, and living god!;;;;;;;;;;;;;x
akhetaten_restored_condition;The temple of Akhetaten is restored;;;;;;;;;;;;;x
restore_akhetaten;Restore Akhetaten;;;;;;;;;;;;;x
restore_akhetaten_desc;Restore the ancient center of Aten's worship, Akhetaten.;;;;;;;;;;;;;x
###### Events;;;;;;;;;;;;;;x
Expand Down