From f5ca7a117eccc7c4714e44ae9de7d53d9f7d18d1 Mon Sep 17 00:00:00 2001 From: dementive <87823030+dementive@users.noreply.github.com> Date: Tue, 5 Mar 2024 17:28:47 -0500 Subject: [PATCH] Add temporary promo event --- common/on_action/00_TI_monthly_country.txt | 4 ++++ events/00000_PROMO.txt | 24 ++++++++++++++++++++++ localization/english/00_TODO_l_english.yml | 4 ++++ 3 files changed, 32 insertions(+) create mode 100644 events/00000_PROMO.txt diff --git a/common/on_action/00_TI_monthly_country.txt b/common/on_action/00_TI_monthly_country.txt index da2dc7e717..e3c258f5cb 100644 --- a/common/on_action/00_TI_monthly_country.txt +++ b/common/on_action/00_TI_monthly_country.txt @@ -3,6 +3,10 @@ ti_monthly_chinese_unification_pulse delay = { days = { 1 30 } } } + # TEMPORARY + events = { + promo.1 + } } ti_monthly_chinese_unification_pulse = { diff --git a/events/00000_PROMO.txt b/events/00000_PROMO.txt new file mode 100644 index 0000000000..77f533e547 --- /dev/null +++ b/events/00000_PROMO.txt @@ -0,0 +1,24 @@ +namespace = promo + +promo.1 = { + type = country_event + title = promo.1.t + desc = promo.1.desc + picture = aqueducts + + left_portrait = current_ruler + right_portrait = p:1.owner.current_ruler + + trigger = { + is_ai = no + NOT = { has_variable = promo_event_happened } + } + + immediate = { + set_variable = promo_event_happened + } + + option = { + name = promo.1.a + } +} \ No newline at end of file diff --git a/localization/english/00_TODO_l_english.yml b/localization/english/00_TODO_l_english.yml index a81cec03a4..d5eb810878 100644 --- a/localization/english/00_TODO_l_english.yml +++ b/localization/english/00_TODO_l_english.yml @@ -1,5 +1,9 @@ l_english: + +promo.1.t: "Beware the Ides of March" +promo.1.desc: "Calling all Imperators! As part of the continuing effort to revive the game, the community is scheduling Imperator Day (which actually be two days) running from Friday, March 15th through Saturday, March 16th. The goal is to get concurrent player numbers as high as possible." +promo.1.a: "Imperator Day: Ides of March (March 15th - 16th)" #NOTE: Everything in this file either needs a loc or needs a description written. #Once they are done they should be moved to other files.