@^->beach|^#DEMO by Gabor de Mooij, problems: ZERO must be uppercase, there may never be more than one ZERO key @[misc]{_i}^->inventory @{_u}{_t}{_d}{OR}^:Please be more specific.. @{_n}{_s}{_w}{_e}{OR}^:You cannot go that way... @^<- @[inventory]^:You carry with you:|^#inventory implementation @^+ZERO @{key}^:a golden key. @{shovel}^:a rusty shovel. @{ZERO}^:nothing. @^<- @[beach]^:the beach. @^:;To the south is the deep blue sea, to the east is a forest and @^:;to the west is an abandoned lighthouse. @{DICE1}^:A gull is circling above the sea. @^? @{_w}{!key}^:The door of the lighthouse is locked. @{_w}{key}^->lighthouse @{_e}^:You wander to the forest.|^->forest @{_ushovelsand}{_dig}{_digshovel}{OR}{shovel}^:You dig up a key (Taken).|^+key @{;lighthouse}^:A lighthouse, made of white bricks. It looks desolated. @^->misc @^->beach @[forest]^:the forest. @^:;To the north is a wooden house, the door is ajar. @^:;To the west is a path leading down to the beach. @^? @{_w}{_beach}{OR}^->beach @{_n}{_uhouse}{OR}^->house @^->misc @^->forest @[house]^:in the wooden house. @^:;Here are a table, some chairs and a fireplace. @^:;To the south is an open door, leading to the forest. @{!chest_open}^:;In the corner lies a toolchest. @{chest_open}^:;In the corner lies an open toolchest. @{OCC11_25}^:On the table lies a christmas card. @^? @{;fireplace}^:Seems a long time ago since someone used that. @{;chair}^:A simple chair, made of wood. @{;table}^:Just a normal table. @{;toolchest}{;chest}{OR}{!chest_open}^:A big red toolchest. @{;toolchest}{;chest}{OR}{chest_open}{!shovel}^:An open chest with a shovel inside. @{;toolchest}{;chest}{OR}{chest_open}{shovel}^:An open chest, it's empty. @{_utoolchest}{_uchest}{OR}{chest_open}^:The toolchest is already open. @{_utoolchest}{_uchest}{OR}{!chest_open}^:Opening the chest reveals a shovel|^+chest_open @{_tshovel}{chest_open}{!shovel}^:You take the shovel out of the chest.|^+shovel @{_s}{_exit}{_quit}{OR}^:You leave the house.|^->forest @^->misc @^->house @[lighthouse]^:in the lighthouse (using the key to unlock the door) @^:well done! You finished this little demo. [PRESS ENTER TO QUIT] @^? @fin