📄 npc_rabbit.txt
字号:
//==============================================
// 兔耳发圈制作
// 代码重写 by FPE (2006.6.28)
// Jathena++ 论坛:http://www.foxofice.net/bbs
//----------------------------------------------
function script MFJA_rabbit_function {
mes "[卡普拉服务人员]";
mes "^529DFF帮助顾客将拿来的物品加工制作^FF0000'兔耳发圈'^529DFF特别活动!!^000000";
next;
menu "参加项目。",A01,
"指导项目。",A02,
"取消。",-;
close;
end;
A01:
if(countitem(949)==0)
{
mes "[卡普拉服务人员]";
mes "感谢你参加这次的特别活动!";
mes "制作兔耳发圈所需要的物品请先收集完全後再过来这里!";
close;
end;
}
mes "[卡普拉服务人员]";
mes "现在开始检查客人拿来的物品。";
next;
if(countitem(949)<100)
{
mes "[卡普拉服务人员]";
mes "顾客,您至少需要100根柔毛。";
close;
end;
}
if(countitem(706)<1)
{
mes "[卡普拉服务人员]";
mes "顾客,您至少需要1个四叶幸运草。";
close;
end;
}
if(countitem(722)<1)
{
mes "[卡普拉服务人员]";
mes "顾客,您至少需要1颗珍珠。";
close;
end;
}
if(countitem(2213)<1)
{
mes "[卡普拉服务人员]";
mes "顾客,您至少需要1个猫耳发圈。";
close;
end;
}
mes "[卡普拉服务人员]";
mes "哇!!太好了,太好了。你把需要的材料都带来了!!";
mes "我们将为你制作兔耳发圈。";
mes "请等一下。";
next;
delitem 949,100;
delitem 706,1;
delitem 722,1;
delitem 2213,1;
mes "[卡普拉服务人员]";
mes "^FF0000兔耳发圈^000000制作完成...!请收下!";
emotion 5;
set KF_PIT,KF_PIT+50;
getitem 2214,1;
next;
mes "[卡普拉服务人员]";
mes "我们非常感谢您参加本活动,如果有需要我们将永远为您服务。";
mes "感谢您。";
close;
end;
A02:
mes "[卡普拉服务人员]";
mes "我们卡普拉公司礼品部为了谢谢顾客们支持特别举办回馈活动。";
next;
mes "[卡普拉服务人员]";
mes "名子叫^529DFF帮助顾客将拿来的物品加工制作^FF0000兔耳发圈 ^529DFF特别活动!!^000000";
mes "顾客跟卡普拉公司在一起制作的稀有物品^FF0000兔耳发圈 ^000000特别的制作活动。";
mes "(协助: 艾尔贝塔商人协会)";
next;
mes "[卡普拉服务人员]";
mes "我们的活动进行是需要请顾客先收集制作兔耳发圈的物品交给我们卡普拉公司的服务人员。";
mes "我们会在现场用手工制作送给你们。";
mes "制作兔耳发圈所需要的物品如下。";
next;
mes "[卡普拉服务人员]";
mes "100根柔毛。";
mes "1个四叶幸运草。";
mes "1颗珍珠。";
mes "1个猫耳发圈。";
next;
mes "[卡普拉服务人员]";
mes "以上这些物品全部收集好了在过来这里就可以了。";
mes "那么,祝你好运。";
close;
end;
}
prontera.gat,146,87,6 script 卡普拉服务人员 83,{ callfunc "MFJA_rabbit_function"; }
geffen.gat,116,62,2 script 卡普拉服务人员 83,{ callfunc "MFJA_rabbit_function"; }
morocc.gat,154,97,4 script 卡普拉服务人员 83,{ callfunc "MFJA_rabbit_function"; }
alberta.gat,26,229,0 script 卡普拉服务人员 83,{ callfunc "MFJA_rabbit_function"; }
payon.gat,151,181,5 script 卡普拉服务人员 83,{ callfunc "MFJA_rabbit_function"; }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -