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

Error: wrong return type #16

Closed
frasza opened this issue May 6, 2024 · 1 comment
Closed

Error: wrong return type #16

frasza opened this issue May 6, 2024 · 1 comment
Assignees

Comments

@frasza
Copy link

frasza commented May 6, 2024

Hello,

Recently I have started learning game dev and Godot, so I wanted to check out the addon but I am facing issue.
I am running Godot 4.2.2 and addon version 0.8.2, and whenever I try to test quests, even ones in Examples, I get error:

Trying to return an array of type "Array" where expected return type is "Array[Dictionary]".

image

@Chevifier
Copy link
Owner

Chevifier commented Jun 23, 2024

Sorry for the late update, Ive fixed this issue. I had code I was testing that I didn't remove from the main release. Its now fixed with update 0.8.3. The last 3 lines of add quest were for testing quests as class objects instead of dictionaries. Didn't get around to fully implementing it yet. But it will allow tracking quests to be easier using signals directly in each "Quest object step". As noted in #14

@Chevifier Chevifier self-assigned this Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants