bebraw
5/9/2010 - 8:31 AM

items.yaml

LivingRoom:
    description: # this can be seen when room is entered or via "look" command
        A cozy room with plasma TV and some stereo equipment.
    connections:
        up: Attic
        west: Kitchen
    items: (tv, stereos, )

Attic:
    description:
        There are some musty old tomes laying around. One of them looks particularly interesting.
    connections:
        down: LivingRoom
        up: Roof
    items: (tome, ) # tome refers to the tome at items

Roof:
    description:
        You can see the surrounding village. It appears there is no way back to the attic.
# in this case there is no connection to attic, game over?
tome:
    name: musty old tome # engine should handle perms (ie. musty tome, old tome, tome) on action
    description: A black, ominous looking dog-eared tome. # ie. "examine tome"
    actions:
        read: The tome contains vile descriptions of ancient rites. # ie. "read" after picking it up
    pickable: True # all items are static by default

tv:
    name: plasma tv
    description: 52 inch plasma tv.

stereos:
    name: stereos
    description: Black, rather bland looking piece of stereo equipment.
    actions:
        open: It seems the owner of the house likes jazz. Better turn that racket off.