def write_chapter(self):
     md_writer.print_chapter_heading(self.state.goal_setting_name)
     md_writer.print_chapter_sentence(self.first_sentence())
     c = random.choice(self.state.get_characters())
     md_writer.print_chapter_sentence(c.get_description() + " threw " + self.state.macguffin_name + " into the burning void.")
     md_writer.print_chapter_sentence("Suddenly, the powerful wizard, " + self.state.wizard_name + " appeared in a flash of light.")
     md_writer.print_chapter_sentence(self.state.wizard_name + " said, " + '"You have saved the world! It was a terrible journey but you did it!"')
     md_writer.end_chapter()
 def write_chapter(self):
     md_writer.print_chapter_heading(self.inn_name)
     md_writer.print_chapter_sentence(self.first_sentence())
     md_writer.print_chapter_sentence("Suddenly, the powerful wizard, " + self.state.wizard_name + " appeared in a flash of light.")
     md_writer.print_chapter_sentence(self.state.wizard_name + " said, " + '"You must take ' + self.state.macguffin_name + ' to ' + self.state.goal_setting_name + ' and destroy it, or the world will end! Many agents of chaos will oppose you, but only you can save the world!"')
     c = random.choice(self.state.get_characters())
     md_writer.print_chapter_sentence(c.get_description() + " took " + self.state.macguffin_name + ", and the three heroes went off.")
     md_writer.end_chapter()
Esempio n. 3
0
 def write_chapter(self):
     md_writer.print_chapter_heading(self.state.goal_setting_name)
     md_writer.print_chapter_sentence(self.first_sentence())
     c = random.choice(self.state.get_characters())
     md_writer.print_chapter_sentence(c.get_description() + " threw " +
                                      self.state.macguffin_name +
                                      " into the burning void.")
     md_writer.print_chapter_sentence("Suddenly, the powerful wizard, " +
                                      self.state.wizard_name +
                                      " appeared in a flash of light.")
     md_writer.print_chapter_sentence(
         self.state.wizard_name + " said, " +
         '"You have saved the world! It was a terrible journey but you did it!"'
     )
     md_writer.end_chapter()
Esempio n. 4
0
 def write_chapter(self):
     md_writer.print_chapter_heading(self.inn_name)
     md_writer.print_chapter_sentence(self.first_sentence())
     md_writer.print_chapter_sentence("Suddenly, the powerful wizard, " +
                                      self.state.wizard_name +
                                      " appeared in a flash of light.")
     md_writer.print_chapter_sentence(
         self.state.wizard_name + " said, " + '"You must take ' +
         self.state.macguffin_name + ' to ' + self.state.goal_setting_name +
         ' and destroy it, or the world will end! Many agents of chaos will oppose you, but only you can save the world!"'
     )
     c = random.choice(self.state.get_characters())
     md_writer.print_chapter_sentence(c.get_description() + " took " +
                                      self.state.macguffin_name +
                                      ", and the three heroes went off.")
     md_writer.end_chapter()