⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 surgeon.lua

📁 架设关键部分开始了。点击开始——程序
💻 LUA
字号:
if NPCcon==0 then
   CmdNPC:Face(23);
   CmdNPC:Say("你好,我是神奇的外科医生,只要你给我一颗龙珠,我就帮你改变大小或性别!")            -- en: "Hello, I'm the miricile surgeon! I can do many things" "For a Meteor, I'll change your size however for a" "DragonBall I'll change your sex!"
   CmdNPC:Link("我想改变大小",1);         -- en: "Size Change"
   CmdNPC:Link("我想改变性别",2);         -- en: "Sex Change"
   CmdNPC:Link("我不要,谢谢",255);       -- EN: "No thanks..."
   CmdNPC:Finish();
end;


if NPCcon==1 then

   if API:CheckItemsForInv(client,1088000,1) then
      CmdNPC:Say("你要变大还是变小?");        -- en: "What size would you like to be?"
      CmdNPC:Link("变小",3);                -- en: "Small"
      CmdNPC:Link("变大",4);                -- En: "Large"
      CmdNPC:Finish();
   else
      CmdNPC:Say("哎... 你没有龙珠!");       -- en: "Sigh.. Bring me a DragonBall first!"
      CmdNPC:Link("不好意思",255);           -- En: "Oops"
      CmdNPC:Finish();
   end;

end;


if NPCcon==2 then
    if API:CheckItemsForInv(client,1088000,1) then
       if API:CheckSex(client,1) then
         CmdNPC:Say("你要变大女还是小女?");     -- en: "What Sex & Size would you like to be?"
         CmdNPC:Link("小女",5);                  -- en: "Small Female"
         CmdNPC:Link("大女",6);                  -- en: "Large Female"
         CmdNPC:Finish();
       elseif API:CheckSex(client,2) then
         CmdNPC:Say("你要边大男还是小男?");   -- en: "What Sex & Size would you like to be?"
         CmdNPC:Link("小男",7);               -- en: "Small Male"
         CmdNPC:Link("大男",8);               -- en: "Large Male"
         CmdNPC:Finish();
       end

    else

         CmdNPC:Say("哎..你没有龙珠!");    -- en: "Sigh.. Bring me a DragonBall first!"
         CmdNPC:Link("知道了",255);        -- En: "Oops"
         CmdNPC:Finish();
    end;
end;


if NPCcon==3 then
    if API:RemoveItem_ID(client,1088000) then
        if API:CheckSex(client,1) then
            Char.Model=671003;
        elseif API:CheckSex(client,2) then
            Char.Model=2012001;
        end;
       API:CharSpawn(client);
    end;   
end;  


if NPCcon==4 then
    if API:RemoveItem_ID(client,1088000) then
        if API:CheckSex(client,1) then
            Char.Model=671004;
        elseif API:CheckSex(client,2) then
            Char.Model=2012002;
        end;

        API:CharSpawn(client);
    end;
end;  


if NPCcon==5 then
  if API:RemoveItem_ID(client,1088000) then
     Char.Model=2012001;
     API:CharSpawn(client);
  end;
end;


if NPCcon==6 then
  if API:RemoveItem_ID(client,1088000) then
     Char.Model=2012002;
     API:CharSpawn(client);
  end;
end;



if NPCcon==7 then
  if API:RemoveItem_ID(client,1088000) then
     Char.Model=671003;
     API:CharSpawn(client);
  end;
end;


if NPCcon==8 then
  if API:RemoveItem_ID(client,1088000) then
     Char.Model=671004;
     API:CharSpawn(client);
  end;
end;
       

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -