From a2675f07d7da22a7c6ae11f545bf8f671e785a82 Mon Sep 17 00:00:00 2001 From: Valaris Date: Sun, 29 Jan 2006 16:00:45 +0000 Subject: Clearing trunk. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5091 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/sample/PCLoginEvent.txt | 53 ----- npc/sample/bank_test.txt | 58 ----- npc/sample/gstorage_test.txt | 33 --- npc/sample/npc_card_remover.txt | 197 ---------------- npc/sample/npc_equip_sample.txt | 17 -- npc/sample/npc_extend_shop.txt | 60 ----- npc/sample/npc_sample.txt | 457 -------------------------------------- npc/sample/npc_shop_test.txt | 31 --- npc/sample/npc_test_arena.txt | 104 --------- npc/sample/npc_test_array.txt | 35 --- npc/sample/npc_test_chat.txt | 28 --- npc/sample/npc_test_ev.txt | 146 ------------ npc/sample/npc_test_func.txt | 27 --- npc/sample/npc_test_npctimer.txt | 33 --- npc/sample/npc_test_npctimer2.txt | 16 -- npc/sample/npc_test_skill.txt | 19 -- npc/sample/npc_test_str.txt | 17 -- npc/sample/npc_testchkoption.txt | 15 -- npc/sample/npc_time_sample.txt | 19 -- 19 files changed, 1365 deletions(-) delete mode 100644 npc/sample/PCLoginEvent.txt delete mode 100644 npc/sample/bank_test.txt delete mode 100644 npc/sample/gstorage_test.txt delete mode 100644 npc/sample/npc_card_remover.txt delete mode 100644 npc/sample/npc_equip_sample.txt delete mode 100644 npc/sample/npc_extend_shop.txt delete mode 100644 npc/sample/npc_sample.txt delete mode 100644 npc/sample/npc_shop_test.txt delete mode 100644 npc/sample/npc_test_arena.txt delete mode 100644 npc/sample/npc_test_array.txt delete mode 100644 npc/sample/npc_test_chat.txt delete mode 100644 npc/sample/npc_test_ev.txt delete mode 100644 npc/sample/npc_test_func.txt delete mode 100644 npc/sample/npc_test_npctimer.txt delete mode 100644 npc/sample/npc_test_npctimer2.txt delete mode 100644 npc/sample/npc_test_skill.txt delete mode 100644 npc/sample/npc_test_str.txt delete mode 100644 npc/sample/npc_testchkoption.txt delete mode 100644 npc/sample/npc_time_sample.txt (limited to 'npc/sample') diff --git a/npc/sample/PCLoginEvent.txt b/npc/sample/PCLoginEvent.txt deleted file mode 100644 index 707398277..000000000 --- a/npc/sample/PCLoginEvent.txt +++ /dev/null @@ -1,53 +0,0 @@ -// eAthena Special NPC - -// PCLoginEvent NPC (davidsiaw) -//============================================================================== -// How it works: -// When a player logs in, the NPC will run as if he just clicked it. Which means -// if the script is like this: -// -// [code] -// prontera.gat,0,0,0 script PCLoginEvent -1,{ -// mes "lmao"; -// close; -// } -// [/code] -// -// every player who logs in will recieve a message 'lmao' in their face as soon -// as they can see the map. -//----------------------------------------------------------------------------- -// Note: -// 1) This NPC will only run if its name is 'PCLoginEvent' -// 2) I made it invisible because you don't need to see it. Its an abstract NPC -// 3) If you don't want it, simply delete it -// 4) If you have more than one PCLoginEvent NPC, strange things will happen. -// 5) You can put this script in ANY file. -// 6) I put an end; there because that just makes it do nothing. -// 7) Modify this script to your liking and give your players a surprise -// 8) Remember: IT RUNS LIKE A NORMAL NPC. BUT THE ONLY WAY TO 'CLICK' IT IS BY -// LOGGING ON -// 9) There are 2 ways to use this - check the examples below! - -// -// The 1st type -- with 'event_script_type' set to 0 -// -prontera.gat,0,0,0 script PCLoginEvent -1,{ - end; -} - -// -// The 2nd type -- with 'event_script_type' set to 1 -// -prontera.gat,155,175,0 script An NPC 46,{ - close; -PCLoginEvent: - // this part will run - close; -} - -prontera.gat,156,176,0 script Another NPC 46,{ - close; -PCLoginEvent: - // this part runs AS WELL - close; -} \ No newline at end of file diff --git a/npc/sample/bank_test.txt b/npc/sample/bank_test.txt deleted file mode 100644 index 84a5e599d..000000000 --- a/npc/sample/bank_test.txt +++ /dev/null @@ -1,58 +0,0 @@ -// Bank Test -prontera.gat,162,188,1 script Bank Test 112,{ - cutin "kafra_06",2; - - mes "[Bank Test]"; - mes "Welcome to Prontera's Bank Test."; - mes "You can only deposit a minimal of"; - mes "1000z. What do you want to do?"; - next; - menu "Deposit",BANK_IN,"Withdraw",BANK_OUT,"Exit",B_EXIT2; -BANK_IN: - mes "[Bank Test]"; - mes "You must deposit the same of less"; - mes "amount of zeny that you carry."; - mes "How much do you want to deposit?"; - next; - input @kafrabank; - - if(@kafrabank<1000) goto B_EXIT2; - set @kafrabank2,@kafrabank*1/100; - if(@kafrabank+@kafrabank2>Zeny) goto BANK_F; - set Zeny,Zeny-@kafrabank-@kafrabank2; - set #kafrabank,#kafrabank+@kafrabank; - mes "You now have: ^135445" + @kafrabank2 + "z^000000"; - - goto B_EXIT; -BANK_OUT: - if(#kafrabank==0) goto BANK_F2; - mes "[Bank Test]"; - mes "You can only withdraw equally or below this quantity:"; - mes "^135445" + #kafrabank + "^000000z"; - mes "How much do you want to withdraw?"; - next; - input @kafrabank; - - if(@kafrabank<1) goto B_EXIT2; - if(@kafrabank>#kafrabank) goto BANK_F; - set #kafrabank,#kafrabank-@kafrabank; - set Zeny,Zeny+@kafrabank; - - goto B_EXIT; - -BANK_F: - mes "[Bank Test]"; - mes "You can't withdraw more than ^135445"+ #kafrabank + "^000000z."; - goto B_EXIT2; -BANK_F2: - mes "[Bank Test]"; - mes "Your account is empty, you may not withdraw at this time."; - goto B_EXIT2; - -B_EXIT: - mes "Thanks for using depositing"; -B_EXIT2: - mes "Good bye!"; - cutin "kafra_06",255; - close; -} diff --git a/npc/sample/gstorage_test.txt b/npc/sample/gstorage_test.txt deleted file mode 100644 index 6a8816e43..000000000 --- a/npc/sample/gstorage_test.txt +++ /dev/null @@ -1,33 +0,0 @@ -// カプラギルド倉庫サービス テストスクリプト -prontera.gat,165,188,4 script ギルド倉庫カプラ 112,{ - cutin "kafra_06",2; - - mes"[ギルド倉庫カプラ]"; - mes "カプラギルド倉庫サービスです。"; - mes "毎度ご利用ありがとうございます♪"; - mes "テスト用なので金は貰いません。"; - next; - menu "ギルド倉庫を利用する",GS_OPEN,"やっぱやめる",GS_EXIT3; - -GS_OPEN: - set @flag,guildopenstorage(0); - if(@flag == 1) goto GS_EXIT1; - if(@flag == 2) goto GS_EXIT2; - goto GS_EXIT4; - -GS_EXIT1: - mes "ギルドメンバーが倉庫を使用中です。"; - mes "しばらく待ってから利用してください。"; - goto GS_EXIT4; - -GS_EXIT2: - mes "ギルドに所属してない方は利用することができません。"; - goto GS_EXIT4; - -GS_EXIT3: - mes "またのご利用をお待ちしています♪"; - -GS_EXIT4: - cutin "kafra_06",255; - close; -} diff --git a/npc/sample/npc_card_remover.txt b/npc/sample/npc_card_remover.txt deleted file mode 100644 index f991bc32c..000000000 --- a/npc/sample/npc_card_remover.txt +++ /dev/null @@ -1,197 +0,0 @@ -// Card removal NPC by TyrNemesis^ 日本語訳:胡蝶蘭 -prt_in.gat,28,73,4 script 賢い老女 78,{ - -UPGRADEROOT: -// mes "[Wise Old Woman]"; -// mes "Good day, young one. I have the power to remove cards that you have compounded onto your equipment. Does this idea please you?"; - mes "[賢い老女]"; - mes "いい天気だね、若いの。"; - mes "ところで、アタシは武具に装着している"; - mes "カードを取り外す力を持っているけど、"; - mes "力を貸そうかね?"; - next; -// menu "Yes, it does.",REMOVEMENU, -// "What do you charge?",REMOVEPRICE, -// "No thanks.",CLOSEOUT; - menu "お願いします。",REMOVEMENU, - "いくらかかるんですか?",REMOVEPRICE, - "必要ないです。",CLOSEOUT; - -REMOVEPRICE: -// mes "[Wise Old Woman]"; -// mes "I charge a flat fee of 200000 zeny, plus 25000 zeny for each card I remove from the item. In addition, I need a star crumb and a yellow gemstone to work my magic."; - mes "[賢い老女]"; - mes "そうだね、"; - mes "まず基本料金として^4040FF200000z^000000。"; - mes "そしてカード1枚につき^4040FF25000z^000000貰うよ。"; - mes "あとは、魔法を使うために^4040FF星のかけら^000000と"; - mes "^4040FFイエロージェムストーン^000000が1つずつ必要だよ。"; - next; -// menu "Very well. Let's do it.",REMOVEMENU, -// "No thanks.",CLOSEOUT; - menu "お願いします。",REMOVEMENU, - "必要ないです。",CLOSEOUT; - -REMOVEMENU: -// mes "[Wise Old Woman]"; -// mes "Very well. Which item shall I examine for you?"; - mes "[賢い老女]"; - mes "よしよし。"; - mes "どの武具のカードを取り外すんだね?"; - next; -// menu "I changed my mind.",CLOSEOUT, - menu "やっぱりやめます。",CLOSEOUT, - getequipname(1),-, - getequipname(2),-, - getequipname(3),-, - getequipname(4),-, - getequipname(5),-, - getequipname(6),-, - getequipname(7),-, - getequipname(8),-, - getequipname(9),-, - getequipname(10),-; - set @part,@menu-1; - if(getequipcardcnt(@part) == 0) goto DENYCARDCOUNT; - set @cardcount,getequipcardcnt(@part); -// if(@cardcount > 1) goto CARDNUMMULTIMSG; -// mes "[Wise Old Woman]"; -// mes "This item has " + @cardcount + " card compounded on it. To perform my magic, I will need 225000 zeny, a ^0000FFStar Crumb^000000, and a ^0000FFYellow Gemstone^000000."; -// goto CARDNUMPOSTMSG; -//CARDNUMMULTIMSG: -// mes "[Wise Old Woman]"; -// mes "This item has " + @cardcount + " cards compounded on it. To perform my magic, I will need " + (200000+(@cardcount * 25000)) + " zeny, a ^0000FFStar Crumb^000000, and a ^0000FFYellow Gemstone^000000."; - mes "[賢い老女]"; - mes "この武具には" + @cardcount + "つカードがついてるね。"; - mes "^0000FF" + (200000+(@cardcount * 25000)) + "z^000000と^0000FF星のかけら^000000と^0000FFイエロージェムストーン^000000が必要だよ。"; -//CARDNUMPOSTMSG: - next; -// menu "Very well. Do it.",REMOVECARDWARNING, -// "Never mind.",CLOSEOUT; - menu "わかりました、お願いします。",REMOVECARDWARNING, - "やっぱりやめます。",CLOSEOUT; - -REMOVECARDWARNING: -// mes "[Wise Old Woman]"; -// mes "Before I begin, I must warn you--I may fail. If I do, I may destroy the cards, the item, or both. I do not give refunds. That being said, which is more important to you: The cards, or the item?"; - mes "[賢い老女]"; - mes "おっと言い忘れるところだったね。"; - mes "この魔法はとても難しいから、"; - mes "^FF4040失敗するかもしれない^000000のさ。"; - mes "失敗したらカードか武具、あるいは"; - mes "その両方が^FF4040破壊されてしまう^000000かも"; - mes "しれないんだよ。"; - next; - mes "[賢い老女]"; - mes "失敗しても^FF4040返金はしない^000000から、"; - mes "一応聞いて置くけど、比べるなら"; - mes "カードと武具のどっちが大切だい?"; - next; -// menu "I changed my mind about this.",CLOSEOUT, -// "The item.",PRIORITYITEM, -// "The cards.",PRIORITYCARD; - menu "それならやめます。",CLOSEOUT, - "武具の方が大切です。",PRIORITYITEM, - "カードの方が大切です",PRIORITYCARD; - -PRIORITYITEM: - set @failtype,1; - goto REMOVECARD; - -PRIORITYCARD: - set @failtype,2; - goto REMOVECARD; - -REMOVECARD: -// mes "[Wise Old Woman]"; -// mes "Very well. I shall begin."; - mes "[賢い老女]"; - mes "よし、始めるよ。"; - next; - if((zeny < (200000+(@cardcount * 25000))) || (countitem(1000) < 1) || (countitem(715) < 1)) goto DENYMATERIAL; - set zeny,zeny - (200000+(@cardcount * 25000)); - delitem 1000,1; - delitem 715,1; - -// Replace the constants in the next 3 lines with failure chance values defined in refine_db.txt -// First value = Total failure chance (item and cards destroyed) -// Second value = Partial failure chance (one or the other is destroyed, player decides which one is safe) -// Third value = Harmless failure chance (all that's lost is your investment) - - set @failchance,rand(100); - if(@failchance < 2) goto FAILREMOVECARD0; - if((@failchance < 6) && (@failtype == 1)) goto FAILREMOVECARD1; - if((@failchance < 6) && (@failtype == 2)) goto FAILREMOVECARD2; - if(@failchance < 10) goto FAILREMOVECARD3; - successremovecards @part; -// mes "[Wise Old Woman]"; -// mes "The process was a success. Here are your cards and your item. Farewell."; - mes "[賢い老女]"; - mes "うまくいったよ。"; - mes "これらが武具とアイテムさ。じゃあね。"; - close; - -FAILREMOVECARD0: -// mes "[Wise Old Woman]"; -// mes "The process was a total failure. I am afraid the item and the cards were destroyed."; - mes "[賢い老女]"; - mes "残念だけど完全に失敗したよ。"; - mes "武具もカードも壊れてしまった。"; - failedremovecards @part,0; - close; - -FAILREMOVECARD1: -// mes "[Wise Old Woman]"; -// mes "While I have managed to remove the cards from the item, they were destroyed in the process. The item, however, is okay."; - mes "[賢い老女]"; - mes "頑張ったけどね、"; - mes "カードのほうは全部壊れてしまったよ。"; - mes "でも武具の方は無事だったよ。"; - failedremovecards @part,1; - close; - -FAILREMOVECARD2: -// mes "[Wise Old Woman]"; -// mes "Most unfortunate. I succeeded at removing the cards, but the item itself was destroyed in the process."; - mes "[賢い老女]"; - mes "不運だったね。"; - mes "カードを取り外すのはうまくいったけど"; - mes "武具が壊れてしまったよ。"; - failedremovecards @part,2; - close; - -FAILREMOVECARD3: -// mes "[Wise Old Woman]"; -// mes "I have failed to remove the cards. Luckily, however, both the item and the cards are still okay."; - mes "[賢い老女]"; - mes "カードを取り外すのに失敗したよ。"; - mes "でも、不幸中の幸いさ。"; - mes "武具もカードも無事だよ。"; - failedremovecards @part,3; - close; - -DENYCARDCOUNT: -// mes "[Wise Old Woman]"; -// mes "Young one... There are no cards compounded on this item. I can do nothing with it, I'm afraid."; - mes "[賢い老女]"; - mes "若いの、カードがついてないよ。"; - mes "それじゃアタシの出番はないさ。"; - close; - -DENYMATERIAL: -// mes "[Wise Old Woman]"; -// mes "You do not have all the items I require to work my magic, child. Come again when you do."; - mes "[賢い老女]"; - mes "必要なアイテムが足りないようだね。"; - mes "アイテムを揃えてもう一度来な。"; - close; - -CLOSEOUT: -// mes "[Wise Old Woman]"; -// mes "Very well. Return at once if you seek my services."; - mes "[賢い老女]"; - mes "わかったよ。"; - mes "アタシの力が必要ならいつでも来な。"; - close; - -} diff --git a/npc/sample/npc_equip_sample.txt b/npc/sample/npc_equip_sample.txt deleted file mode 100644 index ce429d924..000000000 --- a/npc/sample/npc_equip_sample.txt +++ /dev/null @@ -1,17 +0,0 @@ - -prontera.gat,161,181,6 script GetEquipID Sample 105,{ - mes "[GetEquipID Sample]"; - mes " GetEquipID(01) : " + getequipid(1); - mes " GetEquipID(02) : " + getequipid(2); - mes " GetEquipID(03) : " + getequipid(3); - mes " GetEquipID(04) : " + getequipid(4); - mes " GetEquipID(05) : " + getequipid(5); - mes " GetEquipID(06) : " + getequipid(6); - mes " GetEquipID(07) : " + getequipid(7); - mes " GetEquipID(08) : " + getequipid(8); - mes " GetEquipID(09) : " + getequipid(9); - mes " GetEquipID(10) : " + getequipid(10); - close; - end; -} - diff --git a/npc/sample/npc_extend_shop.txt b/npc/sample/npc_extend_shop.txt deleted file mode 100644 index 41ea5c112..000000000 --- a/npc/sample/npc_extend_shop.txt +++ /dev/null @@ -1,60 +0,0 @@ -//SuperNovice -prontera.gat,182,213,3 shop Super Novice Shop 716,1243:-1,2112:-1,2340:-1,2352:-1,2414:-1,2510:-1,2628:-1,5055:-1 - -//Whips -prontera.gat,149,139,5 shop Whips Merchant 58,1951:-1,1953:-1,1955:-1,1957:-1,1959:-1,1961:-1,1962:-1,1963:-1,1964:-1 - -//Headgears -prontera.gat,162,175,3 shop Headgears Merchant 1 73,2209:-1,2210:-1,2211:-1,2221:-1,2223:-1,2217:-1,2227:-1,2231:-1,2225:-1,2229:-1 - -//Headgears -prontera.gat,162,172,3 shop Headgears Merchant 2 73,2203:-1,2212:-1,2218:-1,2239:-1,2241:-1,2242:-1,2243:-1,2263:-1,2265:-1,2276:-1,2288:-1,2291:-1,2297:-1 - -//Armor -prontera.gat,162,169,3 shop Armours Merchant 73,2311:-1,2313:-1,2315:-1,2317:-1,2318:-1,2320:-1,2322:-1,2324:-1,2326:-1,2327:-1,2329:-1,2331:-1,2334:-1,2336:-1,2337:-1,2342:-1 - -//Shields -prontera.gat,162,166,3 shop Shields Merchant 73,2102:-1,2104:-1,2106:-1,2108:-1,2109:-1,2110:-1,2111:-1 - -//Boots -prontera.gat,162,163,3 shop Boots Merchant 73,2402:-1,2404:-1,2406:-1,2407:-1,2412:-1,2413:-1 - -//Robes -prontera.gat,162,160,3 shop Robes Merchant 73,2502:-1,2504:-1,2506:-1,2507:-1,2508:-1,2509:-1 - -//Accessory -prontera.gat,162,157,3 shop Accessory Merchant 73,2601:-1,2602:-1,2603:-1,2604:-1,2605:-1,2607:-1,2608:-1,2615:-1,2616:-1,2618:-1,2619:-1 - -//Arrows -prontera.gat,162,154,3 shop Arrows Merchant 73,1750:-1,1751:-1,1752:-1,1753:-1,1754:-1,1755:-1,1756:-1,1757:-1,1758:-1,1759:-1,1760:-1,1761:-1,1762:-1,1763:-1,1764:-1,1765:-1,1766:-1,1767:-1,1768:-1,1769:-1 - -//Alchemist -prontera.gat,162,151,3 shop Alchemist Shop 73.7127:-1,7128:-1,7129:-1,7130:-1,7131:-1,7132:-1,7133:-1,7144:-1,7134:-1,1093:-1 - -//Taming Merchant -prontera.gat,162,148,3 shop Taming Merchant 73,619:-1,620:-1,621:-1,623:-1,624:-1,625:-1,626:-1,627:-1,628:-1,629:-1,630:-1,631:-1,632:-1,633:-1,634:-1,635:-1,636:-1,637:-1,638:-1,639:-1,640:-1,641:-1,642:-1,659:-1 - -//Pet Equipment -prontera.gat,162,145,3 shop Pet Equipment 73,10001:-1,10002:-1,10003:-1,10004:-1,10005:-1,10006:-1,10007:-1,10008:-1,10009:-1,10010:-1,10011:-1,10012:-1,10013:-1,10014:-1,10015:-1,10016:-1,10017:-1,10018:-1,10019:-1,10020:-1 - - -//Weapon Cards -prontera.gat,148,234,5 shop Weapon Card's Merchant 80,4004:100000,4018:100000,4025:100000,4026:100000,4019:100000,4029:100000,4043:100000,4017:100000,4020:100000,4024:100000,4037:100000,4055:100000,4057:100000,4076:100000,4096:100000,4104:100000,4030:100000,4049:100000,4062:100000,4069:100000,4085:100000,4007:100000,4060:100000,4063:100000,4068:100000,4080:100000,4094:100000,4111:100000,4118:100000,4082:20700,4092:100000,4126:100000,4072:100000,4115:100000,4035:100000,4086:100000,4106:100000,4117:100000,4125:100000 - -//Headgear Cards -prontera.gat,148,231,5 shop Headgear Card's Merchant 80,4010:100000,4039:100000,4046:100000,4052:100000,4087:100000,4110:100000,4112:100000,4122:100000,4127:100000 - -//Armor Cards -prontera.gat,146,229,5 shop Armor Card's Merchant 80,4003:100000,4008:100000,4011:100000,4014:100000,4016:100000,4021:100000,4023:100000,4031:100000,4078:100000,4089:100000,4098:100000,4099:100000,4101:100000,4114:100000,4119:100000,4141:100000,4061:100000,4105:100000 - -//Shield Cards -prontera.gat,144,227,5 shop Shield Card's Merchant 80,4013:100000,4032:100000,4058:100000,4059:100000,4066:100000,4074:100000,4083:100000,4120:100000,4124:100000,4136:100000,4138:100000,4045:100000,4067:100000,4075:100000,4090:100000 - -//Robe Cards -prontera.gat,142,225,5 shop Robe Card's Merchant 80,4056:100000,4071:100000,4081:100000,4095:100000,4108:100000,4109:100000,4113:100000,4116:100000,4133:100000,4015:100000,4088:100000,4102:100000,4129:100000 - -//Shoe Cards -prontera.gat,140,223,5 shop Shoes Card's Merchant 80,4009:100000,4038:100000,4050:100000,4070:100000,4097:100000,4100:100000,4107:100000 - -//Accessory Cards -prontera.gat,138,221,5 shop Accessory Card's Merchant 80,4022:100500,4027:100500,4028:100500,4034:100500,4051:100500,4064:100500,4091:100500,4079:100500,4033:100500,4040:100500,4044:100500,4048:100500,4053:100500,4073:100500,4077:100500,4084:100500,4093:100500,4103:100500,4139:100500 \ No newline at end of file diff --git a/npc/sample/npc_sample.txt b/npc/sample/npc_sample.txt deleted file mode 100644 index 390e5db28..000000000 --- a/npc/sample/npc_sample.txt +++ /dev/null @@ -1,457 +0,0 @@ -// -// Athena Sample Script -// (c) 2003 Athena Project. -// -// $Id: npc_sample.txt,v 1.1.1.1 2004/09/10 17:26:47 MagicalTux Exp $ - -// このファイルは、Athenaで使用されるスクリプトの解説と使用例のサンプルと -// なっています。 - -// ============= -// *基本的な書式 -// ============= -// \t\t\t -// \tはTABをあらわします。 -// command は "warp" / "monster" / "shop" / "script" のいずれかになります。 -// 各行において"//"以降はコメントとして無視されます。 -// 以下、個々について解説をしていきます。 -// -// 書式中とかかれている部分はnという文字ではなく、任意の文字列/値を示します。 -// また、[n]は必要に応じて指定する任意の文字列/値となっています。 - -// ======== -// *command -// ======== -// -// --------------- -// *通常warp(warp) -// --------------- -// 書式 : ,, warp ,,[.gat],, -// -// - マップデータファイル名。拡張子は必須です。 -// , - ワープポイントの中心座標(x,y) -// - npc名。一文字以上の任意の文字で指定します。ユニークな名前である必要はありません。 -// 実際には表示されません。 -// , - 動作範囲(x,y) を中心に(dx+1,dy+1)の範囲にPCが来ると発動します -// ,, - -// 移動先のマップデータファイル名,座標(x,y) -// destination_gatnameについては拡張子".gat"はあっても無くても構いません。 -// 移動先のmapデータファイルが存在しない(あるいはmap_configで指定されていない)場合は発動しません。 -// 移動先の座標が進入禁止区域であった場合は、ランダムな座標にワープします。 -// また、同一座標に複数のwarpが置かれていた場合、先に記述されているものが有効になります -// これは、confファイル内で指定される、npc*.txtファイルをまたいでwarpを記述するときも同じことがいえます。 -// 例: -prontera.gat,156,185,4 warp sample1 0,0,prontera.gat,156,225 -prontera.gat,156,185,4 warp sample1a 0,0,prontera.gat,156,230 -// sample1の方が先に記述されているので、156,225に移動します -prontera.gat,156,220,4 warp sample1-1 0,0,prontera.gat,156,180 - -// -------------------- -// *モンスター(monster) -// -------------------- -// 書式:,,[,,] monster ,[,,] -// - マップデータファイル名。拡張子は必須です。 -// , - 初期配置座標(x,y) 0,0であればランダムな位置に配置されます。 -// [,,] - 特定範囲内に配置する時に指定します。 -// - マウスカーソルを合わせたときに表示される名前。名前は一文字以上指定してください -// - キャラクター種。詳細についてはお察しください(db/mob_db.txtが参考になると思いますが...) -// - 配置数 -// [,,] - 同一pc_idをもつモンスターの生成時間についての定義 -// 前回出現時間+出現遅延1,倒された時間+出現遅延2,倒された時間+5秒 で算出される値のうち、最も大きい物を -// 出現時間とします -// 例: -prontera.gat,0,0 monster ポリン 1002,5 - -// --------- -// *店(shop) -// --------- -// 書式:,,, shop ,:[,:[,.....:]] -// - マップデータファイル名。拡張子は必須です。 -// , - NPCの配置座標(x,y) -// - npcの向いている方向。0を北(y座標方向+)として、反時計回り45度きざみになっています -// - マウスカーソルを合わせたときに表示される名前。名前は一文字以上指定してください -// - キャラクター種。詳細についてはお察しください -// : - item_id_Nの商品を価格price_Nとして販売物ウインドウに表示します。 -// item_idについてはdb/item_db.txtを参照してください。 -// 例: -prontera.gat,136,203,6 shop 道具商人 73,501:5,502:20,503:55,504:120,506:20,645:80,656:150,601:30,602:30,611:20,610:400 - -// -====================- -// *NPCスクリプト(script) -// -====================- -// 書式: -// ,,, script [,,],{