dist/js/main.js
// testing function to add resources and workers without any cost.
testing function to add resources and workers without any cost.
testing function to add resources and workers without any cost .
function testAddStuff(resourceGroup, resourceName, resourceParam, amount) {
  if (!resourceParam) {
    gameData[resourceGroup][resourceName] += amount;
  } else {
    gameData[resourceGroup][resourceName][resourceParam] += amount;
  }
}
function testAddStuff ( resourceGroup , resourceName , resourceParam , amount ) { if ( ! resourceParam ) { gameData [ resourceGroup ] [ resourceName ] += amount ; } else { gameData [ resourceGroup ] [ resourceName ] [ resourceParam ] += amount ; } }
testing function to add resources and workers without any cost.
testing function to add resources and workers without any cost .
// means we're adding counters // means we're adding workers