summaryrefslogtreecommitdiff
path: root/npc/magic
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-09 23:14:36 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-09 23:14:36 -0300
commit17f264c7661ed72d538b969f72004bfa89bfca50 (patch)
tree56e2d8e7067de83cf42af7d9e8bb06c34f6568a4 /npc/magic
parent5e1f768729778a60be895e46815486444734a95e (diff)
downloadserverdata-17f264c7661ed72d538b969f72004bfa89bfca50.tar.gz
serverdata-17f264c7661ed72d538b969f72004bfa89bfca50.tar.bz2
serverdata-17f264c7661ed72d538b969f72004bfa89bfca50.tar.xz
serverdata-17f264c7661ed72d538b969f72004bfa89bfca50.zip
Transmutation - replace Haste Potion by Crazy Rum
Diffstat (limited to 'npc/magic')
-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