Skip to content

Commit 2baa2ff

Browse files
committed
Fix Romulus still being landed at the end of the war
1 parent e0eb724 commit 2baa2ff

4 files changed

Lines changed: 52 additions & 9 deletions

File tree

‎ChangeLog.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ Tweaks:
8282
- Clarified various kingdom and empire landing decisions so people aren't confused when their primary title is titular and they possess a non-titular title
8383

8484
Bug Fixes:
85+
- Fixed bug leading to Romulus being still landed when loosing the war with Odoacer
8586
- Reduced tendency of AI to engage in stupid migrations
8687
- Tweaked language/heritage drift to not fire quite as often
8788
- Fixed an edge case leading to a lack of NF titles in newly minted Sub-Roman Admin realms

‎WtWSMS/common/casus_belli_types/BP_event_war.txt‎

Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,15 +217,52 @@ odoacer_takeover_war = { #Cribbed from invasion wars
217217
trigger_event = { on_action = BP_create_federate_commander }
218218
}
219219

220-
221-
222220
#Step 5: Clean up extraneous claims of unlanded defenders
223221
if = {
224222
limit = { scope:defender = { is_landed = no } }
225223
scope:defender = { every_claim = { prev = { remove_claim = prev } } }
226224
}
227225

228-
#Step 6: Handle the offices if playing with the DLC
226+
#Step 6: If the defender is _still_ landed, that goes to either the duchy holder or Odoacer
227+
if = {
228+
limit = { scope:defender = { is_landed = yes } }
229+
create_title_and_vassal_change = {
230+
type = granted
231+
save_scope_as = extra_county_delanding
232+
add_claim_on_loss = no
233+
}
234+
scope:defender = {
235+
every_held_title = {
236+
limit = {
237+
is_noble_family_title = no
238+
tier = tier_county
239+
}
240+
add_to_list = counties_to_take_again
241+
}
242+
}
243+
every_in_list = {
244+
list = counties_to_take_again
245+
if = {
246+
limit = {
247+
exists = this.duchy.holder
248+
NOT = { this.duchy.holder = scope:defender }
249+
}
250+
change_title_holder = {
251+
holder = this.duchy.holder
252+
change = scope:extra_county_delanding
253+
}
254+
}
255+
else = {
256+
change_title_holder = {
257+
holder = scope:attacker
258+
change = scope:extra_county_delanding
259+
}
260+
}
261+
}
262+
resolve_title_and_vassal_change = scope:extra_county_delanding
263+
}
264+
265+
#Step 7: Handle the offices if playing with the DLC
229266
if = {
230267
limit = { BP_has_dlc_necessary_for_roman_admin_governments_trigger = yes }
231268
#Setup Italian Magister Officiorum

‎_developer_documentation/_BP_medium_term_goals_ideas.info‎

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ General TODOs:
5151
----------
5252

5353
Mechanics:
54+
- Minority System Overhaul:
55+
- Minority decline mechanic
56+
- Complete code cleanup
5457
- Offer federates during migration wars to end the war and give them a duchy
5558
- Models how the Vandals/Alans/Suebi were handled during the early Vth century
5659
- Blocks Migration Wars for a decade or so (if given kingdom)
@@ -59,9 +62,11 @@ Mechanics:
5962
- Should be a great project like the Chinese have
6063
- Frankish inter-confederation wars?
6164
- If so, unlocks some of the mechanics for Frankish succession.
62-
- Laws for controlling the baseline power of the Diarchies in Persia/Rome?
63-
- Corruption Laws for Admin Realms
64-
- More detail for Roman/Persian taxation
65+
Laws:
66+
- Laws for controlling the baseline power of the Diarchies in Persia/Rome?
67+
- Corruption Laws for Admin Realms
68+
- Currency debasement laws for Admin Realms
69+
- More detail for Roman/Persian taxation
6570

6671
Bookmarks:
6772
- Frankish conquest of Trier?
@@ -77,6 +82,9 @@ Bookmarks:
7782
- 481 Bookmark as well?
7883

7984
CBs:
85+
- Odoacer Event War (*sigh*):
86+
- Augustulus is still landed before "Step 7: Handle the offices if playing with the DLC"
87+
- This is almost certainly fixable, but requires reworking the entire victory chain
8088
- Migration CB Rework (Part Deuce):
8189
- Multiple migrators logic:
8290
- Events to bring vassals into the fight need overhaul

‎_developer_documentation/_BP_scratchpad.info‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ Validator Update:
1010
Current Tasks:
1111
----------
1212
- Make Faith conversion continue until complete
13-
- Augustulus is not getting fully unlanded
14-
15-
- Minority decline mechanic
1613

1714
Edge Cases:
1815
- Thrace able to vassalize the Steppe...

0 commit comments

Comments
 (0)