Пример #1
0
 def setPrereqs(self, prereqs):
     self.prereqs = makeTuple(prereqs)
     self._giverPreqs = []
     self._avPreqs = []
     self._envPreqs = []
     for preq in self.prereqs:
         return None
Пример #2
0
 def setRewards(self, rewards):
     rewardStructs = []
     for reward in makeTuple(rewards):
         if reward:
             rewardStructs.append(reward.getQuestRewardStruct())
             continue
     
     self.setRewardStructs(rewardStructs)
Пример #3
0
 def setChainedQuests(self, chainedQuests):
     self.chainedQuests = makeTuple(chainedQuests)
Пример #4
0
 def setInstanceInfo(self, instanceInfo):
     self.instanceInfo = makeTuple(instanceInfo)
Пример #5
0
 def setFinalizeInfo(self, finalizeInfo):
     self.finalizeInfo = makeTuple(finalizeInfo)
Пример #6
0
 def setRewards(self, rewards):
     self.rewards = makeTuple(rewards)
Пример #7
0
 def setTasks(self, tasks):
     self.tasks = makeTuple(tasks)