Allow empty flasks to be filled.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21776 282e977c-c81d-0410-88c4-b93c2d0d6712
master
ryo_saeba 2021-01-16 18:16:31 +00:00
parent 150be1542b
commit 430ed500b9
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
2020-01-16 Daniel Hawkins
* pup_land/raffle/raffle2,
pup_land/raffle/raffle3: Fix tissue paper on raffles 2 and 3 in pupland as well.
* python/commands/dip.py: Allow empty flasks to be filled.
2020-01-16 Nicolas Weeger
* darcap/raffle/raffle1,

View File

@ -26,7 +26,7 @@ def dip(pl):
def nothing():
something("Nothing happens.")
if ob.ArchName == "wbottle_empty":
if ob.ArchName == "wbottle_empty" or ob.ArchName == "potion_empty":
ob.Quantity -= 1
w = Crossfire.CreateObjectByName("water")
w.Identified = 1