npc_guozhi.txt

来自「c151的晋级版」· 文本 代码 · 共 81 行

TXT
81
字号
//果汁制作NPC-翡杨PVP-Ro研究小站-百步天翔
payon_in01.gat,173,112,4	script	果汁老奶奶	78,{
          mes "[和蔼的奶奶]";
	  mes "你好啊,我的孩子。";
          mes "你跑来来找我是想要美味的果汁吧。";
          next;
          mes "[和蔼的奶奶]";
          mes "如果你带来新鲜的原料并支付一些加工费,我就为你做美味的果汁。";
          next;
          mes "[和蔼的奶奶]";
          menu "加工苹果汁",LJoin00,"加工红萝卜汁",LJoin01,"加工香蕉汁",LJoin02,"加工葡萄汁",LJoin03,"果汁需要的材料",LJoin04,"取消。",LCancel;
LJoin04:
         mes "苹果汁";
         mes "苹果×3 , 空瓶×1 , 50zeny";
         mes "红萝卜汁";
         mes "红萝卜×3 , 空瓶×1 , 50zeny";
         mes "香蕉汁";
         mes "香蕉×3 , 空瓶×1 , 50zeny";
         mes "葡萄汁";
         mes "葡萄×3 , 空瓶×1 , 50zeny";
         close;
LJoin00:
        if(countitem(512)<3) goto LJoin05;
        if(countitem(713)<1) goto LJoin05;
        if(Zeny<50) goto LJoin06;
        mes "苹果汁材料你有了。";
        mes "我帮你做果汁,稍等一会。";
        next;
        delitem 512,3; delitem 713,1;
        set Zeny,Zeny-50;
        mes "这是你要的果汁,请收好!";
        getitem 531,1;
        close;
LJoin01:
        if(countitem(515)<3) goto LJoin05;
        if(countitem(713)<1) goto LJoin05;
        if(Zeny<50) goto LJoin06;
        mes "红萝卜汁材料你有了。";
        mes "我帮你做果汁,稍等一会。";
        next;
        delitem 515,3; delitem 713,1;
        set Zeny,Zeny-50;
        mes "这是你要的果汁,请收好!";
        getitem 534,1;
        close;
LJoin02:
        if(countitem(513)<3) goto LJoin05;
        if(countitem(713)<1) goto LJoin05;
        if(Zeny<50) goto LJoin06;
        mes "香蕉汁材料你有了。";
        mes "我帮你做果汁,稍等一会。";
        next;
        delitem 513,3; delitem 713,1;
        set Zeny,Zeny-50;
        mes "这是你要的果汁,请收好!";
        getitem 532,1;
        close;
LJoin03:
        if(countitem(514)<3) goto LJoin05;
        if(countitem(713)<1) goto LJoin05;
        if(Zeny<50) goto LJoin06;
        mes "葡萄汁材料你有了。";
        mes "我帮你做果汁,稍等一会。";
        next;
        delitem 514,3; delitem 713,1;
        set Zeny,Zeny-50;
        mes "这是你要的果汁,请收好!";
        getitem 533,1;
        close;
LJoin05:
        mes "做果汁的东西不够哦。";
        close;
LJoin06:
        mes "你的钱不够哦。";
        close;
LCancel:
        close;
}         


⌨️ 快捷键说明

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