-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Traits are tags of information associated with characters in your game. They can represent physical attributes (hair color, physical build, tattoos), identity attributes (gender, race, ethnicity), group affiliation, personality traits, and more.
Social rules define preconditions for buffs/debuffs applied to one character's opinion of another. Social rules check for the presence or absence of specific traits and apply buffs/debuffs to opinion calculations.
Global rules are handled by a GlobalSocialRules
component. This is a singleton component that provides blanket rules that apply to all opinion calculations.
Social spaces are a combination of a SocialSpace
component and Unity trigger collider. Social spaces apply local rules to characters within the volume and remove them when characters exit. This is a cool way to show differences in social expectations. For example, characters might have greater opinions of students with a Popular
trait at school, but not care when both characters are outside of school.