constant none
         q.bird     # Hint queries must come ahead of the rest!
         q.grate
         q.snake
         q.maze
         q.plover
         q.witts
         q.oyster   # Last hint query
         q.hint     # Do you want this hint despite the cost?
         q.intro
         q.kill.dragon
         q.resurrect
         q.quit
#
# CONTEXT flag
#
flags variable
  prompted      # Player got prompted for input
#
# STATUS variable flags.
#
flags variable
  moved         # set by interpreter whenever we move
  light.here    # We have light!
  pls.clarify   # Support orphan processing!
  knives.noted  # Told him knives vanish
  oyster.noted  # Told him about oyster writing
#
# Object flags
#
flags object
  portable      # Object can be carried
  schizoid      # It's schozoid - in 2 places at once
  seen          # Object has been seen
  valued        # It's a treasure
  openable      # Can be open
  mortal        # Can be attacked
  readable      # Can be read
  freebie       # Does not count for inventory
  faked         # Faked in the repository (until made real by picking up)
  liquid        # It's a liquid!
#
# Define place flags.
#
flags place
  lit
  been.here
  h2o.here
  oil.here
  in.maze
  no.back
  no.pirate
#
# Define plant states.
#
state stunted
      grown
      gigantic
#
# Define lamp states.
#
state switched.off
      switched.on
#
# Define closure stages.
#
constant adventuring
         exits.barred
         in.repository
         victory!
#
# States of openable things.
#
state locked
      unlocked
#
# Bird states.

state freed
      caged
#
# Bear states.
#
state ferocious
      placid
      unchained
#
# Significant vase states.
#
state 1, on.pillow
         in.bits
#
# Dragon states.
state on.rug
      dead.body
#
# Bottle states.
#
state full.of.air
      full.of.water
      full.of.oil
#
# Troll states.
#
state will.be.back
      bought.off
      gone.for.good
      wants.treasure
#
# Door states.
#
state rusty
      oiled
#
# Batteries
#
state charged
      discharged
# 
#################################
