summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/magic/transmigration.txt28
1 files changed, 27 insertions, 1 deletions
diff --git a/npc/magic/transmigration.txt b/npc/magic/transmigration.txt
index 666f176ef..11bae57d7 100644
--- a/npc/magic/transmigration.txt
+++ b/npc/magic/transmigration.txt
@@ -27,6 +27,7 @@ OnCall:
menuint
l("Crazy Rum"), CrazyRum,
rif(false, l("Downgrade Snake Skin")), SnakeSkin,
+ rif(false, l("Downgrade Snake Egg")), SnakeEgg,
l("Mouboo Figurine"), MoubooFigurine;
mes "";
@@ -42,13 +43,19 @@ OnCall:
mesc l("* @@/@@ @@", countitem(WoodenLog), 1, getitemlink(WoodenLog));
break;
case SnakeSkin:
- //mesc l("* @@/@@ @@", countitem(WoodenLog), 1, getitemlink(WoodenLog));
menuint
rif(countitem(BlackMambaSkin), l("Black Mamba Skin -> Mountain Snake Skin")), MountainSnakeSkin,
rif(countitem(MountainSnakeSkin), l("Mountain Snake Skin -> Snake Skin")), SnakeSkin,
rif(countitem(SnakeSkin), l("Snake Skin -> Cave Snake Skin")), CaveSnakeSkin,
l("Cancel");
break;
+ case SnakeEgg:
+ menuint
+ rif(countitem(BlackMambaEgg), l("Black Mamba Egg -> Mountain Snake Egg")), MountainSnakeEgg,
+ rif(countitem(MountainSnakeEgg), l("Mountain Snake Egg -> Snake Egg")), SnakeEgg,
+ rif(countitem(SnakeEgg), l("Snake Egg -> Cave Snake Egg")), CaveSnakeEgg,
+ l("Cancel");
+ break;
default:
Exception("ERROR, INVALID TRANSMIGRATION OPTION", RB_DEFAULT|RB_SPEECH); @menuret=0; break;
}
@@ -97,6 +104,25 @@ OnCall:
end;
}
break;
+ // Snake Egg Chain
+ case MountainSnakeEgg:
+ if (!transcheck(BlackMambaEgg, 1)) {
+ dispbottom l("Not enough items!");
+ end;
+ }
+ break;
+ case SnakeEgg:
+ if (!transcheck(MountainSnakeEgg, 1)) {
+ dispbottom l("Not enough items!");
+ end;
+ }
+ break;
+ case CaveSnakeEgg:
+ if (!transcheck(SnakeEgg, 1)) {
+ dispbottom l("Not enough items!");
+ end;
+ }
+ break;
default:
Exception("ERROR, INVALID TRANSMIGRATION REAGENTS", RB_DEFAULT|RB_SPEECH|RB_ISFATAL); break;