Skip to content

Commit

Permalink
preparing v0.1.9.2
Browse files Browse the repository at this point in the history
- Performance improvement thanks to the destruction of a diabolical cloning machine created by a terrible unvoluntary mistake.
- Added a new Election weight modifier for the Roman Emperor Election: People will be more inclined to vote for the candidate of a Highly Popular Basileus
- Part of a Basileus Popularity is transferred to his successor if he is of the same dynasty (third of Popularity)
- Restricted the Imprison option to player characters for the decision on what to do with previous emperors having been deposed through faction demand
- Curbed the Pope secular aggression through his Pope trait
- Fixed Court Chaplain councillor triggers for Christians ; only Monks and Theocracy governments character (and Rhetorician for the Romans) can become Court Chaplain
- Added localized Councillor names to the Romans
- Replaced County Claim Fabrication for the Basileus to Intellectual Activity, increasing Cultural Fascination progress
  • Loading branch information
alltheatreides committed Feb 22, 2021
1 parent 84efdab commit a16a786
Show file tree
Hide file tree
Showing 41 changed files with 17,937 additions and 68 deletions.
2 changes: 1 addition & 1 deletion common/coat_of_arms/coat_of_arms/ave_maria_dynasties.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
color2 = "white"

colored_emblem = {
texture = "fatimah_arabic_callipgraphy.dds"
texture = "ave_maria_fatimah_arabic_callipgraphy.dds"
color1 = "black"
color2 = "black"
instance = { position = { 0.5 0.45 } scale = { 0.85 0.85 } }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ d_megas_droungarios = {
color3 = "white"
}
}



