rslifka / vault-zero

Documentation and Issues for the Vault Zero iPad/Apple Silicon app
https://www.vaultzero.app/
MIT License
2 stars 0 forks source link

Add Lost Sector rewards #7

Closed tednaleid closed 8 months ago

tednaleid commented 1 year ago

One of the main reasons I look at the daily lost sector is to see what slot is dropping today (arms, chest, head, legs).

Currently, the UI does not display the reward for lost sectors. It would be nice if the reward slot was listed on the detailed UI for legend/master lost sectors, something like this:

cleanshot_2023-04-12_at_16 18 33

Unfortunately, it does not look like this is available in the JSON for the lost sector activity. It has all rewards listed, not just the slot available today. There is also not a separate field that determines which reward is active as far as I can tell.

cleanshot_2023-04-12_at_16 19 52

After talking with Slif, it turns out that the lost sector code for today is already a hard-coded rotator list: screenshot_2023-04-12_at_2 31 38_pm_720

One idea would be to enhance this rotator list code to have some sort of enum/list for the reward that'll rotate through [arms, chest, head, legs] and uses the same rotationStart variables in the image above. The number of days "today" is offset from the rotationStart modulus 4 should pick the right reward.

This rotation order is documented on the todayindestiny site (where they likely have a similar hard-coded list): https://www.todayindestiny.com/ls_calendar cleanshot_2023-04-12_at_16 34 42

rslifka commented 10 months ago

This is currently only partially implemented. The legendary weapon rewards have been added as of https://github.com/rslifka/reckoner-app/commit/543a0e1ec156126b7d842b143f6acca324192e5f

rslifka commented 8 months ago

It only took a year, sorry Ted 😄