diff options
Diffstat (limited to 'world/map/npc/009-3')
-rw-r--r-- | world/map/npc/009-3/_import.txt | 1 | ||||
-rw-r--r-- | world/map/npc/009-3/warp.txt | 23 |
2 files changed, 24 insertions, 0 deletions
diff --git a/world/map/npc/009-3/_import.txt b/world/map/npc/009-3/_import.txt index 37ec9044..fff7bf28 100644 --- a/world/map/npc/009-3/_import.txt +++ b/world/map/npc/009-3/_import.txt @@ -4,3 +4,4 @@ map: 009-3.gat npc: npc/009-3/_mobs.txt npc: npc/009-3/_warps.txt npc: npc/009-3/sword.txt +npc: npc/009-3/warp.txt diff --git a/world/map/npc/009-3/warp.txt b/world/map/npc/009-3/warp.txt new file mode 100644 index 00000000..7f709abd --- /dev/null +++ b/world/map/npc/009-3/warp.txt @@ -0,0 +1,23 @@ +009-3.gat,162,80,0|script|#PVPCaveBarrier|45,1,1,{ + mes "Do you want to enter the PVP cave? It costs 150GP."; + menu + "No.", L_Exit, + "Yes.", -; + if (Zeny < 150) + goto L_NotEnoughMoney; + if (Zeny >= 150) + goto L_Pay; + +L_Exit: + close; + +L_Pay: + set Zeny, Zeny - 150; + warp "009-6.gat", 36, 47; + close; + +L_NotEnoughMoney: + mes "You don't have enough money!"; + close; + +} |