summaryrefslogtreecommitdiff
path: root/npc/012-7
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-01-27 16:47:12 -0300
committerJesusaves <cpntb1@ymail.com>2020-01-27 16:47:12 -0300
commit409bd2b4bf3fef6da776a53e62857ec828c241ab (patch)
tree6024a511630be00d1f743d8ba570b98fea987f8b /npc/012-7
parent55cd82a72512c1357a457165bb86aa4736759669 (diff)
downloadserverdata-409bd2b4bf3fef6da776a53e62857ec828c241ab.tar.gz
serverdata-409bd2b4bf3fef6da776a53e62857ec828c241ab.tar.bz2
serverdata-409bd2b4bf3fef6da776a53e62857ec828c241ab.tar.xz
serverdata-409bd2b4bf3fef6da776a53e62857ec828c241ab.zip
Celestia trade grants. She can now commercialize Tea.
Tea is baked daily at 00:02 and stock is limited (and very thin). But tea is cheap. The price is not right. Oh well.
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;
}