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
master
ryo_saeba 2021-02-09 21:26:26 +00:00
parent b21974fd8f
commit c0321c16da
2 changed files with 4 additions and 0 deletions

View File

@ -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,

View File

@ -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()