summaryrefslogtreecommitdiff
path: root/npc/sample
diff options
context:
space:
mode:
Diffstat (limited to 'npc/sample')
-rw-r--r--npc/sample/PCLoginEvent.txt8
-rw-r--r--npc/sample/bank_test.txt4
-rw-r--r--npc/sample/basejob_baseclass_upper.txt4
-rw-r--r--npc/sample/delitem2.txt4
-rw-r--r--npc/sample/getequipcardid.txt4
-rw-r--r--npc/sample/getiteminfo.txt2
-rw-r--r--npc/sample/getmonsterinfo.txt2
-rw-r--r--npc/sample/gstorage_test.txt6
-rw-r--r--npc/sample/localized_npc.txt4
-rw-r--r--npc/sample/npc_card_remover.txt4
-rw-r--r--npc/sample/npc_dynamic_shop.txt2
-rw-r--r--npc/sample/npc_equip_sample.txt3
-rw-r--r--npc/sample/npc_extend_shop.txt40
-rw-r--r--npc/sample/npc_sample.txt19
-rw-r--r--npc/sample/npc_shop_test.txt52
-rw-r--r--npc/sample/npc_test_arena.txt64
-rw-r--r--npc/sample/npc_test_array.txt4
-rw-r--r--npc/sample/npc_test_chat.txt6
-rw-r--r--npc/sample/npc_test_ev.txt26
-rw-r--r--npc/sample/npc_test_func.txt3
-rw-r--r--npc/sample/npc_test_npctimer.txt4
-rw-r--r--npc/sample/npc_test_npctimer2.txt2
-rw-r--r--npc/sample/npc_test_setitemx.txt3
-rw-r--r--npc/sample/npc_test_setmapflag.txt16
-rw-r--r--npc/sample/npc_test_skill.txt4
-rw-r--r--npc/sample/npc_test_str.txt4
-rw-r--r--npc/sample/npc_testchkoption.txt2
-rw-r--r--npc/sample/npc_time_sample.txt3
28 files changed, 147 insertions, 152 deletions
diff --git a/npc/sample/PCLoginEvent.txt b/npc/sample/PCLoginEvent.txt
index 23c97ebfc..22218a2bf 100644
--- a/npc/sample/PCLoginEvent.txt
+++ b/npc/sample/PCLoginEvent.txt
@@ -7,7 +7,7 @@
// if the script is like this:
//
// [code]
-// prontera.gat,0,0,0 script OnPCLoginEvent -1,{
+// prontera,0,0,0 script OnPCLoginEvent -1,{
// mes "lmao";
// close;
// }
@@ -31,21 +31,21 @@
//
// The 1st type -- with 'event_script_type' set to 0
//
-prontera.gat,0,0,0 script OnPCLoginEvent -1,{
+prontera,0,0,0 script OnPCLoginEvent -1,{
end;
}
//
// The 2nd type -- with 'event_script_type' set to 1
//
-prontera.gat,155,175,0 script An NPC 46,{
+prontera,155,175,0 script An NPC 46,{
close;
OnPCLoginEvent:
// this part will run
close;
}
-prontera.gat,156,176,0 script Another NPC 46,{
+prontera,156,176,0 script Another NPC 46,{
close;
OnPCLoginEvent:
// this part runs AS WELL
diff --git a/npc/sample/bank_test.txt b/npc/sample/bank_test.txt
index 84a5e599d..4baac7b4e 100644
--- a/npc/sample/bank_test.txt
+++ b/npc/sample/bank_test.txt
@@ -1,5 +1,5 @@
// Bank Test
-prontera.gat,162,188,1 script Bank Test 112,{
+prontera,162,188,1 script Bank Test 112,{
cutin "kafra_06",2;
mes "[Bank Test]";
@@ -55,4 +55,4 @@ B_EXIT2:
mes "Good bye!";
cutin "kafra_06",255;
close;
-}
+} \ No newline at end of file
diff --git a/npc/sample/basejob_baseclass_upper.txt b/npc/sample/basejob_baseclass_upper.txt
index 790f36daf..913707404 100644
--- a/npc/sample/basejob_baseclass_upper.txt
+++ b/npc/sample/basejob_baseclass_upper.txt
@@ -1,7 +1,7 @@
-prontera.gat,155,177,1 script Tell Me 725,{
+prontera,155,177,1 script Tell Me 725,{
mes "[Tell Me]";
mes "Class: " + Class;
mes "BaseClass: " + BaseClass;
mes "BaseJob: " + BaseJob;
mes "Upper: " + Uppser;
-}
+} \ No newline at end of file
diff --git a/npc/sample/delitem2.txt b/npc/sample/delitem2.txt
index 6f5f1be48..ef781e81f 100644
--- a/npc/sample/delitem2.txt
+++ b/npc/sample/delitem2.txt
@@ -1,4 +1,4 @@
-prontera.gat,160,182,5 script Deleter2 51,{
+prontera,160,182,5 script Deleter2 51,{
mes "Input item ID";
next;
input @nameid;
@@ -26,4 +26,4 @@ prontera.gat,160,182,5 script Deleter2 51,{
delitem2 @nameid,@amount,@iden,@ref,@attr,@c1,@c2,@c3,@c4;
mes "And here is the moment when Your item should disappear :P";
close;
-}
+} \ No newline at end of file
diff --git a/npc/sample/getequipcardid.txt b/npc/sample/getequipcardid.txt
index da5395c8f..b1fe55505 100644
--- a/npc/sample/getequipcardid.txt
+++ b/npc/sample/getequipcardid.txt
@@ -7,7 +7,7 @@
//= is your EQUPPED item produced?
//============================================================
-prontera.gat,155,177,4 script Check My Hat 810,{
+prontera,155,177,4 script Check My Hat 810,{
mes "Checking your head...";
set @ref,0;
@@ -31,4 +31,4 @@ L_CHECK2:
mes "Card Slot 0:"+getequipcardid(1,0)+" 1:"+getequipcardid(1,1);
mes "Card Slot 2:"+getequipcardid(1,2)+" 3:"+getequipcardid(1,3);
close;
-}
+} \ No newline at end of file
diff --git a/npc/sample/getiteminfo.txt b/npc/sample/getiteminfo.txt
index d3f7718ac..e98212739 100644
--- a/npc/sample/getiteminfo.txt
+++ b/npc/sample/getiteminfo.txt
@@ -1,6 +1,6 @@
//by Lupus
-prontera.gat,156,179,6 script test_getiteminfo 117,{
+prontera,156,179,6 script test_getiteminfo 117,{
mes "Please enter an item ID (501 ... 14000)";
input @value;
//WOW! this line uses INTERNAL function of your client to show item name by its ID!
diff --git a/npc/sample/getmonsterinfo.txt b/npc/sample/getmonsterinfo.txt
index 871e0f385..fd30c66df 100644
--- a/npc/sample/getmonsterinfo.txt
+++ b/npc/sample/getmonsterinfo.txt
@@ -1,6 +1,6 @@
//by Lupus
-prontera.gat,156,179,6 script test_getmonsterinfo 117,{
+prontera,156,179,6 script test_getmonsterinfo 117,{
mes "Please enter a monster ID (1001 ... 2000)";
input @value;
if(getmonsterinfo(@value,MOB_LV)<0 || getmonsterinfo(@value,MOB_NAME)=="Dummy") {
diff --git a/npc/sample/gstorage_test.txt b/npc/sample/gstorage_test.txt
index 98761ea35..6c97fa2bc 100644
--- a/npc/sample/gstorage_test.txt
+++ b/npc/sample/gstorage_test.txt
@@ -1,5 +1,5 @@
/* Guild Warehouse Service Test-Script
-prontera.gat,165,188,4 script Guild Warehouse 112,{
+prontera,165,188,4 script Guild Warehouse 112,{
cutin "kafra_06",2;
mes "[Guild Warehouse Coupler]";
@@ -36,7 +36,7 @@ GS_EXIT4:
*/
// カプラギルド倉庫サービス テストスクリプト
-prontera.gat,165,188,4 script ギルド倉庫カプラ 112,{
+prontera,165,188,4 script ギルド倉庫カプラ 112,{
cutin "kafra_06",2;
mes"[ギルド倉庫カプラ]";
@@ -67,4 +67,4 @@ GS_EXIT3:
GS_EXIT4:
cutin "kafra_06",255;
close;
-}
+} \ No newline at end of file
diff --git a/npc/sample/localized_npc.txt b/npc/sample/localized_npc.txt
index aa7c5fb5a..3a721d108 100644
--- a/npc/sample/localized_npc.txt
+++ b/npc/sample/localized_npc.txt
@@ -113,7 +113,7 @@ function script mes2 {
//////////////////////////////////////////////////////////////
/// Sample localized NPC
-prontera.gat,155,183,4 script LocalizedNPC 705,{
+prontera,155,183,4 script LocalizedNPC 705,{
// Get text for specific languages
set @menu1$, callfunc("getmes2","LNPC_lang",0);
set @menu2$, callfunc("getmes2","LNPC_lang",1);
@@ -148,4 +148,4 @@ OnInterIfInitOnce:
callfunc "setmes2", "LNPC_text", 0, "Something in english";
callfunc "setmes2", "LNPC_text", 1, "Algo em portugu黌";
end;
-}
+} \ No newline at end of file
diff --git a/npc/sample/npc_card_remover.txt b/npc/sample/npc_card_remover.txt
index f991bc32c..c5d7af6ff 100644
--- a/npc/sample/npc_card_remover.txt
+++ b/npc/sample/npc_card_remover.txt
@@ -1,5 +1,5 @@
// Card removal NPC by TyrNemesis^ 日本語訳:胡蝶蘭
-prt_in.gat,28,73,4 script 賢い老女 78,{
+prt_in,28,73,4 script 賢い老女 78,{
UPGRADEROOT:
// mes "[Wise Old Woman]";
@@ -194,4 +194,4 @@ CLOSEOUT:
mes "アタシの力が必要ならいつでも来な。";
close;
-}
+} \ No newline at end of file
diff --git a/npc/sample/npc_dynamic_shop.txt b/npc/sample/npc_dynamic_shop.txt
index c580b2847..ddc39dceb 100644
--- a/npc/sample/npc_dynamic_shop.txt
+++ b/npc/sample/npc_dynamic_shop.txt
@@ -1,6 +1,6 @@
- shop dyn_shop1 -1,501:50
-prontera.gat,181,200,4 script Dynamic Shop 123,{
+prontera,181,200,4 script Dynamic Shop 123,{
callshop "dyn_shop1",0;
end;
diff --git a/npc/sample/npc_equip_sample.txt b/npc/sample/npc_equip_sample.txt
index ce429d924..6cd6f5e69 100644
--- a/npc/sample/npc_equip_sample.txt
+++ b/npc/sample/npc_equip_sample.txt
@@ -1,5 +1,5 @@
-prontera.gat,161,181,6 script GetEquipID Sample 105,{
+prontera,161,181,6 script GetEquipID Sample 105,{
mes "[GetEquipID Sample]";
mes " GetEquipID(01) : " + getequipid(1);
mes " GetEquipID(02) : " + getequipid(2);
@@ -14,4 +14,3 @@ prontera.gat,161,181,6 script GetEquipID Sample 105,{
close;
end;
}
-
diff --git a/npc/sample/npc_extend_shop.txt b/npc/sample/npc_extend_shop.txt
index 41ea5c112..833db80dc 100644
--- a/npc/sample/npc_extend_shop.txt
+++ b/npc/sample/npc_extend_shop.txt
@@ -1,60 +1,60 @@
//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
+prontera,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
+prontera,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
+prontera,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
+prontera,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
+prontera,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
+prontera,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
+prontera,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
+prontera,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
+prontera,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
+prontera,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
+prontera,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
+prontera,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
+prontera,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
+prontera,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
+prontera,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
+prontera,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
+prontera,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
+prontera,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
+prontera,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
+prontera,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
index 390e5db28..9dce66094 100644
--- a/npc/sample/npc_sample.txt
+++ b/npc/sample/npc_sample.txt
@@ -26,7 +26,7 @@
// ---------------
// *通常warp(warp)
// ---------------
-// 書式 : <gatname>,<x>,<y> warp <displayname(hidden)> <dx>,<dy>,<destination_gatname>[.gat],<destination_x>,<destination_y>
+// 書式 : <gatname>,<x>,<y> warp <displayname(hidden)> <dx>,<dy>,<destination_gatname>[],<destination_x>,<destination_y>
//
// <gatname> - マップデータファイル名。拡張子は必須です。
// <x>,<y> - ワープポイントの中心座標(x,y)
@@ -35,16 +35,16 @@
// <dx>,<dy> - 動作範囲(x,y) <x,y>を中心に(dx+1,dy+1)の範囲にPCが来ると発動します
// <destination_gatname>,<destination_x>,<destination_y> -
// 移動先のマップデータファイル名,座標(x,y)
-// destination_gatnameについては拡張子".gat"はあっても無くても構いません。
+// destination_gatnameについては拡張子""はあっても無くても構いません。
// 移動先の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
+prontera,156,185,4 warp sample1 0,0,prontera,156,225
+prontera,156,185,4 warp sample1a 0,0,prontera,156,230
// sample1の方が先に記述されているので、156,225に移動します
-prontera.gat,156,220,4 warp sample1-1 0,0,prontera.gat,156,180
+prontera,156,220,4 warp sample1-1 0,0,prontera,156,180
// --------------------
// *モンスター(monster)
@@ -60,7 +60,7 @@ prontera.gat,156,220,4 warp sample1-1 0,0,prontera.gat,156,180
// 前回出現時間+出現遅延1,倒された時間+出現遅延2,倒された時間+5秒 で算出される値のうち、最も大きい物を
// 出現時間とします
// 例:
-prontera.gat,0,0 monster ポリン 1002,5
+prontera,0,0 monster ポリン 1002,5
// ---------
// *店(shop)
@@ -74,7 +74,7 @@ prontera.gat,0,0 monster ポリン 1002,5
// <item_id_N>:<price_N> - 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
+prontera,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)
@@ -295,7 +295,7 @@ prontera.gat,136,203,6 shop 道具商人 73,501:5,502:20,503:55,504:120,506:20,645:8
//
// scriptの例:
-prontera.gat,146,203,2 script デバッガー要員 116,{
+prontera,146,203,2 script デバッガー要員 116,{
cutin "kafra_02",2;
if(countitem(515)<10) goto Llesscarrot;
mes "[デバッガー要員]";
@@ -407,7 +407,7 @@ Lend: cutin "kafra_02",255;
close;
end; }
-prontera.gat,156,195,4 script カプラ職員 112,{
+prontera,156,195,4 script カプラ職員 112,{
mes "[カプラ職員]";
mes "いらっしゃいませ";
mes "こちらでは、現在のAthenaの状況を説明いたします。";
@@ -454,4 +454,3 @@ Lend: mes "[カプラ職員]";
mes "[カプラ職員]";
mes "AthenaではIDの最後に_Fまたは_Mを付けると新規IDが発行される仕組になっていますが、";
goto Lcont2; }
-
diff --git a/npc/sample/npc_shop_test.txt b/npc/sample/npc_shop_test.txt
index f619cbdb1..7d8caa451 100644
--- a/npc/sample/npc_shop_test.txt
+++ b/npc/sample/npc_shop_test.txt
@@ -1,31 +1,31 @@
// プロンテラ噴水周辺
-prontera.gat,156,192,3 shop カードショップ1 95,4001:100,4002:100,4003:100,4004:100,4005:100,4006:100,4007:100,4008:100,4009:100,4010:100,4011:100,4012:100,4013:100,4014:100,4015:100,4016:100,4017:100,4018:100,4019:100,4020:100,4021:100,4022:100,4023:100,4024:100,4025:100,4026:100,4027:100,4028:100,4029:100,4030:100,4031:100,4032:100,4033:100,4034:100,4035:100,4036:100,4037:100,4038:100,4039:100,4040:100,4041:100,4042:100,4043:100,4044:100,4045:100,4046:100,4047:100,4048:100,4049:100,4050:100
-prontera.gat,154,192,1 shop カードショップ2 123,4051:100,4052:100,4053:100,4054:100,4055:100,4056:100,4057:100,4058:100,4059:100,4060:100,4061:100,4062:100,4063:100,4064:100,4065:100,4066:100,4067:100,4068:100,4069:100,4070:100,4071:100,4072:100,4073:100,4074:100,4075:100,4076:100,4077:100,4078:100,4079:100,4080:100,4081:100,4082:100,4083:100,4084:100,4085:100,4086:100,4087:100,4088:100,4089:100,4090:100,4091:100,4092:100,4093:100,4094:100,4095:100,4096:100,4097:100,4098:100,4099:100,4100:100
-prontera.gat,158,192,1 shop カードショップ3 67,4101:100,4102:100,4103:100,4104:100,4105:100,4106:100,4107:100,4108:100,4109:100,4110:100,4111:100,4112:100,4113:100,4114:100,4115:100,4116:100,4117:100,4118:100,4119:100,4120:100,4121:100,4122:100,4123:100,4124:100,4125:100,4126:100,4127:100,4128:100,4129:100,4130:100,4131:100,4132:100,4133:100,4134:100,4135:100,4136:100,4137:100,4138:100,4139:100,4140:100,4141:100,4142:100,4143:100,4144:100,4145:100,4146:100,4147:100,4148:100
-prontera.gat,144,205,1 shop 頭装備屋1 71,2201:100,2202:100,2203:100,2204:100,2205:100,2206:100,2207:100,2208:100,2209:100,2210:100,2211:100,2212:100,2213:100,2214:100,2215:100,2216:100,2217:100,2218:100,2219:100,2220:100,2221:100,2222:100,2223:100,2224:100,2225:100,2226:100,2227:100,2228:100,2229:100,2230:100,2231:100,2232:100,2233:100,2234:100,2235:100,2236:100,2237:100,2239:100,2240:100,2241:100,2242:100,2243:100,2244:100,2245:100,2246:100,2247:100,2248:100,2249:100,2250:100
-prontera.gat,144,203,3 shop 頭装備屋2 101,2251:100,2252:100,2253:100,2254:100,2255:100,2256:100,2257:100,2258:100,2259:100,2260:100,2261:100,2262:100,2263:100,2264:100,2265:100,2266:100,2267:100,2268:100,2269:100,2270:100,2271:100,2272:100,2273:100,2274:100,2275:100,2276:100,2277:100,2278:100,2279:100,2280:100,2281:100,2282:100,2283:100,2284:100,2285:100,2286:100,2287:100,2288:100,2289:100,2290:100,2291:100,2292:100,2293:100,2294:100,2295:100,2296:100,2297:100,2298:100,2299:100
-prontera.gat,144,201,3 shop 頭装備屋3 69,5001:100,5002:100,5003:100,5004:100,5005:100,5006:100,5007:100,5008:100,5009:100,5010:100,5011:100,5012:100,5013:100,5014:100,5015:100,5016:100,5017:100,5018:100,5019:100
-prontera.gat,167,202,5 shop アクセサリーショップ 102,2601:100,2602:100,2603:100,2604:100,2605:100,2607:100,2608:100,2609:100,2610:100,2611:100,2612:100,2613:100,2614:100,2615:100,2616:100,2617:100,2618:100,2619:100,2620:100,2621:100,2622:100,2623:100,2624:100,2625:100,2626:100,2627:100,2628:100
-prontera.gat,167,204,6 shop 雑貨屋 96,501:100,502:100,503:100,504:100,505:100,506:100,507:100,508:100,509:100,510:100,511:100,512:100,513:100,514:100,515:100,516:100,517:100,518:100,519:100,520:100,521:100,522:100,523:100,525:100,526:100,528:100,529:100,530:100,531:100,532:100,533:100,534:100,535:100,536:100,537:100,538:100,539:100,601:100,602:100,603:100,604:100,605:100,606:100,607:100,608:100,609:100,610:100
-prontera.gat,167,206,6 shop 鍛冶屋専門店 90,714:100,715:100,716:100,717:100,718:100,719:100,720:100,721:100,722:100,723:100,724:100,725:100,726:100,727:100,728:100,729:100,730:100,731:100,732:100,733:100,756:100,757:100,984:100,985:100,990:100,991:100,992:100,993:100,994:100,995:100,996:100,997:100,1010:100,1011:100,998:100,999:100,1000:100,1001:100,1002:100,1003:100,913:100,920:100,718:100,958:100,957:100,922:100,963:100,923:100,968:100,1005:100,612:100,615:100,989:100
-prontera.gat,164,204,5 shop 日本限定品店 81,542:100,543:100,1766:100
+prontera,156,192,3 shop カードショップ1 95,4001:100,4002:100,4003:100,4004:100,4005:100,4006:100,4007:100,4008:100,4009:100,4010:100,4011:100,4012:100,4013:100,4014:100,4015:100,4016:100,4017:100,4018:100,4019:100,4020:100,4021:100,4022:100,4023:100,4024:100,4025:100,4026:100,4027:100,4028:100,4029:100,4030:100,4031:100,4032:100,4033:100,4034:100,4035:100,4036:100,4037:100,4038:100,4039:100,4040:100,4041:100,4042:100,4043:100,4044:100,4045:100,4046:100,4047:100,4048:100,4049:100,4050:100
+prontera,154,192,1 shop カードショップ2 123,4051:100,4052:100,4053:100,4054:100,4055:100,4056:100,4057:100,4058:100,4059:100,4060:100,4061:100,4062:100,4063:100,4064:100,4065:100,4066:100,4067:100,4068:100,4069:100,4070:100,4071:100,4072:100,4073:100,4074:100,4075:100,4076:100,4077:100,4078:100,4079:100,4080:100,4081:100,4082:100,4083:100,4084:100,4085:100,4086:100,4087:100,4088:100,4089:100,4090:100,4091:100,4092:100,4093:100,4094:100,4095:100,4096:100,4097:100,4098:100,4099:100,4100:100
+prontera,158,192,1 shop カードショップ3 67,4101:100,4102:100,4103:100,4104:100,4105:100,4106:100,4107:100,4108:100,4109:100,4110:100,4111:100,4112:100,4113:100,4114:100,4115:100,4116:100,4117:100,4118:100,4119:100,4120:100,4121:100,4122:100,4123:100,4124:100,4125:100,4126:100,4127:100,4128:100,4129:100,4130:100,4131:100,4132:100,4133:100,4134:100,4135:100,4136:100,4137:100,4138:100,4139:100,4140:100,4141:100,4142:100,4143:100,4144:100,4145:100,4146:100,4147:100,4148:100
+prontera,144,205,1 shop 頭装備屋1 71,2201:100,2202:100,2203:100,2204:100,2205:100,2206:100,2207:100,2208:100,2209:100,2210:100,2211:100,2212:100,2213:100,2214:100,2215:100,2216:100,2217:100,2218:100,2219:100,2220:100,2221:100,2222:100,2223:100,2224:100,2225:100,2226:100,2227:100,2228:100,2229:100,2230:100,2231:100,2232:100,2233:100,2234:100,2235:100,2236:100,2237:100,2239:100,2240:100,2241:100,2242:100,2243:100,2244:100,2245:100,2246:100,2247:100,2248:100,2249:100,2250:100
+prontera,144,203,3 shop 頭装備屋2 101,2251:100,2252:100,2253:100,2254:100,2255:100,2256:100,2257:100,2258:100,2259:100,2260:100,2261:100,2262:100,2263:100,2264:100,2265:100,2266:100,2267:100,2268:100,2269:100,2270:100,2271:100,2272:100,2273:100,2274:100,2275:100,2276:100,2277:100,2278:100,2279:100,2280:100,2281:100,2282:100,2283:100,2284:100,2285:100,2286:100,2287:100,2288:100,2289:100,2290:100,2291:100,2292:100,2293:100,2294:100,2295:100,2296:100,2297:100,2298:100,2299:100
+prontera,144,201,3 shop 頭装備屋3 69,5001:100,5002:100,5003:100,5004:100,5005:100,5006:100,5007:100,5008:100,5009:100,5010:100,5011:100,5012:100,5013:100,5014:100,5015:100,5016:100,5017:100,5018:100,5019:100
+prontera,167,202,5 shop アクセサリーショップ 102,2601:100,2602:100,2603:100,2604:100,2605:100,2607:100,2608:100,2609:100,2610:100,2611:100,2612:100,2613:100,2614:100,2615:100,2616:100,2617:100,2618:100,2619:100,2620:100,2621:100,2622:100,2623:100,2624:100,2625:100,2626:100,2627:100,2628:100
+prontera,167,204,6 shop 雑貨屋 96,501:100,502:100,503:100,504:100,505:100,506:100,507:100,508:100,509:100,510:100,511:100,512:100,513:100,514:100,515:100,516:100,517:100,518:100,519:100,520:100,521:100,522:100,523:100,525:100,526:100,528:100,529:100,530:100,531:100,532:100,533:100,534:100,535:100,536:100,537:100,538:100,539:100,601:100,602:100,603:100,604:100,605:100,606:100,607:100,608:100,609:100,610:100
+prontera,167,206,6 shop 鍛冶屋専門店 90,714:100,715:100,716:100,717:100,718:100,719:100,720:100,721:100,722:100,723:100,724:100,725:100,726:100,727:100,728:100,729:100,730:100,731:100,732:100,733:100,756:100,757:100,984:100,985:100,990:100,991:100,992:100,993:100,994:100,995:100,996:100,997:100,1010:100,1011:100,998:100,999:100,1000:100,1001:100,1002:100,1003:100,913:100,920:100,718:100,958:100,957:100,922:100,963:100,923:100,968:100,1005:100,612:100,615:100,989:100
+prontera,164,204,5 shop 日本限定品店 81,542:100,543:100,1766:100
// プロンテラ中央南
-prontera.gat,141,175,5 shop 弓屋 102,1705:100,1711:100,1716:100,1719:100,1720:100,1750:1,1751:1,1752:1,1753:1,1754:1,1755:1,1756:1,1766:1,1065:1
-prontera.gat,141,173,5 shop 剣屋 102,1117:100,1125:100,1155:100,1162:100,1130:100,1131:100,1132:100,1133:100,1134:100,1135:100,1136:100,1137:100,1138:100,1139:100,1140:100,1141:100,1161:100,1162:100,1163:100,1164:100,1165:100,1166:100,1167:100,1168:100,1169:100,1170:100
-prontera.gat,141,171,5 shop 槍屋 102,1408:100,1461:100,1464:100,1413:100,1414:100,1415:100,1416:100,1466:100,1467:100,1468:100,1469:100,1470:100,1471:100
-prontera.gat,141,169,5 shop 斧屋 102,1352:100,1355:100,1361:100,1363:100,1364:100,1365:100,1366:100,1367:100,1368:100,1369:100
-prontera.gat,141,167,5 shop 短剣屋 102,1208:100,1220:100,1223:100,1224:100,1225:100,1226:100,1227:100,1228:100,1229:100,1230:100,1231:100,1232:100,1233:100,1234:100,1235:100,1236:100,1237:100
-prontera.gat,141,165,5 shop 鈍器屋 102,1505:100,1520:100,1514:100,1517:100,1522:100,1523:100,1524:100,1525:100,1526:100,1527:100,1528:100
-prontera.gat,141,163,5 shop カタール屋 102,1251:100,1253:100,1255:100,1256:100,1257:100,1258:100,1259:100,1260:100,1261:100
-prontera.gat,141,161,5 shop 杖屋 102,1602:100,1608:100,1611:100,1613:100,1614:100,1615:100
-prontera.gat,141,159,5 shop 本屋 102,1550:100,1551:100,1552:100,1553:100,1554:100,1555:100,1556:100,1557:100,1558:100
-prontera.gat,141,177,5 shop 防具屋 102,2306:100,2339:100,2311:100,2331:100,2336:100,2337:100,2326:100,2327:100,2315:100,2317:100,2102:100,2104:100,2106:100,2108:100,2402:100,2404:100,2406:100,2407:100,2408:100,2409:100,2502:100,2504:100,2506:100,2507:100,2508:100
+prontera,141,175,5 shop 弓屋 102,1705:100,1711:100,1716:100,1719:100,1720:100,1750:1,1751:1,1752:1,1753:1,1754:1,1755:1,1756:1,1766:1,1065:1
+prontera,141,173,5 shop 剣屋 102,1117:100,1125:100,1155:100,1162:100,1130:100,1131:100,1132:100,1133:100,1134:100,1135:100,1136:100,1137:100,1138:100,1139:100,1140:100,1141:100,1161:100,1162:100,1163:100,1164:100,1165:100,1166:100,1167:100,1168:100,1169:100,1170:100
+prontera,141,171,5 shop 槍屋 102,1408:100,1461:100,1464:100,1413:100,1414:100,1415:100,1416:100,1466:100,1467:100,1468:100,1469:100,1470:100,1471:100
+prontera,141,169,5 shop 斧屋 102,1352:100,1355:100,1361:100,1363:100,1364:100,1365:100,1366:100,1367:100,1368:100,1369:100
+prontera,141,167,5 shop 短剣屋 102,1208:100,1220:100,1223:100,1224:100,1225:100,1226:100,1227:100,1228:100,1229:100,1230:100,1231:100,1232:100,1233:100,1234:100,1235:100,1236:100,1237:100
+prontera,141,165,5 shop 鈍器屋 102,1505:100,1520:100,1514:100,1517:100,1522:100,1523:100,1524:100,1525:100,1526:100,1527:100,1528:100
+prontera,141,163,5 shop カタール屋 102,1251:100,1253:100,1255:100,1256:100,1257:100,1258:100,1259:100,1260:100,1261:100
+prontera,141,161,5 shop 杖屋 102,1602:100,1608:100,1611:100,1613:100,1614:100,1615:100
+prontera,141,159,5 shop 本屋 102,1550:100,1551:100,1552:100,1553:100,1554:100,1555:100,1556:100,1557:100,1558:100
+prontera,141,177,5 shop 防具屋 102,2306:100,2339:100,2311:100,2331:100,2336:100,2337:100,2326:100,2327:100,2315:100,2317:100,2102:100,2104:100,2106:100,2108:100,2402:100,2404:100,2406:100,2407:100,2408:100,2409:100,2502:100,2504:100,2506:100,2507:100,2508:100
// テイミング商人
-prontera.gat,218,211,4 shop テイミング商人 125,537:2500,643:3000,10013:1500,10014:2000
-izlude.gat,164,138,4 shop テイミング商人 124,537:2500,643:3000,10013:1500,10014:2000
-morocc.gat,269,167,4 shop テイミング商人 125,537:2500,643:3000,10013:1500,10014:2000
-geffen.gat,193,152,4 shop テイミング商人 124,537:2500,643:3000,10013:1500,10014:2000
-payon.gat,142,104,4 shop テイミング商人 124,537:2500,643:3000,10013:1500,10014:2000
+prontera,218,211,4 shop テイミング商人 125,537:2500,643:3000,10013:1500,10014:2000
+izlude,164,138,4 shop テイミング商人 124,537:2500,643:3000,10013:1500,10014:2000
+morocc,269,167,4 shop テイミング商人 125,537:2500,643:3000,10013:1500,10014:2000
+geffen,193,152,4 shop テイミング商人 124,537:2500,643:3000,10013:1500,10014:2000
+payon,142,104,4 shop テイミング商人 124,537:2500,643:3000,10013:1500,10014:2000
-// EOF //
+// EOF // \ No newline at end of file
diff --git a/npc/sample/npc_test_arena.txt b/npc/sample/npc_test_arena.txt
index 1704c57bf..2ba093d03 100644
--- a/npc/sample/npc_test_arena.txt
+++ b/npc/sample/npc_test_arena.txt
@@ -3,43 +3,43 @@
// ------------------------------------------------------------------
// 次のマップを使います
-//map: prontera.gat
-//map: prt_are_in.gat
-//map: force_1-1.gat
+//map: prontera
+//map: prt_are_in
+//map: force_1-1
// テレポなどの禁止処理
-prt_are_in.gat mapflag nomemo dummy
-prt_are_in.gat mapflag noteleport dummy
-prt_are_in.gat mapflag nosave prontera.gat,156,191
-force_1-1.gat mapflag nomemo dummy
-force_1-1.gat mapflag noteleport dummy
-force_1-1.gat mapflag nosave prontera.gat,156,191
+prt_are_in mapflag nomemo dummy
+prt_are_in mapflag noteleport dummy
+prt_are_in mapflag nosave prontera,156,191
+force_1-1 mapflag nomemo dummy
+force_1-1 mapflag noteleport dummy
+force_1-1 mapflag nosave prontera,156,191
// プロンテラに入り口を置く
-prontera.gat,160,185,0 script アリーナ入り口 116,{
+prontera,160,185,0 script アリーナ入り口 116,{
mes "アリーナ入り口に飛びますか?";
next;
menu "飛ぶ",L_GOARENA,"やめる",L_YAME;
L_GOARENA:
- warp "prt_are_in.gat",31,82;
+ warp "prt_are_in",31,82;
close;
L_YAME:
close;
}
// 待機室から準備室への転送
-prt_are_in.gat,29,79,0 script タイムアタック1 116,{
- if( getmapusers("force_1-1.gat")>0 ) goto L_WAIT;
+prt_are_in,29,79,0 script タイムアタック1 116,{
+ if( getmapusers("force_1-1")>0 ) goto L_WAIT;
mes "ここはタイムアタックLv1です";
mes "挑戦しますか?";
menu "はい",L_GOLV1,"やめる",L_YAME;
L_GOLV1:
- if( getmapusers("force_1-1.gat")>0 ) goto L_WAIT;
+ if( getmapusers("force_1-1")>0 ) goto L_WAIT;
disablenpc "fc103-1";
disablenpc "fc105";
disablenpc "fc107";
addtimer 5000,"arenatestev0000";
- warp "force_1-1.gat",99,12;
+ warp "force_1-1",99,12;
end;
L_WAIT:
mes "現在挑戦中の方がいますので、";
@@ -49,23 +49,23 @@ L_YAME:
}
// 準備室(10秒準備期間)
-force_1-1.gat,99,12,0 script arenatestev0000 -1,{
+force_1-1,99,12,0 script arenatestev0000 -1,{
announce "10秒後に開始します",3;
addtimer 10000,"arenatestev0001";
}
// 実際の部屋への転送とMOBの設定
-force_1-1.gat,99,12,0 script arenatestev0001 -1,{
- killmonster "force_1-1.gat","arenatestev1000";
- monster "force_1-1.gat",25,25,"--ja--",1002,1,"arenatestev1000";
- monster "force_1-1.gat",20,25,"--ja--",1002,1,"arenatestev1000";
- monster "force_1-1.gat",25,20,"--ja--",1002,1,"arenatestev1000";
- monster "force_1-1.gat",30,25,"--ja--",1002,1,"arenatestev1000";
- monster "force_1-1.gat",25,30,"--ja--",1002,1,"arenatestev1000";
+force_1-1,99,12,0 script arenatestev0001 -1,{
+ killmonster "force_1-1","arenatestev1000";
+ monster "force_1-1",25,25,"--ja--",1002,1,"arenatestev1000";
+ monster "force_1-1",20,25,"--ja--",1002,1,"arenatestev1000";
+ monster "force_1-1",25,20,"--ja--",1002,1,"arenatestev1000";
+ monster "force_1-1",30,25,"--ja--",1002,1,"arenatestev1000";
+ monster "force_1-1",25,30,"--ja--",1002,1,"arenatestev1000";
set $arenatest00,5;
disablenpc "fc101";
disablenpc "fc103";
- warp "force_1-1.gat",25,26;
+ warp "force_1-1",25,26;
enablenpc "fc103-1";
enablenpc "fc105";
enablenpc "fc107";
@@ -74,14 +74,14 @@ force_1-1.gat,99,12,0 script arenatestev0001 -1,{
}
// 倒した処理
-force_1-1.gat,25,26,0 script arenatestev1000 -1,{
+force_1-1,25,26,0 script arenatestev1000 -1,{
set $arenatest00, $arenatest00 - 1;
if( $arenatest00 > 0 ) goto L_CONT;
deltimer "arenatestev8000";
announce "クラッシュ!!",3;
enablenpc "fc101";
enablenpc "fc103";
- areaannounce "prt_are_in.gat",25,75,40,90,
+ areaannounce "prt_are_in",25,75,40,90,
strcharinfo(0) + " がタイムアタックLv1をクリアしました",0;
addtimer 5000,"arenatestev9000";
L_CONT:
@@ -89,16 +89,16 @@ L_CONT:
}
// タイムアウト
-force_1-1.gat,25,26,0 script arenatestev8000 -1,{
+force_1-1,25,26,0 script arenatestev8000 -1,{
set $arenatest00,99;
- killmonster "force_1-1.gat","arenatestev1000";
+ killmonster "force_1-1","arenatestev1000";
announce "タイムオーバー!!",3;
- areaannounce "prt_are_in.gat",25,75,40,90,
+ areaannounce "prt_are_in",25,75,40,90,
strcharinfo(0) + " がタイムアタックLv1に失敗しました",0;
addtimer 5000,"arenatestev9000";
}
// プロンテラに帰る
-force_1-1.gat,25,26,0 script arenatestev9000 -1,{
- warp "prontera.gat",156,191;
-}
+force_1-1,25,26,0 script arenatestev9000 -1,{
+ warp "prontera",156,191;
+} \ No newline at end of file
diff --git a/npc/sample/npc_test_array.txt b/npc/sample/npc_test_array.txt
index 9f1fd219c..0cb04fa27 100644
--- a/npc/sample/npc_test_array.txt
+++ b/npc/sample/npc_test_array.txt
@@ -1,5 +1,5 @@
// 配列のテスト
-prontera.gat,164,190,1 script 配列テスト 112,{
+prontera,164,190,1 script 配列テスト 112,{
set @hoge[0],1;
set @hoge[1],5;
mes "hoge[2]を入力してください";
@@ -32,4 +32,4 @@ prontera.gat,164,190,1 script 配列テスト 112,{
mes "hoge[3]=> " + @hoge[3];
close;
-}
+} \ No newline at end of file
diff --git a/npc/sample/npc_test_chat.txt b/npc/sample/npc_test_chat.txt
index 6f29a2718..8d51bd80f 100644
--- a/npc/sample/npc_test_chat.txt
+++ b/npc/sample/npc_test_chat.txt
@@ -1,6 +1,6 @@
-prontera.gat,158,182,0 script chatテスト::test0001 116,{
+prontera,158,182,0 script chatテスト::test0001 116,{
mes "トリガー人数" + getwaitingroomstate(2);
mes "トリガー状態" + getwaitingroomstate(3);
menu "有効化",L_ENA,"無効化",L_DISA,"削除",L_DEL,"作成",L_MAKE;
@@ -22,7 +22,7 @@ OnInit:
end;
OnChatEvent:
disablewaitingroomevent;
- warpwaitingpc "prontera.gat",160,180;
+ warpwaitingpc "prontera",160,180;
end;
-}
+} \ No newline at end of file
diff --git a/npc/sample/npc_test_ev.txt b/npc/sample/npc_test_ev.txt
index e0303a61f..cc170373e 100644
--- a/npc/sample/npc_test_ev.txt
+++ b/npc/sample/npc_test_ev.txt
@@ -30,24 +30,24 @@
// ----------イベント駆動のサンプル -------------
// クリックするとイベント「event_test2」を起こすNPC
-prontera.gat,155,180,0 script ev_doテスト 116,{
+prontera,155,180,0 script ev_doテスト 116,{
doevent "event_test2";
}
// ----------MOBによるイベント駆動のサンプル -------------
// 倒すとイベント「event_test」を起こすモンスターの[召喚]
-prontera.gat,150,185,0 script ev_mobテスト 116,{
+prontera,150,185,0 script ev_mobテスト 116,{
monster "this",0,0,"Event_Mob2",1002,1,"event_test";
}
// ----------MOBによるイベント駆動のサンプル2-------------
// 倒すとイベント「event_test3」を起こすモンスターの[配置]
-prontera.gat,150,180,0 monster Event_Mob 1008,1,0,0,event_test3
+prontera,150,180,0 monster Event_Mob 1008,1,0,0,event_test3
// ----------タイマによるイベント駆動のサンプル -------------
// クリックすると5秒後にラベル「OnTimer」を実行するNPC
// (イベント名に「NPC名::On〜で始まるラベル」を指定するとラベルを実行できる)
-prontera.gat,155,185,0 script ev_timerテスト 116,{
+prontera,155,185,0 script ev_timerテスト 116,{
addtimer 5000,"ev_timerテスト::OnTimer";
end;
OnTimer:
@@ -58,13 +58,13 @@ OnTimer:
// ----------OnInit/チャットルームによるイベント駆動のサンプル -------------
// マップサーバー起動時にラベル「OnInit」が実行され、チャットを作る
// また、waitingroomの第3引数にイベントを設定する
-prontera.gat,145,180,0 script ev_initテスト 116,{
+prontera,145,180,0 script ev_initテスト 116,{
end;
OnInit:
waitingroom "OnInitテスト",1,"ev_initテスト::OnMax";
end;
OnMax:
- warpwaitingpc "prontera.gat",155,190;
+ warpwaitingpc "prontera",155,190;
end;
}
@@ -72,7 +72,7 @@ OnMax:
// ----------時計によるイベント駆動のサンプル -------------
// 指定の時刻や日付でイベントを実行する
// announceに0x08フラグを指定しているところに注意してください。
-prontera.gat,145,185,0 script ev_clockテスト 116,{
+prontera,145,185,0 script ev_clockテスト 116,{
end;
// 毎時5分
OnMinute05:
@@ -105,21 +105,21 @@ OnDate0101:
// ----------イベントで、エリアは指定していないサンプル------------
// 同じマップ内でイベント「event_test」が起こると実行される
-prontera.gat,150,185,0 script event_test -1,{
+prontera,150,185,0 script event_test -1,{
announce strcharinfo(0) + " が召喚MOBを倒しました",2;
close;
}
// ----------イベントで、エリアを指定したサンプル------------
// (155,185)から半径5セル以内でイベント「event_test2」が起こると実行される
-prontera.gat,155,180,0 script event_test2 -1,5,5 {
+prontera,155,180,0 script event_test2 -1,5,5 {
announce "5セル以内でクリックしましたね",19;
close;
}
// ----------イベントで、エリアを-1にしたサンプル------------
// 同じマップ鯖でイベント「event_test3」が起こると実行される
-prontera.gat,150,180,0 script event_test3 -1,-1,-1 {
+prontera,150,180,0 script event_test3 -1,-1,-1 {
mes "配置MOB倒しましたね";
close;
}
@@ -134,13 +134,13 @@ prontera.gat,150,180,0 script event_test3 -1,-1,-1 {
// ----------セーブ禁止のサンプル---------
// このマップでログアウトすると、必ず プロンテラ の座標(156,190)に
// セーブされる
-//prontera.gat mapflag nosave prontera.gat,156,190
+//prontera mapflag nosave prontera,156,190
// ----------メモ禁止のサンプル---------
// このマップではメモがとれない
-//prontera.gat mapflag nomemo dummy
+//prontera mapflag nomemo dummy
// ----------テレポ禁止のサンプル---------
// このマップでは蝿、蝶、テレポ、ポタが使えない
// 注意:スクリプトのwarpの"Random","SavePoint"が無効になります
-//prontera.gat mapflag noteleport dummy
+//prontera mapflag noteleport dummy \ No newline at end of file
diff --git a/npc/sample/npc_test_func.txt b/npc/sample/npc_test_func.txt
index a484ccb48..2e613404f 100644
--- a/npc/sample/npc_test_func.txt
+++ b/npc/sample/npc_test_func.txt
@@ -12,7 +12,7 @@ function script func002 {
}
// 関数の呼び出しとサブルーティンのテスト
-prontera.gat,168,189,1 script 関数テスト 112,{
+prontera,168,189,1 script 関数テスト 112,{
callfunc "func001"; // ユーザー定義関数は文字列で指定
mes callfunc("func002");
next;
@@ -24,4 +24,3 @@ L_SUB001:
mes "サブルーティン";
return; // 省略できない
}
-
diff --git a/npc/sample/npc_test_npctimer.txt b/npc/sample/npc_test_npctimer.txt
index d35c7d4c3..bfe1a93db 100644
--- a/npc/sample/npc_test_npctimer.txt
+++ b/npc/sample/npc_test_npctimer.txt
@@ -1,5 +1,5 @@
-prontera.gat,156,183,0 script NPCtimerテスト::npctimerX0000 116,{
+prontera,156,183,0 script NPCtimerテスト::npctimerX0000 116,{
mes "タイマー値" + getnpctimer(0);
mes "タイマー状態" + getnpctimer(1,"npctimerX0000");
mes "イベント個数" + getnpctimer(2);
@@ -30,4 +30,4 @@ OnTimer5000:
OnTimer10000:
announce "10秒経過",0;
end;
-}
+} \ No newline at end of file
diff --git a/npc/sample/npc_test_npctimer2.txt b/npc/sample/npc_test_npctimer2.txt
index d426e1e81..484232726 100644
--- a/npc/sample/npc_test_npctimer2.txt
+++ b/npc/sample/npc_test_npctimer2.txt
@@ -1,4 +1,4 @@
-prontera.gat,156,183,0 script NPCtimerテスト::npctimerX0000 116,{
+prontera,156,183,0 script NPCtimerテスト::npctimerX0000 116,{
L_INIT:
mes "What would you like to know?";
menu "Tell me my level",L_WAIT;
diff --git a/npc/sample/npc_test_setitemx.txt b/npc/sample/npc_test_setitemx.txt
index a13a3f836..dbefd5cc2 100644
--- a/npc/sample/npc_test_setitemx.txt
+++ b/npc/sample/npc_test_setitemx.txt
@@ -19,7 +19,7 @@
// 12 elv;
// 13 wlv;
-prontera.gat,164,161,5 script Lupus 1013,{
+prontera,164,161,5 script Lupus 1013,{
menu "Make Knife[3] Edible",M_1,
"Make Apple Equippable",M_2,
"Edible Knife = Full SP",M_3,
@@ -67,4 +67,3 @@ M_4:
close;
}
-
diff --git a/npc/sample/npc_test_setmapflag.txt b/npc/sample/npc_test_setmapflag.txt
index 64311823e..e68375b58 100644
--- a/npc/sample/npc_test_setmapflag.txt
+++ b/npc/sample/npc_test_setmapflag.txt
@@ -1,24 +1,24 @@
//by Jbain
-prontera.gat,165,145,0 script EXPflagtest 123,{
+prontera,165,145,0 script EXPflagtest 123,{
mes "[Yo man]";
mes "Setup the map rates";
menu "Job EXP",L_job,"Base EXP",L_base,"PVP ON",L_pvp,"Reset all flags",-;
- removemapflag "prontera.gat",MF_BEXP;
- removemapflag "prontera.gat",MF_JEXP;
- removemapflag "prontera.gat",MF_PVP;
+ removemapflag "prontera",MF_BEXP;
+ removemapflag "prontera",MF_JEXP;
+ removemapflag "prontera",MF_PVP;
close;
L_job:
input @rate;
- setmapflag "prontera.gat",MF_JEXP,@rate;
+ setmapflag "prontera",MF_JEXP,@rate;
close;
L_base:
input @rate;
- setmapflag "prontera.gat",MF_BEXP,@rate;
+ setmapflag "prontera",MF_BEXP,@rate;
close;
L_pvp:
- setmapflag "prontera.gat",MF_PVP;
+ setmapflag "prontera",MF_PVP;
close;
-}
+} \ No newline at end of file
diff --git a/npc/sample/npc_test_skill.txt b/npc/sample/npc_test_skill.txt
index 94b2195bb..55864a117 100644
--- a/npc/sample/npc_test_skill.txt
+++ b/npc/sample/npc_test_skill.txt
@@ -5,7 +5,7 @@
// フラグ=1でカードなどの一時的な所得、
// フラグ=2でクエストなどによる恒久的な所得(skill_tree.txtに依存)
-prontera.gat,157,182,0 script スキル所得テスト 116,{
+prontera,157,182,0 script スキル所得テスト 116,{
mes "スキル所得テスト";
menu "応急処置所得",L_GETSKILL142,"死んだ振り所得",L_GETSKILL143,"やめる",L_YAME;
L_GETSKILL142:
@@ -16,4 +16,4 @@ L_GETSKILL143:
close;
L_YAME:
close;
-}
+} \ No newline at end of file
diff --git a/npc/sample/npc_test_str.txt b/npc/sample/npc_test_str.txt
index 1c04927dd..78f3cfdf3 100644
--- a/npc/sample/npc_test_str.txt
+++ b/npc/sample/npc_test_str.txt
@@ -1,5 +1,5 @@
// Some Test Example
-prontera.gat,164,188,1 script sTrInG2compare 112,{
+prontera,164,188,1 script sTrInG2compare 112,{
set @str$, "StRiNg1";
mes "sTrInG2 isn't equal to " + @str$ ;
mes "Our Var is equal to " + @str$ + " ...OK?";
@@ -14,4 +14,4 @@ prontera.gat,164,188,1 script sTrInG2compare 112,{
input @str2$;
mes "You've entered '" + @str2$ + "' string.";
close;
-}
+} \ No newline at end of file
diff --git a/npc/sample/npc_testchkoption.txt b/npc/sample/npc_testchkoption.txt
index 07c18bf59..87c100ae7 100644
--- a/npc/sample/npc_testchkoption.txt
+++ b/npc/sample/npc_testchkoption.txt
@@ -1,4 +1,4 @@
-prontera.gat,156,89,6 script test_chkoption 117,{
+prontera,156,89,6 script test_chkoption 117,{
mes "Please enter a value of type!";
input @value;
if(checkoption(@value) == 1) goto L1;
diff --git a/npc/sample/npc_time_sample.txt b/npc/sample/npc_time_sample.txt
index ec620ecd9..219e94e48 100644
--- a/npc/sample/npc_time_sample.txt
+++ b/npc/sample/npc_time_sample.txt
@@ -1,5 +1,5 @@
-prontera.gat,157,181,6 script Time Sample 105,{
+prontera,157,181,6 script Time Sample 105,{
mes "[Time Sample]";
mes "System Tick : " + gettimetick(0);
mes " Time Tick : " + gettimetick(1);
@@ -16,4 +16,3 @@ prontera.gat,157,181,6 script Time Sample 105,{
end;
}
-