-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Just need an event image now!
- Loading branch information
Showing
3 changed files
with
104 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
namespace = british_republican_flag_events | ||
|
||
# Slect one of the five flags for the British Republic | ||
british_republican_flag_events.1 = { | ||
type = country_event | ||
event_image = { | ||
## Placeholder image | ||
# Replace with the .dds file of the flags, so people can see what they're voting for | ||
texture = "gfx/event_pictures/shoe_throwable.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 | ||
flavor = british_republican_flag_events.1.f | ||
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 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters