Returns the text to display from the displayText variable.
Returns the text to display from the displayText variable.
1 string
the text to display.
-- taken from game/hint_system.lua hintSystem.registerNew({ id = "remaining_loan", weight = 20, displayText = _T("REMAINING_LOAN_HINT", "You still have a loan of LOAN that you have to return."), isEligible = function(self) return studio:getLoan() > 0 end, getDisplayText = function(self) return _format(self.displayText, "LOAN", string.roundtobigcashnumber(studio:getLoan())) end })