I have a character generation screen that plucks a surname from an array in my StoryInit. The aim was to prevent the surname from recurring later in the game (so that randomly generated NPCs aren't generated with the same surname, for instance).
<<set $pcSurname to setup.surnames.pluck()>>
However, the player can click through several surname options in one session (if he were generating multiple characters). I've just realised that the game will be plucking surnames as it goes, leading potentially to a greatly diminished (or empty) name list for the remainder of the game.
This is obviously sub-optimal. Is there a way to have the game pluck the chosen surname on the next passage, i.e. on commit rather than on generation?