Classes

Concepts

Libraries

advertisement »

ambientSounds »

bitser »

contentPoints »

eventBoxText »

factValidity »

frameBuffer »

officeBuildingInserter »

priorityRenderer »

randomEvents »

scaling »

spritesheetParser »

statusIcons »

test3 »

util »

Objects

addGenreMatching

Description

Adds a genre-audience match to the specified audience. This is useful when you're registering a new genre and need to add a genre match to all audiences.

Arguments

1 string audienceID

the audience ID.

2 string genreID

the genre ID.

3 number matchMult

the match multiplier.

Example

audience:addGenreMatching("everyone", "horror", 1.5) -- makes horror games go extremely well with games made for children