diff options
Diffstat (limited to 'npc')
38 files changed, 78 insertions, 47 deletions
diff --git a/npc/000-1/ale.txt b/npc/000-1/ale.txt index dfa9265b..1e8ed845 100644 --- a/npc/000-1/ale.txt +++ b/npc/000-1/ale.txt @@ -6,7 +6,6 @@ // Sailor part of the Gugli's quest. // Aquada box. -// Size = 2 000-1,55,23,0 script Ale 105,{ set .@g, getq(ShipQuests_Gugli); if (.@g == 0) goto L_NoTask; @@ -114,5 +113,6 @@ L_Quit: OnInit: setnpcsex 1; + setnpcdistance 2; end; } diff --git a/npc/000-1/astapolos.txt b/npc/000-1/astapolos.txt index 02df4e13..79263def 100644 --- a/npc/000-1/astapolos.txt +++ b/npc/000-1/astapolos.txt @@ -7,7 +7,6 @@ // Sailor part of the Gugli's quest. // Croconut box. -// Size = 2 000-1,22,50,0 script Astapolos 107,{ set .@g, getq(ShipQuests_Gugli); if (.@g == 0) goto L_NoTask; @@ -157,5 +156,6 @@ L_Whyning: OnInit: setnpcsex 1; + setnpcdistance 2; end; } diff --git a/npc/000-1/chest.txt b/npc/000-1/chest.txt index 7f210930..32f0f212 100644 --- a/npc/000-1/chest.txt +++ b/npc/000-1/chest.txt @@ -11,7 +11,6 @@ // 0 Treasure Chest has not been opened yet. // 1 Treasure Chest has been opened. -// Size = 2 000-1,83,70,0 script #chest 416,{ set .@q, getq(ShipQuests_TreasureChest); @@ -45,4 +44,7 @@ OnTimer160: if (getnpcdir ("") == 6) setnpcdir 0; end; +OnInit: + setnpcdistance 2; + end; } diff --git a/npc/000-1/cookiemaster.txt b/npc/000-1/cookiemaster.txt index 8668de14..fceb005f 100644 --- a/npc/000-1/cookiemaster.txt +++ b/npc/000-1/cookiemaster.txt @@ -6,7 +6,6 @@ // Description: // Cookie NPC, beware, if you don't take your cookie, she'll keep it! -// Size = 2 000-1,97,50,0 script Cookie Master 419,{ if (getq(General_Cookies) == 1) goto L_GetCookie; @@ -231,5 +230,6 @@ L_Bye: OnInit: setnpcsex 0; + setnpcdistance 2; end; } diff --git a/npc/000-1/couwan.txt b/npc/000-1/couwan.txt index d2e09c12..77e747dc 100644 --- a/npc/000-1/couwan.txt +++ b/npc/000-1/couwan.txt @@ -12,7 +12,6 @@ // 1 Spoke, and received the quest scam. // 2 Done quest scam. -// Size = 2 000-1,89,36,0 script Couwan 111,{ set .@q, getq(ShipQuests_Couwan); if (.@q == 1) goto L_QuestGiven; @@ -89,5 +88,6 @@ L_QuestDone: OnInit: setnpcsex 1; + setnpcdistance 2; end; } diff --git a/npc/000-1/darlin.txt b/npc/000-1/darlin.txt index 4ffe6dc9..91b09f68 100644 --- a/npc/000-1/darlin.txt +++ b/npc/000-1/darlin.txt @@ -10,8 +10,6 @@ // 0 Treasure Chest has not been opened yet. // 1 Treasure Chest has been opened. - -// Size = 14 000-1,89,95,0 script Darlin 103,{ set .@q, getq(ShipQuests_TreasureChest); @@ -143,5 +141,6 @@ L_Quit: OnInit: setnpcsex 1; + setnpcdistance 14; end; } diff --git a/npc/000-1/fexil.txt b/npc/000-1/fexil.txt index cc5c3aba..319a5e93 100644 --- a/npc/000-1/fexil.txt +++ b/npc/000-1/fexil.txt @@ -4,7 +4,6 @@ // Description: // Newbie merchant. -// Size = 2 000-1,83,98,0 script Fexil 108,{ mesn; mesq lg("Greetings traveler."); @@ -36,5 +35,6 @@ L_Accepted: OnInit: setnpcsex 1; + setnpcdistance 2; end; } diff --git a/npc/000-1/gugli.txt b/npc/000-1/gugli.txt index fcf6156b..cdfa1365 100644 --- a/npc/000-1/gugli.txt +++ b/npc/000-1/gugli.txt @@ -22,7 +22,6 @@ // 21 Gugli gives you the task. // 22 Gave all of the box to Gugli. -// Size = 2 000-1,85,108,0 script Gugli 413,{ OnTalk: @@ -230,6 +229,7 @@ L_Quit: OnInit: setnpcsex 1; + setnpcdistance 2; end; } diff --git a/npc/000-1/gulukan.txt b/npc/000-1/gulukan.txt index 6b208128..d96dcf0e 100644 --- a/npc/000-1/gulukan.txt +++ b/npc/000-1/gulukan.txt @@ -7,7 +7,6 @@ // Sailor part of the Gugli's quest. // Croconut box. -// Size = 2 000-1,54,90,0 script Gulukan 113,{ set .@g, getq(ShipQuests_Gugli); if (.@g == 0) goto L_NoTask; @@ -163,5 +162,6 @@ L_Quit: OnInit: setnpcsex 1; + setnpcdistance 2; end; } diff --git a/npc/000-1/jalad.txt b/npc/000-1/jalad.txt index f99fb24d..24a44417 100644 --- a/npc/000-1/jalad.txt +++ b/npc/000-1/jalad.txt @@ -7,7 +7,6 @@ // Sailor part of the Gugli quest. // Plushroom box. -// Size = 2 000-1,46,35,0 script Jalad 112,{ set .@g, getq(ShipQuests_Gugli); if (.@g == 0) goto L_NoTask; @@ -123,5 +122,6 @@ L_Close: OnInit: setnpcsex 1; + setnpcdistance 2; end; } diff --git a/npc/000-1/lean.txt b/npc/000-1/lean.txt index ee993a47..f4fc1ebd 100644 --- a/npc/000-1/lean.txt +++ b/npc/000-1/lean.txt @@ -6,7 +6,6 @@ // Description: // Sailor who gives some informations to the player. -// Size = 2 000-1,79,108,0 script Lean 106,{ set .@gugli, getq(ShipQuests_Gugli); @@ -65,5 +64,6 @@ L_Close: OnInit: setnpcsex 1; + setnpcdistance 2; end; } diff --git a/npc/000-1/max.txt b/npc/000-1/max.txt index a2fc855d..cd56ec12 100644 --- a/npc/000-1/max.txt +++ b/npc/000-1/max.txt @@ -6,7 +6,6 @@ // Description: // Friend of Sapartan, he gives some information on how to find Gulukan, Astapolos and Q-Muller. -// Size = 2 000-1,72,110,0 script Max 115,{ set .@gugli, getq(ShipQuests_Gugli); set .@knife, getq(ShipQuests_Knife); @@ -100,6 +99,7 @@ L_Secrets: OnInit: setnpcsex 1; + setnpcdistance 2; end; L_Quit: diff --git a/npc/000-1/muller.txt b/npc/000-1/muller.txt index d26b57ca..133cbb86 100644 --- a/npc/000-1/muller.txt +++ b/npc/000-1/muller.txt @@ -6,7 +6,6 @@ // Sailor part of the Gugli's quest. // Plushroom box. -// Size = 2 000-1,35,69,0 script Q'Muller 104,{ set .@g, getq(ShipQuests_Gugli); if (.@g == 0) goto L_NoTask; @@ -123,5 +122,6 @@ L_Quit: OnInit: setnpcsex 1; + setnpcdistance 2; end; } diff --git a/npc/000-1/panels.txt b/npc/000-1/panels.txt index 13ea41e4..9b72d5e0 100644 --- a/npc/000-1/panels.txt +++ b/npc/000-1/panels.txt @@ -5,9 +5,7 @@ // Description: // Panels to give advice to the players. -// Size = 2 000-1,65,93,0 script #panel1 999,{ - mesn "Narrator"; mes col(l("Your heart quickens as your gaze focuses upon a small wooden panel, partly obscured under a layer of wind-blown sand."), 9); next; @@ -20,13 +18,14 @@ mesq l("Furthermore, unless you are planning to stick it out, you should also not even think about gaining experience by messing with those icky pink land jellies. The pink could stick on you, imagine the horror!"); next; mesq l("In fact... Oh, the things that I could tell... But ran out of space on this... Just be reasonable and go home."); - close; + +OnInit: + setnpcdistance 2; + end; } -// Size = 2 000-1,89,51,0 script #panel2 999,{ - mesn "Narrator"; mes col(l("This panel looks in rather good shape, as though some people take care of it regularly. Maybe it has important information."), 9); next; @@ -48,4 +47,8 @@ next; mesq l("Have fun, but always remember to pick your stats with good care."); close; + +OnInit: + setnpcdistance 2; + end; } diff --git a/npc/000-1/sapartan.txt b/npc/000-1/sapartan.txt index 7ef963c3..39e97772 100644 --- a/npc/000-1/sapartan.txt +++ b/npc/000-1/sapartan.txt @@ -5,7 +5,6 @@ // Description: // Friend of Max, he gives some information on combat system. -// Size = 2 000-1,74,111,0 script Sapartan 414,{ mesn; mesq l("Hey Max, it's @@!", strcharinfo(0)); @@ -95,6 +94,7 @@ OnInit: setnpcsex 1; + setnpcdistance 2; end; L_Quit: diff --git a/npc/000-1/silvio.txt b/npc/000-1/silvio.txt index 77ba8524..a663ae4a 100644 --- a/npc/000-1/silvio.txt +++ b/npc/000-1/silvio.txt @@ -5,7 +5,6 @@ // Description: // Pervert and arrogant sailor. -// Size = 2 000-1,86,99,0 script Silvio 412,{ mesn; mesq l("Hey!"); @@ -190,5 +189,6 @@ L_Quit: OnInit: setnpcsex 1; + setnpcdistance 2; end; } diff --git a/npc/000-1/tarlan.txt b/npc/000-1/tarlan.txt index 935a7821..1d8799af 100644 --- a/npc/000-1/tarlan.txt +++ b/npc/000-1/tarlan.txt @@ -4,7 +4,6 @@ // Description: // Sailor hitting a crocotree, then being struck by a falling croconut. -// Size = 2 000-1,33,37,0 script Tarlan 415,{ setnpcdir 2; @@ -61,5 +60,6 @@ L_Quit: OnInit: setnpcsex 1; + setnpcdistance 2; end; } diff --git a/npc/000-1/tibbo.txt b/npc/000-1/tibbo.txt index 445b2f93..f0332dcd 100644 --- a/npc/000-1/tibbo.txt +++ b/npc/000-1/tibbo.txt @@ -7,7 +7,6 @@ // Sailor part of the Gugli's quest. // Aquada box. -// Size = 2 000-1,34,111,0 script Tibbo 110,{ set .@g, getq(ShipQuests_Gugli); if (.@g == 0) goto L_NoTask; @@ -115,5 +114,6 @@ L_Close: OnInit: setnpcsex 1; + setnpcdistance 2; end; } diff --git a/npc/000-2-0/billybons.txt b/npc/000-2-0/billybons.txt index 412cd1c1..06d77ab3 100644 --- a/npc/000-2-0/billybons.txt +++ b/npc/000-2-0/billybons.txt @@ -4,7 +4,6 @@ // Description: // Drunk easteregg telling about the player's past. -// Size = 3 000-2-0,20,23,0 script Billy Bons 411,{ if (rand(5) == 2) goto L_Hic; @@ -91,5 +90,6 @@ L_Quit: OnInit: setnpcsex 1; + setnpcdistance 3; end; } diff --git a/npc/000-2-0/julia.txt b/npc/000-2-0/julia.txt index 75da4f2b..5085abf9 100644 --- a/npc/000-2-0/julia.txt +++ b/npc/000-2-0/julia.txt @@ -32,7 +32,6 @@ // 24 ChefGado Quest completed and "Introduction" chapter finalized. // 25 Reward taken from the box. -// Size = 10 000-2-0,27,24,0 script Julia 404,2,10,{ addtoskill 1, 1; // Add Emote skill. @@ -273,6 +272,7 @@ L_Rumors: OnInit: setnpcsex 0; + setnpcdistance 10; end; L_Quit: diff --git a/npc/000-2-0/note.txt b/npc/000-2-0/note.txt index 22c562ff..29628d70 100644 --- a/npc/000-2-0/note.txt +++ b/npc/000-2-0/note.txt @@ -6,7 +6,6 @@ // Description: // A small note presenting the 6 main rules of Evol Online. -// Size = 2 000-2-0,29,25,0 script Note 116,{ mesn "Narrator"; mes col(l("There is a paper with some rules written on it."), 9); @@ -34,4 +33,8 @@ mes col(l("Other things are written but are not legible anymore."), 9); close; + +OnInit: + setnpcdistance 2; + end; } diff --git a/npc/000-2-1/alige.txt b/npc/000-2-1/alige.txt index e8736693..31e606bd 100644 --- a/npc/000-2-1/alige.txt +++ b/npc/000-2-1/alige.txt @@ -47,7 +47,6 @@ OnTimer190: end; } -// Size = 2 000-2-1,43,31,0 script Alige 401,{ set .@q, getq(ShipQuests_Alige); if (.@q > 1) goto L_AskForFood; @@ -296,5 +295,6 @@ L_Quit: OnInit: setnpcsex 1; + setnpcdistance 2; end; } diff --git a/npc/000-2-1/arpan.txt b/npc/000-2-1/arpan.txt index 18e30094..e68a780f 100644 --- a/npc/000-2-1/arpan.txt +++ b/npc/000-2-1/arpan.txt @@ -84,7 +84,6 @@ L_EquipDone: close; } -// Size = 5 000-2-1,49,33,0 script Magic Arpan 407,{ set .@q, getq(ShipQuests_Arpan); set .@q_julia, getq(ShipQuests_Julia); @@ -228,5 +227,6 @@ L_EquipDone: OnInit: setnpcsex 1; + setnpcdistance 5; end; } diff --git a/npc/000-2-1/chefgado.txt b/npc/000-2-1/chefgado.txt index 16a4405f..0cb6b709 100644 --- a/npc/000-2-1/chefgado.txt +++ b/npc/000-2-1/chefgado.txt @@ -16,7 +16,6 @@ // 5 Quest complete. Julia wins (poison dish returned). // 6 Quest complete. Julia wins. -// Size = 2 000-2-1,27,28,0 script Chef Gado 418,{ set .@q, getq(ShipQuests_ChefGado); set .@n, getq(ShipQuests_Nard); @@ -210,5 +209,6 @@ L_Quit: OnInit: setnpcsex 1; + setnpcdistance 2; end; } diff --git a/npc/000-2-1/chest.txt b/npc/000-2-1/chest.txt index 7f01c6af..06a98003 100644 --- a/npc/000-2-1/chest.txt +++ b/npc/000-2-1/chest.txt @@ -10,7 +10,6 @@ // 1 Talked to Arpan and needs to get clothes. // 2 Has the clothes. -// Size = 2 000-2-1,51,37,0 script Chest 417,{ set .@q, getq(ShipQuests_Arpan); @@ -50,4 +49,8 @@ L_Quit: initnpctimer; startnpctimer; close; + +OnInit: + setnpcdistance 2; + end; } diff --git a/npc/000-2-1/dan.txt b/npc/000-2-1/dan.txt index e74a7950..6b258370 100644 --- a/npc/000-2-1/dan.txt +++ b/npc/000-2-1/dan.txt @@ -6,7 +6,6 @@ // There are two kinds of dialogues in this script. // Dan will randomly choose between a useless sentence, and a quest in Artis. -// Size = 2 000-2-1,32,31,0 script Dan 101,{ mesn; set .@q, rand(3); @@ -85,5 +84,6 @@ L_Quit2: OnInit: setnpcsex 1; + setnpcdistance 2; end; } diff --git a/npc/000-2-1/devis.txt b/npc/000-2-1/devis.txt index ff7434da..36d5ddb6 100644 --- a/npc/000-2-1/devis.txt +++ b/npc/000-2-1/devis.txt @@ -6,12 +6,12 @@ // Description: // Sleeping and grumbling NPC. -// Size = 2 000-2-1,32,38,0 script Devis 410,{ callfunc "Asleep"; close; OnInit: setnpcsex 1; + setnpcdistance 2; end; } diff --git a/npc/000-2-1/knife.txt b/npc/000-2-1/knife.txt index aed6df6e..a696d59e 100644 --- a/npc/000-2-1/knife.txt +++ b/npc/000-2-1/knife.txt @@ -10,7 +10,6 @@ // 0 Default, not taken. // 1 Knife taken. -// Size = 2 000-2-1,50,24,0 script #knife 100,{ set .@q, getq(ShipQuests_Knife); if (.@q) close; @@ -43,4 +42,8 @@ L_Give: mes col(l("Items have different effects. Some will heal you, some can be used as weapons or armor, and some can be sold for gold."), 9); close; + +OnInit: + setnpcdistance 2; + end; } diff --git a/npc/000-2-1/peter.txt b/npc/000-2-1/peter.txt index c17e1851..c53c6c5f 100644 --- a/npc/000-2-1/peter.txt +++ b/npc/000-2-1/peter.txt @@ -87,7 +87,6 @@ L_NoGoodTick: close; } -// Size = 3 000-2-1,70,35,0 script Peter 403,{ if (BaseLevel < 5) goto OnTooWeak; if ($@RAT_SAILOR_COUNTDOWN == "") goto L_NoCountDown; @@ -327,5 +326,6 @@ OnNoGoodTick: OnInit: setnpcsex 1; + setnpcdistance 3; end; } diff --git a/npc/000-2-1/q'onan.txt b/npc/000-2-1/q'onan.txt index c48d733f..6075d2cd 100644 --- a/npc/000-2-1/q'onan.txt +++ b/npc/000-2-1/q'onan.txt @@ -5,12 +5,12 @@ // Description: // Sleeping and snoring NPC. -// Size = 2 000-2-1,53,38,0 script Q'Onan#000-2-1 402,{ callfunc "Asleep"; close; OnInit: setnpcsex 1; + setnpcdistance 2; end; } diff --git a/npc/000-2-1/savepoint.txt b/npc/000-2-1/savepoint.txt index 47c96640..5f65c252 100644 --- a/npc/000-2-1/savepoint.txt +++ b/npc/000-2-1/savepoint.txt @@ -4,26 +4,38 @@ // Description: // Saves locations in 000-2-1 map. -// Size = 2 000-2-1,40,37,0 script #name1 901,{ callfunc "SavePoint", "000-2-1.gat", 40, 37; close; + +OnInit: + setnpcdistance 2; + end; } -// Size = 2 000-2-1,46,37,0 script #name2 901,{ callfunc "SavePoint", "000-2-1.gat", 46, 37; close; + +OnInit: + setnpcdistance 2; + end; } -// Size = 2 000-2-1,50,38,0 script #name3 901,{ callfunc "SavePoint", "000-2-1.gat", 50, 38; close; + +OnInit: + setnpcdistance 2; + end; } -// Size = 2 000-2-1,55,40,0 script #name4 901,{ callfunc "SavePoint", "000-2-1.gat", 55, 40; close; + +OnInit: + setnpcdistance 2; + end; } diff --git a/npc/000-2-3/box.txt b/npc/000-2-3/box.txt index 7f6cda19..8ec15cca 100644 --- a/npc/000-2-3/box.txt +++ b/npc/000-2-3/box.txt @@ -18,7 +18,6 @@ // 4 ChefGado Quest completed and "Introduction" chapter finalized. // 5 Reward taken from the box. -// Size = 1 000-2-3,25,24,0 script Box 102,{ set .@q, getq(ShipQuests_Nard); @@ -106,4 +105,8 @@ L_Already: L_Quit: closedialog; close; + +OnInit: + setnpcdistance 1; + end; } diff --git a/npc/000-2-3/elmo.txt b/npc/000-2-3/elmo.txt index d3ab8713..bc81a020 100644 --- a/npc/000-2-3/elmo.txt +++ b/npc/000-2-3/elmo.txt @@ -5,7 +5,6 @@ // Description: // Elmo's second dialog. -// Size = 5 000-2-3,27,27,0 script Elmo 409,{ set .@q, getq(ShipQuests_ArpanMoney); if (.@q == 1) goto L_GotMoney; @@ -65,5 +64,6 @@ L_GotMoney: OnInit: setnpcsex 1; + setnpcdistance 5; end; } diff --git a/npc/000-2-3/nard.txt b/npc/000-2-3/nard.txt index 5d44c658..72ca4d97 100644 --- a/npc/000-2-3/nard.txt +++ b/npc/000-2-3/nard.txt @@ -23,7 +23,6 @@ // 11 Gugli gives you the task. // 12 Gave all of the boxes to Gugli. -// Size = 5 000-2-3,25,26,0 script Nard 406,{ set .@nard, getq(ShipQuests_Nard); set .@gugli, getq(ShipQuests_Gugli); @@ -222,5 +221,6 @@ L_Already: OnInit: setnpcsex 1; + setnpcdistance 5; end; } diff --git a/npc/000-2-3/piourocket.txt b/npc/000-2-3/piourocket.txt index 195407ae..3e1f5b58 100644 --- a/npc/000-2-3/piourocket.txt +++ b/npc/000-2-3/piourocket.txt @@ -4,7 +4,6 @@ // Description: // Jumping piou. -// Size = 3 000-2-3,27,23,4 script #piourocket 408,{ setnpcdir 2; stopnpctimer; @@ -15,4 +14,8 @@ OnTimer1420: setnpcdir 4; stopnpctimer; end; + +OnInit: + setnpcdistance 3; + end; } diff --git a/npc/001-1/artaxe.txt b/npc/001-1/artaxe.txt index c8142537..b624a6c7 100644 --- a/npc/001-1/artaxe.txt +++ b/npc/001-1/artaxe.txt @@ -5,7 +5,6 @@ // Description: // Helping NPC. -// Size = 2 000-1,27,55,0 script Artaxe 109,{ mesn; mesq l("Do you feel too weak even if trying to hit the surrounding wildlife?"); @@ -18,5 +17,6 @@ OnInit: setnpcsex 1; + setnpcdistance 2; end; } diff --git a/npc/001-1/cookiemaster.txt b/npc/001-1/cookiemaster.txt index 8623760e..96b24acf 100644 --- a/npc/001-1/cookiemaster.txt +++ b/npc/001-1/cookiemaster.txt @@ -10,7 +10,6 @@ // 0 Default, didn't get a cookie. // 1 Get a cookie. -// Size = 2 001-1,39,38,0 script Cookie Master 419,{ if ((countitemcolor("DeliciousCookie") == 0) && (getq(General_Cookies) == 1)) goto L_LostCookie; @@ -257,5 +256,6 @@ L_Bye: OnInit: setnpcsex 0; + setnpcdistance 2; end; } diff --git a/npc/001-2-0/resa.txt b/npc/001-2-0/resa.txt index b8df8c26..e48971b8 100644 --- a/npc/001-2-0/resa.txt +++ b/npc/001-2-0/resa.txt @@ -4,13 +4,13 @@ // Description: // Light Armor shop keeper. -// Size = 2 001-2-0,37,28,0 script Resa 117,{ mesn; mesq l("Hi."); - close; + OnInit: setnpcsex 0; + setnpcdistance 2; end; } |