summaryrefslogtreecommitdiff
path: root/world/map/npc
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2018-01-17 15:06:10 -0500
committergumi <git@gumi.ca>2018-01-17 15:06:10 -0500
commite8f7ffe230492fb299bc7f6d9063dc3191c6e05d (patch)
tree60f89b304c016d2f4a5af52cf83f2cb5932aa622 /world/map/npc
parent194814cfc1094f20af531507bca53190378d3e93 (diff)
downloadserverdata-e8f7ffe230492fb299bc7f6d9063dc3191c6e05d.tar.gz
serverdata-e8f7ffe230492fb299bc7f6d9063dc3191c6e05d.tar.bz2
serverdata-e8f7ffe230492fb299bc7f6d9063dc3191c6e05d.tar.xz
serverdata-e8f7ffe230492fb299bc7f6d9063dc3191c6e05d.zip
improve GM event portals
Diffstat (limited to 'world/map/npc')
-rw-r--r--world/map/npc/functions/gm_island.txt16
1 files changed, 14 insertions, 2 deletions
diff --git a/world/map/npc/functions/gm_island.txt b/world/map/npc/functions/gm_island.txt
index 1bd7b5e9..97fd8230 100644
--- a/world/map/npc/functions/gm_island.txt
+++ b/world/map/npc/functions/gm_island.txt
@@ -11,7 +11,10 @@ OnInit:
}
function|script|GmWarp
{
- warp "028-1", 110, 30;
+ if ($@GM_EVENT_WARP == 1) warp "028-1", 110, 30;
+ if ($@GM_EVENT_WARP == 2) warp "028-1", 119, 74;
+ if ($@GM_EVENT_WARP == 3) warp "028-3", 68, 36;
+ if ($@GM_EVENT_WARP == 4) warp "001-3", 0, 0;
return;
}
function|script|GmDebug
@@ -19,11 +22,20 @@ function|script|GmDebug
mes "[GM Debug]";
mes "What do you want to do?";
menu
- "Open Event Portals.", L_GmStart,
+ "Open Event Portals.", L_GmChoose,
"Close Event Portals.", L_GmStop,
"Disguise.", L_Disguise;
+L_GmChoose:
+ mes "Choose a destination:";
+ menu
+ "GM Island (entrance)", L_GmStart,
+ "GM Island (auditorium)", L_GmStart,
+ "GM Island (cave)", L_GmStart,
+ "Tulimshar Arena", L_GmStart;
+
L_GmStart:
+ set $@GM_EVENT_WARP, @menu;
enablenpc "Gm Event#1";
enablenpc "Gm Event#2";
enablenpc "Gm Event#3";