# d_regular_tagma_1 = {
# pattern = "pattern_solid.dds"
# color1 = "red"
Expand Down
4 changes: 2 additions & 2 deletions common/council_positions/00_council_positions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ councillor_spymaster = {
councillor_court_chaplain = {
skill = learning

auto_fill = yes
#auto_fill = yes
valid_position = {
# NOR = {
# has_title = title:e_byzantium
Expand Down Expand Up @@ -327,7 +327,7 @@ councillor_court_chaplain = {
}

inherit = no
fill_from_pool = yes
#fill_from_pool = yes

councillor_cooldown_days = {
value = 0
Expand Down
4 changes: 4 additions & 0 deletions common/decisions/ave_maria_minor_decisions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ ave_maria_utility_roman_emperor_update_vassal_taxes = {
}
}

is_valid = {
is_ai = no
}

effect = {
trigger_event = ave_maria_utility_events.0001
}
Expand Down
13 changes: 13 additions & 0 deletions common/factions/00_factions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1540,6 +1540,19 @@ claimant_faction = {

}
}
modifier = {
add = -1000
scope:target = {
any_held_title = {
this = title:e_byzantium
}
}
scope:claimant = {
any_heir_title = {
this = title:e_byzantium
}
}
}
modifier = {
add = -1000
scope:target = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,23 +294,23 @@ duchy_roman_administration_sakellion = {
type = title
tier = duchy
priority = 300
governments = { roman_administration_government }
governments = { roman_administration_sekreton_government }
titles = { d_sakellion }
top_liege = no
}
duchy_roman_administration_logothetetes_tou_dromou = {
type = title
tier = duchy
priority = 300
governments = { roman_administration_government }
governments = { roman_administration_sekreton_government }
titles = { d_logothetetes_tou_dromou }
top_liege = no
}
duchy_roman_administration_quaestor = {
type = title
tier = duchy
priority = 300
governments = { roman_administration_government }
governments = { roman_administration_sekreton_government }
titles = { d_quaestor }
top_liege = no
}
Expand Down
6 changes: 5 additions & 1 deletion common/game_concepts/ave_maria_game_concepts.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,9 @@ kouratoreia = {
}

roman_senate = {
texture = "gfx/interface/icons/icon_roman_senate.dds"
texture = "gfx/interface/icons/icon_senate.dds"
}

roman_dignities = {
texture = "gfx/interface/icons/institutions/roman_administration_name_anthypatos.dds"
}
2 changes: 1 addition & 1 deletion common/on_action/activities/feast_on_actions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ feast_default_event_selection = { #Picks out the event for a participant in a de
20 = feast_default.3003 #Altercation with a Rival
20 = feast_default.3004 #Insult your rival
10 = feast_default.3005 #Rival duel!
#5 = feast_default.3006 #Soiree with another attendee
0 = feast_default.3006 #Soiree with another attendee
10 = feast_default.3007 #Caught committing adultery with a Lover
#Host-triggered events
20 = feast_default.5001 #Host's high Dread causes you Stress
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ basileus_lifestyle_progress_pulse = { # Fires 4 times per year
#Ongoing events and story cycles
basileus_lifestyle_ongoing_events = {
trigger = {
has_lifestyle = basileus_lifestyle
is_available = yes
is_landed = yes
}

random_on_action = {
Expand Down
61 changes: 61 additions & 0 deletions common/on_action/death.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ on_death = {

invalidate_claimant_factions_on_death_effect = yes


## AVE MARIA
if = {
limit = {
Expand Down Expand Up @@ -59,6 +60,66 @@ on_death = {
hidden_effect = { scope:actor = { remove_relation_junior_emperor = prev } }
remove_trait = junior_emperor
}


## Transferring 1/3 of popularity
title:e_byzantium = {
current_heir = {
if = {
limit = {
dynasty = {
any_dynasty_member = {
this = title:e_byzantium.holder
}
}
root = {
has_variable = roman_administration_popularity
}
}

if = {
limit = {
has_variable = roman_administration_popularity
}
set_variable = {
name = popularity_transfer
value = root.var:roman_administration_popularity
}
change_variable = {
name = popularity_transfer
multiply = 0.3
}
change_variable = {
name = roman_administration_popularity
add = var:popularity_transfer
}
remove_variable = popularity_transfer
}

if = {
limit = {
NOT = {
has_variable = roman_administration_popularity
}
}
set_variable = {
name = popularity_transfer
value = root.var:roman_administration_popularity
}
change_variable = {
name = popularity_transfer
multiply = 0.3
}
set_variable = {
name = roman_administration_popularity
value = var:popularity_transfer
}
remove_variable = popularity_transfer
}
}
}
}

}

}
Expand Down
4 changes: 2 additions & 2 deletions common/on_action/game_start.txt
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ on_game_start_after_lobby = {
#trigger_event = { id = ave_maria_utility_events.0001 days = 1 }

## Set up emperor legitimacy
roman_administration_update_legitimacy_variable = yes
#roman_administration_update_legitimacy_variable = yes
set_variable = {
name = roman_administration_legitimacy_monthly_display
value = roman_administration_legitimacy_monthly
Expand All @@ -455,7 +455,7 @@ on_game_start_after_lobby = {
}

## Set up emperor popularity
roman_administration_update_popularity_variable = yes
#roman_administration_update_popularity_variable = yes

## Distribute legitimacy
roman_administration_game_start_legitimacy_distribution = yes
Expand Down
4 changes: 2 additions & 2 deletions common/on_action/lifestyles/intrigue_lifestyle_on_actions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ intrigue_lifestyle_common_events = {
100 = intrigue_scheming.2101 #Sneaky person seeks you out (might be an agent)
100 = intrigue_scheming.3001 #Convert a Hook on a Courtier into a Hook on their Court Owner
100 = intrigue_scheming.3041 #Convert a Hook on ruler's vassal into a Hook on the ruler
#100 = intrigue_scheming.3061 #An opportunity to turn an enemy's Heir into a Bastard
0 = intrigue_scheming.3061 #An opportunity to turn an enemy's Heir into a Bastard
200 = intrigue_scheming.4021 #Interrogate a prisoner to learn what secrets they know.
100 = intrigue_scheming.4040 #Make your courtiers hate each other so they scheme and plot against someone else.
100 = intrigue_scheming.1601 #Turn a Secret into a Hook, or otherwise
Expand All @@ -72,7 +72,7 @@ intrigue_lifestyle_common_events = {
100 = intrigue_temptation.3120 #You enjoy a dinner with one of your guests, and try to tempt them into staying.
100 = intrigue_temptation.3010 #Wingman/woman
100 = intrigue_temptation.3020 #Medieval tinder
#100 = intrigue_temptation.3130 #Cuckolding a potential rival.
0 = intrigue_temptation.3130 #Cuckolding a potential rival.
100 = intrigue_temptation.3140 #Flirt openly with people at court.
100 = intrigue_temptation.3150 #Caught chatting up a courtier.
100 = intrigue_temptation.3160 #Sleep with someone who dislikes you for fun or profit.
Expand Down
2 changes: 1 addition & 1 deletion common/on_action/relations/relation_on_actions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ relation_upgrade_quarterly_pulse = {
100 = relation_upgrade.0001
100 = relation_upgrade.1001
100 = relation_upgrade.2001
# 100 = relation_upgrade.2101
0 = relation_upgrade.2101
}
}

Expand Down
50 changes: 50 additions & 0 deletions common/on_action/title_on_actions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,56 @@ on_title_gain = {
}
}
trigger_event = ave_maria_roman_administration_legitimacy_events.0001
scope:previous_holder = {
every_relation = {
type = protospatharios
scope:previous_holder = {
remove_relation_protospatharios = prev
}
}
every_relation = {
type = patrikios
scope:previous_holder = {
remove_relation_patrikios = prev
}
}
every_relation = {
type = anthypatos
scope:previous_holder = {
remove_relation_anthypatos = prev
}
}
every_relation = {
type = magistros
scope:previous_holder = {
remove_relation_magistros = prev
}
}
every_relation = {
type = vestarches
scope:previous_holder = {
remove_relation_vestarches = prev
}
}
every_relation = {
type = proedros
scope:previous_holder = {
remove_relation_proedros = prev
}
}
every_relation = {
type = spatharios
scope:previous_holder = {
remove_relation_spatharios = prev
}
}
every_relation = {
type = junior_emperor
scope:previous_holder = {
remove_relation_junior_emperor = prev
}
}
}
}
if = {
limit = {
Expand Down
3 changes: 3 additions & 0 deletions common/on_action/yearly_on_actions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ yearly_global_pulse = {
trigger_event = { id = monthly_pulse.13 days = 273 }
trigger_event = { id = monthly_pulse.13 days = 304 }
trigger_event = { id = monthly_pulse.13 days = 334 }

### Purge the Peasants
## Put that on the 24th of december in the above monthly pulse

# Visigothic culture split
if = {
Expand Down
2 changes: 1 addition & 1 deletion common/scripted_effects/00_almohad_invasion_effects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
else = {
title:k_maghreb = {
random_in_de_jure_hierarchy = {
#continue = { tier > tier_county }
continue = { tier > tier_county }
limit = {
tier = tier_county
holder = { is_ai = yes } # Let's not murder players
Expand Down
4 changes: 2 additions & 2 deletions common/scripted_effects/00_interaction_effects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2656,8 +2656,8 @@ demand_conversion_vassal_ruler_interaction_effect = {
hidden_effect = {
if = {
limit = {
exists = scope:recipient.capital_province
scope:recipient.capital_province.faith = scope:recipient.faith
exists = scope:recipient.capital_county
scope:recipient.capital_county.faith = scope:recipient.faith
}
save_scope_value_as = {
name = convert_capital
Expand Down
10 changes: 5 additions & 5 deletions common/scripted_effects/00_religious_interaction_effects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ determine_ghw_target_effect = {
# Find a random top liege in the area
scope:target_kingdom = {
random_in_de_jure_hierarchy = {
# continue = { tier > tier_county }
continue = { tier > tier_county }
limit = { #Try to pick the largest ruler in the area.
tier = tier_county
$FAITH$ = {
Expand Down Expand Up @@ -973,10 +973,10 @@ new_faith_created_conversion_effect = {
scope:recipient = {
is_landed = yes
highest_held_title_tier > tier_barony
primary_title.title_capital_county.faith = scope:recipient.faith
capital_county.faith = scope:recipient.faith
}
}
scope:recipient.primary_title.title_capital_county = {
scope:recipient.capital_county = {
set_county_faith = scope:actor.faith
}
}
Expand Down Expand Up @@ -1051,10 +1051,10 @@ adopt_religion_interaction_effect = {
limit = {
scope:actor = {
highest_held_title_tier > tier_barony
NOT = { primary_title.capital_county.faith = scope:recipient.faith }
NOT = { capital_county.faith = scope:recipient.faith }
}
}
scope:actor.primary_title.title_capital_county = {
scope:actor.capital_county = {
set_county_faith = scope:recipient.faith
}
}
Expand Down
Loading

0 comments on commit a16a786

Please sign in to comment.