Classes

Concepts

Libraries

Objects

contractor »

conversationAnswerData »

engineStatData »

issueData »

playerPlatformSpecialistData »

projectReviewConclusion »

projectReviewRemark »

randomEventData »

statusIcon »

getText

Description

Returns the text to display in the event box. This should return the fully formatted text, since it will be called only once when added to the event box.

Arguments

1 any data

the data that was given to the eventBoxTextData when game.addToEventBox was called.

Example

-- taken from game/game/project.lua


eventBoxText:registerNew({
	id = "game_ready_for_release",
	getText = function(self, data)
		return _format(_T("GAME_FINISHED_CAN_RELEASE", "'GAME' is now finished and can be released!"), "GAME", data)
	end
})