Skip to content
Discussion options

You must be logged in to vote

Hello.

Many ways to handle it. One way...

Make a list attribute for gardensymbols when play begins and clone the displayverbs list attribute to avoid errors later:

// Add to game.start
gardensymbols.options = Split("Blue symbol;Yellow symbol;Green symbol;Red symbol;Orange symbol", ";")
// Clone the gardensymbols displayverbs attribute, to make it safe to add/remove during play
gardensymbols.displayverbs = ListExclude(gardensymbols.displayverbs, "")

Then have the script you posted behave like this:

ShowMenu ("Which symbol do you want to put up?", gardensymbols.options, true) {
  switch (result) {
    case ("Blue symbol") {
      // Remove this option from the options list
      gardensymbols.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Dissentrix
Comment options

@KVonGit
Comment options

KVonGit Jul 23, 2025
Collaborator

@Dissentrix
Comment options

@Dissentrix
Comment options

Answer selected by Dissentrix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants