📄 waren.lua
字号:
if Char.PKPoints>99 then
if NPCcon==0 then
CmdNPC:Say("我能为你做点什么?"); -- en "What can I do for you?"
CmdNPC:Link("让我出去吧",3); -- en "Let me out ,please"
CmdNPC:Link("借我个锄头好吗?",5); -- en "Lend me a hoe, ok?"
CmdNPC:Link("没干什么",255); -- en "Just passing by."
CmdNPC:Finish();
end;
if NPCcon==3 then
CmdNPC:Say("死在你手上的人太多了,我不会放你出去的"); -- en "You have killed too many people. I shall not let you out"
CmdNPC:Say("值到你的PK点小于100点,或给我3个品质10金矿石"); -- en "until your PK points are lower than 100 or give me 3 gold"
CmdNPC:Say("懂了吗?"); -- en "ores."
CmdNPC:Link("以下是3个金矿石",4);
CmdNPC:Finish();
end;
if NPCcon==4 then
if API:RemoveItem_ID(client,1072059,3) then
API:GotoMap(client,1002,518,356);
CmdNPC:Say("你自由了!");
CmdNPC:Link("谢谢",255);
CmdNPC:Finish();
else
CmdNPC:Say("对不起,你没有3个金矿,竟然敢骗我?"); -- en "Sorry, you do not have the required gold ores. How dare you"
CmdNPC:Link("我不知道",255); -- en "I dare not"
CmdNPC:Finish();
end;
end;
if NPCcon==5 then
CmdNPC:Say("借这个锄头。埋头苦干。如果你能获得黄金矿石,并给予我,我可能让你出去"); -- en "Take this hoe. work hard. If you can get gold ores and give to me, I may let you out."
CmdNPC:Link("谢谢长官",6); -- en "Thanks, sir."
CmdNPC:Finish();
end;
if NPCcon==6 then
API:Additems(client,562001,0,0,0,0,0);
end;
else
if NPCcon==0 then
CmdNPC:Say("我能为你做点什么?"); -- en "What can I do for you?"
CmdNPC:Link("让我出去吧",1); -- en "Let me out ,please"
CmdNPC:Link("借我个锄头好吗?",5); -- en "Lend me a hoe, ok?"
CmdNPC:Link("没干什么",255); -- en "Just passing by."
CmdNPC:Finish();
end;
if NPCcon==1 then
CmdNPC:Say("你看起来没罪了可以出去了!"); -- en "You do not look like an evildoer. You may leave now.""
CmdNPC:Link("谢谢",2);
CmdNPC:Finish();
end;
if NPCcon==5 then
API:Additems(client,562001,0,0,0,0,0);
end;
if NPCcon== 2 then
API:GotoMap(client,1002,518,356);
end;
end;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -