Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Updates events for Gotterdammerung #677

Merged
merged 1 commit into from
Dec 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

Check failure on line 12 in data/blank_mod/events/Special_Project_Events.txt

View workflow job for this annotation

GitHub Actions / runner / misspell

[misspell] reported by reviewdog 🐶 "cancelled" is a misspelling of "canceled" Raw Output: ./data/blank_mod/events/Special_Project_Events.txt:12:40: "cancelled" is a misspelling of "canceled"
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
Loading