TorroesPrime

Untitled

Dec 1st, 2021
894
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     def assemble_adventure(self):
  2.         constructors = {'Rooms' : self.rooms,
  3.                         'Exits' : self.exits}
  4.         for section_type, section_contents in self.sections.findall(self.adventure):
  5.             section_contents = self.section_contents.split(section_contents)
  6.             #constructor = constructors[section_type]
  7.             #constructor(section_contents)
  8.             print(type(section_contents))
  9.             for item in section_contents:
  10.                 print("===================================")
  11.                 print(item)
  12.                 print("+++++++++++++++++++++++++++++++++++")
RAW Paste Data