?? npc_excalibur.txt
字號:
// Excalibur Quest NPC
// By: Syrus22
// Version 1.0
// Any comments or questions PM me on the Yare forums
// Description: This is a simple item quest NPC. The player must find an
// Angel Band, a Heaven Ring, and an Emperium. If they do they will receive
// the Excalibur.
// Modify By 蝴蝶君 Robert 2004-1-20 mailto:robert_st@21cn.com
prt_castle.gat,81,171,5 script 神秘的使者 108,{
mes "[神秘的使者]";
mes "你好,冒險家!很榮幸的告訴你,我們正在搜集傳說中亞瑟王的神劍-石中劍。"
mes "當然,如果你有更珍貴物品,我們也愿意以它來和你交換!";
next;
menu "詢問所需物品",ExItems,"交換石中劍",ExCreate,"結束",ExEnd;
ExItems:
mes "[神秘的使者]";
mes "我們現在所需要的是:天使發圈、華麗金屬和光環,每種一個。";
close;
ExCreate:
mes "[神秘的使者]";
mes "好,讓我看看你帶來的東西!";
next;
if(countitem(2254)<1) goto NoAngel;
if(countitem(2282)<1) goto NoHeaven;
if(countitem(714)<1) goto NoEmp;
delitem 2254,1;
delitem 2282,1;
delitem 714,1;
getitem 1137,1;
mes "[神秘的使者]";
mes "恭喜!所需的物品已經齊全了,我現在就給你傳說中的'石中劍'!";
mes "感謝你的參與,祝你好運!";
close;
NoAngel:
mes "[神秘的使者]";
mes "對不起,你并沒有把天使發圈帶來!請重新檢查你的物品。";
close;
NoHeaven:
mes "[神秘的使者]";
mes "對不起,你并沒有把光環帶來!請重新檢查你的物品。";
close;
NoEmp:
mes "[神秘的使者]";
mes "對不起,你并沒有把華麗金屬帶來!請重新檢查你的物品。";
close;
ExEnd:
mes "[神秘的使者]";
mes "再見!";
close;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -