Changes

3,109 bytes added ,  03:04, 15 September 2021
Line 55: Line 55:  
</syntaxhighlight>
 
</syntaxhighlight>
 
:::"uniqueIDForThisGame" changes each time when you return to the title (You can consider it as a random seed). Initial value of currentGemBirdIndex is 0. In every rainy day, the game selects a random int from <nowiki>[0,1,2,3]</nowiki> ("Utility.Shuffle" changes 2 random numbers' order, repeating 4 times). Each number matches one location. So the Gem Birds's location is random. What you came across looks like to be an coincidence. --<small>[[User:Horizon98|Horizon98]] ([[User talk:Horizon98|Discussion]])</small> 18:04, 13 September 2021 (UTC)
 
:::"uniqueIDForThisGame" changes each time when you return to the title (You can consider it as a random seed). Initial value of currentGemBirdIndex is 0. In every rainy day, the game selects a random int from <nowiki>[0,1,2,3]</nowiki> ("Utility.Shuffle" changes 2 random numbers' order, repeating 4 times). Each number matches one location. So the Gem Birds's location is random. What you came across looks like to be an coincidence. --<small>[[User:Horizon98|Horizon98]] ([[User talk:Horizon98|Discussion]])</small> 18:04, 13 September 2021 (UTC)
 +
 +
::::Thanks, Horizon, but I expect there is something amiss with your code interpretation. There's too much additional coincidence here for it to be otherwise.
 +
::::First, re "uniqueIDForThisGame": it's a seed, but not a random seed, and it a unique constant for your game. Its value does not change each time you "return to the title" (do you mean "load the game from the save file, from the game title display"?). This ID was generated once when your game was initiated (when you pressed "NEW" at the game title). On PC at least, that number is attached to the name of game's save file, as well as the file's folder. As far as each individual game is concerned, it is a constant.
 +
::::Note also that this entire code segment begins with a line that already knows what the weather is today. Whatever randomness produced that weather, it was done the previous game day, because that weather was saved in the most recent save file and was used the previous day in the TV's weather forecast.
 +
::::Yes, the shuffle itself is still random, but we still don't know if "order", the shuffle list, is saved somewhere. Every indicator I have seen indicates that it has. And, after, weather is randomly generated, but only once per day. Once generated it is fixed. That is what I see from the shuffle order.
 +
::::In fact, I now see fixed values that persist for the game. My current run has now encountered the fourth bird, completing the set. In fact, this is the second time I have gone through the set of four in this game. I just didn't actually go to Ginger Island the first time when the fourth bird appeared. (I have saved every day's files since the start of this game into an independent folder.) Upon restarting the fourth rainy day since unlocking Ginger Island, the fourth bird showed up. The following day showed that I had not saved the gem at the shrine. I certainly would have if I had gone to Ginger Island at all (I would not have forgotten), since the bird was on Island South, near the docks, an inevitable reminder.
 +
::::Every time I have reloaded a single game day from my saved files, the same bird appears. It has never failed, and there are too many repeats for there to be a credible argument that another random shuffle is done after loading. "Order" must be saved somewhere, somehow.
 +
::::It is even more fixed than that. The second run through a set of four birds was identical in order to the first run: same sequence by the same bird type yielding the same gem. A new bird or a new starting point was not chosen for each sequence of four. Once started, the remaining birds' sequence was not shuffled again either.
 +
:It is my conjecture, based on game behavior, that the gem bird shuffle is done once for all time for each individual game, at the first time the player visits Ginger Island on a rainy day. From that time on, the same sequence of four repeats forever on rainy days. If you miss one rainy day, you can catch the missed bird four rainy days later. I am going to add something about this to the article. [[User:Giles|Giles]] ([[User talk:Giles|talk]]) 03:04, 15 September 2021 (UTC)
650

edits