From 0fed099bb375cdfb19802dd69a88575c6b4f5ab6 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 20 Jul 2018 15:35:43 -0300 Subject: Doing LoF Quests allow you up to 3 minutes discount on every warp time w/ Flask --- npc/items/teleporter.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'npc/items/teleporter.txt') diff --git a/npc/items/teleporter.txt b/npc/items/teleporter.txt index d14f03413..27453b248 100644 --- a/npc/items/teleporter.txt +++ b/npc/items/teleporter.txt @@ -29,10 +29,12 @@ OnUse: mesc l("PS. Additional reagents may be required for warps."); next; + .@x=reputation("Hurns"); + menu l("Don't warp"), -, - l("Land Of Fire Village (30m)"), L_LoF, - l("Save Point (30m)"), L_Save; + l("Land Of Fire Village (@@m)", 50-.@x), L_LoF, + l("Save Point (@@m)", 30-.@x), L_Save; close; @@ -42,7 +44,7 @@ L_Save: } else { doevent "shake::OnGM"; warp "Save", 0, 0; - TELEPORTER_TIME=gettimetick(2)+(60*30); + TELEPORTER_TIME=gettimetick(2)+(60*30)-(.@x*60); } closedialog; end; @@ -53,7 +55,7 @@ L_LoF: } else { doevent "shake::OnGM"; warp "017-1", 120, 89; - TELEPORTER_TIME=gettimetick(2)+(60*30); + TELEPORTER_TIME=gettimetick(2)+(60*30)-(.@x*60); } closedialog; end; -- cgit v1.2.3-60-g2f50