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

Using Action-based to create repeatable reward only when the action is executed #299

Open
lanhoang712 opened this issue May 10, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@lanhoang712
Copy link

Hi @MarcCote we have a follow-up question on issue #296 . Is there a way to make the reward repeatable but only occur once with the action? The problem when I tested the "eat apple", "take apple" approach is that the reward keeps occurring as long as the apple is in the inventory (i.e. until "drop apple"). We want the quest to be repeatable so that the agent is rewarded with each time it takes the apple, but only with the action "take". Is there a way to do that?

@MarcCote
Copy link
Contributor

That's a good point. You are right that's an issue with the current system. There's a stale pull request implementing what you need (see #235). I'll try to spend some time next to finish it. I remember it being pretty close to completion.

@MarcCote MarcCote added the bug Something isn't working label May 13, 2022
@MarcCote MarcCote self-assigned this May 13, 2022
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
None yet
Development

No branches or pull requests

2 participants