Describe the bug
I looked in the API and found a playMood function but calling it in Foundry doesn't work. The console says it's not a function and looking at the object in the console it's correct.
To Reproduce
Create a macro with the contents game.syrinscape.playMood(817702);
Look in the console and see this error
Expected behavior
Expecting to be able to call this function to play moods in addition to elements.
Screenshots
Details
OS: MacOS Monterey
Browser Chrome 98.17.1.18689
Foundry VTT version v9
Module version: 3.0.0
[ ] Does it work in Safety Mode (without other plugins enabled): No, still an issue.
Describe the bug I looked in the API and found a
playMood
function but calling it in Foundry doesn't work. The console says it's not a function and looking at the object in the console it's correct.To Reproduce
game.syrinscape.playMood(817702);
Expected behavior Expecting to be able to call this function to play moods in addition to elements.
Screenshots
Details
Additional Info: Here is the function I'm talking about: https://github.com/frondeus/fvtt-syrin-control/blob/master/src/syrin/services/api.ts#L94