getText

Description

Arguments

Returns

1 string

the text.

Example

dialogueHandler.registerQuestion({
id = "manager_platform_support_drop_consult_3",
text = _T("MANAGER_PLATFORM_SUPPORT_DROP_CONSULT_3", "Of course, if it's not possible to make a proper profit on this platform, then you should probably disregard waiting in general. People will be angry about it, no doubt, but at least you won't be burning through money."),
answers = {"generic_continue"},
getText = function(self, dialogueObject)
local plat = dialogueObject:getFact("platform")
return _format(self.text, "TIME", timeline:getTimePeriodText(plat:getDiscontinuePenaltyTime()))
end,
nextQuestion = "manager_platform_support_drop_consult_4",
})