add unions
This commit is contained in:
parent
ce6c859e9c
commit
e832b8f630
3 changed files with 33 additions and 10 deletions
|
@ -1,5 +1,9 @@
|
|||
let exec = {};
|
||||
|
||||
exec.doNothing = function() {
|
||||
|
||||
}
|
||||
|
||||
exec.addCube = function () {
|
||||
cubePos.push([Math.random() * 1000 - 500, Math.random() * 1000 - 500, Math.random() * 30 - 200,
|
||||
Math.random() * 2 - 1, Math.random() * 2 - 1, Math.random() * 2 - 1
|
||||
|
@ -11,6 +15,12 @@ upgrades = [
|
|||
'price': 30,
|
||||
'exec': 'addCube',
|
||||
'desc': 'Clicks and waiting generate more nil'
|
||||
},
|
||||
{
|
||||
'name': 'Union',
|
||||
'price': 1000,
|
||||
'exec': 'doNothing',
|
||||
'desc': 'Earlier-bought Sets are more powerful'
|
||||
}
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue