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

Contracts : add a payoff to contracts #18

Open
SThor opened this issue Oct 22, 2020 · 0 comments
Open

Contracts : add a payoff to contracts #18

SThor opened this issue Oct 22, 2020 · 0 comments

Comments

@SThor
Copy link
Owner

SThor commented Oct 22, 2020

Could be items, coins, allies ...

I see two ways of doing this:

  • the type and amount of payoff could be in the contract object, maybe a map of payoff if we want multiple different rewards
  • a payoff function could be in the contract object, allowing us to do pretty much whatever we want, and would be called on success.
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

1 participant