Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

all items need update methods #2

Open
bmarwell opened this issue Aug 13, 2018 · 0 comments
Open

all items need update methods #2

bmarwell opened this issue Aug 13, 2018 · 0 comments
Labels
help wanted Extra attention is needed To do Mark as "needs to be done next".
Milestone

Comments

@bmarwell
Copy link
Owner

bmarwell commented Aug 13, 2018

Todo:

Edit the file
https://github.com/bmhm/alttpr-vue-twitch-chat-tracker/blob/master/src/js/ItemUpdates.js

For every item, add a (for now static) method with it's item name.
If it's a two-state-item (on/off), call trackerItem.nextState().
Otherwise call setState(num), where 0=off, 1=1st image, 2=2nd image etc.

Edit the file https://github.com/bmhm/alttpr-vue-twitch-chat-tracker/blob/master/src/views/Tracker.vue
Create a update parameter for each item and add the reference as already done in bow and arrows and boomerang items.

That's it!

@bmarwell bmarwell added the help wanted Extra attention is needed label Aug 13, 2018
@bmarwell bmarwell added this to the 0.1.0 milestone Aug 18, 2018
bmarwell added a commit that referenced this issue Aug 18, 2018
@bmarwell bmarwell added the To do Mark as "needs to be done next". label Aug 18, 2018
bmarwell added a commit that referenced this issue Aug 26, 2018
bmarwell added a commit that referenced this issue Aug 26, 2018
bmarwell added a commit that referenced this issue Aug 26, 2018
bmarwell added a commit that referenced this issue Aug 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed To do Mark as "needs to be done next".
Projects
None yet
Development

No branches or pull requests

1 participant