From 219e1b904945ed35dce19758523dd311e5f6fdc9 Mon Sep 17 00:00:00 2001 From: silvernexus Date: Sat, 22 Aug 2020 23:40:52 +0000 Subject: [PATCH] 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-b93c2d0d6712 --- ChangeLog | 3 +++ python/commands/dip.py | 1 + 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index 04d865d34..cbeba25bd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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) diff --git a/python/commands/dip.py b/python/commands/dip.py index 6183f279f..57192ad37 100644 --- a/python/commands/dip.py +++ b/python/commands/dip.py @@ -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: