Simple Adventure Game System

version 1 by Philip Black

  • Home page
  • Beginning
  • Previous
  • Next



  • Chapter: Using the System to Make an Adventure Game Style Object Puzzle
        
    Section: Stopping the Player From Combining & Doing Something Else
    Sometimes we might want to do something else instead of creating a new object. This script interrupts crafting when one of the objects used is cheese:
        Before Combining Objects:
            if the noun is a cheese or the second noun is a cheese:
                Say "You are about to use the cheese, but you suddenly remember you are terribly allergic!";
                reject the player's command;