Classes

Concepts

Libraries

Objects

contractor »

conversationAnswerData »

engineStatData »

issueData »

playerPlatformSpecialistData »

projectReviewConclusion »

projectReviewRemark »

randomEventData »

statusIcon »

addToDescbox

Description

Called when filling the review descbox.

Arguments

1 guiElementInstance descbox

the decbox to fill with text.

2 number wrapWidth

the maximum text wrapping width.

Example

projectReview:registerConclusion({
	id = "price_too_high",
	addToDescbox = function(self, descBox, wrapWidth)
		descBox:addTextLine(wrapWidth, game.UI_COLORS.UI_PENALTY_LINE)
		descBox:addText(_T("CONCLUSION_PRICE_TOO_HIGH", "Price too high in relation to the game scale, sales lowered"), "bh18", game.UI_COLORS.RED, 0, wrapWidth, "exclamation_point_red", 22, 22)
	end
})