frondeus / fvtt-syrin-control

Syrinscape Online Control plugin for FoundryVTT
MIT License
15 stars 5 forks source link

API playMood is not a function #36

Closed Puddinglord closed 1 year ago

Puddinglord commented 2 years ago

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

  1. Create a macro with the contents game.syrinscape.playMood(817702);
  2. 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

image

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

frondeus commented 2 years ago

I just released new version of SyrinControl which adds playMood as well as the UI interface to generate macro.

https://github.com/frondeus/fvtt-syrin-control/releases/tag/0.4.0-alpha-1