Allow empty flasks to be filled.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21776 282e977c-c81d-0410-88c4-b93c2d0d6712master
parent
150be1542b
commit
430ed500b9
|
@ -1,6 +1,7 @@
|
||||||
2020-01-16 Daniel Hawkins
|
2020-01-16 Daniel Hawkins
|
||||||
* pup_land/raffle/raffle2,
|
* pup_land/raffle/raffle2,
|
||||||
pup_land/raffle/raffle3: Fix tissue paper on raffles 2 and 3 in pupland as well.
|
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
|
2020-01-16 Nicolas Weeger
|
||||||
* darcap/raffle/raffle1,
|
* darcap/raffle/raffle1,
|
||||||
|
|
|
@ -26,7 +26,7 @@ def dip(pl):
|
||||||
def nothing():
|
def nothing():
|
||||||
something("Nothing happens.")
|
something("Nothing happens.")
|
||||||
|
|
||||||
if ob.ArchName == "wbottle_empty":
|
if ob.ArchName == "wbottle_empty" or ob.ArchName == "potion_empty":
|
||||||
ob.Quantity -= 1
|
ob.Quantity -= 1
|
||||||
w = Crossfire.CreateObjectByName("water")
|
w = Crossfire.CreateObjectByName("water")
|
||||||
w.Identified = 1
|
w.Identified = 1
|
||||||
|
|
Loading…
Reference in New Issue