New Interaction Tokens
Interactions are great - the most fun I've ever had modding Dwarf Fortress. Therefore, I feel the inclination to throw out possible ideas to make them even better.
Here are some possible tokens I thought might be useful and (hopefully) pretty easy to implement...
Additional source tokens:
[IS_REQUIRED_AGE:arg1] creature cannot perform interaction until age specified. Only works in the presence of [I_SOURCE:CREATURE_ACTION].
[IS_SECRET_GOAL:ENTITY:arg1:POSITION:arg2] arguments are an entity name and a position token, target seeks position within entity.
[IS_SECRET_GOAL:VENGEANCE] target goes after the killer of a recently deceased friend or family member.
[IS_SECRET_GOAL:WEALTH] target sells secret for material possessions.
[IS_SECRET_GOAL:ANARCHY] target uses their secret to incite wars.
Additional target tokens:
[IT_REQUIRES:INJURED] interaction can only target a creature with an untreated wound.
[IT_REQUIRES:INFECTION] self explanatory
[IT_REQUIRES_SYNDROME_CLASS:arg1] same as IT_CANNOT_HAVE_SYNDROME_CLASS, but in reverse.
[IT_FORBIDDEN:INJURED]
[IT_FORBIDDEN:INFECTION]
Additional effect tokens:
[I_EFFECT:REMOVE_SYNDROME:arg1] argument is a SYN_CLASS, setting it to NONE removes all syndromes.
Additional CE add/remove tags:
FLIER
FIREIMMUNE
FIREIMMUNE_SUPER
WEBIMMUNE
FLEEQUICK
Other tokens:
[CDI_USAGE_HINT:ALLIES_ONLY]
[CDI_USAGE_HINT:SURROUNDED_BY_ENEMIES:arg1:arg2] argument 1 is a minimum number, argument 2 is a max distance
[CDI_USAGE_HINT:SURROUNDED_BY_ALLIES:arg1:arg2] argument 1 is a minimum number, argument 2 is a max distance
[CDI_USAGE_HINT:LAST_RESORT]
[CDI_USAGE_HINT:HIGH_HAPPINESS]
[CDI_USAGE_HINT:LOW_HAPPINESS]
[CDI_USAGE_HINT:NOT_IN_COMBAT]
[CE_SET_TAME_LEVEL:arg1] 0 = wild, 1 = tame. Allows for taming of creatures (or releasing them into the wild, lol elves) via interactions.