• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

unmerged(739)

General
Jan 20, 2001
2.482
0
Visit site
# Bohemian Reacquisition of Moravia #

event = {
id = xxx
trigger = {
not = exists = xxx } # Moravia #
owned = {
province = 315
data = -1
}
random = no
country = boh
name = "EVENTNAMExxx"
desc = "EVENTHISTxxx"
style = 1

date = { day = 1 month = january year = 1031 } # only until actual date found #
offset = 30
deathdate = { day = 1 month = january year = 1247 }

action_a ={ # Incorporate Moravia into Bohemia #
name = "Incorporate the Moravians fully! "
command = { type = addcore which = 315 }
command = { type = stability value = -1 }
command = { type = domestic which = CENTRALIZATION value = 1 }
}
action_b ={ # Leave Moravia be #
name = "Do not incorporate the Moravians…"
command = { type = relation which = xxx value = 100 }
command = { type = stability value = 1 }
}
}

____________________________________________________
____________________________________________________


Is this event right? (Mongolian Empire people if we start this early we can use it)
 

unmerged(5110)

Field Marshal
Jul 29, 2001
4.432
0
tse.dyndns.org
it looks alright...

the coding seems fine, but if this is an event for bohemia only, wouldn't it make more sense to put a

country = BOH (or whatever the three-letter tag for Bohemia is)

at the top, instead of making the event open to just any country?

but other than that, thumbs up!! lookin good so far!
 

unmerged(739)

General
Jan 20, 2001
2.482
0
Visit site
Code:
# Bohemian Reacquisition of Moravia # 

event = { 
id = xxx 
trigger = { 
not = exists = xxx } # Moravia # 
owned = { 
province = 315 
data = -1 
} 
random = no 
country = boh 
name = "EVENTNAMExxx" 
desc = "EVENTHISTxxx" 
style = 1 

date = { day = 1 month = january year = 1031 } # only until actual date found # 
offset = 30 
deathdate = { day = 1 month = january year = 1247 } 

action_a ={ # Incorporate Moravia into Bohemia # 
name = "Incorporate the Moravians fully! " 
command = { type = addcore which = 315 } 
command = { type = stability value = -1 } 
command = { type = domestic which = CENTRALIZATION value = 1 } 
} 
action_b ={ # Leave Moravia be # 
name = "Do not incorporate the Moravians…" 
command = { type = stability value = 1 } 
} 
}

I made a few changes to the event. This one makes more sense.
 
Last edited:

Havard

Dark Power
49 Badges
Jun 28, 2001
15.686
170
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Cities: Skylines - Natural Disasters
  • Crusader Kings II: Monks and Mystics
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Cities: Skylines Industries
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Cities: Skylines - Campus
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Res Publica
  • 500k Club
  • Cities: Skylines
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
The trigger is still wrong.

Change:
Code:
[color=silver]   trigger = { 
      not = exists = xxx } # Moravia # 
      owned = { 
      province = 315 
      data = -1 
   }[/color]
into:
Code:
[color=silver]   trigger = { 
      not = [/color][color=red]{ [/color][color=silver]exists = xxx } # Moravia # 
      owned = { 
         province = 315 
         data = -1 
[/color][color=red]      }[/color][color=silver]
   }[/color]
 

unmerged(739)

General
Jan 20, 2001
2.482
0
Visit site
Code:
# Bohemian Reacquisition of Moravia # 

event = { 
id = xxx 
trigger = { 
not = { exists = xxx } # Moravia # 
owned = { 
province = 315 
data = -1
} 
} 
random = no 
country = BOH 
name = "EVENTNAMExxx" 
desc = "EVENTHISTxxx" 
style = 1 

date = { day = 1 month = january year = 1031 } # only until actual date found # 
offset = 30 
deathdate = { day = 1 month = january year = 1247 } 

action_a ={ # Incorporate Moravia into Bohemia # 
name = "Incorporate the Moravians fully! " 
command = { type = addcore which = 315 } 
command = { type = stability value = -1 } 
command = { type = domestic which = CENTRALIZATION value = 1 } 
} 
action_b ={ # Leave Moravia be # 
name = "Do not incorporate the Moravians…" 
command = { type = stability value = 1 } 
} 
}

-------------------------------------------------

Like this?
 
Last edited: