code.py
来自「架设关键部分开始了。点击开始——程序」· Python 代码 · 共 24 行
PY
24 行
def Run(this,CmdNPC):
if this._NPCcontrol==0:
CmdNPC.Face(20);
if this._char.Quests.Contains("15140")==False:
CmdNPC.Say("Hi There would you like to start my Noobie's Quest?");
CmdNPC.Link("ok.", 1);
CmdNPC.Link("Some other time.", 255);
else:
CmdNPC.Say("Hi there great warrior!");
CmdNPC.Link("Hello.", 255);
CmdNPC.Finish();
elif this._NPCcontrol==1:
CmdNPC.Face(20);
CmdNPC.Say("I see your Level " + _char.Level + ".");
CmdNPC.Say("You are really starting to advance, would you like to do my quest i will reward you very good?");
CmdNPC.Link("Yes Please.", 2);
CmdNPC.Link("Some other time.", 255);
CmdNPC.Finish();
elif this._NPCcontrol==2:
CmdNPC.Face(20);
CmdNPC.Say("Great, Can you please go and find me 20 PK Tickets from killing Pheasents.");
CmdNPC.Say("Once you have collected them, coming back to me for a great reward.");
CmdNPC.Link("ok.", 255);
CmdNPC.Finish();
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?