nroutasuo / level13

Incremental browser text adventure
Apache License 2.0
213 stars 71 forks source link

Question Mark Button Selects a block on level 13 when used on level 0 #311

Open Lexden12 opened 5 months ago

Lexden12 commented 5 months ago

Game version v0.5.2

Browser Firefox

Description When looking at the level 0 map, clicking the question mark button to select unscouted blocks causes the game to select a block that is on a completely different level. I am certain this is on a different level because block 2W13N does not exist on this level and the distance of 185 blocks (and all the other stats) actually match the block 2W13N on level 13. (See image below). This question mark button works fine on all other levels I have seen. Clicking the button on level one goes straight to 2W13N on level 13 and does not switch to a different block no matter how many times I click on it. This is especially odd since I have already fully scouted level 13. Since I am in camp at level 1, all the blocks of level 0 are within 30 blocks or less of my current position, so this is why 185 blocks is especially obviously wrong.

image

Lexden12 commented 5 months ago

Update: now the exclamation mark button and the ingredients (four dots) button are both exhibiting the same behavior. The exclamation button selects the same 2W13N block on level 13 and the ingredients button is selecting all the blocks with ingredients on level 13. I believe the '?' and '!' are selecting 2W13N because this is the most northwestern block on my level 13 map.

nroutasuo commented 5 months ago

Thank you for reporting this! Could you share your save? Or if you don't have it anymore, world seed would help too.

Lexden12 commented 5 months ago

Unfortunately, I have already fully explored level 0 now, so the only button I have left is the four dots ingredients button. This button is still improperly selecting level 13 blocks though, so here is the save: level13-save.txt

Thank you for the response and thank you for so much work on this great game!

nroutasuo commented 5 months ago

Thank you, I was able to reproduce the issue with the help of that save so I will fix it for the next version. I'm glad you're enjoying the game!