summaryrefslogtreecommitdiff
path: root/npc/020-1/serge.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/020-1/serge.txt')
-rw-r--r--npc/020-1/serge.txt52
1 files changed, 51 insertions, 1 deletions
diff --git a/npc/020-1/serge.txt b/npc/020-1/serge.txt
index dd921e1aa..da67dff3c 100644
--- a/npc/020-1/serge.txt
+++ b/npc/020-1/serge.txt
@@ -27,7 +27,7 @@ L_Main:
L_OutOfSeason:
mesn;
mesq l("Hmm, Nivalis is a wonderful place to live in! Although it is a tad too cold on Winter...");
- close;
+ goto L_Main;
L_QuestDisabled:
mesn;
@@ -35,6 +35,56 @@ L_QuestDisabled:
mesc l("The @@ quest is disabled during Christmas event.", getitemlink(KnitHat));
close;
+L_WinterQuest:
+ next;
+ mesn;
+ mesq l("Hey, do you know what is good on this harsh winter? A @@!", getitemlink(KnitHat));
+ next;
+ mesn;
+ mes l("What about you bring me:");
+ mes l("@@/120 @@", countitem(Snowflake), getitemlink(Snowflake));
+ mes l("@@/80 @@", countitem(CaramelCandy), getitemlink(CaramelCandy));
+ mes l("@@/40 @@", countitem(GingerBreadMan), getitemlink(GingerBreadMan));
+ mes l("@@/10 @@", countitem(ChocolateBiscuit), getitemlink(ChocolateBiscuit)); // Found at Chocolate Slime: 4.00%
+ next;
+ select
+ l("Not now, thanks"),
+ l("To be honest, I have that with me!");
+
+ mes "";
+ if (@menu == 1)
+ goto L_Main;
+ if (@menu == 2) {
+ if (
+ countitem(Snowflake) < 120 ||
+ countitem(CaramelCandy) < 80 ||
+ countitem(GingerBreadMan) < 40 ||
+ countitem(ChocolateBiscuit) < 10
+ ) goto L_Lying;
+
+ inventoryplace KnitHat, 1;
+ delitem Snowflake, 120;
+ delitem CaramelCandy, 80;
+ delitem GingerBreadMan, 40;
+ delitem ChocolateBiscuit, 10;
+ getitem KnitHat, 1;
+ getexp 6500, 120;
+ setq1 SQuest_Winter, 1;
+ mesn;
+ mesq l("Yay yay! Many thanks! Here, take the reward as promised!");
+ next;
+ mesn;
+ mesq l("We can do this again on next winter!");
+ goto L_Main;
+ }
+
+ close;
+
+L_Lying:
+ mesn;
+ mesq l("Please don't lie to me...");
+ goto L_Main;
+
OnInit:
.@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, CommunityShirt);