Make water dipped into a fountain be identified, so as to prevent infinite alchemy experience from repeated drinking of the water and re-dipping.
Still working out how to prevent the same with smithery on the empty bottle. git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21300 282e977c-c81d-0410-88c4-b93c2d0d6712master
parent
5523e35dad
commit
219e1b9049
|
@ -1,3 +1,6 @@
|
|||
2020-08-22 Daniel Hawkins
|
||||
* python/commands/dip.py: Make the water identified to avoid infinite identify xp.
|
||||
|
||||
2020-08-16 Rick Tanner
|
||||
|
||||
* world/world_120_110: Added the world map tile (world_120_110)
|
||||
|
|
|
@ -24,6 +24,7 @@ def dip(pl):
|
|||
if ob.ArchName == "wbottle_empty":
|
||||
ob.Quantity -= 1
|
||||
w = Crossfire.CreateObjectByName("water")
|
||||
w.Identified = 1
|
||||
w.InsertInto(pl)
|
||||
pl.Message("You fill the %s with water from the %s." % (name_before, f.Name))
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue