Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. common/on_actions/00_on_actions.txt +3 -134
common/on_actions/00_on_actions.txt CHANGED
@@ -956,80 +956,7 @@ on_new_consort = {
956
956
 
957
957
  # country
958
958
  on_monarch_death = {
959
- if = {
960
- limit = {
961
- tag = ANS
962
- BRA = {
963
- has_country_flag = albrecht_achilles_flag
964
- }
965
- }
966
- BRA = {
967
- clr_country_flag = albrecht_achilles_flag #Just to be sure
968
- kill_heir = {} #If Albrecht Achilles dies in Ansbach he will also be dead in Brandenburg, will appear as normal death of heir to BRA.
969
- }
970
- }
971
- if = {
972
- limit = { has_country_modifier = sought_after_bachelor }
973
- remove_country_modifier = sought_after_bachelor
974
- }
975
- if = {
976
- limit = {
977
- tag = SAX
978
- has_country_flag = sax_thuringen_split_to_happen
979
- OR = {
980
- NOT = { dynasty = "von Wettin" }
981
- NOT = { senior_union_with = THU }
982
- has_regency = yes
983
- }
984
- }
985
- clr_country_flag = sax_thuringen_split_to_happen
986
- }
987
- if = {
988
- limit = { tag = SAM }
989
- country_event = { id = polynesian.35 }
990
- }
991
- if = {
992
- limit = { tag = TOG }
993
- country_event = { id = polynesian.36 }
994
- }
995
- if = { # Ascension of Trailokanat
996
- limit = { tag = AYU }
997
- country_event = { id = flavor_suk.1 }
998
- }
999
- if = {
1000
- limit = { tag = GOT }
1001
- country_event = { id = flavor_got.37 }
1002
- }
1003
- if = {
1004
- limit = { has_government_attribute = no_stability_loss_on_monarch_death }
1005
- add_stability = 1
1006
- }
1007
-
1008
- if = {
1009
- limit = {
1010
- is_subject_of_type = pronoia_subject_type
1011
- NOT = { liberty_desire = 50 }
1012
- }
1013
- overlord = {
1014
- inherit = ROOT
1015
- if = {
1016
- limit = {
1017
- has_country_flag = BYZ_inheriting_pronoia_crownland_flag
1018
- }
1019
- change_estate_land_share = {
1020
- estate = all
1021
- share = -5
1022
- }
1023
- }
1024
- }
1025
- }
1026
- if = {
1027
- limit = {
1028
- has_government_attribute = civil_war_on_every_new_ruler
1029
- }
1030
- country_event = { id = 611 }
1031
- }
1032
-
959
+ on_monarch_death_effect = yes
1033
960
  burgundian_inheritance_start_effect = yes
1034
961
  ladislaus_postumus_king_died_effect = yes
1035
962
  joan_de_trastamara_king_died_effect = yes
@@ -4955,70 +4882,12 @@ on_company_chartered = {
4955
4882
 
4956
4883
  # ROOT = Overlord, FROM = Minor
4957
4884
  on_dependency_gained = {
4958
- if = {
4959
- limit = {
4960
- FROM = {
4961
- has_government_attribute = has_dutch_election
4962
- }
4963
- }
4964
- ROOT = {
4965
- country_event = {
4966
- id = dutch_republic.31
4967
- }# States General falls under a PU
4968
- }
4969
- }
4970
- if = {
4971
- limit = {
4972
- FROM = {
4973
- tag = AVE
4974
- government_rank = 1
4975
- }
4976
- }
4977
- FROM = {
4978
- country_event = {
4979
- id = flavor_gbr.20
4980
- }
4981
- }
4982
- }
4885
+ on_dependency_gained_effect = yes
4983
4886
  }
4984
4887
 
4985
4888
  # ROOT = Overlord, FROM = Minor
4986
4889
  on_dependency_lost = {
4987
- if = {
4988
- limit = {
4989
- has_country_modifier = mng_tibetan_horses_monopoly_modifier
4990
- }
4991
- remove_country_modifier = mng_tibetan_horses_monopoly_modifier
4992
- }
4993
- if = {
4994
- limit = {
4995
- has_country_modifier = tur_tatar_vanguard_modifier
4996
- FROM = {
4997
- tag = CRI
4998
- NOT = { is_subject_of = ROOT }
4999
- }
5000
- }
5001
- remove_country_modifier = tur_tatar_vanguard_modifier
5002
- }
5003
- if = {
5004
- limit = {
5005
- has_country_modifier = rus_grand_duke_of_finland
5006
- FROM = { tag = FIN }
5007
- }
5008
- remove_country_modifier = rus_grand_duke_of_finland
5009
- }
5010
- FROM = {
5011
- if = {
5012
- limit = { has_country_modifier = revoked_war_rights }
5013
- remove_country_modifier = revoked_war_rights
5014
- }
5015
- }
5016
- FROM = {
5017
- if = {
5018
- limit = { has_country_modifier = grain_trade_imports_modifier }
5019
- remove_country_modifier = grain_trade_imports_modifier
5020
- }
5021
- }
4890
+ on_dependency_lost_effect = yes
5022
4891
  }
5023
4892
 
5024
4893
  # ROOT = New vassal, FROM = Overlord