Deprecated: str_replace(): Passing null to parameter #1 ($search) of type array|string is deprecated in /var/www/vhosts/gamedevstudiogame.com/httpdocs/classes/client.php on line 124

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /var/www/vhosts/gamedevstudiogame.com/httpdocs/classes/client.php on line 124
Game dev studio

Classes

Concepts

Libraries

advertisement »

ambientSounds »

bitser »

contentPoints »

eventBoxText »

factValidity »

frameBuffer »

officeBuildingInserter »

priorityRenderer »

randomEvents »

scaling »

spritesheetParser »

statusIcons »

test3 »

util »

Objects

registerNew

Description

Registers a new knowledge type.

Arguments

1 table data

the data.

Example

knowledge:registerNew({
	id = "firearms",
	display = _T("FIREARMS", "Firearms"),
	icon = "interest_firearms",
	description = _T("FIREARMS_KNOWLEDGE_DESCRIPTION", "Knowing how firearms work is crucial for any military simulation game. It is not as important for games that aren't simulators, but attention to detail is still welcome.")})