I am editing charevents 1160 and 1161 and want to change the default dialogue box contents for the event from 'Indulge the impulse, resist the impulse etc' to my own text.
Reading the event script:
Where the text is commented out with the hash is what I want to actually appear in the diologue not 'Indulge the Impulse'.
I can't find anywhere in the script the variables for the dialogue box contents - anyone tell me where to find them? Are they in another file?
Reading the event script:
#####################################
# A pretty wench catches your eyes #
#####################################
character_event = {
id = 1160
picture = "event_intrigue2"
trigger = {
condition = { type = ruler }
condition = { type = gender value = male }
condition = { type = age value = 16 }
condition = { type = not value = { type = age value = 80 } }
condition = { type = not value = { type = trait value = chaste } }
condition = { type = not value = { type = trait value = celibate } }
}
mean_time_to_happen = {
months = 360
modifier = {
condition = { type = trait value = depression }
factor = 2
}
modifier = {
condition = { type = trait value = detached_priest }
factor = 1.5
}
modifier = {
condition = { type = trait value = energetic }
factor = 0.8
}
modifier = {
condition = { type = trait value = illness }
factor = 0.8
}
modifier = {
condition = { type = trait value = indulgent }
factor = 0.6
}
modifier = {
condition = { type = trait value = lustful }
factor = 0.4
}
modifier = {
condition = { type = trait value = mastermind_theologian }
factor = 3
}
modifier = {
condition = { type = trait value = modest }
factor = 1.2
}
modifier = {
condition = { type = trait value = plagueinfested}
factor = 10
}
modifier = {
condition = { type = trait value = pneumonia }
factor = 5
}
modifier = {
condition = { type = trait value = scholarly_theologian }
factor = 2
}
modifier = {
condition = { type = trait value = temperate }
factor = 1.5
}
modifier = {
condition = { type = trait value = zealous }
factor = 2
}
modifier = {
condition = { type = any_friend condition = { type = gender value = female } } # Has lover already
factor = 2.0
}
modifier = {
condition = { type = spouse condition = { type = is_rival } } # Marital problems
factor = 0.5
}
}
action_a = {#It is my right!
ai_chance = 25
effect = { type = create_courtier value = bastard }
effect = {
type = random
chance = 25
effect = {
type = add_trait
value = lustful
}
}
}
action_b = {#It is a sin, but then life is short ..
ai_chance = 25
effect = {
type = random
chance = 10
effect = {
type = add_trait
value = reckless
}
}
}
action_c = {#What do priests know of love?
ai_chance = 25
effect = {
type = random
chance = 10
effect = {
type = add_trait
value = indulgent
}
}
}
action_d = {#I pledge myself to celibacy!
ai_chance = 25
effect = { type = piety value = 500 }
effect = {
type = random
chance = 25
effect = {
type = add_trait
value = celibate
}
}
}
}
Where the text is commented out with the hash is what I want to actually appear in the diologue not 'Indulge the Impulse'.
I can't find anywhere in the script the variables for the dialogue box contents - anyone tell me where to find them? Are they in another file?