From 8afa4faebdb99e487100e24c387a96420981bf5f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 20 Dec 2022 15:35:26 -0300 Subject: Now brewing alcohol returns the bottles used --- npc/017-3/chagashroom.txt | 3 ++- npc/024-9/sake.txt | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/npc/017-3/chagashroom.txt b/npc/017-3/chagashroom.txt index 164a7cb85..e546aa27f 100644 --- a/npc/017-3/chagashroom.txt +++ b/npc/017-3/chagashroom.txt @@ -131,7 +131,7 @@ L_Main: mesn; mesc l("Your request for @@ @@ are being fermented for @@.", REDWINE_AMMO, getitemlink(RedPlushWine), FuzzyTime(REDWINE_DATE)); next; - inventoryplace RedPlushWine, REDWINE_AMMO; + inventoryplace RedPlushWine, REDWINE_AMMO, EmptyBottle, REDWINE_AMMO; mesn; mes l("Trying to retrieve it now will have @@ % chance to be successful.", redwine_chance()/100); if (redwine_chance()/100 < 1) close; @@ -144,6 +144,7 @@ L_Main: } else { mesc l("The wine wasn't ready yet and you lost it..."), 1; } + getitem EmptyBottle, REDWINE_AMMO; REDWINE_DATE=0; REDWINE_AMMO=0; } diff --git a/npc/024-9/sake.txt b/npc/024-9/sake.txt index 2ff3e2892..c55de3f2b 100644 --- a/npc/024-9/sake.txt +++ b/npc/024-9/sake.txt @@ -141,7 +141,7 @@ L_Main: mesn; mesc l("Your request for @@ @@ are being fermented for @@.", DWARVEN_AMMO, getitemlink(DwarvenSake), FuzzyTime(DWARVEN_DATE)); next; - inventoryplace DwarvenSake, DWARVEN_AMMO; + inventoryplace DwarvenSake, DWARVEN_AMMO, EmptyBottle, DWARVEN_AMMO; mesn; mes l("Trying to retrieve it now will have @@ % chance to be successful.", dwarvensake_chance()/100); if (dwarvensake_chance()/100 < 1) close; @@ -154,6 +154,7 @@ L_Main: } else { mesc l("The sake wasn't ready yet and you lost it..."), 1; } + getitem EmptyBottle, DWARVEN_AMMO; DWARVEN_DATE=0; DWARVEN_AMMO=0; } -- cgit v1.2.3-60-g2f50