baseSave - Gexgekko/robotFactory GitHub Wiki

[OBJ] baseSave

Base save configuration applied when no previous save exists. The properties of this object are the same for [OBJ] save

 

[PROP] totalClicks

The amount of clicks you've done in the click area.

[PROP] units

The amount of units you have right now. Can go up when clicking or down when buying.

[PROP] unitsPerClick

The amount of units you get each time you click on the clickArea.

[PROP] unitsPerSecond

The amount of units you get each second because of buying builds.

[PROP] unitsPerBuilding

The amount of units you get each second for each build. The index indicates which build is applying that amount.

unitsPerBuild = [1, 3, 2] means that Build 0 is giving you 1u/s, Build 2 is giving 3u/s and Build 3 is giving 2u/s

[PROP] savedBuildings

The amount of builds you have of each type.
saveBuilds = [10, 8, 6] means you have 10 of Build 0, 8 of Build 2 and 6 of Build 3