Skip to content

Commit 7a26b11

Browse files
committed
SIS v1.12
1 parent 64fd28e commit 7a26b11

File tree

48 files changed

+749
-382
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+749
-382
lines changed

Subject Interaction Suite/STEAM_PAGE.bbcode

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[img]https://i.imgur.com/7xuCZqW.png[/img]
22
Supports Victoria 3: V1.8.3 (and onwards)
3-
Mod Version: V1.11
3+
Mod Version: V1.12
44
Please consider rating this if you like it! It really helps out. [img]https://i.imgur.com/tE28cZ7.gif[/img]
55
[spoiler]Originally made for: Version 1.7[/spoiler]
66
[table]
@@ -48,6 +48,7 @@ It contains a [i]complete overhaul[/i] of Liberty Desire, and a range of additio
4848
[*]Forced Slavery Ban - forcibly change a subject's law to Slavery Banned, may upset some people...
4949
[*]Forced Slave Trade - forcibly change a subject's law to Slave Trade, will upset [b]a lot[/b] of people...
5050
[*]Recognize - Recognise an unrecognized subject.
51+
[*]Offer Convoy Contribution - As subject, give excess convoys to overlord
5152
[/list]
5253

5354
NOTE: These appear contextually - they won't show for a particular subject if they're not potentially valid.
@@ -96,6 +97,7 @@ Credit to creators of the original mods:
9697
[*]uridogoraeda - "Forced change in subject country law"
9798
[*]CaelReader - "Consolidate Subjects"
9899
[*]a.k.a DMDonahue/Marcus - "Diplomatic Recognition"
100+
[*]Taylor - "Offer Convoy Contribution"
99101
[/list]
100102

101103
Credit to Henrax le Chamalax for doing some real AI acceptance logic for Merge Subject.

Subject Interaction Suite/common/diplomatic_actions/32_subjects_raise_paymentz.txt

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
selectable = {
99
has_dlc_feature = subject_and_bloc_actions
1010
}
11-
11+
1212
potential = {
1313
any_scope_diplomatic_pact = {
1414
"diplomatic_pact_other_country(root)" = scope:target_country
1515
income_transfer > 0
1616
}
1717
OR = {
18-
scope:target_country = {
19-
is_subject_of = root
18+
scope:target_country = {
19+
is_subject_of = root
2020
NOT = { is_diplomatic_play_enemy_of = root }
2121
}
2222
AND = { # only valid for subject countries if a pact is already established
@@ -40,22 +40,22 @@
4040
}
4141
}
4242
}
43-
44-
pact = {
45-
recipient_pays_maintenance = no
43+
44+
pact = {
45+
# recipient_pays_maintenance = no # Unneeded since 1.9.3?
4646
relations_progress_per_day = -1
4747

4848
second_modifier = {
4949
country_overlord_income_transfer_mult = 1
5050
country_liberty_desire_decrease_mult = -0.25
5151
}
52-
52+
5353
requirement_to_maintain = {
5454
trigger = {
5555
custom_tooltip = {
5656
text = "DIPLOMATIC_PACT_REQUIREMENT_AT_PEACE"
5757
NOT = { has_war_with = scope:target_country }
58-
}
58+
}
5959
}
6060
}
6161

@@ -67,7 +67,7 @@
6767
"diplomatic_pact_other_country(root)" = scope:target_country
6868
income_transfer > 0
6969
}
70-
}
70+
}
7171
}
7272
}
7373
}
@@ -76,19 +76,19 @@
7676
max_influence_spending_fraction = 0.1
7777

7878
evaluation_chance = {
79-
value = 0.25
80-
}
81-
79+
value = 0.25
80+
}
81+
8282
propose_score = {
8383
value = 10
8484
}
85-
85+
8686
will_propose = {
8787
"relations(scope:target_country)" < relations_threshold:cordial
8888
has_attitude = {
8989
who = scope:target_country
9090
attitude = domineering
91-
}
91+
}
9292
OR = {
9393
has_strategy = ai_strategy_economic_imperialism
9494
has_strategy = ai_strategy_territorial_expansion
@@ -102,18 +102,18 @@
102102
has_attitude = {
103103
who = scope:target_country
104104
attitude = protective
105-
}
105+
}
106106
AND = {
107107
scope:target_country = { liberty_desire >= 50 }
108-
"relations(scope:target_country)" >= relations_threshold:friendly
108+
"relations(scope:target_country)" >= relations_threshold:friendly
109109
NOR = {
110110
has_strategy = ai_strategy_economic_imperialism
111111
has_strategy = ai_strategy_territorial_expansion
112112
has_strategy = ai_strategy_world_revolution
113-
}
114-
}
115-
}
116-
}
113+
}
114+
}
115+
}
116+
}
117117
}
118118
}
119119

Subject Interaction Suite/common/diplomatic_actions/39_subjectz_support_regime.txt

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
texture = "gfx/interface/icons/diplomatic_action_icons/support_regime.dds"
1010
confirmation_sound = "event:/SFX/UI/MapInteraction/SubjectInteractions/diplomatic_action_subjects_09_support_regime_benign"
1111

12-
possible = {
12+
possible = {
1313
scope:target_country = {
1414
government_legitimacy < 75 # no point in supporting a regime that's already quite legitimate
1515
NOT = { is_diplomatic_play_enemy_of = root }
1616
}
1717
}
1818

1919
accept_effect = {
20-
add_overlord_lobby_appeasement_from_diplomacy = {
20+
add_overlord_lobby_appeasement_from_diplomacy = {
2121
FIRST = scope:target_country
2222
SECOND = root
2323
PRO_AMOUNT = 4
@@ -26,11 +26,11 @@
2626
}
2727
}
2828

29-
pact = {
29+
pact = {
3030
cost = 50
31-
recipient_pays_maintenance = no
31+
# recipient_pays_maintenance = no # Unneeded since 1.9.3?
3232
forced_duration = 12
33-
33+
3434
first_modifier = {
3535
country_legitimacy_base_add = -10
3636
}
@@ -44,19 +44,19 @@
4444
actor_can_break = {
4545
always = yes
4646
}
47-
47+
4848
manual_break_effect = {
4949
scope:target_country = {
5050
add_liberty_desire = 10
5151
}
5252

53-
add_overlord_lobby_appeasement_from_diplomacy = {
53+
add_overlord_lobby_appeasement_from_diplomacy = {
5454
FIRST = scope:target_country
5555
SECOND = root
5656
PRO_AMOUNT = -4
5757
ANTI_AMOUNT = 4
5858
FACTOR = appeasement_support_regime_ended
59-
}
59+
}
6060
}
6161
}
6262

@@ -66,7 +66,7 @@
6666
evaluation_chance = {
6767
value = 0.25
6868
}
69-
69+
7070
propose_score = {
7171
value = 1 # Low propose score, AI should replace this with other pacts if needed
7272

@@ -75,7 +75,7 @@
7575
multiply = 1
7676
}
7777
}
78-
78+
7979
will_propose = {
8080
government_legitimacy > 90
8181
"ai_ideological_opinion(scope:target_country)" >= 25
@@ -97,15 +97,15 @@
9797
}
9898
}
9999
}
100-
100+
101101
will_break = {
102102
OR = {
103103
government_legitimacy < 50
104104
"ai_ideological_opinion(scope:target_country)" <= -25
105105
has_attitude = {
106106
who = scope:target_country
107107
attitude = domineering
108-
}
108+
}
109109
}
110110
}
111111

@@ -116,7 +116,7 @@
116116
desc = "DIPLOMATIC_ACCEPTANCE_BASE"
117117
value = -100
118118
}
119-
119+
120120
if = {
121121
limit = {
122122
"scope:actor.ai_ideological_opinion(root)" <= -25
@@ -147,8 +147,8 @@
147147
multiply = 2
148148
min = -100
149149
}
150-
}
151-
150+
}
151+
152152
add = {
153153
desc = "DIPLOMATIC_ACCEPTANCE_ATTITUDE"
154154
if = {
@@ -159,7 +159,7 @@
159159
}
160160
}
161161
value = 75
162-
}
162+
}
163163
else_if = {
164164
limit = {
165165
has_attitude = {
@@ -168,7 +168,7 @@
168168
}
169169
}
170170
value = -50
171-
}
171+
}
172172
}
173173

174174
if = {
@@ -190,31 +190,31 @@
190190
add = {
191191
desc = "DIPLOMATIC_ACCEPTANCE_LEGITIMACY"
192192
value = -1000
193-
}
194-
}
193+
}
194+
}
195195
else = {
196196
add = {
197197
desc = "DIPLOMATIC_ACCEPTANCE_LEGITIMACY"
198198
value = legitimacy
199199
subtract = 70
200200
multiply = 2
201-
}
202-
}
201+
}
202+
}
203203

204204
add = {
205-
desc = "DIPLOMATIC_ACCEPTANCE_RELATIONS"
205+
desc = "DIPLOMATIC_ACCEPTANCE_RELATIONS"
206206
if = {
207207
limit = {
208208
"relations(scope:actor)" >= relations_threshold:friendly
209209
}
210210
value = 100
211-
}
211+
}
212212
else_if = {
213213
limit = {
214214
"relations(scope:actor)" >= relations_threshold:amicable
215215
}
216216
value = 50
217-
}
217+
}
218218
else_if = {
219219
limit = {
220220
"relations(scope:actor)" >= relations_threshold:cordial
@@ -226,10 +226,10 @@
226226
"relations(scope:actor)" > relations_threshold:poor
227227
}
228228
value = -25
229-
}
229+
}
230230
else = {
231231
value = -50
232-
}
232+
}
233233
}
234234

235235
add = {
@@ -253,8 +253,8 @@
253253
"scope:actor.infamy" >= infamy_threshold:pariah
254254
}
255255
value = -50
256-
}
257-
}
256+
}
257+
}
258258
}
259259
}
260260
}
@@ -280,10 +280,10 @@ da_request_support_regime = {
280280
any_diplomatic_catalyst = {
281281
is_diplomatic_catalyst_type = catalyst_support_regime_requested
282282
target = root
283-
}
283+
}
284284
}
285285
}
286-
}
286+
}
287287
}
288288

289289
accept_effect = {
@@ -309,9 +309,9 @@ da_request_support_regime = {
309309
create_diplomatic_catalyst = {
310310
type = catalyst_support_regime_requested
311311
target = root
312-
}
312+
}
313313
}
314-
}
314+
}
315315
}
316316

317317
reverse_pact = da_support_regime
@@ -320,16 +320,16 @@ da_request_support_regime = {
320320
evaluation_chance = {
321321
value = 0.25
322322
}
323-
323+
324324
propose_score = {
325325
value = 10
326326
}
327-
327+
328328
will_propose = {
329329
government_legitimacy < 50
330330
liberty_desire_weekly_progress > -0.2
331331
}
332-
332+
333333
will_break = {
334334
OR = {
335335
government_legitimacy < 50

0 commit comments

Comments
 (0)