REACTION <mob> <id> TRIGGER <trigger> [<parameters>]
- Modify the triggering action of one of the denizens's existing reactions.
- Parameters allow you trigger the reaction based on more specific instances
of the trigger.
- Parameters are context-specific to certain triggers:
- Adding a phrase or word as a parameter to a "say" or "tell" trigger
will cause the reaction to only fire if the phrase appears in the text
that the denizen hears.
- Adding a phrase or word as a parameter to an "emote" or "emote_seen"
trigger will cause the reaction to only fire if the word or phrase
matches the emote the mob has seen.
- Adding an item or list of items as a parameter to a "give" trigger will
cause the reaction to only fire if the item being given matches any of
the items in the list. Using numeric entries as parameters will ensure
that the reaction will only fire on those specific items.
Comments
I've never gotten that to work, myself.
Site: https://github.com/trevize-achaea/scripts/releases
Thread: http://forums.achaea.com/discussion/4064/trevizes-scripts
Latest update: 9/26/2015 better character name handling in GoldTracker, separation of script and settings, addition of gold report and gold distribute aliases.
This worked fine:
reaction steward 147 trigger give bloodroot irid valerian
reaction steward 147 action emote smiles
This did not work:
reaction steward 147 trigger give bloodroot irid valerian
reaction steward 147 action emote smiles at $(item)
After further testing, drop also doesn't show right:
Site: https://github.com/trevize-achaea/scripts/releases
Thread: http://forums.achaea.com/discussion/4064/trevizes-scripts
Latest update: 9/26/2015 better character name handling in GoldTracker, separation of script and settings, addition of gold report and gold distribute aliases.
reaction steward 147 trigger give plant
reaction steward 147 action emote smiles
works perfectly fine. So I imagine 'food' would if it's a keyword you can use for the item? Or if not, bowl plate platter etc.
Site: https://github.com/trevize-achaea/scripts/releases
Thread: http://forums.achaea.com/discussion/4064/trevizes-scripts
Latest update: 9/26/2015 better character name handling in GoldTracker, separation of script and settings, addition of gold report and gold distribute aliases.
reaction emeric 148 action return blinks as he studies $(item)
This would essentially accomplish what you want, since the denizen would return your item but it would not actually show him or her doing so. The real problem is that it does not seem to recognize general words like 'food' or 'mineral' or the like.
And you won't understand the cause of your grief...
...But you'll always follow the voices beneath.