|
|
|
@@ -125,7 +125,16 @@ function addPowerup(key, powerup) { |
|
|
|
|
|
|
|
const powerupEntry = document.createElement("div"); |
|
|
|
powerupEntry.classList.add("powerup-entry"); |
|
|
|
powerupEntry.innerText = powerup.name; |
|
|
|
|
|
|
|
const powerupIconHolder = document.createElement("div"); |
|
|
|
powerupIconHolder.classList.add("powerup-entry-icon-holder"); |
|
|
|
|
|
|
|
const powerupIcon = document.createElement("i"); |
|
|
|
powerupIcon.classList.add("fas"); |
|
|
|
powerupIcon.classList.add(powerup.icon); |
|
|
|
|
|
|
|
powerupIconHolder.appendChild(powerupIcon); |
|
|
|
powerupEntry.appendChild(powerupIconHolder); |
|
|
|
|
|
|
|
powerupList.appendChild(powerupEntry); |
|
|
|
|
|
|
|
@@ -532,7 +541,6 @@ function setup() { |
|
|
|
updateAll(); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const cache = {}; |
|
|
|
|
|
|
|
function initializeCaches() { |
|
|
|
|