Classes

Concepts

Libraries

Objects

contractor »

conversationAnswerData »

engineStatData »

issueData »

playerPlatformSpecialistData »

projectReviewConclusion »

projectReviewRemark »

randomEventData »

statusIcon »

getText

Description

Returns the text to display in the textbox.

Arguments

1 dialogue object

the current dialogue.

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",
})