Returns the list of answers.
Returns the list of answers.
1 dialogue object
the current dialogue.
1 table
answers
dialogueHandler.registerQuestion({ id = "developer_rival_studio_post_match_offer", textAccepted = _T("DEVELOPER_RIVAL_STUDIO_POST_MATCH_OFFER_ACCEPTED", "Alright, I'm staying."), textDeclined = _T("DEVELOPER_RIVAL_STUDIO_POST_MATCH_OFFER_DECLINED", "Sorry boss, it's not just about the money, I've wanted to try something new for a long time now, so I'm staying by my decision."), answersAccepted = {"developer_rival_studio_steal_accepted_match"}, answersDeclined = {"developer_rival_studio_steal_offer_bonus", "developer_rival_studio_steal_attempt_farewell_3"}, getAnswers = function(self, dialogueObject) if dialogueObject:getFact("agreed_to_match") then dialogueObject:getEmployee():setFact(rivalGameCompany.STEAL_DIALOGUE_FACT, false) return self.answersAccepted end dialogueObject:getEmployee():setFact(rivalGameCompany.STEAL_DIALOGUE_FACT, false) return self.answersDeclined end, getText = function(self, dialogueObject) if dialogueObject:getFact("agreed_to_match") then return self.textAccepted end return self.textDeclined end })