buildings - Gexgekko/robotFactory GitHub Wiki

[OBJ] builds

The list of things you buy to get units per second.

 

[PROP] name

The name of the building. It's displayed in the list.

[PROP] baseCost

The cost of buying the first one (1) of it.

It's multiplied by the amount of buildings you have of the same type ([baseSave.savedBuildings](baseSave))
and [baseConfig.costIncrement](baseConfig).

[PROP] unitsPerSecond

The amount of units the building gives per second.

This property is optional as the building can give other bonuses.

[PROP] unitsPerClick

The amount of units gained when clicking.

This property is optional as the building can give other bonuses.