slight UI changes

This commit is contained in:
biglyderv 2025-03-11 06:29:48 -04:00
parent 8b2a7b38af
commit d15fd272ca
Signed by: biglyderv
GPG key ID: 0E2EB0B4CD7397B5
4 changed files with 12 additions and 9 deletions

View file

@ -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) {