diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-12-20 15:35:26 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-12-20 15:35:26 -0300 |
commit | 8afa4faebdb99e487100e24c387a96420981bf5f (patch) | |
tree | a998357b0110803118690ed8795732e9179b9ab8 /npc | |
parent | 593a20bef1c5f01093afaee9ae0fd76e70e2c579 (diff) | |
download | serverdata-8afa4faebdb99e487100e24c387a96420981bf5f.tar.gz serverdata-8afa4faebdb99e487100e24c387a96420981bf5f.tar.bz2 serverdata-8afa4faebdb99e487100e24c387a96420981bf5f.tar.xz serverdata-8afa4faebdb99e487100e24c387a96420981bf5f.zip |
Now brewing alcohol returns the bottles used
Diffstat (limited to 'npc')
-rw-r--r-- | npc/017-3/chagashroom.txt | 3 | ||||
-rw-r--r-- | 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; } |