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

Suggestion - Show fungal shifts past the first 20 #395

Open
Exerlin opened this issue Sep 21, 2024 · 5 comments
Open

Suggestion - Show fungal shifts past the first 20 #395

Exerlin opened this issue Sep 21, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@Exerlin
Copy link

Exerlin commented Sep 21, 2024

Is your feature request related to a problem? Please describe.
You can only successfully fungal shift in a world 20 times. This does not include shifts that are skipped by trying to shift a material into itself. Noitool only shows the first 20 shifts for any given seed, so if any shifts are skipped, you will not have information about your last shifts.

Describe the solution you'd like
I would like to be able to see shifts past the initial 20. A red line underneath the 20th shift would be useful so that you wouldn't have to count 20 shifts manually, and a button below that red line to "view additional shift" would help avoid adding more clutter to the webpage.

Describe alternatives you've considered
Any way to view more fungal shifts would work. Adding an option in the settings to set the number of fungal shifts shown would be great too. A little + button at the bottom of the shifts list that adds 1 more shift to the list would also be great.

Additional context
There is a lot of fun to be had via precise fungal shifting, and this additional knowledge would allow for MUCH more fungal shenanigans!

@Exerlin Exerlin added the enhancement New feature or request label Sep 21, 2024
@TwoAbove
Copy link
Owner

Hey! I don't think that we can go over 20 fungal shifts? If I remember correctly, you can only have up to 20 fungal shifts in a given game.

If you look at data/scripts/magic/fungal_shift.lua:131, it's capped at 20. And the fungal logic in noitool src/services/SeedInfo/infoHandler/InfoProviders/FungalShift/fungal.cpp also does the same thing.

@Exerlin
Copy link
Author

Exerlin commented Sep 22, 2024

You can't perform more than 20 fungal shifts, but you can skip a shift on the table by trying to shift a material into itself. This triggers the next shift and only counts as 1 shift. It is only 1 of the possible 20 shifts the player can perform, but it is 2 of the listed shifts on Noitool. After skipping a shift and shifting 18 more times, you will still be able to shift 1 more time, but you would have reached the bottom of the list on Noitool. I have done it before, and it is a little frustrating.

I can't find data/scripts/magic/fungal_shift.lua:131. I'm not much of a dev, I just play the game, sorry.

@Exerlin
Copy link
Author

Exerlin commented Sep 23, 2024

I did test this a while ago, and I decided to try to reproduce my results today. However, trying to shift Lava into Lava resulted in Blood turning into Silver. It didn't skip it, and the next 2 shifts proceeded as normal. I'm thrown off as this goes against what I know and observed several months ago, even more so since Blood -> Silver is not listed on the seed's shift chart at all! I think this is a much more complicated issue than I thought it was when I made this suggestion.

Seed: 1816098421

@TwoAbove
Copy link
Owner

Oh, I see what you mean now! Thanks for explaining that.

Okay, so here's my idea for tackling this:

We can look for cases where the shift would result in the same material. For each of these instances, we'll add a new row. It's a finite number of extra rows, so it shouldn't get out of hand.

Sure, there might be some edge case where you end up with a bunch of these self-shifting scenarios, but in normal circumstances, it shouldn't add too many rows.

I'll experiment with how I can approach this.

This is great, thanks!

@TwoAbove
Copy link
Owner

Ah, thanks for testing. I'll test myself to see what happens after the 20 shifts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants