forked from vantablack/vantaMOO
Pager
This commit is contained in:
parent
2be244b5b6
commit
c644f274ff
|
@ -4,15 +4,16 @@ Moby Dick
|
|||
This is a joke object that contains the full text of Moby Dick. Nothing else.
|
||||
"""
|
||||
from typeclasses.objects import Object
|
||||
from evennia.contrib.game_systems.clothing import ContribClothing as Clothes
|
||||
from evennia.utils.evmore import EvMore
|
||||
|
||||
|
||||
|
||||
class MobyDick(Object):
|
||||
def at_object_creation(self):
|
||||
"""
|
||||
Called at initial creation.
|
||||
"""
|
||||
super().at_object_creation()
|
||||
self.db.desc = """
|
||||
"""
|
||||
Can't be a self.db.desc because we *need* a pager here.
|
||||
"""
|
||||
def get_display_desc(self, looker, **kwargs):
|
||||
text = """
|
||||
CHAPTER 1. Loomings.
|
||||
|
||||
Call me Ishmael. Some years ago—never mind how long precisely—having
|
||||
|
@ -21132,5 +21133,7 @@ children, only found another orphan.
|
|||
|
||||
THE END
|
||||
"""
|
||||
EvMore(looker, text)
|
||||
return
|
||||
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue