Classes

developer »

gameProject »

pedestrianController »

playerPlatform »

punishment »

team »

Concepts

Libraries

Objects

registerNew

Description

Registers a new quality type.

Arguments

1 table data

the data to register.

Example

gameQuality:registerNew({
	id = "graphics", 
	display = _T("GRAPHICS", "Graphics"),
	displayHeader = _T("GRAPHICS_HEADER", "The graphics"), 
	description = _T("GRAPHICS_DESCRIPTION", "A renderer is as important as the artistic vision if you wish to impress the players with visuals."),
	icon = "quality_graphics",
	reviewText = {
		[projectReview.FEATURES_TYPE.BEST] = {
			_T("REVIEW_GRAPHICS_RESULT_BEST1", "the visuals were superb"),
			_T("REVIEW_GRAPHICS_RESULT_BEST2", "graphics in this game are a sight to behold"),
			_T("REVIEW_GRAPHICS_RESULT_BEST3", "I think this game may have the best graphics I've seen yet")
		},
		
		[projectReview.FEATURES_TYPE.AVG] = {
			_T("REVIEW_GRAPHICS_RESULT_AVERAGE1", "graphics were OK"),
			_T("REVIEW_GRAPHICS_RESULT_AVERAGE2", "the graphics were ordinary"),
			_T("REVIEW_GRAPHICS_RESULT_AVERAGE3", "nothing about the graphics was good nor bad")
		},

		[projectReview.FEATURES_TYPE.WORST] = {
			_T("REVIEW_GRAPHICS_RESULT_WORST1", "the graphics desperately needed more work"),
			_T("REVIEW_GRAPHICS_RESULT_WORST2", "this game is lacking in the visual side of things"),
			_T("REVIEW_GRAPHICS_RESULT_WORST3", "I can't imagine the developers were very fond of the graphics themselves")
		},		
	}
})