summaryrefslogtreecommitdiff
path: root/npc/012-7
diff options
context:
space:
mode:
Diffstat (limited to 'npc/012-7')
-rw-r--r--npc/012-7/celestia.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/npc/012-7/celestia.txt b/npc/012-7/celestia.txt
index d204c4d4a..923e400db 100644
--- a/npc/012-7/celestia.txt
+++ b/npc/012-7/celestia.txt
@@ -24,6 +24,7 @@
rif(.@q2 == 0 && BaseLevel >= 35, l("Tea party! I want to participate.")), L_TeaQuest,
rif(.@q2 == 1, l("I have some sweeties for the Tea Party!")), L_TeaCheck,
rif(.@q2 >= 2, l("Tea party! I want to participate.")), L_TeaParty,
+ rif(.@q2 >= 2, l("Do you sell tea?")), L_TeaShop,
rif(.@q1 == 0, l("There are Monster Attacks every month, how do you have time for tea parties?!")), L_MainQuest,
rif(.@q1 && CINDY_PLAYER_STRUCK && getq(NivalisQuest_Well) < 2, l("I found switches which only a Yeti may flip...")), L_OtherQuest,
rif(.@q1 >= 6, l("I want to try convincing the Yeti King again.")), L_MainQuestCore;
@@ -228,6 +229,15 @@ L_QuestionTea:
close;
// end: Gumi Script
+L_TeaShop:
+ mesn;
+ mesq l("Well, my tea is just too good.");
+ next;
+ closeclientdialog;
+ npcshopattach(.name$);
+ shop .name$;
+ close;
+
L_OtherQuest:
mesn strcharinfo(0);
mesq l("Basically, I need to find a friendly Yeti. Do they exist?");
@@ -269,4 +279,21 @@ OnInit:
.sex = G_FEMALE;
.distance = 5;
+ tradertype(NST_MARKET);
+ sellitem CelestiaTea, -1, 1;
+ sellitem YerbaMate, -1, 2;
+ sellitem JasmineTea, -1, 3;
+ sellitem OolongTea, -1, 4;
+ sellitem SpearmintTea, -1, 5;
+ sellitem ChamomileTea, -1, 10;
+ end;
+
+OnClock0002:
+ restoreshopitem CelestiaTea, 1;
+ restoreshopitem YerbaMate, 2;
+ restoreshopitem JasmineTea, 3;
+ restoreshopitem OolongTea, 4;
+ restoreshopitem SpearmintTea, 5;
+ restoreshopitem ChamomileTea, 10;
+ end;
}