I know it might be coincidence.
On the other hand, when you programme a game, you need to check things that otherwise should happen randomly. So, chances are high there is a "switch" to spawn collectibles implemented.
In the huge pc games, programmers implemented consoles with their own commands to check & test the game (later on, those are the cheat codes in the game

)
That just makes me think....