You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Various Edits (Cultures, WRE Title, TFE law fix, etc.) (#2573) #minor
Closes#2373, closes#2400
- Added `e_western_roman_empire` title, and gave it proper title
mappings.
- Modified various decisions/effects/etc to account for new
`e_western_roman_empire` title. (There is likely still a few things that
could/should be modified, but I think I got most of the important ones
for now)
- Added custom COA definitions for `e_western_roman_empire` and
`e_byzantium` based off the Imperator Rome flags.
- Modified culture mapping for CK3 `roman` so that any Latin/Italic
cultures that are in Imperator's ROM, ERE, or WRE will now become Roman,
instead of just under ROM.
Closes#2112
- Add new non-Romanized Greeks culture, `hellenic_greek`, and made that
the fallback culture mapping for Imperator greek cultures.
- Made some of the converter cultures descend from `hellenic_greek`
instead of `greek`.
- Made a new definition of `greek` in converter_cultures.txt so it will
overwrite the base game definition to properly show that it is now a
hybrid of `roman` and `hellenic_greek`.
- Renamed `greek` to Romaios.
- Made it so CK3's base game `greek` culture only gets mapped to by
Greek cultures that are in ROM, ERE, or WRE in Imperator.
Closes#2500
- Modified the can_pass conditions for TFE's imperial_authority_3 law to
require that at least one year has passed in-game. Normally TFE checks
each of its start dates separately to see if at least 5 days has passed,
but that isn't compatible with the converter's dynamic start date, so it
had to be changed, and this seems to be the best way to make it
compatible with any start date.
- Added localization to explain the delay in game so users aren't
confused why they can't pass the law.
Other:
- Updated `roman` culture definition to use RtP traditions, where
applicable.
- Modified cultures that use `heritage_byzantine` to instead use TFE's
`heritage_hellenistic` if TFE is loaded so they are all in the same
heritage.
- Noticed a few cultures that had the same colors set, making them blend
together. Changed a few to better differentiate them.
- Added a game start on_action that replaces the primary title of any
titular duchy-level admin governor to use a relevant duchy that actually
has counties beneath it to ensure the admin mechanics work properly.
- Changed Imperator's `syriote` culture to map to `syro_hellenic` to be
more in line with TFE's mappings.
- Made `aremorican` map alongside rest of the gallic cultures.
- Made the Britannic cultures map to `breton` if they are in the
armorica_region.
---------
Co-authored-by: iht <IhateTrains@users.noreply.github.com>
Copy file name to clipboardExpand all lines: ImperatorToCK3/Data_Files/blankMod/output/common/on_action/IRToCK3_admin_game_start.txt
+122Lines changed: 122 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,12 @@ on_game_start = {
5
5
}
6
6
}
7
7
8
+
on_game_start_after_lobby = {
9
+
on_actions = {
10
+
IRToCK3_fix_admin_duchies_game_start # IMP-CK3: This on_action is to fix the situation where some duchy vassals created from Imperator governorships are titular, so they don't work properly when inside Admin realms. This is meant to fix that by replacing the titular duchy with a relevant duchy with de jure counties beneath it, so it will work properly.
limit = { # This effect should only be done on duke-level governors whose duchy title has no de jure counties beneath it. The land they control must also have a de jure duchy that exists but isn't created. This is to ensure this effect only runs on the characters who actually have a viable duchy title to create.
39
+
government_allows = administrative
40
+
primary_title = {
41
+
tier = tier_duchy
42
+
is_noble_family_title = no
43
+
is_titular = yes
44
+
}
45
+
sub_realm_size >= 1
46
+
any_sub_realm_county = {
47
+
exists = duchy
48
+
NOT = { exists = duchy.holder }
49
+
}
50
+
}
51
+
52
+
save_scope_as = titular_governor
53
+
54
+
primary_title = {
55
+
save_scope_as = titular_governorship_duchy
56
+
}
57
+
58
+
# Save every duchy the character owns at least one county of in a list to determine which should be given
59
+
every_sub_realm_county = {
60
+
limit = {
61
+
exists = duchy
62
+
NOT = { exists = duchy.holder } # Obviously they shouldn't steal a duchy from someone else
63
+
}
64
+
65
+
save_scope_as = test_county
66
+
if = {
67
+
limit = {
68
+
scope:titular_governor = {
69
+
NOT = {
70
+
is_target_in_variable_list = {
71
+
name = de_jure_duchies_list
72
+
target = scope:test_county.duchy
73
+
}
74
+
}
75
+
}
76
+
}
77
+
78
+
scope:titular_governor = {
79
+
add_to_variable_list = {
80
+
name = de_jure_duchies_list
81
+
target = scope:test_county.duchy
82
+
}
83
+
}
84
+
}
85
+
clear_saved_scope = test_county
86
+
}
87
+
88
+
# Go through all of the duchies in the list, sort them the percentage of the counties they hold, and choose the first one in that ordered list (meaning they hold the greatest percentage of that duchy compared to the rest). This should help make it give priority to duchies they completely control, but allows it to easily determine the best option if they don't completely control any duchy
89
+
ordered_in_list = {
90
+
variable = de_jure_duchies_list
91
+
92
+
order_by = { # Need to determine percentage of the duchy that they hold
93
+
value = 0
94
+
95
+
every_de_jure_county = { # This gets the number of counties that the character controls
96
+
limit = {
97
+
exists = holder
98
+
OR = {
99
+
holder = scope:titular_governor
100
+
holder.liege ?= scope:titular_governor
101
+
}
102
+
}
103
+
104
+
add = 1
105
+
}
106
+
107
+
multiply = 100 # Don't know how well the game handles decimals, since I think some stuff gets rounded automatically. This is just to prevent any possible problems with decimals before they appear
108
+
109
+
divide = { # This will get the total number of counties in that duchy, and then divide that into the value obtained above to get the percentage of the duchy that the character controls
110
+
value = 0
111
+
112
+
every_de_jure_county = {
113
+
add = 1
114
+
}
115
+
}
116
+
}
117
+
118
+
position = 1 # Makes sure that the duchy with highest percentage owned is being saved
119
+
120
+
save_scope_as = new_duchy_title
121
+
}
122
+
123
+
# Give the chosen duchy to the character, make it their primary, then destroy the old titular title
Copy file name to clipboardExpand all lines: ImperatorToCK3/Data_Files/blankMod/output/localization/replace/english/zzz_IRToCK3_vanilla_override_l_english.yml
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -43,3 +43,16 @@
43
43
assyrian_collective_noun: "Assyrians"
44
44
assyrian_prefix: "Assyro"
45
45
46
+
greek: "Romaios"
47
+
greek_collective_noun: "Romaioi"
48
+
greek_prefix: "Romaio"
49
+
50
+
# recreate_byzantine_empire_decision overrides to allow Romans to take the decision too
51
+
is_greek_tt: "You are $greek$ or $roman$"
52
+
is_greek_descendent_tt: "Your [culture|E] descends from $greek$ or $roman$"
53
+
no_byz_emp_exists_tt: "No [ruler|E] holds [GetTitleByKey('e_byzantium').GetNameNoTier] or [GetTitleByKey('e_roman_empire').GetNameNoTier]"
54
+
55
+
# refound_pandidakterion_decision overrides to account for the fact that the Pandidakterion was never actually founded in the game's timeline, so this would be its founding
56
+
refound_pandidakterion_decision: "Found the Pandidakterion"
57
+
refound_pandidakterion_decision_desc: "Being one of the most important cities in the world, it is only proper that [GetTitleByKey('c_byzantion').GetNameNoTier] has the institutions to reflect its status. It is time we make it the largest center of study in the world with the founding of the [Glossary( 'Pandidakterion', 'PANDIDAKTERION_GLOSS' )]!"
58
+
refound_pandidakterion_decision_tooltip: "Begin organizing the great University of Constantinople"
0 commit comments