Jargon 2 somewhat working
This commit is contained in:
parent
8a92102bf8
commit
acd6ebbc02
7 changed files with 361 additions and 29 deletions
135
common/autonomous_states/floddstatt.txt
Normal file
135
common/autonomous_states/floddstatt.txt
Normal file
|
|
@ -0,0 +1,135 @@
|
|||
autonomy_state = {
|
||||
id = fs_core_member
|
||||
|
||||
default = no #Will be a possible option for peace deals
|
||||
is_puppet = yes
|
||||
|
||||
use_overlord_color = yes
|
||||
|
||||
min_freedom_level = 0.5 #Puts it as 0.2 on the autonomy level scale, which is the same as an integrated puppet.
|
||||
|
||||
manpower_influence = 0.5
|
||||
|
||||
rule = {
|
||||
can_not_declare_war = yes
|
||||
can_decline_call_to_war = no
|
||||
units_deployed_to_overlord = no
|
||||
can_be_spymaster = no
|
||||
contributes_operatives = yes
|
||||
can_create_collaboration_government = no
|
||||
}
|
||||
|
||||
modifier = {
|
||||
autonomy_manpower_share = 0.2
|
||||
can_master_build_for_us = 1
|
||||
extra_trade_to_overlord_factor = 0.5
|
||||
overlord_trade_cost_factor = -0.25
|
||||
cic_to_overlord_factor = 0.1
|
||||
mic_to_overlord_factor = 0.1
|
||||
research_sharing_per_country_bonus_factor = 0.05
|
||||
}
|
||||
|
||||
ai_subject_wants_higher = {
|
||||
factor = 0.0
|
||||
}
|
||||
|
||||
ai_overlord_wants_lower = {
|
||||
factor = 0.0
|
||||
}
|
||||
|
||||
allowed = {
|
||||
OVERLORD = {
|
||||
has_idea = floddstatt_leader
|
||||
}
|
||||
}
|
||||
|
||||
use_for_peace_conference_weight = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 10
|
||||
FROM = {
|
||||
has_wargoal_against = { target = ROOT type = puppet_wargoal_focus }
|
||||
} # Adds 10 to the chance if the overlord has a wargoal to puppet the country.
|
||||
}
|
||||
modifier = {
|
||||
factor = 2
|
||||
tag = ENG # Multiplies the chance by 2 if the subject is UK.
|
||||
}
|
||||
}
|
||||
|
||||
can_take_level = {
|
||||
always = no
|
||||
}
|
||||
|
||||
can_lose_level = {
|
||||
always = no
|
||||
}
|
||||
}
|
||||
|
||||
autonomy_state = {
|
||||
id = fs_border_state
|
||||
|
||||
default = no #Will be a possible option for peace deals
|
||||
is_puppet = yes
|
||||
|
||||
use_overlord_color = no
|
||||
|
||||
min_freedom_level = 0.5 #Puts it as 0.2 on the autonomy level scale, which is the same as an integrated puppet.
|
||||
|
||||
manpower_influence = 0.5
|
||||
|
||||
rule = {
|
||||
can_not_declare_war = yes
|
||||
can_decline_call_to_war = no
|
||||
units_deployed_to_overlord = no
|
||||
can_be_spymaster = no
|
||||
contributes_operatives = yes
|
||||
can_create_collaboration_government = no
|
||||
}
|
||||
|
||||
modifier = {
|
||||
autonomy_manpower_share = 0.2
|
||||
can_master_build_for_us = 1
|
||||
extra_trade_to_overlord_factor = 0.5
|
||||
overlord_trade_cost_factor = -0.25
|
||||
cic_to_overlord_factor = 0.1
|
||||
mic_to_overlord_factor = 0.1
|
||||
research_sharing_per_country_bonus_factor = 0.05
|
||||
}
|
||||
|
||||
ai_subject_wants_higher = {
|
||||
factor = 0.0
|
||||
}
|
||||
|
||||
ai_overlord_wants_lower = {
|
||||
factor = 0.0
|
||||
}
|
||||
|
||||
allowed = {
|
||||
OVERLORD = {
|
||||
has_idea = floddstatt_leader
|
||||
}
|
||||
}
|
||||
|
||||
use_for_peace_conference_weight = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 10
|
||||
FROM = {
|
||||
has_wargoal_against = { target = ROOT type = puppet_wargoal_focus }
|
||||
} # Adds 10 to the chance if the overlord has a wargoal to puppet the country.
|
||||
}
|
||||
modifier = {
|
||||
factor = 2
|
||||
tag = ENG # Multiplies the chance by 2 if the subject is UK.
|
||||
}
|
||||
}
|
||||
|
||||
can_take_level = {
|
||||
always = no
|
||||
}
|
||||
|
||||
can_lose_level = {
|
||||
always = no
|
||||
}
|
||||
}
|
||||
|
|
@ -1,4 +1,14 @@
|
|||
floddstatt_general = {
|
||||
|
||||
fg_debug_checkelectiontimeout = {
|
||||
available = {
|
||||
has_idea = floddstatt_member
|
||||
is_debug = yes
|
||||
}
|
||||
complete_effect = {
|
||||
country_event = { id = floddstatt.1 }
|
||||
}
|
||||
}
|
||||
fg_capital_encouragement = {
|
||||
available = {
|
||||
has_idea = floddstatt_leader
|
||||
|
|
@ -21,7 +31,7 @@ floddstatt_general = {
|
|||
icon = mission_icon
|
||||
is_good = yes
|
||||
days_mission_timeout = 180
|
||||
complete_effect = {
|
||||
timeout_effect = {
|
||||
add_political_power = 100
|
||||
country_event = { id = floddstatt.1 }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,11 +3,16 @@ on_actions = {
|
|||
effect = {
|
||||
every_country = {
|
||||
limit = {
|
||||
has_idea = floddstatt_member
|
||||
has_idea = floddstatt_leader
|
||||
}
|
||||
flod_set_election_standard = yes
|
||||
country_event = { id = floddstatt.1 }
|
||||
}
|
||||
every_country = {
|
||||
limit = {
|
||||
has_idea = floddstatt_member
|
||||
}
|
||||
activate_mission = fg_election
|
||||
country_event = { id = floddstatt.0 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,128 @@
|
|||
flod_set_election_standard = {
|
||||
set_country_flag = flod_elections_in_motion_flag
|
||||
set_variable = { GRT_ele_support = 1 }
|
||||
set_variable = { BRK_ele_support = 1 }
|
||||
set_variable = { CUM_ele_support = 1 }
|
||||
set_variable = { LAN_ele_support = 1 }
|
||||
set_variable = { AVI_ele_support = 1 }
|
||||
set_global_flag = flod_elections_in_motion_flag
|
||||
set_variable = { global.GRT_ele_support = 1 }
|
||||
set_variable = { global.BRK_ele_support = 1 }
|
||||
set_variable = { global.CUM_ele_support = 1 }
|
||||
set_variable = { global.LAN_ele_support = 1 }
|
||||
set_variable = { global.AVI_ele_support = 1 }
|
||||
}
|
||||
|
||||
flod_election_result = {
|
||||
if = {
|
||||
limit = {
|
||||
check_variable = { var = global.GRT_ele_support value = global.BRK_ele_support compare = greater_than }
|
||||
check_variable = { var = global.GRT_ele_support value = global.CUM_ele_support compare = greater_than }
|
||||
check_variable = { var = global.GRT_ele_support value = global.LAN_ele_support compare = greater_than }
|
||||
check_variable = { var = global.GRT_ele_support value = global.AVI_ele_support compare = greater_than }
|
||||
}
|
||||
GRT = {
|
||||
add_ideas = floddstatt_leader
|
||||
puppet = BRK
|
||||
puppet = CUM
|
||||
puppet = LAN
|
||||
puppet = AVI
|
||||
puppet = BOR
|
||||
|
||||
set_autonomy = { target = BRK autonomy_state = fs_core_member }
|
||||
set_autonomy = { target = CUM autonomy_state = fs_core_member }
|
||||
set_autonomy = { target = LAN autonomy_state = fs_core_member }
|
||||
set_autonomy = { target = AVI autonomy_state = fs_core_member }
|
||||
set_autonomy = { target = BOR autonomy_state = fs_border_state }
|
||||
}
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
check_variable = { var = global.BRK_ele_support value = global.GRT_ele_support compare = greater_than }
|
||||
check_variable = { var = global.BRK_ele_support value = global.CUM_ele_support compare = greater_than }
|
||||
check_variable = { var = global.BRK_ele_support value = global.LAN_ele_support compare = greater_than }
|
||||
check_variable = { var = global.BRK_ele_support value = global.AVI_ele_support compare = greater_than }
|
||||
}
|
||||
BRK = {
|
||||
add_ideas = floddstatt_leader
|
||||
puppet = GRT
|
||||
puppet = CUM
|
||||
puppet = LAN
|
||||
puppet = AVI
|
||||
puppet = BOR
|
||||
|
||||
set_autonomy = { target = GRT autonomy_state = fs_core_member }
|
||||
set_autonomy = { target = CUM autonomy_state = fs_core_member }
|
||||
set_autonomy = { target = LAN autonomy_state = fs_core_member }
|
||||
set_autonomy = { target = AVI autonomy_state = fs_core_member }
|
||||
set_autonomy = { target = BOR autonomy_state = fs_border_state }
|
||||
}
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
check_variable = { var = global.CUM_ele_support value = global.GRT_ele_support compare = greater_than }
|
||||
check_variable = { var = global.CUM_ele_support value = global.BRK_ele_support compare = greater_than }
|
||||
check_variable = { var = global.CUM_ele_support value = global.LAN_ele_support compare = greater_than }
|
||||
check_variable = { var = global.CUM_ele_support value = global.AVI_ele_support compare = greater_than }
|
||||
}
|
||||
CUM = {
|
||||
add_ideas = floddstatt_leader
|
||||
puppet = BRK
|
||||
puppet = GRT
|
||||
puppet = LAN
|
||||
puppet = AVI
|
||||
puppet = BOR
|
||||
|
||||
set_autonomy = { target = BRK autonomy_state = fs_core_member }
|
||||
set_autonomy = { target = GRT autonomy_state = fs_core_member }
|
||||
set_autonomy = { target = LAN autonomy_state = fs_core_member }
|
||||
set_autonomy = { target = AVI autonomy_state = fs_core_member }
|
||||
set_autonomy = { target = BOR autonomy_state = fs_border_state }
|
||||
}
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
check_variable = { var = global.LAN_ele_support value = global.GRT_ele_support compare = greater_than }
|
||||
check_variable = { var = global.LAN_ele_support value = global.BRK_ele_support compare = greater_than }
|
||||
check_variable = { var = global.LAN_ele_support value = global.CUM_ele_support compare = greater_than }
|
||||
check_variable = { var = global.LAN_ele_support value = global.AVI_ele_support compare = greater_than }
|
||||
}
|
||||
LAN = {
|
||||
add_ideas = floddstatt_leader
|
||||
puppet = BRK
|
||||
puppet = CUM
|
||||
puppet = GRT
|
||||
puppet = AVI
|
||||
puppet = BOR
|
||||
|
||||
set_autonomy = { target = BRK autonomy_state = fs_core_member }
|
||||
set_autonomy = { target = CUM autonomy_state = fs_core_member }
|
||||
set_autonomy = { target = GRT autonomy_state = fs_core_member }
|
||||
set_autonomy = { target = AVI autonomy_state = fs_core_member }
|
||||
set_autonomy = { target = BOR autonomy_state = fs_border_state }
|
||||
}
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
check_variable = { var = global.AVI_ele_support value = global.GRT_ele_support compare = greater_than }
|
||||
check_variable = { var = global.AVI_ele_support value = global.BRK_ele_support compare = greater_than }
|
||||
check_variable = { var = global.AVI_ele_support value = global.CUM_ele_support compare = greater_than }
|
||||
check_variable = { var = global.AVI_ele_support value = global.LAN_ele_support compare = greater_than }
|
||||
}
|
||||
AVI = {
|
||||
add_ideas = floddstatt_leader
|
||||
puppet = GRT
|
||||
puppet = BRK
|
||||
puppet = CUM
|
||||
puppet = LAN
|
||||
puppet = BOR
|
||||
|
||||
set_autonomy = { target = GRT autonomy_state = fs_core_member }
|
||||
set_autonomy = { target = BRK autonomy_state = fs_core_member }
|
||||
set_autonomy = { target = CUM autonomy_state = fs_core_member }
|
||||
set_autonomy = { target = LAN autonomy_state = fs_core_member }
|
||||
set_autonomy = { target = BOR autonomy_state = fs_border_state }
|
||||
}
|
||||
}
|
||||
flod_set_election_standard = yes
|
||||
}
|
||||
|
||||
### Add Support For Nation In Floddstatt
|
||||
|
|
@ -12,69 +130,69 @@ flod_set_election_standard = {
|
|||
# GRT
|
||||
|
||||
flod_grt_support_grow_s = {
|
||||
add_to_variable = { GRT_ele_support = 1}
|
||||
add_to_variable = { global.GRT_ele_support = 1}
|
||||
}
|
||||
|
||||
flod_grt_support_grow_m = {
|
||||
add_to_variable = { GRT_ele_support = 3}
|
||||
add_to_variable = { global.GRT_ele_support = 3}
|
||||
}
|
||||
|
||||
flod_grt_support_grow_l = {
|
||||
add_to_variable = { GRT_ele_support = 5}
|
||||
add_to_variable = { global.GRT_ele_support = 5}
|
||||
}
|
||||
|
||||
# BRK
|
||||
|
||||
flod_brk_support_grow_s = {
|
||||
add_to_variable = { BRK_ele_support = 1}
|
||||
add_to_variable = { global.BRK_ele_support = 1}
|
||||
}
|
||||
|
||||
flod_brk_support_grow_m = {
|
||||
add_to_variable = { BRK_ele_support = 3}
|
||||
add_to_variable = { global.BRK_ele_support = 3}
|
||||
}
|
||||
|
||||
flod_brk_support_grow_l = {
|
||||
add_to_variable = { BRK_ele_support = 5}
|
||||
add_to_variable = { global.BRK_ele_support = 5}
|
||||
}
|
||||
|
||||
# CUM ;3
|
||||
|
||||
flod_cum_support_grow_s = {
|
||||
add_to_variable = { CUM_ele_support = 1}
|
||||
add_to_variable = { global.CUM_ele_support = 1}
|
||||
}
|
||||
|
||||
flod_cum_support_grow_m = {
|
||||
add_to_variable = { CUM_ele_support = 3}
|
||||
add_to_variable = { global.CUM_ele_support = 3}
|
||||
}
|
||||
|
||||
flod_cum_support_grow_l = {
|
||||
add_to_variable = { CUM_ele_support = 5}
|
||||
add_to_variable = { global.CUM_ele_support = 5}
|
||||
}
|
||||
|
||||
# LAN
|
||||
|
||||
flod_lan_support_grow_s = {
|
||||
add_to_variable = { LAN_ele_support = 1}
|
||||
add_to_variable = { global.LAN_ele_support = 1}
|
||||
}
|
||||
|
||||
flod_lan_support_grow_m = {
|
||||
add_to_variable = { LAN_ele_support = 3}
|
||||
add_to_variable = { global.LAN_ele_support = 3}
|
||||
}
|
||||
|
||||
flod_lan_support_grow_l = {
|
||||
add_to_variable = { LAN_ele_support = 5}
|
||||
add_to_variable = { global.LAN_ele_support = 5}
|
||||
}
|
||||
|
||||
# AVI
|
||||
|
||||
flod_avi_support_grow_s = {
|
||||
add_to_variable = { AVI_ele_support = 1}
|
||||
add_to_variable = { global.AVI_ele_support = 1}
|
||||
}
|
||||
|
||||
flod_avi_support_grow_m = {
|
||||
add_to_variable = { AVI_ele_support = 3}
|
||||
add_to_variable = { global.AVI_ele_support = 3}
|
||||
}
|
||||
|
||||
flod_avi_support_grow_l = {
|
||||
add_to_variable = { AVI_ele_support = 5}
|
||||
add_to_variable = { global.AVI_ele_support = 5}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue