summaryrefslogtreecommitdiff
path: root/npc/magic
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-10 22:29:17 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-10 22:29:17 -0300
commitf3851aaa19a5096e102baa9d4f02cdd86d05f4d9 (patch)
treeeccadb903ec06028e6855291353854409d9928d0 /npc/magic
parentbce575ea45659073b35a4c40e727cf867d03b712 (diff)
downloadserverdata-f3851aaa19a5096e102baa9d4f02cdd86d05f4d9.tar.gz
serverdata-f3851aaa19a5096e102baa9d4f02cdd86d05f4d9.tar.bz2
serverdata-f3851aaa19a5096e102baa9d4f02cdd86d05f4d9.tar.xz
serverdata-f3851aaa19a5096e102baa9d4f02cdd86d05f4d9.zip
Snake Egg subchain
Diffstat (limited to 'npc/magic')
-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;