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

ItemManager Class #27

Open
g0ldPRO opened this issue Jul 13, 2016 · 4 comments
Open

ItemManager Class #27

g0ldPRO opened this issue Jul 13, 2016 · 4 comments

Comments

@g0ldPRO
Copy link
Owner

g0ldPRO commented Jul 13, 2016

An ItemManager Class would be created in QuestManager. It may be global, I am not yet sure if there is a more elegant way to pass an object to every quest.
It should be called in:

  • Quest:pokemart() and buy the appropriate items
  • Quest:dialog() and list the available items
  • Quest:needPokemart() remembering what items the shop had the first time, calculating their cost considering our current money and amount of items needed
  • Quest:path() find all items on any map (modify the API of PROShine first to know their location)
@TaosGit
Copy link

TaosGit commented Jul 13, 2016

I do not understand the Quest:path() one.
By creating a quest, we can already do that. (Rympex does it perfectly with berries and hidden items)

@g0ldPRO
Copy link
Owner Author

g0ldPRO commented Jul 13, 2016

Rympex does it manually. He checks the position of every item and write the conditions for each of them.
I would like the script to get the positions of those items from the API then iterate on each of them and pick them up.

@TaosGit
Copy link

TaosGit commented Jul 13, 2016

Automatically ? Without needed to get the coordinates on each maps?

@g0ldPRO
Copy link
Owner Author

g0ldPRO commented Jul 13, 2016

That's the idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants