Fix the introduction

This commit is contained in:
Howard Abrams 2025-02-16 11:08:35 -08:00
parent e51bcfc3b8
commit 65ba00bc57

View file

@ -29,6 +29,24 @@ class Character(Object, DefaultCharacter):
if self.dbref != "#1": if self.dbref != "#1":
self.create_letter() 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): def create_letter(self):
"create a welcome letter in a character's inventory" "create a welcome letter in a character's inventory"
letter = spawn({ letter = spawn({
@ -51,13 +69,6 @@ class Character(Object, DefaultCharacter):
""" """
letter.location = self 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): def do_take(self, args):
""" """
A character has a _steal_command. What are the limitations? A character has a _steal_command. What are the limitations?