I added:
to db/traits.txt,
to db/events/trait_events.txt,
to config/trait_names.csv, and
to extra_text.csv.
But... it doesn't work. I have no clue why. When I try to get into the game now, it tells me about an lhs error in province effects...
Code:
cheater = {
opinion_of = 5
opinion = { cheater = 5 }
attributes = { martial = 10 stewardship = 10 diplomacy = 10 intrigue = 10 fertility = 10 health = 10 }
}
Code:
character_event = { #Are you a cheater?
id = 8922
picture = "event_intrigue"
trigger = {
condition = { type = age value = 16 }
}
mean_time_to_happen = { months = 12000 }
action_a = { #I'm a cheater
ai_chance = 0
effect = { type = add_trait value = cheater }
}
action_b = { #I would never!
ai_chance = 100
}
}
Code:
TRAIT_NAME_CHEATER;Cheater;Cheater;Cheater;Cheater;Cheater;;;;;;X
TRAIT_DESC_CHEATER;This character channels power directly from the player.;This character channels power directly from the player.;This character channels power directly from the player.;This character channels power directly from the player.;This character channels power directly from the player.;;;;;;X
Code:
EVT_8922_NAME;Are you a cheater?;Are you a cheater?;Are you a cheater?;Are you a cheater?;Are you a cheater?;;;;;;;;;X
ACTIONNAME8922A;I'm a cheater.;I'm a cheater.;I'm a cheater.;I'm a cheater.;I'm a cheater.;;;;;;;;;X
ACTIONNAME8922B;I would never!;I would never!;I would never!;I would never!;I would never!;;;;;;;;;X
But... it doesn't work. I have no clue why. When I try to get into the game now, it tells me about an lhs error in province effects...