Rushwind13 / JMoria

My from-scratch implementation of a Roguelike game that will be an homage to IMoria
4 stars 4 forks source link

Scroll and potion flavors #119

Open Rushwind13 opened 5 hours ago

Rushwind13 commented 5 hours ago

Given I have a scroll of light And it is unidentified When I display inventory Then the scroll says “scroll labeled” # e.g. scroll labeled “xyz” And the scroll does not say “of Light” # e.g. scroll labeled “xyz” of light

Given I have a scroll of light When I get another scroll of light in the same game Then they have the same label

Given I got a scroll of light last game Then it has a different label this game

ac Scrolls have names that are scrambled each game Potions have colors that are scrambled each game Unidentified items show just the color Identified items show color and type (for rest of game) Can ID by reading/quaffing (some are tough to ID this way — if you don’t have any cursed items, a ?RCurse will just… do nothing) Can ID with ID scroll Can ID by selling to vendor for very little $ “the vendor chuckles as you sell him a 5000gp potion of strength for 10gp”… facepalm … but now it’s identified for next time

Notes: Potion of salt water (you vomit and then are starving) Potion of poison Potion of water (no op) Potion of Lose Strength Scroll of Trap Creation Scroll of Summoning Cursed scroll of remove curse Scroll of aggravate monsters

Btw, most Boots of Teleportation start out cursed… 😉

All reasons to avoid randomly quaffing an unknown potion…