diff options
-rw-r--r-- | db/re/item_db.conf | 14 | ||||
-rw-r--r-- | npc/items/teleporter.txt | 27 |
2 files changed, 32 insertions, 9 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf index c36b5c210..61cf9cbaa 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -2274,6 +2274,20 @@ item_db: ( */ "> }, +{ + Id: 614 + AegisName: "TimeFlask" + Name: "Time Flask" + Type: "IT_USABLE" + Buy: 0 + Sell: 0 + Weight: 40 + KeepAfterUse: true + Refine: false + Script: <" + doevent "LoF Teleporter::OnUse"; + "> +}, // Generic diff --git a/npc/items/teleporter.txt b/npc/items/teleporter.txt index 5d4ad5497..13068e6c7 100644 --- a/npc/items/teleporter.txt +++ b/npc/items/teleporter.txt @@ -19,19 +19,28 @@ OnUse: goto L_Cooldown; mesn; - mesc l("Do you want to cut this @@?", getitemlink(Croconut)); + mesc l("Ozthokk, a great sage from the Land Of Fire, holds secrets of time and space travel."); + mesc l("This is not magic, it is science!"); + mes ""; + mesc l("PS. Additional reagents may be required for warps."); next; menu - l("Yes."), L_Weapon, - l("No."), -; + l("Don't warp"), -, + l("Land Of Fire Village (30m)"), L_LoF, + l("Save Point (30m)"), L_Save; - getitem Croconut, 1; close; -L_Weapon: - mesc l("You perfectly cut your @@ into two edible parts.", getitemlink(Croconut)); - - getitem HalfCroconut, 2; - close; +L_Save: + warp "Save", 0, 0; + TELEPORTER_TIME=gettimetick(2)+(60*30); + closedialog; + end; + +L_LoF: + warp "017-1", 0, 0; + TELEPORTER_TIME=gettimetick(2)+(60*30); + closedialog; + end; } |