Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Imperia-british-republican-flags' of https://github.com…
Browse files Browse the repository at this point in the history
…/Imperia-Development-Victoria-3/Victoria-3-Dev into Imperia-british-republican-flags
Danarca committed Jan 24, 2025
2 parents 6aa4184 + ee6091d commit be6d4ea
Showing 2 changed files with 77 additions and 77 deletions.
2 changes: 1 addition & 1 deletion common/on_actions/imperia_on_monthtly_pulse.txt
Original file line number Diff line number Diff line change
@@ -447,7 +447,7 @@
}
events = {
infamy_rebalance.1 #updates provinces each month
british_republican_flag_events.1 # British republican flag event, should fire only once.
british_republican_flag_events.1 # British republican flag event, should fire only once.
}
}

152 changes: 76 additions & 76 deletions events/imperia_british_republican_flag_events.txt
Original file line number Diff line number Diff line change
@@ -2,87 +2,87 @@

# Slect one of the five flags for the British Republic
british_republican_flag_events.1 = {
type = country_event
type = country_event
event_image = {
texture = "gfx/event_pictures/british_republican_flags.dds"
}
on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
on_opened_soundeffect = "event:/SFX/Events/unspecific/signed_contract"
icon = "gfx/interface/icons/event_icons/event_newspaper.dds"
title = british_republican_flag_events.1.t
desc = british_republican_flag_events.1.desc
title = british_republican_flag_events.1.t
desc = british_republican_flag_events.1.desc
duration = 3
trigger = {
root ?= c:GBR
OR = {
has_law = law_type:law_parliamentary_republic
has_law = law_type:law_presidential_republic
}
NOT = {
has_variable = british_republican_flag_variant
}
}
immediate = {
# Just to initialise so this event doesn't keep firing
set_variable = {
name = british_republican_flag_variant
value = 0
}
}
# Spartacus Union Jack (bottom blues replaced with green
option = {
name = british_republican_flag_events.1.a
default_option = yes
set_variable = {
name = british_republican_flag_variant
value = 1
}
ai_chance = {
base = 20
}
}
# Chartist tricolour (red, white, green)
option = {
name = british_republican_flag_events.1.b
set_variable = {
name = british_republican_flag_variant
value = 2
}
ai_chance = {
base = 20
}
}
# Spartacus tricolour (blue, white, green)
option = {
name = british_republican_flag_events.1.c
set_variable = {
name = british_republican_flag_variant
value = 3
}
ai_chance = {
base = 20
}
}
# Union flag (Blue, white-with-red, green, combination of the Chartist and Spartacus tricolours)
option = {
name = british_republican_flag_events.1.d
set_variable = {
name = british_republican_flag_variant
value = 4
}
ai_chance = {
base = 20
}
}
# Union stripe (blue, white-with-red, blue)
option = {
name = british_republican_flag_events.1.e
set_variable = {
name = british_republican_flag_variant
value = 5
}
ai_chance = {
base = 20
}
}
trigger = {
root ?= c:GBR
OR = {
has_law = law_type:law_parliamentary_republic
has_law = law_type:law_presidential_republic
}
NOT = {
has_variable = british_republican_flag_variant
}
}
immediate = {
# Just to initialise so this event doesn't keep firing
set_variable = {
name = british_republican_flag_variant
value = 0
}
}
# Spartacus Union Jack (bottom blues replaced with green
option = {
name = british_republican_flag_events.1.a
default_option = yes
set_variable = {
name = british_republican_flag_variant
value = 1
}
ai_chance = {
base = 20
}
}
# Chartist tricolour (red, white, green)
option = {
name = british_republican_flag_events.1.b
set_variable = {
name = british_republican_flag_variant
value = 2
}
ai_chance = {
base = 20
}
}
# Spartacus tricolour (blue, white, green)
option = {
name = british_republican_flag_events.1.c
set_variable = {
name = british_republican_flag_variant
value = 3
}
ai_chance = {
base = 20
}
}
# Union flag (Blue, white-with-red, green, combination of the Chartist and Spartacus tricolours)
option = {
name = british_republican_flag_events.1.d
set_variable = {
name = british_republican_flag_variant
value = 4
}
ai_chance = {
base = 20
}
}
# Union stripe (blue, white-with-red, blue)
option = {
name = british_republican_flag_events.1.e
set_variable = {
name = british_republican_flag_variant
value = 5
}
ai_chance = {
base = 20
}
}
}

0 comments on commit be6d4ea

Please sign in to comment.