From 409bd2b4bf3fef6da776a53e62857ec828c241ab Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 27 Jan 2020 16:47:12 -0300 Subject: 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. --- npc/012-7/celestia.txt | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'npc/012-7') 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; } -- cgit v1.2.3-60-g2f50