Fix the introduction
This commit is contained in:
parent
e51bcfc3b8
commit
65ba00bc57
1 changed files with 18 additions and 7 deletions
|
|
@ -29,6 +29,24 @@ class Character(Object, DefaultCharacter):
|
|||
if self.dbref != "#1":
|
||||
self.create_letter()
|
||||
|
||||
def at_post_puppet(self):
|
||||
if self.db.visited:
|
||||
self.msg(f"""
|
||||
|
||||
You hear a whisper on the breeze, “Welcome back, {self.key.capitalize()}.”
|
||||
|
||||
""")
|
||||
else:
|
||||
self.db.visited = True
|
||||
self.msg("""
|
||||
|
||||
As the surrounding mists dissipate, you find yourself in an ancient, halcyon forest dripping with moss.
|
||||
|
||||
|
||||
You see an envelope of parchment wedged under a scaly protrusion of bark...inside, a letter in familiar penmanship, personally addressed to you, which you pick up.
|
||||
|
||||
(Type 'inventory' or 'inv' or just 'i' to see what you carry).""")
|
||||
|
||||
def create_letter(self):
|
||||
"create a welcome letter in a character's inventory"
|
||||
letter = spawn({
|
||||
|
|
@ -51,13 +69,6 @@ class Character(Object, DefaultCharacter):
|
|||
"""
|
||||
letter.location = self
|
||||
|
||||
self.msg("""
|
||||
As the surrounding mists dissipate, you find yourself in an ancient, halcyon forest dripping with moss.
|
||||
|
||||
You see an envelope of parchment wedged under a scaly protrusion of bark...inside, a letter in familiar penmanship, personally addressed to you, which you pick up.
|
||||
|
||||
(Type 'inventory' or 'inv' or just 'i' to see what you carry).""")
|
||||
|
||||
def do_take(self, args):
|
||||
"""
|
||||
A character has a _steal_command. What are the limitations?
|
||||
|
|
|
|||
Loading…
Reference in a new issue