Simple Adventure Game System

version 1 by Philip Black

  • Home page
  • Beginning
  • Previous
  • Next

  • Section - Drinking a Potion
    Instead of drinking a potion:
        move the noun to Hyperspace Chest;
        Say "[if craftmessage is true]You quaff [the noun], but nothing seems to happen....[end if]";
        now craftmessage is true;
        if there is a Potion Flask in Hyperspace Chest:
            now the second noun is a random Potion Flask in Hyperspace Chest;
            move the second noun to the player;
            let the new thing be a new object cloned from a random Potion Flask;
            move the new thing to the player;
        Say "[line break]You gain an empty Potion Flask.";