ld25 — 10 of 12

mrwonko

Release 1

Section 4 - The Computer

The Shop is south of the Town Center.

The description is "A simple shop carrying various things. The exit to the town center is to the north."

The Golden Lighter is in the shop.

After taking the Golden Lighter for the first time, say "When the Clerk isn't looking you stealthily snatch the Golden Lighter."

The Clerk is a man. He is in the shop.

Instead of burning the Clerk:

say "The Clerk resists your attempts to burn him."

The Computer is a device. It is in the Shop.

The description of the Computer is "An ancient-looking grey computer with blinking lights and a big power button. It appears to be capable of video calls though, and through some black magic it even has a permanent Internet connection."

The Computer can be powered. The computer is not powered.

Some blinking lights are a part of the computer. The description of the blinking lights is "Their blinking is fascinating." The power button is a part of the computer. "A big round button for turning the computer on and off." The power button is a button.

A power cord is part of the computer. The Power Cord can be plugged in. It is not plugged in.

Instead of pushing the Power Button:

if the computer is switched on:

try switching off the computer;

else:

try switching on the computer.

Check Switching On the Computer:

unless the Computer is powered:

say "It has no power." instead.

[TODO: computer power]

[TODO: clerk logic (if computer is missing, attacks the player if he stays for more than 1 turn)]

[TODO: using the computer (if not at home or no cat or no rocket in space yet: refuse)]