From 6cf970b9f8821c8d41debce50e927ef0ed0005f2 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 6 May 2019 09:28:48 -0300 Subject: Lilit Warp Crystal (cannot be exchanged) --- db/re/item_db.conf | 23 +++++++++++++++++++++++ npc/024-15/lilanna.txt | 6 +++--- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/db/re/item_db.conf b/db/re/item_db.conf index a8fd6c86f..0b7299b22 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -3263,6 +3263,29 @@ item_db: ( doevent "Warp Crystal::OnUse"; "> }, +{ + Id: 677 + AegisName: "LilitWarpCrystal" + Name: "Lilit Warp Crystal" + Type: "IT_USABLE" + Buy: 0 + Sell: 0 + Weight: 40 + Delay: 500 + Trade: { + notrade: true + nodrop: true + noselltonpc: true + nogstorage: true + nomail: true + noauction: true + } + Script: <" + @dest$="Lilit"; + @itemid=677; + doevent "Warp Crystal::OnUse"; + "> +}, // Mounts (690 to 699, probably there will be extra IDs) { diff --git a/npc/024-15/lilanna.txt b/npc/024-15/lilanna.txt index 7e75bde0f..fab4ca3f5 100644 --- a/npc/024-15/lilanna.txt +++ b/npc/024-15/lilanna.txt @@ -102,8 +102,8 @@ function FixSelect { rif(TELEPORTERS & TP_NIVAL, l("Nivalis - 7,500 GP")), rif(TELEPORTERS & TP_FROST|TP_HALIN, l("Land Of Fire - 12,000 GP")), rif(TELEPORTERS & TP_HALIN, l("Halinarzo - 20,000 GP")), - rif(TELEPORTERS & TP_FROST, l("Frostia - 30,000 GP")); - //rif(TELEPORTERS & TP_LILIT, l("Lilit - 50,000 GP")); + rif(TELEPORTERS & TP_FROST, l("Frostia - 30,000 GP")), + rif(TELEPORTERS & TP_LILIT, l("Lilit - 50,000 GP (not exchangeable)")); mes ""; switch (@menu) { case 1: return; @@ -114,7 +114,7 @@ function FixSelect { case 6: FixCrystal(LoFWarpCrystal, 12000); break; case 7: FixCrystal(HalinWarpCrystal, 20000); break; case 8: FixCrystal(FrostiaWarpCrystal, 30000); break; - //case 9: FixCrystal(LilitWarpCrystal, 50000); break; + case 9: FixCrystal(LilitWarpCrystal, 50000); break; } } while (countitem(BrokenWarpCrystal)); return; -- cgit v1.2.3-70-g09d2