There's an event where one of a tribe's clan chiefs complains that no one in his family has a job. This event can fire even if some of the clan chief's family members *do* have jobs. I've had it fire while the chief has family members in the position of a naval commander or a tech advisor.
Here's the relevant part of the event (from 'internal_politics_tribe.txt', ID 3543):
Doesn't the 'NOT' argument actually return true only if none of the conditions within are met? If that's the case, that condition is actually a double negative - it will only let the event fire if a family member of the clan chief does not *not* have a job, just the opposite of the intended effect.
If I'm correct, simply changing the condition from 'has_job = no' to 'has_job = yes' should solve the problem.
Here's the relevant part of the event (from 'internal_politics_tribe.txt', ID 3543):
Code:
trigger = {
country = {
government = tribal
}
is_clan_chief = yes
NOT = {
any_family_member = {
has_job = no
}
}
}
Doesn't the 'NOT' argument actually return true only if none of the conditions within are met? If that's the case, that condition is actually a double negative - it will only let the event fire if a family member of the clan chief does not *not* have a job, just the opposite of the intended effect.
If I'm correct, simply changing the condition from 'has_job = no' to 'has_job = yes' should solve the problem.
Code:
trigger = {
country = {
government = tribal
}
is_clan_chief = yes
NOT = {
any_family_member = {
has_job = yes
}
}
}
Upvote
0