💾 Archived View for uscoffings.net › retro-computing › systems › AppleII › Archive › BCS%E2%80%A2Gam… captured on 2024-12-17 at 15:13:41.

View Raw

More Information

⬅️ Previous capture (2024-08-18)

-=-=-=-=-=-=-

(adventure sample 1)

(define welcome "Welcome to the sample adventure.\n")

@basic.adi

(actor adventurer
  (noun me)
  (property
    initial-location livingroom))

(actor dog
  (noun dog)
  (adjective small)
  (property
    description "There is a small dog here."
    short-description "a small dog"
    initial-location kitchen))

(actor cat
  (noun cat)
  (property
    description "There is a cat here."
    short-description "a cat"
    initial-location kitchen))

(location storage-room
  (property
    description "You are in a small storage room with many empty shelves.
                 The only exit is a door to the west."
    short-description "You are in the storage room."
    west hallway))

(location hallway
  (property
    description "You are in a long narrow hallway. There is a door to the
                 east into a small dark room.  There are also exits on both
                 the north and south ends of the hall."
    short-description "You are in the hallway."
    east storage-room
    north kitchen
    south livingroom))

(location kitchen
  (property
    description "This is a rather dusty kitchen.  There is a hallway to the
                 south and a pantry to the west."
    short-description "You are in the kitchen."
    south hallway
    west pantry))

(location pantry
  (property
    description "This is the kitchen pantry.  The kitchen is through a 
                 doorway to the east."
    short-description "You are in the pantry."
    east kitchen))

(location livingroom
  (property
    description "This appears to be the livingroom.  There is a hallway to
                 the north and a closet to the west."
    short-description "You are in the livingroom"
    north hallway
    west closet))

(location closet
  (property
    description "This is the livingroom closet.  The livingroom is through
                 a doorway to the east."
    short-description "You are in the closet."
    east livingroom))

(thing rusty-key
  (noun key)
  (adjective rusty)
  (property
    description "There is a rusty key here."
    short-description "a rusty key"
    initial-location storage-room))

(thing silver-key
  (noun key)
  (adjective small silver)
  (property
    description "There is a small silver key here."
    short-description "a small silver key"
    initial-location closet))