From c0321c16dacdf8df7ed36910089a326f79879123 Mon Sep 17 00:00:00 2001 From: ryo_saeba Date: Tue, 9 Feb 2021 21:26:26 +0000 Subject: [PATCH] When dipping a scroll, remove knowledge marker and reset name. git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21932 282e977c-c81d-0410-88c4-b93c2d0d6712 --- ChangeLog | 1 + python/commands/dip.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index ad357e598..120313d85 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2021-02-09 Nicolas Weeger * quests/peterm/FireTemple/FifthFloor: Ingredients are on another level. * quests/peterm/FireTemple/FourthFloor: Give knowledge for formulae. + * python/commands/dip.py: When dipping a scroll, remove knowledge marker and reset name. 2021-02-03 Nicolas Weeger * navar_city/shops/armino_alchemy, diff --git a/python/commands/dip.py b/python/commands/dip.py index c2b4c84fc..d09485f2d 100644 --- a/python/commands/dip.py +++ b/python/commands/dip.py @@ -44,6 +44,9 @@ def dip(pl): something("The writing fades away.") else: something("It gets wet.") + ob.WriteKey("knowledge_marker", None, 0) + ob.Name = ob.Archetype.Clone.Name + ob.NamePl = ob.Archetype.Clone.NamePl else: nothing()