slight UI changes
This commit is contained in:
parent
8b2a7b38af
commit
d15fd272ca
4 changed files with 12 additions and 9 deletions
|
@ -15,19 +15,19 @@ exec.addCube = function () {
|
|||
}
|
||||
upgrades = [
|
||||
{
|
||||
'name': 'Set',
|
||||
'name': 'Void Set',
|
||||
'price': 30,
|
||||
'exec': 'addCube',
|
||||
'desc': 'Clicks and waiting generate more nil'
|
||||
},
|
||||
{
|
||||
'name': 'Union',
|
||||
'name': 'Void-Void Union',
|
||||
'price': 1000,
|
||||
'exec': 'doNothing',
|
||||
'desc': 'Earlier-bought Sets are more powerful'
|
||||
'desc': 'Earlier-bought Sets pool together'
|
||||
},
|
||||
{
|
||||
'name': 'Intersection',
|
||||
'name': 'Void-Input Intersection',
|
||||
'price': 1000,
|
||||
'exec': 'intersectThings',
|
||||
'desc': 'Sets become easier to click'
|
||||
|
@ -37,7 +37,7 @@ upgrades = [
|
|||
let hud2 = document.querySelector('.hud');
|
||||
|
||||
function updateText(button, price, name, cc) {
|
||||
button.textContent = `Buy ${name} (${cc}x) for ${numify(price)} nil`
|
||||
button.textContent = `${name}\n${cc}x inventory\n${numify(price)} nil to construct`
|
||||
}
|
||||
|
||||
for (let upgrade of upgrades) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue