From d6b5551bff867250edcdc36455ef32844ee2b935 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 4 Nov 2014 20:23:22 +0300 Subject: convert server data for using with hercules. --- npc/001-1/_import.txt | 1 - npc/001-1/artaxe.txt | 4 +++- npc/001-1/cookiemaster.txt | 6 ++++-- npc/001-1/doors.txt | 8 ++++---- 4 files changed, 11 insertions(+), 8 deletions(-) (limited to 'npc/001-1') diff --git a/npc/001-1/_import.txt b/npc/001-1/_import.txt index 642efaed..bca9e92e 100644 --- a/npc/001-1/_import.txt +++ b/npc/001-1/_import.txt @@ -1,5 +1,4 @@ // Map 001-1: Artis City -map: 001-1.gat npc: npc/001-1/_mobs.txt npc: npc/001-1/_warps.txt npc: npc/001-1/artaxe.txt diff --git a/npc/001-1/artaxe.txt b/npc/001-1/artaxe.txt index 91b17a56..7eafe98c 100644 --- a/npc/001-1/artaxe.txt +++ b/npc/001-1/artaxe.txt @@ -5,7 +5,9 @@ // Description: // Helping NPC. -000-1.gat,27,55,0,1 script Artaxe 109;2,{ +// Size = 2 +// Gender = 1 +000-1,27,55,0 script Artaxe 109,{ mesn; mesq l("Do you feel too weak even if trying to hit the surrounding wildlife?"); next; diff --git a/npc/001-1/cookiemaster.txt b/npc/001-1/cookiemaster.txt index 38fe3460..73ac8d72 100644 --- a/npc/001-1/cookiemaster.txt +++ b/npc/001-1/cookiemaster.txt @@ -10,8 +10,10 @@ // 0 Default, didn't get a cookie. // 1 Get a cookie. -001-1.gat,39,38,0,0 script Cookie Master 319;2,{ - if ((countitem("DeliciousCookie") == 0) && (getq(GeneraL_Cookies) == 1)) +// Size = 2 +// Gender = 0 +001-1,39,38,0 script Cookie Master 319,{ + if ((countitemcolor("DeliciousCookie") == 0) && (getq(GeneraL_Cookies) == 1)) goto L_LostCookie; if (getq(GeneraL_Cookies) == 1) goto L_GetCookie; diff --git a/npc/001-1/doors.txt b/npc/001-1/doors.txt index 05afe3e4..212f4763 100644 --- a/npc/001-1/doors.txt +++ b/npc/001-1/doors.txt @@ -5,7 +5,7 @@ // Doors warp and animations in map 001-1 // -001-1.gat,55,71,0 script #Door1 906,1,1{ +001-1,55,71,0 script #Door1 906,1,1,{ close; OnTouchFirst: @@ -31,7 +31,7 @@ OnTimer340: end; } -001-1.gat,51,65,0 script #Door2 906,1,1{ +001-1,51,65,0 script #Door2 906,1,1,{ close; OnTouchFirst: @@ -57,7 +57,7 @@ OnTimer340: end; } -001-1.gat,69,77,0 script #Door3 906,1,1{ +001-1,69,77,0 script #Door3 906,1,1,{ close; OnTouchFirst: @@ -84,7 +84,7 @@ OnTimer340: } -001-1.gat,51,80,0 script #Door4 906,1,1{ +001-1,51,80,0 script #Door4 906,1,1,{ close; OnTouchFirst: -- cgit v1.2.3-70-g09d2