summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/magic/transmigration.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/npc/magic/transmigration.txt b/npc/magic/transmigration.txt
index 4fb2232e2..ac18e06c9 100644
--- a/npc/magic/transmigration.txt
+++ b/npc/magic/transmigration.txt
@@ -25,12 +25,12 @@ OnCall:
mesc l("What will you transmute today?");
mes "";
menuint
- l("Haste Potion"), HastePotion,
+ l("Haste Potion"), CrazyRum,
l("Mouboo Figurine"), MoubooFigurine;
mes "";
switch (@menuret) {
- case HastePotion:
+ case CrazyRum:
mesc l("Transmutating @@ will require:", getitemlink(@menuret));
mesc l("* @@/@@ @@", countitem(Plushroom), 10, getitemlink(Plushroom));
mesc l("* @@/@@ @@", countitem(Milk), 1, getitemlink(Milk));
@@ -47,6 +47,8 @@ OnCall:
if (askyesno() == ASK_NO)
@menuret=0;
break;
+ default:
+ Exception("ERROR, INVALID TRANSMIGRATION OPTION", RB_DEFAULT|RB_SPEECH); @menuret=0; break;
}
} while (!@menuret);
@@ -55,7 +57,7 @@ OnCall:
// Check and Consume the reagents
switch (@menuret) {
- case HastePotion:
+ case CrazyRum:
if (countitem(Plushroom) < 10 ||
countitem(Milk) < 1) {
dispbottom l("Not enough items!");
@@ -73,6 +75,8 @@ OnCall:
// Consume items
delitem WoodenLog, 1;
break;
+ default:
+ Exception("ERROR, INVALID TRANSMIGRATION REAGENTS", RB_DEFAULT|RB_SPEECH|RB_ISFATAL); break;
}
// Do the roll from 1 to 100