Skip to content

Instantly share code, notes, and snippets.

@flags
Created July 3, 2013 00:08
Show Gist options
  • Save flags/5914415 to your computer and use it in GitHub Desktop.
Save flags/5914415 to your computer and use it in GitHub Desktop.
[TALK]
DESIRES_CONVERSATION_WITH:IS_SAME_RACE
CAN_TALK_TO:IS_SAME_RACE
[JUDGE]
TRUST:IS_SAME_RACE{TARGET.TRUST+5},IS_FAMILY{TARGET.TRUST+10},HAS_ATTACKED_TRUSTED{TARGET.DANGER+5}
FACTORS:IS_SAME_RACE
BREAK_TRUST:HAS_ATTACKED_TRUSTED{TARGET.DANGER+5}
[GROUP]
WANTS_GROUP_MEMBER:IS_FAMILY
[COMBAT]
#List of STAT functions to check before entering state
NEEDS:CAN_BITE,IS_HEALTHY
#What to use for this engagement. LIMB[arg] or WEAPON
#The bit inside the curly braces defines the type of combat: MELEE or RANGE
USE:LIMB[JAW]{MELEE}
#What target we engage (CLOSEST, HIGHEST, LOWEST)
ENGAGE:CLOSEST
#What we do to the target: KILL, MAIME
TARGET:KILL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment