From 430ed500b97214abb2ce9f0bfe1587a6a9cc1f47 Mon Sep 17 00:00:00 2001 From: ryo_saeba Date: Sat, 16 Jan 2021 18:16:31 +0000 Subject: [PATCH] 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 --- ChangeLog | 1 + python/commands/dip.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index cddff0c17..e802e2eda 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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, diff --git a/python/commands/dip.py b/python/commands/dip.py index 60a986283..c2b4c84fc 100644 --- a/python/commands/dip.py +++ b/python/commands/dip.py @@ -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