Пример #1
0
 def getAdditionalConditions(self):
     """
     Return unformatted conditions diff data between additional and main quest.
     Additional quest contain all conditions: main and additional.
     To get pure additional conditions we subtract main quest conditions from additional quest conditions
     """
     mainQuestConds = self.__pmType.mainQuestInfo.get('conditions')
     addQuestConds = self.__pmType.addQuestInfo.get('conditions')
     return dict(
         events_helpers.getConditionsDiffStructure(addQuestConds,
                                                   mainQuestConds))
 def getAdditionalConditions(self):
     mainQuestConds = self.__pmType.mainQuestInfo.get('conditions')
     addQuestConds = self.__pmType.addQuestInfo.get('conditions')
     return dict(
         events_helpers.getConditionsDiffStructure(addQuestConds,
                                                   mainQuestConds))