1. Arne Babenhauserheide
  2. TextRPG


Arne Babenhauserheide  committed 48f8d83

branching_story: Added description of the rabbit hill.

  • Participants
  • Parent commits 7343198
  • Branches default

Comments (0)

Files changed (2)

File branching_story.py

View file
 As you enter a darker region of the woods, you hear the rustling of leaves behind you. 
 Minutes later, you still don't quite know, how you escaped, 
 but the boar doesn't follow you anymore. 
+'the rabbit hill': """
+On a clearing in the woods a small hill rises, fettered with small rabbit 
+droppings and penetrated by so many holes that it seems like the whole hill 
+would have to be hollow to support all these rabbit homes. 
+A lone rabbit looks out of one of the holes and gazes strangely at you, as if 
+you were intruding on a place which isn't for humans to see. 
 # TODO: Write text for all locations. 

File rpg_lib/textrpg.py

View file
     def __init__(self, *args, **kwds): 
         super(Story, self).__init__(*args, **kwds)
-    def story(self, data=None, *args, **kwds): 
+    def story(self, data=None, autoscroll=False, *args, **kwds): 
         """Tell a part of the story.
         Overridden to show "..." instead of blank lines (override commented out). """