Skip to content

Commit

Permalink
Merge pull request #1667 from cetvrtak/1.13
Browse files Browse the repository at this point in the history
Finish cleaning up the error log
  • Loading branch information
Idhrendur authored Nov 29, 2023
2 parents 1e14512 + 25c7a9d commit 5d45dd0
Show file tree
Hide file tree
Showing 27 changed files with 362 additions and 317 deletions.
Empty file.
Empty file.
Empty file.
145 changes: 125 additions & 20 deletions data/blank_mod/common/decisions/_debug_decisions.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,44 @@
debug_decisions = {

debug_show_decisions = {
priority = 100
allowed = {
always = yes
}

visible = {
is_ai = no
is_debug = yes
NOT = { has_global_flag = show_debug_decisions_flag }
}
complete_effect = {
set_global_flag = show_debug_decisions_flag
}
}

debug_hide_decisions = {
priority = -1
allowed = {
always = yes
}

visible = {
is_ai = no
is_debug = yes
has_global_flag = show_debug_decisions_flag
}
complete_effect = {
clr_global_flag = show_debug_decisions_flag
}
}

research_all_tank_techs_nsb = {
icon = generic_tank

visible = {
is_ai = no
is_debug = yes
has_global_flag = show_debug_decisions_flag
}

complete_effect = {
Expand Down Expand Up @@ -213,7 +246,9 @@ debug_decisions = {
}

visible = {
always = yes
is_ai = no
is_debug = yes
has_global_flag = show_debug_decisions_flag
}

fire_only_once = no
Expand All @@ -233,7 +268,9 @@ debug_decisions = {
}

visible = {
always = yes
is_ai = no
is_debug = yes
has_global_flag = show_debug_decisions_flag
}

fire_only_once = no
Expand Down Expand Up @@ -264,7 +301,9 @@ debug_decisions = {
}

visible = {
always = yes
is_ai = no
is_debug = yes
has_global_flag = show_debug_decisions_flag
}

fire_only_once = no
Expand All @@ -284,11 +323,13 @@ debug_decisions = {
icon = generic_research

available = {
always = yes
is_ai = no
}

visible = {
always = yes
is_ai = no
is_debug = yes
has_global_flag = show_debug_decisions_flag
}

fire_only_once = no
Expand All @@ -311,16 +352,19 @@ debug_decisions = {
}
}


create_operative_debug = {

icon = generic_research

available = {
always = yes
is_ai = no
}

visible = {
always = yes
is_ai = no
is_debug = yes
has_global_flag = show_debug_decisions_flag
}

fire_only_once = no
Expand All @@ -344,11 +388,13 @@ debug_decisions = {
icon = generic_research

available = {
always = yes
is_ai = no
}

visible = {
always = yes
is_ai = no
is_debug = yes
has_global_flag = show_debug_decisions_flag
}

fire_only_once = no
Expand All @@ -370,11 +416,13 @@ debug_decisions = {
icon = generic_research

available = {
always = yes
is_ai = no
}

visible = {
always = yes
is_ai = no
is_debug = yes
has_global_flag = show_debug_decisions_flag
}

fire_only_once = no
Expand All @@ -397,21 +445,20 @@ debug_decisions = {

harm_operative_debug = {
available = {
num_of_operatives > 0
#num_of_operatives > 0
}

visible = {
always = yes
is_ai = no
is_debug = yes
has_global_flag = show_debug_decisions_flag
}

fire_only_once = no
cost = 0

complete_effect = {
random_operative = {
harm_operative_leader = 1
#Some easter egg from Vanilla HoI4 - can be removed safely
}
add_political_power = 1000
}

ai_will_do = {
Expand All @@ -426,7 +473,9 @@ debug_decisions = {
}

visible = {
always = yes
is_ai = no
is_debug = yes
has_global_flag = show_debug_decisions_flag
}

fire_only_once = no
Expand All @@ -453,11 +502,13 @@ debug_decisions = {

slot_machine = { # we pegi 18 now
available = {
always = yes
is_ai = no
}

visible = {
always = yes
is_ai = no
is_debug = yes
has_global_flag = show_debug_decisions_flag
}

days_remove = 777
Expand All @@ -468,41 +519,95 @@ debug_decisions = {
}

decryption_tech_1 = {
available = {
is_ai = no
}

visible = {
is_ai = no
is_debug = yes
has_global_flag = show_debug_decisions_flag
}
days_remove = 100
modifier = {
decryption = 1
}
}

decryption_tech_2 = {
available = {
is_ai = no
}

visible = {
is_ai = no
is_debug = yes
has_global_flag = show_debug_decisions_flag
}
days_remove = 100
modifier = {
decryption = 1
}
}

decryption_tech_3 = {
available = {
is_ai = no
}

visible = {
is_ai = no
is_debug = yes
has_global_flag = show_debug_decisions_flag
}
days_remove = 100
modifier = {
decryption = 1
}
}

encryption_tech_1 = {
available = {
is_ai = no
}

visible = {
is_ai = no
is_debug = yes
has_global_flag = show_debug_decisions_flag
}
days_remove = 100
modifier = {
encryption = 1
}
}

encryption_tech_2 = {
available = {
is_ai = no
}

visible = {
is_ai = no
is_debug = yes
has_global_flag = show_debug_decisions_flag
}
days_remove = 100
modifier = {
encryption = 1
}
}

encryption_tech_3 = {
available = {
is_ai = no
}

visible = {
is_ai = no
is_debug = yes
has_global_flag = show_debug_decisions_flag
}
days_remove = 100
modifier = {
encryption = 1
Expand Down
36 changes: 33 additions & 3 deletions data/blank_mod/common/decisions/_generic_decisions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ political_actions = {

modifier = {
stability_weekly = 0.005
consumer_goods_factor = 0.05
consumer_goods_factor = 0.10
industrial_capacity_factory = -0.1
}

Expand Down Expand Up @@ -1428,7 +1428,8 @@ war_measures = {

visible = {
has_defensive_war = yes
has_offensive_war = no
has_offensive_war = no
num_of_controlled_states > 0
}

fire_only_once = no
Expand Down Expand Up @@ -1595,7 +1596,7 @@ war_measures = {
cost = GER_war_bonds_var?50

modifier = {
consumer_goods_factor = -0.05
consumer_goods_factor = -0.20
}

ai_will_do = {
Expand Down Expand Up @@ -1661,7 +1662,36 @@ war_measures = {
add_war_support = GER_war_bonds_war_support_var
}
}
}

diversify_special_forces = {

icon = GFX_decision_generic_military

available = {
date > 1940.1.1
}

visible = {
has_dlc = "Arms Against Tyranny"
}

fire_only_once = yes

cost = 50

complete_effect = {
add_potential_special_forces_tree = yes
}
ai_will_do = {
factor = 201
modifier = {
factor = 0
is_major = no
}
}
}

}

foreign_politics = {
Expand Down
Loading

0 comments on commit 5d45dd0

Please sign in to comment.