Event will not fire, Why?

  • Victoria 3 - Sign up now!

    The journey begins, sign up now and get a special in-game item when the game is released.


  • Crusader Kings III Available Now!

    The realm rejoices as Paradox Interactive announces the launch of Crusader Kings III, the latest entry in the publisher’s grand strategy role-playing game franchise. Advisors may now jockey for positions of influence and adversaries should save their schemes for another day, because on this day Crusader Kings III can be purchased on Steam, the Paradox Store, and other major online retailers.


    Real Strategy Requires Cunning
  • Crusader Kings II Expansion Subscription

    Subscribe to the CK II Expansion and enjoy unlimited access to 13 major expansions and more!


SAS

15+ Years on the Forum
Demi Moderator
199 Badges
Jan 13, 2002
7.764
547
  • Diplomacy
  • Europa Universalis IV
  • Stellaris: Federations
  • Battle for Bosporus
  • Europa Universalis 4: Emperor
  • Empire of Sin
  • Stellaris: Necroids
  • 200k Club
  • 500k Club
  • Paradox Order
  • Hearts of Iron Anthology
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings II: Limited Collectors Edition
  • March of the Eagles
  • Europa Universalis: Rome Collectors Edition
  • Europa Universalis IV: Call to arms event
  • Hearts of Iron III Collection
  • Humble Paradox Bundle
  • Stellaris Sign-up
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Field Marshal
  • Tyranny: Gold Edition
  • Surviving Mars: Digital Deluxe Edition
  • Surviving Mars: First Colony Edition
  • Imperator: Rome Sign Up
  • Imperator: Rome Deluxe Edition
  • Age of Wonders: Planetfall Sign Up
  • Age of Wonders: Planetfall Premium edition
  • Age of Wonders: Planetfall Season pass
This is in a file call "sas" in the event folder. Can't get it to fire. I can manually fire it and the modifier works. Any ideas?

namespace = sas

#The Black Death

sas.1 = {
type = country_event
title = "sas.1.t"
desc = "sas.1.d"
picture = natural_disaster


trigger = {
current_date > 451.2.1
NOT = { has_variable = black_death_cooldown }
}

immediate = {
set_variable = {
name = black_death_cooldown
days = 3650
}
}

option = {
name = "sas.1.a"
add_country_modifier = {
name = black_death_modifier
duration = 730
}
}
}
 

crownsteler

Colonel
63 Badges
Nov 19, 2010
821
659
  • Victoria 2
  • Europa Universalis IV: Cradle of Civilization
  • Imperator: Rome Deluxe Edition
  • Crusader Kings II
  • Cities: Skylines
  • Stellaris
  • Crusader Kings III
  • Pride of Nations
  • Europa Universalis IV
  • Prison Architect
  • Hearts of Iron IV: Cadet
  • 500k Club
Did you add it to an on_action such as 00_yearly_country or 00_biyearly_country?
 
  • 1
Reactions:

SAS

15+ Years on the Forum
Demi Moderator
199 Badges
Jan 13, 2002
7.764
547
  • Diplomacy
  • Europa Universalis IV
  • Stellaris: Federations
  • Battle for Bosporus
  • Europa Universalis 4: Emperor
  • Empire of Sin
  • Stellaris: Necroids
  • 200k Club
  • 500k Club
  • Paradox Order
  • Hearts of Iron Anthology
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings II: Limited Collectors Edition
  • March of the Eagles
  • Europa Universalis: Rome Collectors Edition
  • Europa Universalis IV: Call to arms event
  • Hearts of Iron III Collection
  • Humble Paradox Bundle
  • Stellaris Sign-up
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Field Marshal
  • Tyranny: Gold Edition
  • Surviving Mars: Digital Deluxe Edition
  • Surviving Mars: First Colony Edition
  • Imperator: Rome Sign Up
  • Imperator: Rome Deluxe Edition
  • Age of Wonders: Planetfall Sign Up
  • Age of Wonders: Planetfall Premium edition
  • Age of Wonders: Planetfall Season pass
would I need that when the trigging conditions are in the event?

EDIT: That did it, THANKS!!!
 
Last edited:
  • 1Like
Reactions:

crownsteler

Colonel
63 Badges
Nov 19, 2010
821
659
  • Victoria 2
  • Europa Universalis IV: Cradle of Civilization
  • Imperator: Rome Deluxe Edition
  • Crusader Kings II
  • Cities: Skylines
  • Stellaris
  • Crusader Kings III
  • Pride of Nations
  • Europa Universalis IV
  • Prison Architect
  • Hearts of Iron IV: Cadet
  • 500k Club
The way I understand it: yes. The trigger is just there to check that at the moment of firing the proper conditions are met.

An event needs to be triggered by something, be it another event, a mission, an action, or an on_action.
 
  • 2
Reactions: