5 while below
is not None:
6 if below.ArchName ==
"fountain":
14 pl.Message(
"You must be at a fountain to dip an object into one.")
19 pl.Message(
"Mark the item that you would like to dip.")
24 pl.Message(
"You dip the %s into the %s. %s" % (name_before, f.Name, s))
27 something(
"Nothing happens.")
29 if ob.ArchName ==
"wbottle_empty" or ob.ArchName ==
"potion_empty":
31 w = Crossfire.CreateObjectByName(
"water")
34 pl.Message(
"You fill the %s with water from the %s." % (name_before, f.Name))
35 elif ob.ArchName ==
"scroll_new":
37 w = Crossfire.CreateObjectByName(
"scroll")
40 something(
"The magic runes fade away.")
41 elif ob.Type == Crossfire.Type.BOOK:
42 if ob.Message !=
None and len(ob.Message) != 0:
44 something(
"The writing fades away.")
46 something(
"It gets wet.")
47 ob.WriteKey(
"knowledge_marker",
None, 0)
48 ob.Name = ob.Archetype.Clone.Name
49 ob.NamePl = ob.Archetype.Clone.NamePl
53 dip(Crossfire.WhoAmI())