diff --git a/typeclasses/scripts.py b/typeclasses/scripts.py index 2ea1180..6d74ba1 100644 --- a/typeclasses/scripts.py +++ b/typeclasses/scripts.py @@ -114,7 +114,7 @@ class KnockScript(Script): if room: room.msg_contents("Someone is knocking on the door...") - god = Character.objects.search_object("#1")[0] + god = knocker.global_search("#1") if god: god.msg(f"With your seer stone, you see the knocker is {knocker.key}.") diff --git a/world/version1.ev b/world/version1.ev index 0a0733b..0b9a85a 100644 --- a/world/version1.ev +++ b/world/version1.ev @@ -85,6 +85,23 @@ nick meadow = ^fly Frog Meadow # Character: Dabble:8 ends here +# The pipe is little more than messages to the smoker and everyone else in the room. + + +# [[file:../../../Dropbox/org/projects/mud.org::*Pipe][Pipe:1]] +@create pipe: typeclasses.things.Pipe +# Pipe:1 ends here + + + +# And a desciption: + + +# [[file:../../../Dropbox/org/projects/mud.org::*Pipe][Pipe:2]] +@desc pipe = As tall as its owner with etchings of birds, leaves and magical symbols. +# Pipe:2 ends here + + # Rename the Limbo (or starting place) with the name *Forest*. Note the term =mp01= as a global label that matches my map. @@ -1562,9 +1579,18 @@ py here.search("trolley").do_bake() -# And now that we are done, say it: +# And we need to update the Knocker to get the “knock” command going: # [[file:../../../Dropbox/org/projects/mud.org::*Chairs][Chairs:7]] -say I have finished this, the first version, of my creation. +@update knocker = typeclasses.things.Knocker # Chairs:7 ends here + + + +# And now that we are done, say it: + + +# [[file:../../../Dropbox/org/projects/mud.org::*Chairs][Chairs:8]] +say I have finished this, the first version, of my creation. +# Chairs:8 ends here