Skip to content

Commit

Permalink
Updates events for Getterdammerung (#677)
Browse files Browse the repository at this point in the history
  • Loading branch information
Idhrendur authored Dec 7, 2024
1 parent 8dd4f3c commit 28d2ce7
Show file tree
Hide file tree
Showing 6 changed files with 109 additions and 10 deletions.
35 changes: 35 additions & 0 deletions data/blank_mod/events/GOT_Generic_Events.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
add_namespace = GOT_guarantee_events
add_namespace = GOT_newsevents

#### GUARANTEE EVENTS ###


# Formation of Greater Proletarian State
news_event = {
id = GOT_newsevents.1
title = GOT_newsevents.1.t
desc = GOT_newsevents.1.desc
picture = GFX_news_event_generic_parliament

is_triggered_only = yes
major = yes

option = {
name = GOT_newsevents.1.a
trigger = {
OR = {
original_tag = FROM
is_in_faction_with = FROM
}
}
}
option = {
name = GOT_newsevents.1.b
trigger = {
NOT = {
original_tag = FROM
is_in_faction_with = FROM
}
}
}
}
14 changes: 7 additions & 7 deletions data/blank_mod/events/Generic.txt
Original file line number Diff line number Diff line change
Expand Up @@ -662,12 +662,12 @@ country_event = {
}
}

modifier = {
factor = 0.5
NOT = {
has_government = neutrality
}
}
#modifier = {
# factor = 0.5
# NOT = {
# has_government = neutrality
# }
#}

modifier = {
factor = 0.75
Expand Down Expand Up @@ -702,7 +702,7 @@ country_event = {
is_in_faction = no
}
ai_chance = {
factor = 50
factor = 45

modifier = {
factor = 0.5
Expand Down
31 changes: 30 additions & 1 deletion data/blank_mod/events/NewsEvents.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ add_namespace = news
# you'll read of Australian Olympics, not of Swiss ones.
# Games of the XI Olympiad
news_event = {
id = news.66 #Games of the XI Olympiad
id = news.66
title = news.66.t
desc = olympics.1936.d
picture = GFX_news_event_olympics_1940
Expand Down Expand Up @@ -303,3 +303,32 @@ news_event = {
name = news.159.c
}
}


news_event = { #Nuclear Reactor Tested
id = news.338
title = news.338.t
desc = news.338.desc
picture = GFX_news_event_journalists_speech

trigger = {

}

major = yes

is_triggered_only = yes

option = {
name = news.338.a
trigger = {
NOT = { TAG = FROM }
}
}
option = {
name = news.338.b
trigger = {
TAG = FROM
}
}
}
2 changes: 1 addition & 1 deletion data/blank_mod/events/PoliticalEvents.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1468,7 +1468,7 @@ country_event = {
}
}
option = {
name = political.32.b
name = political.32.b #Only for AI. No need to localize
trigger = {
ROOT = { is_ai = yes }
}
Expand Down
34 changes: 34 additions & 0 deletions data/blank_mod/events/Special_Project_Events.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
##################################
##################################
##### Special Project Events #####
##################################
##################################

add_namespace = sp_nuclear_project_events



# Nuclear Bomb Info Leak
country_event = { #MEFO Bills have been cancelled
id = sp_nuclear_project_events.1
title = sp_nuclear_project_events.1.t
desc = sp_nuclear_project_events.1.desc
picture = GFX_report_event_tank_factory

fire_only_once = yes

is_triggered_only = yes

option = {
name = sp_nuclear_project_events.1.a
ai_chance = {
base = 1
}

sp:sp_nuclear_bomb = {
add_project_progress_ratio = 0.1
}
}

}

3 changes: 2 additions & 1 deletion data/blank_mod/events/WarJustification.txt
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@ country_event = {
has_idea = partial_economic_mobilisation
has_idea = war_economy
has_idea = tot_economic_mobilisation
has_idea = totaler_krieg_economy
}
}
NOT = { has_country_flag = war_justification_last_event_mobilized }
Expand Down Expand Up @@ -864,7 +865,7 @@ country_event = {
add_political_power = -30
add_war_support = -0.05
add_popularity = {
ideology = fascism
ideology = ROOT
popularity = -0.05
}
}
Expand Down

0 comments on commit 28d2ce7

Please # to comment.