







I see. So the conclusion seems to be that if there is a large difference in power, antagonize can result in an instant DoW.
This is quite interesting, although I do not believe that I have seen similar effects. It might be because I'm dealing with increments of 5 antagonize, and not 80. It might also be because in the latest versions
countries tend to take positions only on nations slightly below their 'weight class' or above and that in the previous versions hostile relations was simply broken and unused.
Ignatich, your bug fixing efforts are quite commendable. It makes me wonder how much crap is lurking in our code. I wonder how orwell's project to write a program to do this is coming along (if at all).
Increments of five is nice, but then I'd have to write a whole nother set of events for that value. 50 seems alright in most cases.
Mourning Magna Mundi








I always had the seven original Electors before that war. Mainz lost its Elector hat when it got annexed by the Palatinate. I had Mainz released in the final peace treaty, but after more than 15 years I am still waiting for an Event to add a new Spiritual Elector.
Continuing my game I reset my Notifications. Perhaps it'll change something.


How do I unite Germany into German Empire? I think decision to form Germany becomes active when HRE is abolished, no? Is some country -> German Republic -> German Empire only way? Can hereditary emperor transform HRE into German Empire in SRI 4.1?
Thanks
German Empire decision requires you to dissolve the HRE, first. After that, the conditions are similar to vanilla.
German Republic can emerge in the Reformation era (but rarely for the player), or in the 18th century revolutionary era; both by event.
Mourning Magna Mundi


No. If you experience the Revolution of the 18th c., you might (as Revolutionary Germany).
Mourning Magna Mundi





Helius,
need help with version 4.1. as it seems that text is messed up (already in loading screen); am using German version EU III 3.2b. and no other mods; map cache cleared.
any idea what might help? thank you in advance.
hm... is that why portugal attacked bremen it two of my games just when hansa was starting to lose against denmark and co?
on a side note, (playing SRI merged with MMP, thank you, Ignatich) i had a funny situation, the dust settled and bremen got annexed by muscovy-soon-to-become-russiasoon revolts spawned there and started beseiging the prov; meanwhile me, lubeck, got all the goodies: alliances with half of europe! in 'hansa goes to war', bremish rebels fought out their independence and i got 'hansa victoriuos' pop up; i had to help bremen anyway as it was in war with russia and russians had sent some force to crush the bremish independence movement, so i dowed russia but with all the backing (even crimea and golden horde!) beating russia was not that difficult -!-
yet on a side note (not SRI, rather EUIII) why do AI crimea peaces out for paltry money if (i tag-checked) it can take a cored (right-religion, right-culture) prov from russia (peace negotiations pop-up says: 'would accept')?
Yes, absolutely. Again, we do want the big AI to go against the Hansa (as they did IRL, and to balance the huge benefits the Hansa enjoys); but not suicidally, and not to the exclusion of more important tasks, like colonization.
Excellent. Sounds plausible, if counterfactual.
Ask them! I'm not a Cylon.
That said, maybe they're afraid they couldn't defend it in future wars, and/or Russia would go after them?
Mourning Magna Mundi


Another patch (last changes are purely cosmetic):
Code:--- hanseaticleague.txt Mon Jul 13 00:45:31 2009 +++ hanseaticleague.txt Fri Jul 17 17:09:23 2009 @@ -112,9 +112,14 @@ AND = { num_of_cities = 4 NOT = { government = merchant_republic } -### ATEGEfy NOT = { government = merchant_republic-upper } -# NOT = { government = merchant_republic-lower } -# NOT = { government = merchant_republic-lowest } + OR = { + NOT = { has_global_flag = atage } + AND = { + NOT = { government = merchant_republic-upper } + NOT = { government = merchant_republic-lower } + NOT = { government = merchant_republic-lowest } + } + } } AND = { num_of_cities = 8 @@ -164,7 +169,7 @@ duration = 45 } } - remove_country_modifier = "hanseatic_league" + remove_country_modifier = hanseatic_league add_country_modifier = { name = "hanseatic_league_declines" duration = 365 @@ -187,8 +192,10 @@ } random_owned = { limit = { owner = { ai = yes } } - set_country_flag = rival_from - set_country_flag = un_befriend_from + owner = { + set_country_flag = rival_from + set_country_flag = un_befriend_from + } } country_event = 296003 } @@ -1025,7 +1032,11 @@ # Hanseatic Kontor Offered province_event = { + id = 10952 + + #! FROM = country + is_triggered_only = yes title = "EVTNAME10952" desc = "EVTDESC10952" @@ -1425,14 +1436,12 @@ NOT = { has_country_flag = defeated_by_hansa } NOT = { has_country_modifier = hanseatic_league } NOT = { government = merchant_republic } - NOT = { + OR = { + NOT = { has_global_flag = atage } AND = { - has_global_flag = atage - OR = { - government = merchant_republic-upper - government = merchant_republic-lower - government = merchant_republic-lowest - } + NOT = { government = merchant_republic-upper } + NOT = { government = merchant_republic-lower } + NOT = { government = merchant_republic-lowest } } } NOT = { any_owned_province = { has_province_modifier = hanseatic_kontor } } @@ -1510,14 +1519,12 @@ NOT = { has_country_flag = defeated_by_hansa } NOT = { has_country_modifier = hanseatic_league } NOT = { government = merchant_republic } - NOT = { + OR = { + NOT = { has_global_flag = atage } AND = { - has_global_flag = atage - OR = { - government = merchant_republic-upper - government = merchant_republic-lower - government = merchant_republic-lowest - } + NOT = { government = merchant_republic-upper } + NOT = { government = merchant_republic-lower } + NOT = { government = merchant_republic-lowest } } } NOT = { any_owned_province = { has_province_modifier = hanseatic_kontor } }


Ah, I see. Now the mystery of ATAGEfy blocks is no more.There was scope fix in that patch too btw.
Here is another one:
I commented out block I don't know how to fix properly. Still didn't test *_in_province triggers throughly.Code:--- HRE_War_of_the_League_of_Provincename.txt Tue Jul 14 00:35:04 2009 +++ HRE_War_of_the_League_of_Provincename.txt Sat Jul 18 01:09:20 2009 @@ -2950,7 +2950,7 @@ random_country = { limit = { is_emperor = yes - THIS = { owner = { ai = yes } } + THIS = { ai = yes } } set_country_flag = threat set_country_flag = trigger_adjustment @@ -2983,6 +2983,9 @@ country_event = { id = 287402 + + #! FROM = country + is_triggered_only = yes title = "EVTNAME287401" desc = "EVTDESC287401" @@ -3267,41 +3270,43 @@ EMP = { change_variable = { which = league_war_result value = -0.25 } } } } - any_owned = { - limit = { - has_global_flag = HRE_reformation_war - religion = catholic - hre = yes - has_owner_religion = yes + owner = { + any_owned = { + limit = { + has_global_flag = HRE_reformation_war + religion = catholic + hre = yes + has_owner_religion = yes + } + EMP = { change_variable = { which = league_war_result value = 0.5 } } } - EMP = { change_variable = { which = league_war_result value = 0.5 } } - } - any_owned = { - limit = { - has_global_flag = HRE_reformation_war - NOT = { religion = catholic } - hre = yes - has_owner_religion = yes + any_owned = { + limit = { + has_global_flag = HRE_reformation_war + NOT = { religion = catholic } + hre = yes + has_owner_religion = yes + } + EMP = { change_variable = { which = league_war_result value = -0.5 } } } - EMP = { change_variable = { which = league_war_result value = -0.5 } } - } - any_owned = { - limit = { - has_global_flag = HRE_reformation_war - religion = catholic - hre = yes - has_owner_religion = no + any_owned = { + limit = { + has_global_flag = HRE_reformation_war + religion = catholic + hre = yes + has_owner_religion = no + } + EMP = { change_variable = { which = league_war_result value = 0.25 } } } - EMP = { change_variable = { which = league_war_result value = 0.25 } } - } - any_owned = { - limit = { - has_global_flag = HRE_reformation_war - NOT = { religion = catholic } - hre = yes - has_owner_religion = no + any_owned = { + limit = { + has_global_flag = HRE_reformation_war + NOT = { religion = catholic } + hre = yes + has_owner_religion = no + } + EMP = { change_variable = { which = league_war_result value = -0.25 } } } - EMP = { change_variable = { which = league_war_result value = -0.25 } } } } option = { @@ -3413,20 +3418,24 @@ random_owned = { limit = { THIS = { - OR = { - government = monarchy - government = electoral_government + owner = { + OR = { + government = monarchy + government = electoral_government + } + regency = no } - regency = no } } set_global_flag = rival_of_emperor_declared THIS = { # make our faction leader the rival - set_country_flag = rival_of_emperor - capital_scope = { - add_province_modifier = { - name = "rival_of_emperor" - duration = -1 + owner = { + set_country_flag = rival_of_emperor + capital_scope = { + add_province_modifier = { + name = "rival_of_emperor" + duration = -1 + } } } } @@ -4040,10 +4049,10 @@ factor = 0.9 controller = { war_exhaustion = 12 } } - modifier = { - factor = 0.9 - REB = { infantry_in_province = 4 } - } +# modifier = { +# factor = 0.9 +# REB = { infantry_in_province = 4 } +# } modifier = { factor = 0.9 has_siege = yes @@ -4382,6 +4391,8 @@ id = 287411 + #! FROM = country + is_triggered_only = yes title = "EVTNAME287411" # olive branch @@ -4819,7 +4830,11 @@ country_event = { id = 287414 + + #! FROM = country + is_triggered_only = yes + title = "EVTNAME287414" desc = "EVTDESC287414" @@ -6123,6 +6138,7 @@ option = { name = "FINALLY1" # victory + ai_chance = { factor = 100 } set_global_flag = benches_traditional clr_global_flag = benches_status clr_global_flag = rt_parliamentary @@ -6131,7 +6147,6 @@ clr_global_flag = HRE_electors_parity clr_global_flag = HRE_electors_emperor_ex_officio # establish toleration - ai_chance = { factor = 100 } random_owned = { limit = { EMP = { idea = deus_vult } } EMP = { remove_idea = deus_vult } @@ -7578,6 +7593,8 @@ country_event = { id = 287498 + + #! FROM = country is_triggered_only = yes


Yet another patch:
You can't use emperor in relation and tag checks. I think the only place where it is valid is secede_province province effect (and probably add/remove_core).Code:--- HRE_FreeCities.txt Fri Jul 03 00:18:27 2009 +++ HRE_FreeCities.txt Sat Jul 18 15:15:38 2009 @@ -2911,6 +2911,8 @@ country_event = { id = 282210 + + #! FROM = country is_triggered_only = yes @@ -4099,6 +4101,8 @@ country_event = { id = 282291 + + #! FROM = country is_triggered_only = yes @@ -4437,6 +4441,8 @@ province_event = { id = 282293 + + #! FROM = country is_triggered_only = yes title = "EVTNAME282291" @@ -4868,68 +4874,82 @@ } modifier = { factor = 0 - any_known_country = { - has_country_modifier = hanseatic_league - truce_with = THIS + owner = { + any_known_country = { + has_country_modifier = hanseatic_league + truce_with = THIS + } } } modifier = { factor = 1.1 - any_known_country = { - has_country_modifier = hanseatic_league - any_owned_province = { - cot = yes - placed_merchants = 1 + owner = { + any_known_country = { + has_country_modifier = hanseatic_league + any_owned_province = { + cot = yes + placed_merchants = 1 + } } } } modifier = { factor = 1.1 - any_known_country = { - has_country_modifier = hanseatic_league - any_owned_province = { - cot = yes - placed_merchants = 2 + owner = { + any_known_country = { + has_country_modifier = hanseatic_league + any_owned_province = { + cot = yes + placed_merchants = 2 + } } } } modifier = { factor = 1.1 - any_known_country = { - has_country_modifier = hanseatic_league - any_owned_province = { - cot = yes - placed_merchants = 3 + owner = { + any_known_country = { + has_country_modifier = hanseatic_league + any_owned_province = { + cot = yes + placed_merchants = 3 + } } } } modifier = { factor = 1.1 - any_known_country = { - has_country_modifier = hanseatic_league - any_owned_province = { - cot = yes - placed_merchants = 4 + owner = { + any_known_country = { + has_country_modifier = hanseatic_league + any_owned_province = { + cot = yes + placed_merchants = 4 + } } } } modifier = { factor = 1.1 - any_known_country = { - has_country_modifier = hanseatic_league - any_owned_province = { - cot = yes - placed_merchants = 5 + owner = { + any_known_country = { + has_country_modifier = hanseatic_league + any_owned_province = { + cot = yes + placed_merchants = 5 + } } } } modifier = { factor = 2 - any_known_country = { - has_country_modifier = hanseatic_league - any_owned_province = { - cot = yes - placed_merchants = 6 + owner = { + any_known_country = { + has_country_modifier = hanseatic_league + any_owned_province = { + cot = yes + placed_merchants = 6 + } } } } @@ -4969,7 +4989,7 @@ limit = { any_owned_province = { has_province_modifier = hanseatic_city } } relation = { who = THIS value = 100 } } - merchants = 5 + owner = { merchants = 5 } random_center_of_trade = { limit = { OR = { @@ -5045,31 +5065,37 @@ } modifier = { factor = 0.8 - any_known_country = { - has_country_modifier = hanseatic_league - any_owned_province = { - cot = yes - placed_merchants = 1 + owner = { + any_known_country = { + has_country_modifier = hanseatic_league + any_owned_province = { + cot = yes + placed_merchants = 1 + } } } } modifier = { factor = 0.5 - any_known_country = { - has_country_modifier = hanseatic_league - any_owned_province = { - cot = yes - placed_merchants = 5 + owner = { + any_known_country = { + has_country_modifier = hanseatic_league + any_owned_province = { + cot = yes + placed_merchants = 5 + } } } } modifier = { factor = 0.25 - any_known_country = { - has_country_modifier = hanseatic_league - any_owned_province = { - cot = yes - placed_merchants = 6 + owner = { + any_known_country = { + has_country_modifier = hanseatic_league + any_owned_province = { + cot = yes + placed_merchants = 6 + } } } } @@ -6154,11 +6180,11 @@ months = 400 modifier = { factor = 0.75 - owner = { NOT = { merchants = 5 } } + NOT = { merchants = 5 } } modifier = { factor = 1.33 - owner = { merchants = 5 } + merchants = 5 } modifier = { factor = 0.9 @@ -6359,8 +6385,8 @@ owner = { overlord = { is_emperor = yes } } owner = { overlord = { elector = yes } } owner = { capital_scope = { hre = yes } } - owner = { trade_agreement_with = emperor } - owner = { relation = { who = emperor value = 100 } } +# owner = { trade_agreement_with = emperor } +# owner = { relation = { who = emperor value = 100 } } } NOT = { owner = { trade_agreement_with = THIS } } NOT = { owner = { alliance_with = THIS } } @@ -6384,8 +6410,8 @@ owner = { overlord = { is_emperor = yes } } owner = { overlord = { elector = yes } } owner = { capital_scope = { hre = yes } } - owner = { trade_agreement_with = emperor } - owner = { relation = { who = emperor value = 100 } } +# owner = { trade_agreement_with = emperor } +# owner = { relation = { who = emperor value = 100 } } } NOT = { owner = { trade_agreement_with = THIS } } NOT = { owner = { alliance_with = THIS } } @@ -6409,8 +6435,8 @@ owner = { overlord = { is_emperor = yes } } owner = { overlord = { elector = yes } } owner = { capital_scope = { hre = yes } } - owner = { trade_agreement_with = emperor } - owner = { relation = { who = emperor value = 100 } } +# owner = { trade_agreement_with = emperor } +# owner = { relation = { who = emperor value = 100 } } } NOT = { owner = { trade_agreement_with = THIS } } NOT = { owner = { alliance_with = THIS } } @@ -6433,8 +6459,8 @@ owner = { overlord = { is_emperor = yes } } owner = { overlord = { elector = yes } } owner = { capital_scope = { hre = yes } } - owner = { trade_agreement_with = emperor } - owner = { relation = { who = emperor value = 100 } } +# owner = { trade_agreement_with = emperor } +# owner = { relation = { who = emperor value = 100 } } } NOT = { owner = { trade_agreement_with = THIS } } NOT = { owner = { alliance_with = THIS } } @@ -6456,8 +6482,8 @@ owner = { overlord = { is_emperor = yes } } owner = { overlord = { elector = yes } } owner = { capital_scope = { hre = yes } } - owner = { trade_agreement_with = emperor } - owner = { relation = { who = emperor value = 100 } } +# owner = { trade_agreement_with = emperor } +# owner = { relation = { who = emperor value = 100 } } } NOT = { owner = { trade_agreement_with = THIS } } NOT = { owner = { alliance_with = THIS } } @@ -6478,8 +6504,8 @@ owner = { overlord = { is_emperor = yes } } owner = { overlord = { elector = yes } } owner = { capital_scope = { hre = yes } } - owner = { trade_agreement_with = emperor } - owner = { relation = { who = emperor value = 100 } } +# owner = { trade_agreement_with = emperor } +# owner = { relation = { who = emperor value = 100 } } } NOT = { owner = { trade_agreement_with = THIS } } NOT = { owner = { alliance_with = THIS } } @@ -6494,13 +6520,13 @@ limit = { OR = { capital_scope = { hre = yes } - owner = { ally = { is_emperor = yes } } - owner = { ally = { elector = yes } } - owner = { overlord = { is_emperor = yes } } - owner = { overlord = { elector = yes } } - owner = { capital_scope = { hre = yes } } - owner = { trade_agreement_with = emperor } - owner = { relation = { who = emperor value = 100 } } + ally = { is_emperor = yes } + ally = { elector = yes } + overlord = { is_emperor = yes } + overlord = { elector = yes } + capital_scope = { hre = yes } +# trade_agreement_with = emperor +# relation = { who = emperor value = 100 } } NOT = { trade_agreement_with = THIS } NOT = { alliance_with = THIS }
Verified with this test:
Code:country_event = { id = 787001 trigger = { any_neighbor_country = { marriage_with = emperor } ai = no } mean_time_to_happen = { days = 7 } title = "EVTNAME787001" desc = "Dummy" option = { name = "FAIL" any_country = { limit = { marriage_with = emperor } relation = { who = emperor value = 100 } } } } country_event = { id = 787002 trigger = { any_neighbor_country = { marriage_with = THIS } ai = no } mean_time_to_happen = { days = 7 } title = "EVTNAME787002" desc = "Dummy" option = { name = "SUCCESS" any_country = { limit = { marriage_with = THIS } relation = { who = THIS value = 100 } } } } country_event = { id = 787003 trigger = { ai = no } mean_time_to_happen = { days = 7 } title = "EVTNAME787003" desc = "Dummy" option = { name = "FAIL" random_neighbor_country = { limit = { government = monarchy NOT = { marriage_with = THIS } } create_marriage = emperor } } }


I'm getting 30YW_0 modifier even though war is long over. I (protestant Frankfurt) and Bohemia (protestant HRE) warred against Catholic alliance of Austria and Spain. Bohemia asked Austria to release some vassals and remove cores and after that like 30 years passed without this modifier going away.
If you have the global flag "30YW_aim_[religion]_reverse_policy", you have encountered a bug.
To fix it, go to event 287608.
In the trigger, add the flag to the OR - bracket that already has 30YW_aim-flags.
If that does not fix it, please tell me.
Mourning Magna Mundi