sawyl: (Default)
[personal profile] sawyl
Following a suggestion from [livejournal.com profile] silvershooter, I've added locks and keys to my adventure game:

Front Entrance
You are standing on a path in front of a building. To your right is a large glass facade, through which you can see a canteen. You can also see a small ornamental lake and a keycard.
There is an exit leading west.
>>> look keycard
You are looking at a keycard. It is green with an unflattering photo on the front.
>>> take keycard
You put the keycard in your bag
>>> west
Reception
You are standing in a reception area. To your left, there are a couple of televisions displaying random images and a set of doors leading to a library. You can also see a small sofa, a cup full of dirty liquid and a security gate.
There are exits leading west, east and south.
>>> west
Your way west is blocked
>>> look gate
You are looking at a security gate. It appears to bar your way west.
>>> open gate with keycard
The card reader gives a beep. The gate in front of you swings slowly open.
>>> look gate
You are looking at a security gate. It stands wide open.
>>> west
The Street
You are standing in a large atrium. You can also see a small stream and a potted palm tree.
There are exits leading west and east.
>>>

Hopefully, the work that underlies this — a clean up of some of the data structures, a move to XML input files, etc. — should generalise, making it relatively painless to add in other actions. Which means that, with any luck, version 0.3 should allow for those twin staples of bureaucratic life: coffee drinking and Guardian reading.

Profile

sawyl: (Default)
sawyl

August 2018

S M T W T F S
   123 4
5 6 7 8910 11
12131415161718
192021222324 25
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 18th, 2025 09:08 pm
Powered by Dreamwidth Studios