📄 code.py
字号:
def Run(this,CmdNPC):
if this._NPCcontrol==0:
CmdNPC.Say("Hello, would you like to change the colour of your armor?");
CmdNPC.Say("It will cost you a Meteor.");
CmdNPC.Link("Yes Please.", 1);
CmdNPC.Link("I'll stay here.", 255);
CmdNPC.Finish();
if this._NPCcontrol==1:
TF=this.SelectItem(this._client.Char,1088001);
if TF==True:
CmdNPC.Say("You will now be able to go colour your armor.");
CmdNPC.Link("Thank You.", 2);
CmdNPC.Finish();
elif TF==False:
CmdNPC.Say("You don't have a Meteor, so i wont change your armor.");
CmdNPC.Link("Oh, ok......", 255);
CmdNPC.Finish();
ITEM_IDS=this.RemoveItem_ID(this._client,1088001);
if this._NPCcontrol==2:
this.SendCharacterInfo(this._client.Char);
this.SpawnCharacter(this._client,25,25,1008);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -