Let's play Zork + Colossal Cave Adventure

As it turns out, giving a treasure to the thief evidently is intended to have a special effect—it just doesn’t work. There is code in the game to temporarily reduce the thief’s battle strength (making the thief’s attacks less effective and the player’s attacks more effective) when you give him a treasure. It’s in the “the thief is taken aback by your unexpected generosity” code path. But due to a bug, or oversight, it doesn’t work as intended. See:

We’re going to be looking at this in some detail soon, when we get to the source code episodes. It was a big surprise to me to find that the thief in Zork teleports through rooms in a fixed order—I was convinced, while playing, that he had to use the same passages that were available to the player. On the other hand, in Adventure, the pirate is a special case of the dwarves, and uses much the same logic. The pirate/dwarf movement uses the ordinary cave passages, and is essentially a random walk with some restrictions (like never returning to the room they just came from, unless there is no other option). If you want a sneak preview of the dwarf/pirate logic, see §§159–176 (“Dwarf stuff”) in the source code.

1 Like