diff --git a/common/on_action/game_start.txt b/common/on_action/game_start.txt index b43c2d49..a3c50495 100644 --- a/common/on_action/game_start.txt +++ b/common/on_action/game_start.txt @@ -12,33 +12,6 @@ on_game_start = { effect = { ##NEOW - if = { - limit = { - government_has_flag = government_is_prepublic - is_landed = yes - } - save_scope_as = scoped_ruler - create_nomad_title = { - name = domicile_farmstead - holder = scope:scoped_ruler - government = peasantrepublic_government - save_scope_as = new_title - } - } - if = { - limit = { - government_has_flag = government_is_prepublic - is_landed = yes - primary_title = { - NOT = { - has_title_law = saxon_elective_succession_law - } - } - } - primary_title = { - add_title_law = saxon_elective_succession_law - } - } if = { limit = { government_allows = administrative @@ -2713,6 +2686,36 @@ on_game_start_after_lobby = { } } } + if = { + limit = { + government_has_flag = government_is_prepublic + is_landed = yes + } + save_scope_as = scoped_farmer + create_nomad_title = { + name = domicile_farmstead + holder = scope:scoped_farmer + government = peasantrepublic_government + save_scope_as = new_title + } + scope:new_title ?= { + add_title_law = single_heir_dynasty_house + } + } + if = { + limit = { + government_has_flag = government_is_prepublic + is_landed = yes + primary_title = { + NOT = { + has_title_law = saxon_elective_succession_law + } + } + } + primary_title = { + add_title_law = saxon_elective_succession_law + } + } # Extra Nomad Regions #Tibet diff --git a/common/on_action/title_on_actions.txt b/common/on_action/title_on_actions.txt index bfa38e7a..11ea25e0 100644 --- a/common/on_action/title_on_actions.txt +++ b/common/on_action/title_on_actions.txt @@ -204,13 +204,16 @@ on_title_gain = { exists = domicile } } - save_scope_as = scoped_ruler + save_scope_as = scoped_farmer create_nomad_title = { name = domicile_farmstead - holder = scope:scoped_ruler + holder = scope:scoped_farmer government = peasantrepublic_government save_scope_as = new_title } + scope:new_title ?= { + add_title_law = single_heir_dynasty_house + } } if = { limit = { @@ -2832,13 +2835,16 @@ on_title_gain_inheritance = { exists = domicile } } - save_scope_as = scoped_ruler + save_scope_as = scoped_farmer create_nomad_title = { name = domicile_farmstead - holder = scope:scoped_ruler + holder = scope:scoped_farmer government = peasantrepublic_government save_scope_as = new_title } + scope:new_title ?= { + add_title_law = single_heir_dynasty_house + } } if = { limit = { @@ -2910,13 +2916,16 @@ on_title_gain_usurpation = { exists = domicile } } - save_scope_as = scoped_ruler + save_scope_as = scoped_farmer create_nomad_title = { name = domicile_farmstead - holder = scope:scoped_ruler + holder = scope:scoped_farmer government = peasantrepublic_government save_scope_as = new_title } + scope:new_title ?= { + add_title_law = single_heir_dynasty_house + } } if = { limit = { diff --git a/common/on_action/yearly_on_actions.txt b/common/on_action/yearly_on_actions.txt index d9dcc3c5..bc98d57b 100644 --- a/common/on_action/yearly_on_actions.txt +++ b/common/on_action/yearly_on_actions.txt @@ -762,13 +762,16 @@ yearly_playable_pulse = { exists = domicile } } - save_scope_as = scoped_ruler + save_scope_as = scoped_farmer create_nomad_title = { name = domicile_farmstead - holder = scope:scoped_ruler + holder = scope:scoped_farmer government = peasantrepublic_government save_scope_as = new_title } + scope:new_title ?= { + add_title_law = single_heir_dynasty_house + } } if = { limit = { @@ -2709,13 +2712,16 @@ quarterly_playable_pulse = { exists = domicile } } - save_scope_as = scoped_ruler + save_scope_as = scoped_farmer create_nomad_title = { name = domicile_farmstead - holder = scope:scoped_ruler + holder = scope:scoped_farmer government = peasantrepublic_government save_scope_as = new_title } + scope:new_title ?= { + add_title_law = single_heir_dynasty_house + } } if = { limit = { diff --git a/localization/english/replace/prepublic_loc_l_english.yml b/localization/english/replace/prepublic_loc_l_english.yml index fe831d08..20374ca0 100644 --- a/localization/english/replace/prepublic_loc_l_english.yml +++ b/localization/english/replace/prepublic_loc_l_english.yml @@ -41,16 +41,16 @@ government_locked_to_elective:0 "Government is locked to Elctive" government_is_prepublic:0 "Has access to a [farmstead_i|E][farmstead|E]" farmstead_domicile_title: "Farmstead" - farmstead_type: "Farm Estate" + farmstead_type: "Farmstead" farmstead_type_tooltip: "[farmstead_i|E][farmstead|E]" - farmstead_domicile_type: "Farm Estate" + farmstead_domicile_type: "Farmstead" farmstead_domicile_type_possessive: "Farm's" farmstead_domicile_type_tooltip: "[farmstead_i|E][farmstead|E]" - farmstead: "Farm Estate" + farmstead: "Farmstead" farmstead_BUILDINGS: "[farmstead_i|E][farmstead|E]" farmstead_CONCEPT: "[farmstead_i|E][farmstead|E]" - domicile_farmstead: "Farmstead of the [holder.GetHouse.GetNameNoTooltip]'s" + domicile_farmstead: "Farmstead of the [scoped_farmer.GetHouse.GetNameNoTooltip]'s" culture_parameter_use_farmer_republics: "This Culture uses [peasantrepublic_i|E][peasantrepublic_government|E]s instead of Republics" tradition_farmer_republics_name:0 "Peasant Freedom"