/*
 * Sample adventure game room generator:
 */
dungroom: {A $size $shape $room $type1.
$exits.
$objects.}
;

size: {large}
    | {small}
    | {tall}
    | {low ceilinged}
    ;
shape: {rectangular}
     | {round}
	 | {square}
	 | {diamond shaped}
	 | {octagonal}
	 | {irregularly shaped}
	 ;
room: {room}
    | {entrance hall}
	| {cave}
	| {place}
	;

type1: {which smells like bats}
     | {which is very dingy and dirty}
	 | {covered thickly in dust}
	 | {faced with brick}
	 | {richly panelled in mahoganey}
	 ;

exits: {there are doorways to the $south, $eastwest, and $north}
     | {there is a single doorway to the $direction}
	 | {there are exits to the $eastwest and $south}
	 | {there is a door to the $direction and a trap door in the floor}
	 ;

south: {south}
     | {south east}
	 | {south west}
	 ;

eastwest: {east}
	 | {west}
	 ;

north: {north}
     | {north east}
	 | {north west}
	 ;

direction: {$south}
     | {$eastwest}
	 | {$north}
	 ;

objects: {There is a $treasure here}
       | {There is a $monster here}
       | {There is a $treasure here}
	   | {$objects
$objects}
	   | {There is $furniture here}
       | {There is a $monster here}
	   | {$objects.
$objects}
	   | {There is $furniture here}
	   ;

treasure: {golden chalice}
        | {silver dagger}
		| {silver candlestick}
		| {large ruby}
		| {small emerald}
		| {blue-white diamond}
		;

monster: {pair of orcs}
       | {troll}
	   | {giant bat}
	   | {dozen evil slinking rats}
	   | {mosquitoe the size of a hummingbird}
	   ;

furniture: {a broken chair}
         | {an empty wooden chest}
		 | {a straw mattress}
		 | {a pile of clothing}
		 | {a rubber band}
		 ;
