• 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.

Cappuccino James

Cappuccino James, Leader of the Cappuccino Crew
74 Badges
Mar 20, 2015
32
4
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Jade Dragon
  • Tyranny - Tales from the Tiers
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Third Rome
  • Crusader Kings II: Reapers Due
  • Stellaris: Galaxy Edition
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
  • Europa Universalis IV: Call to arms event
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Nemesis
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Humanoids Species Pack
  • Tyranny: Archon Edition
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Europa Universalis IV
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
I'm writing a mod to add flavor to Monks and Mystics. One event i have only ever shows one option in game. Whichever option i list first in the code, is all that shows. Can someone look over my code and help me figure out the issue?

character_event = {
# Basic Incantation
id = UnholyPact.006
title = EVTTITLEUnholyPact.006
desc = EVTDESCUnholyPact.006
picture = GFX_evt_UP_Summoning_Circle
border = GFX_event_normal_frame_religion

is_triggered_only = yes

option = {
name = EVTOPTAUnholyPact.006 # Perform Incantation
trigger = {
has_society_currency_major_trigger = yes
any_child = {
NOT = { age = 16 }
is_ill = no
}
}
hidden_tooltip = {
random_list = {
90 = {
increase_visibility_effect = yes
detract_society_currency_major_effect = yes
set_character_flag = unholy_pact_incantation_false
random_child = {
limit = {
NOT = { age = 16 }
is_ill = no
}
random_list = {
20 = { death = { death_natural } }
10 = { death = { death_missing } }
10 = { death = { death_accident } }
10 = { death = { death_accident_bear } }
10 = { death = { death_accident_boar } }
10 = { death = { death_accident_drowning } }
10 = { death = { death_accident_arrow } }
10 = { death = { death_accident_fall } }
10 = { death = { death_accident_snakes } }
}
}
}
10 = {
modifier = {
factor = 0.5
learning = 5
}
modifier = {
factor = 2
learning = 10
}
modifier = {
factor = 2
learning = 20
}
modifier = {
factor = 2
learning = 30
}
modifier = {
factor = 2
trait = genius
}
modifier = {
factor = 0
trait = slow
}
increase_visibility_effect = yes
detract_society_currency_major_effect = yes
set_character_flag = unholy_pact_incantation
random_child = {
limit = {
NOT = { age = 16 }
is_ill = no
}
random_list = {
20 = { death = { death_natural } }
10 = { death = { death_missing } }
10 = { death = { death_accident } }
10 = { death = { death_accident_bear } }
10 = { death = { death_accident_boar } }
10 = { death = { death_accident_drowning } }
10 = { death = { death_accident_arrow } }
10 = { death = { death_accident_fall } }
10 = { death = { death_accident_snakes } }
}
}
}
}
}
}

option = {
name = EVTOPTBUnholyPact.006 # Perform Incantation (Not Enough Dark Power)
trigger = {
has_society_currency_major_trigger = no
}
#hidden_tooltip = { character_event = { id = UnholyPact.007 days = 90 } }
}

option = {
name = EVTOPTCUnholyPact.006 # Perform Incantation (No Children to Sacrifice)
trigger = {
has_society_currency_major_trigger = yes
NOT = {
any_child = {
NOT = { age = 16 }
is_ill = no
}
}
}
hidden_tooltip = {
increase_visibility_effect = yes
detract_society_currency_major_effect = yes
set_character_flag = unholy_pact_incantation_false
}
}

option = {
name = EVTOPTDUnholyPact.006 # Hold off Incantation
hidden_tooltip = {
set_character_flag = unholy_pact_postpone_incantation
}
}
}
 

Cappuccino James

Cappuccino James, Leader of the Cappuccino Crew
74 Badges
Mar 20, 2015
32
4
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Jade Dragon
  • Tyranny - Tales from the Tiers
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Third Rome
  • Crusader Kings II: Reapers Due
  • Stellaris: Galaxy Edition
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
  • Europa Universalis IV: Call to arms event
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Nemesis
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Humanoids Species Pack
  • Tyranny: Archon Edition
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Europa Universalis IV
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
Since posting this, I've noticed i was missing "death_reason" in the code. That has been fixed. The original issue with the options still persists. I would appreciate any help.
 

LordPeter

Marjoram
49 Badges
Mar 5, 2012
2.249
382
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Conclave
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Prison Architect
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris: Synthetic Dawn
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Imperator: Rome
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II
  • 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: Sunset Invasion
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Crusader Kings II: Sword of Islam
  • Stellaris
  • Europa Universalis IV: Third Rome
  • Cities: Skylines
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Cradle of Civilization
Good to hear you got it figured out already.
Just a reminder for next time: Use
Code:
code
formatting. That keeps indents and makes the event far more readable ;)