Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API playMood is not a function #36

Closed
1 of 2 tasks
Puddinglord opened this issue Apr 19, 2022 · 1 comment
Closed
1 of 2 tasks

API playMood is not a function #36

Puddinglord opened this issue Apr 19, 2022 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@Puddinglord
Copy link

Puddinglord commented Apr 19, 2022

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

@Puddinglord Puddinglord added the bug Something isn't working label Apr 19, 2022
@frondeus frondeus moved this to In Progress in Syrin Control Aug 8, 2022
@frondeus
Copy link
Owner

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

@frondeus frondeus added this to the 0.4.0 milestone Aug 24, 2022
@frondeus frondeus moved this from In Progress to Done in Syrin Control Jan 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants