Vampire Gold — 5 of 25

Olaf Nowacki

Release 2

Part 2 - Armor

An armor is a kind of wearable thing.

An armor has a number called defense.

Some armors are defined by the Table of Armament

Table of Armament

namedefense
a leather shirt10
a pair of gloves5
a helm10
a buckler10
a chainmail15

Understand "chain", "mail" as chainmail.

Instead of examining an armor:

say "The [noun] [have] a defense value of [defense of the noun][if the noun is not worn by the player], if worn[end if].".

After wearing something:

increase protection by defense of the noun;

say "You put on the [noun] and immediately feel better protected.".

Instead of taking off something worn:

say "That would be stupid, because you need all the protection you can get.".