Classes

Concepts

Libraries

advertisement »

ambientSounds »

bitser »

contentPoints »

eventBoxText »

factValidity »

frameBuffer »

officeBuildingInserter »

priorityRenderer »

randomEvents »

scaling »

spritesheetParser »

statusIcons »

test3 »

util »

Objects

generateEngine

Description

Generates an engine. Call this method when you want to generate some kind of engine for use somewhere. This method is used by rival game companies, for example.

Arguments

1 engine object

the engine to generate things for. If nil is given, will generate a new one.

2 number featureCountMultiplier

the multiplier for the amount of features to give to the engine.

3 bool noFact

whether the "generated engine fact" setting should be skipped. This is used when generating engines for the player in scenarios.

Example