:::::Apart from "uniqueIDForThisGame", the game also saves "currentGemBirdIndex" in the save file and can loaded it from the file. The point is that the game executes the codes that I posted once in each rainy day. But the function Utility.Shuffle ouputs the same list when the seed "uniqueIDForThisGame" and imported list keep same. And the "currentGemBirdIndex" = ("currentGemBirdIndex" +1)%4 which means the index circulated in <nowiki>[0,1,2,3]</nowiki>. | :::::Apart from "uniqueIDForThisGame", the game also saves "currentGemBirdIndex" in the save file and can loaded it from the file. The point is that the game executes the codes that I posted once in each rainy day. But the function Utility.Shuffle ouputs the same list when the seed "uniqueIDForThisGame" and imported list keep same. And the "currentGemBirdIndex" = ("currentGemBirdIndex" +1)%4 which means the index circulated in <nowiki>[0,1,2,3]</nowiki>. |