N3OW/common/scripted_triggers/00_personality_trait_triggers.txt

192 lines
4.7 KiB
Text

##########################################################################################################################
#
# These triggers all check for character flags which can be applied by the effects in '00_personality_trait_effects.txt'
# Used to determine if those effects successfully ran, and if they are still valid.
personality_has_any_trait_flag_trigger = {
OR = {
scope:has_opposing_trait = flag:arrogant
scope:has_opposing_trait = flag:humble
scope:has_opposing_trait = flag:lustful
scope:has_opposing_trait = flag:chaste
scope:has_opposing_trait = flag:gregarious
scope:has_opposing_trait = flag:shy
scope:has_opposing_trait = flag:generous
scope:has_opposing_trait = flag:greedy
scope:has_opposing_trait = flag:ambitious
scope:has_opposing_trait = flag:content
scope:has_opposing_trait = flag:impatient
scope:has_opposing_trait = flag:patient
scope:has_opposing_trait = flag:temperate
scope:has_opposing_trait = flag:gluttonous
scope:has_opposing_trait = flag:diligent
scope:has_opposing_trait = flag:lazy
scope:has_opposing_trait = flag:wrathful
scope:has_opposing_trait = flag:calm
scope:has_opposing_trait = flag:deceitful
scope:has_opposing_trait = flag:honest
scope:has_opposing_trait = flag:craven
scope:has_opposing_trait = flag:brave
scope:has_opposing_trait = flag:arbitrary
scope:has_opposing_trait = flag:just
scope:has_opposing_trait = flag:cynical
scope:has_opposing_trait = flag:zealous
scope:has_opposing_trait = flag:paranoid
scope:has_opposing_trait = flag:trusting
scope:has_opposing_trait = flag:compassionate
scope:has_opposing_trait = flag:callous
scope:has_opposing_trait = flag:sadistic
scope:has_opposing_trait = flag:forgiving
scope:has_opposing_trait = flag:vengeful
scope:has_opposing_trait = flag:stubborn
scope:has_opposing_trait = flag:fickle
}
}
#Checks if we can safely run the
personality_can_trait_shift = {
OR = {
AND = {
scope:has_opposing_trait = flag:arrogant
has_trait = arrogant
}
AND = {
scope:has_opposing_trait = flag:humble
has_trait = humble
}
AND = {
scope:has_opposing_trait = flag:lustful
has_trait = lustful
}
AND = {
scope:has_opposing_trait = flag:chaste
has_trait = chaste
}
AND = {
scope:has_opposing_trait = flag:gregarious
has_trait = gregarious
}
AND = {
scope:has_opposing_trait = flag:shy
has_trait = shy
}
AND = {
scope:has_opposing_trait = flag:generous
has_trait = generous
}
AND = {
scope:has_opposing_trait = flag:greedy
has_trait = greedy
}
AND = {
scope:has_opposing_trait = flag:ambitious
has_trait = ambitious
}
AND = {
scope:has_opposing_trait = flag:content
has_trait = content
}
AND = {
scope:has_opposing_trait = flag:impatient
has_trait = impatient
}
AND = {
scope:has_opposing_trait = flag:patient
has_trait = patient
}
AND = {
scope:has_opposing_trait = flag:temperate
has_trait = temperate
}
AND = {
scope:has_opposing_trait = flag:gluttonous
has_trait = gluttonous
}
AND = {
scope:has_opposing_trait = flag:diligent
has_trait = diligent
}
AND = {
scope:has_opposing_trait = flag:lazy
has_trait = lazy
}
AND = {
scope:has_opposing_trait = flag:wrathful
has_trait = wrathful
}
AND = {
scope:has_opposing_trait = flag:calm
has_trait = calm
}
AND = {
scope:has_opposing_trait = flag:deceitful
has_trait = deceitful
}
AND = {
scope:has_opposing_trait = flag:honest
has_trait = honest
}
AND = {
scope:has_opposing_trait = flag:craven
has_trait = craven
}
AND = {
scope:has_opposing_trait = flag:brave
has_trait = brave
}
AND = {
scope:has_opposing_trait = flag:arbitrary
has_trait = arbitrary
}
AND = {
scope:has_opposing_trait = flag:just
has_trait = just
}
AND = {
scope:has_opposing_trait = flag:cynical
has_trait = cynical
}
AND = {
scope:has_opposing_trait = flag:zealous
has_trait = zealous
}
AND = {
scope:has_opposing_trait = flag:paranoid
has_trait = paranoid
}
AND = {
scope:has_opposing_trait = flag:trusting
has_trait = trusting
}
AND = {
scope:has_opposing_trait = flag:compassionate
has_trait = compassionate
}
AND = {
scope:has_opposing_trait = flag:callous
has_trait = callous
}
AND = {
scope:has_opposing_trait = flag:sadistic
has_trait = sadistic
}
AND = {
scope:has_opposing_trait = flag:forgiving
has_trait = forgiving
}
AND = {
scope:has_opposing_trait = flag:vengeful
has_trait = vengeful
}
AND = {
scope:has_opposing_trait = flag:stubborn
has_trait = stubborn
}
AND = {
scope:has_opposing_trait = flag:fickle
has_trait = fickle
}
}
}