Scroll Thief — 56 of 138

Daniel M. Stelzer

Release 2

Section D - Forgetting Spells

Forgetting is an action applying to one spell. Understand "forget [spell]" as forgetting. [There have been times I've wished that the Infocom games provided this.]

Check forgetting: if the spell understood is not listed in the player's memory, say "You seem to have forgotten to learn it in the first place." instead.

To forget one instance of (xyzzy - a spell): [Remove only one copy of the spell.]

repeat with N running from one to the number of entries in the player's memory:

if entry N in the player's memory is the spell understood:

remove entry N from the player's memory;

break.

Carry out forgetting:

forget one instance of the spell understood;

rule succeeds.

Report forgetting: say "You banish the [i][spell understood][/i] spell from your mind."

Definition: something is nonscrolllike:

if it is a spell scroll, no;

yes.

Understand "forget [any seen nonscrolllike thing]" as a mistake ("You can never forget...whatever it was."). [This is an amusing response I discovered in Spellbreaker.]