Skip to content

Commit 5ae93e4

Browse files
committed
Tweaks and Bug Fixes
1 parent 94cc04c commit 5ae93e4

8 files changed

Lines changed: 89 additions & 22 deletions

File tree

‎ChangeLog.txt‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Decisions:
2727
- "Gothic Hero" modifier increases Legitimacy gain, grants 0.05 Monthly Renown, and 0.5 Monthly Prestige, and most Vassal Stance Opinion while reducing Minority Vassal Stance Opinion
2828

2929
Culture:
30-
- "Stratocratic Elite" reduces culture acceptance required for hybridization by 10
30+
- "Stratocratic Elite" reduces culture acceptance required for hybridization by 20
3131
- Sarmatian culture changes:
3232
- Iazyges start with "Writing" and "Oral Law" Innovations
3333
- Consolidated Iazyges and Sarmatian name lists
@@ -66,6 +66,7 @@ Tweaks:
6666
- If adopting a government without treasury, gain 160 gold times your rank less one (so Dukes get 160 and Kings get 320)
6767
- If adopting a government with treasury, gain 40 gold times your rank less one and 120 treasury times your rank less one
6868
- In either case, this value is the maximum; you only gain enough of either to hit that limit
69+
- Diocletian's Palace is enabled for Greco-Roman cultures, Roman Political Cultures, or Roman Governments
6970
- Culture Hybridization requires a minimum of 10 acceptance to hybridize
7071
- Hegemonies and Empires can no longer use border raids (they are too large to bother with such minimalist wars)
7172
- If Augustulus wins the war with Odoacer, he imprisons all the Federates and all the Federate titles dissolve (instead of just Odoacer's)
@@ -75,6 +76,8 @@ Tweaks:
7576
- 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
7677

7778
Bug Fixes:
79+
- Fixed some edge cases leading to Tribal rulers having noble family titles
80+
- Ended tributary status when successfully migrating
7881
- Fixed bug causing Slavic culture traditions to be removed early
7982
- Fall of Rome informational event fire failure fixed
8083
- Blocked an edge case where Coronations could spawn Holy Orders before the necessary innovation

‎WtWSMS/common/buildings/BP_special_buildings.txt‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,8 +376,9 @@ diocletian_palace = {
376376

377377
is_enabled = {
378378
OR = {
379-
scope:holder.culture = { has_cultural_pillar = heritage_latin }
380-
scope:holder.culture = { has_cultural_pillar = heritage_byzantine }
379+
scope:holder.culture = { has_cultural_parameter = greco_roman_social_tradition }
380+
scope:holder.culture = { has_cultural_parameter = can_restore_roman_empire }
381+
scope:holder = { government_has_flag = is_a_roman_government }
381382
}
382383
}
383384

‎WtWSMS/common/on_action/BP_on_actions/BP_title_on_actions.txt‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,34 @@ on_vassal_change = {
228228
on_actions = {
229229
BP_degrade_roman_government
230230
BP_cleanup_landless_chars_under_non_admin
231+
BP_completely_landless_realm_vassal_change
231232
}
232233
}
233234

235+
BP_completely_landless_realm_vassal_change = {
236+
trigger = {
237+
scope:old_liege ?= {
238+
is_independent_ruler = yes
239+
government_allows = administrative
240+
is_landed = no
241+
trigger_if = {
242+
limit = { any_vassal = { count > 0 } }
243+
any_vassal_or_below = { count < 1 is_landed = yes primary_title.tier >= tier_county }
244+
}
245+
}
246+
}
247+
effect = {
248+
scope:old_liege ?= {
249+
if = {
250+
limit = { any_vassal = { count > 0 } }
251+
every_vassal_or_below = { every_held_title = { prev = { destroy_title = prev } } }
252+
}
253+
every_held_title = { prev = { destroy_title = prev } }
254+
}
255+
}
256+
}
257+
258+
234259
BP_degrade_roman_government = {
235260
effect = {
236261
### If an admin ruler becomes independent, who are not of a high enough rank, changes government

‎WtWSMS/common/script_values/BP_culture_values.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ number_of_counties_of_ruler_culture = { #Char Scope
5959
every_county = { limit = { this.culture = prev.culture is_landless_type_title = no } add = 1 }
6060
}
6161

62-
lower_hybridization_acceptance_value = 10
62+
lower_hybridization_acceptance_value = 20

‎WtWSMS/common/scripted_effects/07_dlc_ep3_scripted_effects_BP_overwrite.txt‎

Lines changed: 34 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,7 @@ ep3_become_landed_transfer_effect = {
724724

725725
admin_government_reset_effect = {}
726726

727+
##### Changed from Vanilla: Caught some weird edge effects relating to tribal landing
727728
##### Changed from Vanilla: Catch some additional new admin governments!
728729
create_noble_family_effect = {
729730
debug_log = create_noble_family_title
@@ -876,25 +877,43 @@ create_noble_family_effect = {
876877
}
877878
}
878879
}
879-
scope:new_title.holder ?= {
880-
save_scope_as = noble_family_head
881-
scope:new_title = { set_coa = scope:noble_family_head.house }
882-
}
883-
custom_description = { text = create_noble_family_tt }
884-
885-
#Notifications
886-
every_player = {
880+
##### Changed from Vanilla vvvvv
881+
if = { #Only Tribal Holdings; remove that nf title
887882
limit = {
888-
top_liege = scope:new_noble_family_holder.top_liege
889-
this != scope:new_noble_family_holder
890-
# China has hundreds of Noble Families, it gets spammy
891-
NOT = { government_allows = merit }
883+
scope:new_noble_family_holder = {
884+
any_held_title = {
885+
count = all
886+
OR = {
887+
this.title_province = { has_holding_type = tribal_holding }
888+
is_noble_family_title = yes
889+
}
890+
}
891+
}
892892
}
893-
trigger_event = {
894-
id = ep3_emperor_yearly.2410
895-
days = 1
893+
scope:new_noble_family_holder = { destroy_title = scope:new_title }
894+
}
895+
else = {
896+
scope:new_title.holder ?= {
897+
save_scope_as = noble_family_head
898+
scope:new_title = { set_coa = scope:noble_family_head.house }
899+
}
900+
custom_description = { text = create_noble_family_tt }
901+
902+
#Notifications
903+
every_player = {
904+
limit = {
905+
top_liege = scope:new_noble_family_holder.top_liege
906+
this != scope:new_noble_family_holder
907+
# China has hundreds of Noble Families, it gets spammy
908+
NOT = { government_allows = merit }
909+
}
910+
trigger_event = {
911+
id = ep3_emperor_yearly.2410
912+
days = 1
913+
}
896914
}
897915
}
916+
##### Changed from Vanilla ^^^^^
898917
}
899918

900919
debug_log_scopes = yes

‎WtWSMS/common/scripted_effects/BP_migration_situation_war_effects.txt‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ migration_cb_title_and_modifier_application_effect = {
1010
}
1111
}
1212

13+
if = {
14+
limit = { scope:attacker = { is_tributary = yes } }
15+
scope:attacker = { end_tributary = yes }
16+
}
17+
1318
create_title_and_vassal_change = {
1419
type = independency
1520
save_scope_as = change_attacker_titles_vassals_independent

‎WtWSMS/common/scripted_effects/BP_roman_administrative_effects.txt‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,11 +279,10 @@ change_government_subroman_administrative_effect = {
279279
else = { this.domicile = { move_domicile = prev.top_liege.capital_county.title_province } }
280280
}
281281
hidden_effect = {
282-
add_treasury = {
282+
add_treasury = { #Give starting treasury
283283
value = 100
284284
multiply = {
285285
value = primary_title.tier
286-
subtract = 2
287286
min = 1
288287
}
289288
}
@@ -304,7 +303,6 @@ change_government_roman_administrative_effect = {
304303
value = 100
305304
multiply = {
306305
value = primary_title.tier
307-
subtract = 2
308306
min = 1
309307
}
310308
}

‎_developer_documentation/_BP_scratchpad.info‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,27 @@ Current Tasks:
1212
- Make Faith conversion continue until complete
1313
- Slavic Traditions getting abandoned because of the stupid era trigger
1414
- Augustulus is not getting fully unlanded
15+
- On change government catch for noble families in non-admin realms
1516

17+
- Customary drift isn't getting blocked correctly... first valid use instead?
18+
- Conversion did not trigger concubines keeping event
19+
- Flipping to sub-roman isn't triggering noble families for vassals...
20+
- No court languages for MM/MO
21+
22+
- Diocletian's palace needs different enable triggers
23+
- Sic Transit Gloria Mundi for generic fall of rome text
24+
- Migration Phase:
25+
- More troops for migrators
26+
- Fix AI logic relating to migration wars; lombard went for 3 counties
27+
- ai_score probably
28+
- Possibly needs is_shown trigger just for AI instead
1629
- Alamanii should start divided because they expand too much
1730
- Break Tributary status after migration?
31+
- Rivalry between Syagrius and his neighbors
32+
- AIs aren't fleeing large confederations
1833

1934
- Despoliation Track 4 (Barbarian Settlement) should make de jure establishment cheaper
35+
- hostile_raid_time reduction for Roman Empire, Successor States, and Barbarian Kingdoms
2036
- Minority decline mechanic
2137

2238
- Thrace able to vassalize the Steppe...

0 commit comments

Comments
 (0)