📄 npc_merchant.txt
字号:
mes "兹巴杜力师傅的染色手艺,是任何人都比不上的,我是他的徒弟!";
next;
mes "[染料制作 见习生]";
mes "....是这样啊..";
close;
end;
}
if(Test_MER==8 || Test_MER==7)
{
mes "[染料制作 见习生]";
mes "啊,你要回去了吗?请小心慢走~";
close;
end;
}
mes "[染料制作 见习生]";
mes "从商人公会来?啊,对!对了,你来的正好~";
if(countitem(1081)!=1 && countitem(1082)!=1 && countitem(1083)!=1)
{
mes "但是我没看到东西耶?哈哈哈哈~";
close;
end;
}
mes "请把东西卸下放在这里。";
next;
mes "[染料制作 见习生]";
mes "等确认完物品的统一编号后我再把收据给你。";
if(Test_MER2==5 && countitem(1081)!=0)
{
mes "3012685.... 是我订的物品没错,来,这收据给你。";
delitem 1081,1;
getitem 1077,1;
goto MerBox123;
}
if(Test_MER2==6 && countitem(1082)!=0)
{
mes "3487372.... 是我订的物品没错,来,这收据给你。";
delitem 1082,1;
getitem 1078,1;
goto MerBox123;
}
next;
mes "[染料制作 见习生]";
mes "....对不起....这好像不是我订的东西..从商人公会那送过来的物品统一编号应该是3012685或者3487372才对...";
close;
end;
MerBox123:
set Test_MER,Test_MER+2;
next;
set Test_MER3,Test_MER3+2;
mes "[染料制作 见习生]";
mes "下次还要再麻烦你!再见~";
close;
end;
}
prontera.gat,248,42,8 script 卡普拉公司职员 115,{
cutin "kafra_03",2;
if(Test_MER3 !=1) goto Kafra;
if(Test_MER==8 || Test_MER==7)
{
mes "[卡普拉公司职员]";
mes "你好!你有什么事么?今天的天气可真好呀.....";
cutin "kafra_03",255;
close;
end;
}
if(Test_MER==6 || Test_MER==5)
{
mes "[卡普拉公司职员]";
mes "商人公会要求你送的货到了?好,货就放在这里....";
if(countitem(1081)!=1 && countitem(1082)!=1 && countitem(1083)!=1)
{
mes "..货在哪里....?";
cutin "kafra_03",255;
close;
end;
}
}
mes "搬那么重的东西到这里,真是辛苦您了~";
next;
mes "[卡普拉公司职员]";
mes "让我查一下货号吧.....";
if(Test_MER2==1 && countitem(1081)!=0)
{
mes "2485741...这正是我们订的货~收据马上就给您。";
delitem 1081,1;
getitem 1073,1;
goto JobMerQ2Cont;
}
if(Test_MER2==2 && countitem(1082)!=0)
{
mes "2328137...这正是我们订的货~收据马上就给您。";
delitem 1082,1;
getitem 1074,1;
goto JobMerQ2Cont;
}
mes ".....嗯?这好像不是我们要的东西吧...??";
next;
mes "[卡普拉公司职员]";
mes "服务人员,这个货不是我们要的货,商人公会给我们的货号是2485741或者2328137。";
mes "可能中间搞错了吧?";
cutin "kafra_03",255;
close;
end;
JobMerQ2Cont:
set Test_MER,Test_MER+2;
next;
set Test_MER3,Test_MER3+4;
mes "[卡普拉公司职员]";
mes "从那么远的地方来到这里,您辛苦了~";
cutin "kafra_03",255;
close;
Kafra:
mes "[卡普拉公司职员]";
mes "欢迎光临卡普拉公司。众所周知:剑士公会已经搬到了卫星城市 '依斯鲁德岛'";
mes "从普隆德拉传送到依斯鲁德岛收取的费用是900金币。";
next;
switch(select("使用","使用卡普拉的使用卷","取消"))
{
case 1:
if(Zeny<900)
{
mes "[卡普拉公司职员]";
mes "您的金额不足!";
cutin "kafra_02",255;
close;
end;
}
set Zeny,Zeny-900;
warp "izlude.gat",91,105;
cutin "kafra_02",255;
end;
break;
case 2:
if(countitem(1084)<1)
{
mes "[卡普拉公司职员]";
mes "使用卡普拉的使用卷...没有使用卷吗?";
cutin "kafra_02",255;
close;
end;
}
mes "[卡普拉公司职员]";
mes "现在你需要使用一个卡普拉使用卷...";
//delitem 1084,1;
next;
mes "[卡普拉公司职员]";
mes "使用成功!";
cutin "kafra_02",255;
close;
end;
break;
case 3:
close;
end;
break;
}
}
izlu2dun.gat,106,58,4 script 卡普拉公司职员 115,{
cutin "kafra_02",2;
if(Test_MER3!=4) goto Kafra;
if(Test_MER==8 || Test_MER==7)
{
mes "[卡普拉公司职员]";
mes "你好!你有什么事么?今天的天气可真好呀.....";
cutin "kafra_02",255;
close;
end;
}
mes "[卡普拉公司职员]";
mes "商人公会要求你送的货到了?好,货就放在这里....";
if(countitem(1081)!=1 && countitem(1082)!=1)
{
mes "..货在哪里....?";
cutin "kafra_02",255;
close;
end;
}
mes "搬那么重的东西到这里,真是辛苦您了~";
next;
mes "[卡普拉公司职员]";
mes "让我查一下货号吧.....";
if(Test_MER2==7 && countitem(1081)!=0)
{
mes "3318702...这正是我们订的货~收据马上就给您。";
delitem 1081,1;
getitem 1079,1;
goto JobMerQ2Cont;
}
if(Test_MER2==8 && countitem(1082)!=0)
{
mes "3543625...这正是我们订的货~收据马上就给您。";
delitem 1082,1;
getitem 1080,1;
goto JobMerQ2Cont;
}
mes ".....嗯?这好像不是我们要的东西吧...??";
next;
mes "[卡普拉公司职员]";
mes "服务人员,这个货不是我们要的货,商人公会给我们的货号是3318702或者3543625。";
mes "可能中间搞错了吧?";
cutin "kafra_02",255;
close;
end;
JobMerQ2Cont:
set Test_MER,Test_MER+2;
next;
if(countitem(1072)==1)
{
menu "这是商人公会里面的曼修…",-;
mes "[卡普拉服务人员]";
mes "噢!商人曼修的信呢?谢谢您~~!我有预感很快会收到信,没想到来的那么快~";
next;
mes "[卡普拉服务人员]";
mes "辛苦您从那么远的地方来到这里,虽然这不是什么名产,不过您可以先尝一尝。";
mes "那么,下次再拜托您了。";
getitem 513,5;
delitem 1072,1;
set Test_MER3,Test_MER3+5;
cutin "kafra_02",255;
close;
end;
}
else
{
set Test_MER3,Test_MER3+4;
mes "[卡普拉公司职员]";
mes "从那么远的地方来到这里,您辛苦了~";
cutin "kafra_02",255;
close;
end;
}
Kafra:
mes "[卡普拉服务人员]";
mes "欢迎光临卡普拉公司,我们随时为您服务。";
next;
menu "储存服务",Lsave,
"仓库服务",Lstorage,
"手推车服务",Lcart,
"使用 卡普拉使用卷",Lpass,
"查询其他讯息",Linfo,
"取消",Lcancel;
Lsave:
savepoint "izlu2dun.gat",107,48;
cutin "kafra_02",2;
mes "[卡普拉服务人员]";
mes "已经储存好了,谢谢你的使用。";
cutin "kafra_02",255;
close;
end;
Lstorage:
if(getskilllv(1)<6)
{
cutin "kafra_02",2;
mes "[卡普拉服务人员]";
mes "对不起,你需要基本技能等级6才能使用仓库服务";
cutin "kafra_02",255;
close;
end;
}
if(Zeny<30)
{
cutin "kafra_02",2;
mes "[卡普拉服务人员]";
mes "对不起,你没有足够金钱。你必须有30Zeny才能使用仓库服务";
cutin "kafra_02",255;
close;
end;
}
cutin "kafra_02",255;
set Zeny,Zeny-30;
openstorage;
close;
end;
Lcart:
if(Class!=5 && Class!=10 && Class!=18)
{
cutin "kafra_02",2;
mes "[卡普拉服务人员]";
mes "对不起,手推车是商人和铁匠专用的服务";
cutin "kafra_02",255;
close;
end;
}
mes "[卡普拉服务人员]";
mes "租用手推车的费用是800Zeny 你要继续吗?";
next;
if(select("租用手推车","取消")==2)
{
cutin "kafra_02",2;
mes "[卡普拉服务人员]";
mes "此功能目前尚未开放";
cutin "kafra_02",255;
close;
end;
}
if(Zeny<800)
{
cutin "kafra_02",2;
mes "[卡普拉服务人员]";
mes "对不起,你没有足够金钱。你必须有800Zeny才能使用手推车服务";
cutin "kafra_02",255;
close;
end;
}
cutin "kafra_02",2;
mes "[卡普拉服务人员]";
mes "您已经可以使用手推车了,欢迎下次再来!";
cutin "kafra_02",255;
setcart;
close;
end;
Lpass:
if(countitem(1084)<1)
{
cutin "kafra_02",2;
mes "[卡普拉服务人员]";
mes "你需要一张 卡普拉使用卷";
cutin "kafra_02",255;
close;
end;
}
cutin "kafra_02",2;
mes "[卡普拉服务人员]";
mes "你现在使用一张卡普拉使用卷。";
delitem 1084,1;
next;
mes "[卡普拉服务人员]";
mes "此功能目前尚未开放";
cutin "kafra_02",255;
close;
end;
Linfo:
cutin "kafra_02",2;
switch(select("特别留位服务","位置提示","取消"))
{
case 1:
mes "[卡普拉服务人员]";
mes "此功能目前尚未开放";
cutin "kafra_02",255;
close;
end;
break;
case 2:
case 3:
cutin "kafra_02",255;
close;
end;
break;
}
Lcancel:
cutin "kafra_02",2;
mes "[卡普拉服务人员]";
mes "我们卡普拉公司的服务是为了让顾客放心和方便的使用";
mes "我们会尽我们最大的努力做到更好的服务";
cutin "kafra_02",255;
close;
end;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -