def setPrereqs(self, prereqs): self.prereqs = makeTuple(prereqs) self._giverPreqs = [] self._avPreqs = [] self._envPreqs = [] for preq in self.prereqs: return None
def setRewards(self, rewards): rewardStructs = [] for reward in makeTuple(rewards): if reward: rewardStructs.append(reward.getQuestRewardStruct()) continue self.setRewardStructs(rewardStructs)
def setChainedQuests(self, chainedQuests): self.chainedQuests = makeTuple(chainedQuests)
def setInstanceInfo(self, instanceInfo): self.instanceInfo = makeTuple(instanceInfo)
def setFinalizeInfo(self, finalizeInfo): self.finalizeInfo = makeTuple(finalizeInfo)
def setRewards(self, rewards): self.rewards = makeTuple(rewards)
def setTasks(self, tasks): self.tasks = makeTuple(tasks)