diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-01-27 16:47:12 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-01-27 16:47:12 -0300 |
commit | 409bd2b4bf3fef6da776a53e62857ec828c241ab (patch) | |
tree | 6024a511630be00d1f743d8ba570b98fea987f8b | |
parent | 55cd82a72512c1357a457165bb86aa4736759669 (diff) | |
download | serverdata-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.
-rw-r--r-- | db/re/item_db.conf | 18 | ||||
-rw-r--r-- | npc/012-7/celestia.txt | 27 |
2 files changed, 36 insertions, 9 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf index da26153ba..40b00f7f2 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -15097,7 +15097,7 @@ item_db: ( Name: "Chamomile Tea" Type: "IT_HEALING" Buy: 200 - Sell: 5 + Sell: 50 Weight: 5 Refine: false Delay: 500 @@ -15114,8 +15114,8 @@ item_db: ( AegisName: "SpearmintTea" Name: "Spearmint Tea" Type: "IT_HEALING" - Buy: 200 - Sell: 5 + Buy: 400 + Sell: 100 Weight: 5 Refine: false Delay: 500 @@ -15132,8 +15132,8 @@ item_db: ( AegisName: "OolongTea" Name: "Oolong Tea" Type: "IT_HEALING" - Buy: 200 - Sell: 5 + Buy: 600 + Sell: 150 Weight: 5 Refine: false Delay: 500 @@ -15150,8 +15150,8 @@ item_db: ( AegisName: "JasmineTea" Name: "Jasmine Tea" Type: "IT_HEALING" - Buy: 200 - Sell: 5 + Buy: 800 + Sell: 200 Weight: 5 Refine: false Delay: 500 @@ -15169,8 +15169,8 @@ item_db: ( AegisName: "YerbaMate" Name: "Yerba Mate" Type: "IT_HEALING" - Buy: 200 - Sell: 5 + Buy: 1000 + Sell: 250 Weight: 5 Refine: false Delay: 500 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; } |