📄 烟夕罗.lua
字号:
if NPCcon==0 then
CmdNPC:Face(110);
CmdNPC:Say("这位大侠,你想制作做净尘纤水吗?");
CmdNPC:Link("是的,我想做一个。",1);
CmdNPC:Link("不,我不想做。",255);
CmdNPC:Finish();
end;
if NPCcon==1 then
CmdNPC:Face(110);
CmdNPC:Say("你需要各种普通宝石各一个,加上一个普通玄元宝石才能制作出一个净尘纤水,你有吗?");
CmdNPC:Link("是的,我要制作净尘纤水。",2);
CmdNPC:Link("不,我不想制作了。",255);
CmdNPC:Finish();
end;
if NPCcon==2 then
if API:CheckItemsForInv(client,700001,1) and API:CheckItemsForInv(client,700011,1) and API:CheckItemsForInv(client,700021,1) and API:CheckItemsForInv(client,700031,1) and API:CheckItemsForInv(client,700041,1) and API:CheckItemsForInv(client,700051,1) and API:CheckItemsForInv(client,700061,1) and API:CheckItemsForInv(client,700071,1) then
if API:RemoveItem_ID(client,700001) and API:RemoveItem_ID(client,700011) and API:RemoveItem_ID(client,700021) and API:RemoveItem_ID(client,700031) and API:RemoveItem_ID(client,700041) and API:RemoveItem_ID(client,700051) and API:RemoveItem_ID(client,700061) and API:RemoveItem_ID(client,700071)then
API:Additems(client,721258);
end;
else
CmdNPC:Face(110);
CmdNPC:Say("不好意识,你没有制作净尘纤水的宝石。");
CmdNPC:Link("哦,知道了。",255);
CmdNPC:Finish();
end;
end;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -