Is there a way to check for a specific mood entry?

zarqon

Well-known member
Before making a feature request I thought I'd ask whether the capability I'm seeking may already exist.

I have a script that relies on Mercenary Mood being active in order to operate properly. I would like to ensure that it's enabled in the current mood without resorting to the high-handed solution of unconditionally adding MM into the user's current mood before continuing. But I can't seem to find a way to determine the contents of the user's current mood. Does such a thing exist?

The CLI command "trigger list" does what I want but the results are inaccessible. It seems there are no preferences or ASH functions available for such things. I also tried file_to_map() with zarqon_moods.txt, but had no success. Is there something I'm missing?
 
Top