From 17f264c7661ed72d538b969f72004bfa89bfca50 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 9 Aug 2019 23:14:36 -0300 Subject: Transmutation - replace Haste Potion by Crazy Rum --- npc/magic/transmigration.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'npc/magic/transmigration.txt') 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 -- cgit v1.2.3-60-g2f50