#include <adv.t>
#include <std.t>

startroom: room
  sdesc = "Outside cave"
  ldesc = "You're standing in the bright sunlight just
           outside of a large, dark, foreboding cave, which
           lies to the north. "
  north = cave
;

cave: room
  sdesc = "Cave"
  ldesc = "You're inside a dark and musty cave. Sunlight
           pours in from a passage to the south. "
  south = startroom
;

pedestal: surface, fixeditem
  sdesc = "pedestal"
  noun = 'pedestal'
  location = cave
;

goldSkull: item
  sdesc = "gold skull"
  noun = 'skull' 'head'
  adjective = 'gold'
  location = pedestal
  doTake( actor ) =
  {
    if ( self.location<>pedestal or smallRock.location=pedestal )
      pass doTake;
    else
    {
      "As you lift the skull, a volley of poisonous
       arrows is shot from the walls! You try to dodge
       the arrows, but they take you by surprise!";
      die();
    }
  }
;

smallRock: item
  sdesc = "small rock"
  noun = 'rock'
  adjective = 'small'
  location = cave
;
