Dynamic Descriptions Example Eight

A player's description

       Continents Main page        Table of Contents        Table of Examples        Previous Example        Next Example


An ogre's description might be:

    #D[{race} == {race.ogre}] Ogreon is a friendly, soft, fluffy, sweet smelling
          one of your countrymen, who will help you whenever there is trouble. |
      [{size} < {size.ogre}] A large threatening ogre appears ready to eat you. |
      [{size} > {size.ogre}] An ogre gets out of your way so that you don't step on him. |

Looking at Ogreon you would see (if you were an ogre):

Ogreon is a friendly, soft, fluffy, sweet smelling one of your countrymen, who will help you whenever there is trouble. But if you were a smaller race:
A large threatening ogre appears ready to eat you. And if you were larger:
An ogre gets out of your way so that you don't step on him.

       Continents Main page        Table of Contents        Table of Examples        Previous Example        Next Example