summaryrefslogtreecommitdiff
path: root/npc/020-6
diff options
context:
space:
mode:
Diffstat (limited to 'npc/020-6')
-rw-r--r--npc/020-6/agostine.txt28
1 files changed, 14 insertions, 14 deletions
diff --git a/npc/020-6/agostine.txt b/npc/020-6/agostine.txt
index 7e81c7305..e58d123d5 100644
--- a/npc/020-6/agostine.txt
+++ b/npc/020-6/agostine.txt
@@ -8,7 +8,7 @@
// Quest struct:
// Quest State, NÂș of furs, Randomness Limiter
-007-1,155,163,0 script Agostine NPC_EDOUARD,{
+020-6,30,26,0 script Agostine NPC_EDOUARD,{
mesn l("Agostine, the Legendary Tailor");
mesq l("Oui, welcome to this fine shop! My name is Agostine, the legendary tailor!");
next;
@@ -22,13 +22,13 @@
L_Main:
.@q=getq(NivalisQuest_Agostine);
- .@q2=getq(NivalisQuest_Agostine);
- .@q3=getq(NivalisQuest_Agostine);
+ .@q2=getq2(NivalisQuest_Agostine);
+ .@q3=getq3(NivalisQuest_Agostine);
mesn l("Agostine, the Legendary Tailor");
mesq l("So, what will it be?");
select
l("I'm fine, thanks!"),
- rif(.@q < 3, l("How much would be the budget for Fur Boots?"));
+ rif(.@q < 2, l("How much would be the budget for Fur Boots?"));
mes "";
switch (@menu) {
@@ -36,7 +36,7 @@ L_Main:
closeclientdialog; npctalkonce l("Arrevouir!"); close;
case 2:
// Once in a while you need to drink him
- if (.@q % 3 == 0)
+ if (.@q % 2 == 0)
goto L_Beer;
goto L_FurBoots;
}
@@ -61,7 +61,7 @@ L_Beer:
mes "";
if (@menu == 1) {
delitem RedPlushWine, 1;
- setq NivalisQuest_Agostine, .@q+1;
+ setq1 NivalisQuest_Agostine, .@q+1;
mesn l("Agostine, the Legendary Tailor");
mesq l("Aaaaaahhh... Oui, that's a good wine! So, what will it be?");
goto L_Main;
@@ -107,9 +107,9 @@ L_FurBoots:
// Fur minigame
L_DeliverFur:
- .@q2=getq(NivalisQuest_Agostine);
- .@q3=getq(NivalisQuest_Agostine);
- mesc l("You already delivered @@ high-quality patches of white fur.");
+ .@q2=getq2(NivalisQuest_Agostine);
+ .@q3=getq3(NivalisQuest_Agostine);
+ mesc l("You already delivered @@ high-quality patches of white fur.", .@q2);
select
rif(countitem(WhiteFur), l("Is this high-quality fur?")),
@@ -123,7 +123,7 @@ L_DeliverFur:
.@success=rand(6,26)-.@q3; // You will never need more than 20 fur nor less than <delivered_good> fur per patch
if (.@success <= 1) {
- mesc l("He looks pleased.");
+ mesc "%%H " + l("He looks pleased.");
getexp 100, 25;
setq2 NivalisQuest_Agostine, .@q2+1;
setq3 NivalisQuest_Agostine, .@q2;
@@ -144,8 +144,8 @@ L_DeliverFur:
// Agostine item crafting
L_Craft:
.@q=getq(NivalisQuest_Agostine);
- .@q2=getq(NivalisQuest_Agostine);
- .@q3=getq(NivalisQuest_Agostine);
+ .@q2=getq2(NivalisQuest_Agostine);
+ .@q3=getq3(NivalisQuest_Agostine);
if (.@q2 < @agostine_fur) {
mesn l("Agostine, the Legendary Tailor");
mesq l("You haven't provided me enough High-Quality White Fur! Go back to hunting!");
@@ -165,12 +165,12 @@ L_Craft:
goto L_Main;
}
- inventoryplace @agostine_item;
+ inventoryplace @agostine_item, 1;
delitem @agostine_base, 1;
setq2 NivalisQuest_Agostine, .@q2-@agostine_fur;
Zeny=Zeny-@agostine_fee;
getitem @agostine_item, 1;
- setq NivalisQuest_Agostine, .@q+1;
+ setq1 NivalisQuest_Agostine, .@q+1;
getexp @agostine_fee, @agostine_fur*125;
mesn l("Agostine, the Legendary Tailor");