images back
images are back as an option due to public outcry bug fixes getting a power up quickly after warp, difficulty or instructions power ups was making the screen go blank heuristics resets on death properly now
This commit is contained in:
@@ -1830,9 +1830,9 @@ if (localSettings.isAllowed && !localSettings.isEmpty) {
|
||||
localSettings.loreCount = 0; //this sets what conversation is heard
|
||||
if (localSettings.isAllowed) localStorage.setItem("localSettings", JSON.stringify(localSettings)); //update local storage
|
||||
}
|
||||
// if (localSettings.isHideImages === undefined) localSettings.isHideImages = true //default to hide images
|
||||
// document.getElementById("hide-images").checked = localSettings.isHideImages
|
||||
localSettings.isHideImages = true //no images
|
||||
if (localSettings.isHideImages === undefined) localSettings.isHideImages = true //default to hide images
|
||||
document.getElementById("hide-images").checked = localSettings.isHideImages
|
||||
// localSettings.isHideImages = true //no images
|
||||
|
||||
if (localSettings.isHideHUD === undefined) localSettings.isHideHUD = true
|
||||
document.getElementById("hide-hud").checked = localSettings.isHideHUD
|
||||
@@ -1877,7 +1877,7 @@ if (localSettings.isAllowed && !localSettings.isEmpty) {
|
||||
if (localSettings.isAllowed) localStorage.setItem("localSettings", JSON.stringify(localSettings)); //update local storage
|
||||
document.getElementById("community-maps").checked = localSettings.isCommunityMaps
|
||||
simulation.isCommunityMaps = localSettings.isCommunityMaps
|
||||
// document.getElementById("hide-images").checked = localSettings.isHideImages
|
||||
document.getElementById("hide-images").checked = localSettings.isHideImages
|
||||
document.getElementById("fps-select").value = localSettings.fpsCapDefault
|
||||
document.getElementById("banned").value = localSettings.banList
|
||||
}
|
||||
|
||||
@@ -727,9 +727,9 @@ const level = {
|
||||
simulation.isChoosing = false; //stops p from un pausing on key down
|
||||
build.unPauseGrid()
|
||||
document.getElementById("choose-grid").style.opacity = "0"
|
||||
setTimeout(() => {
|
||||
document.getElementById("choose-grid").style.visibility = "hidden"
|
||||
}, 1000);
|
||||
document.getElementById("choose-grid").style.visibility = "hidden"
|
||||
// setTimeout(() => {
|
||||
// }, 1000);
|
||||
},
|
||||
populateLevels() { //run a second time if URL is loaded
|
||||
if (document.getElementById("banned").value) { //remove levels from ban list in settings
|
||||
|
||||
@@ -381,6 +381,7 @@ const powerUps = {
|
||||
b.giveGuns("name") //nail gun shotgun super balls wave missiles grenades spores drones foam harpoon mine laser
|
||||
tech.damage *= 2 //2x damage
|
||||
m.immuneCycle = Infinity //immune to damage
|
||||
m.coyoteCycles = Infinity //air jumps
|
||||
m.energy = 0 //set energy
|
||||
m.health = 1 //set health
|
||||
m.maxHealth = 1 //set max health
|
||||
|
||||
@@ -1287,13 +1287,14 @@ const tech = {
|
||||
},
|
||||
refundAmount: 0,
|
||||
remove() {
|
||||
if (this.count && m.alive) {
|
||||
for (let i = 0; i < this.totalRate.length; i++) tech.fireRate *= this.totalRate[i]
|
||||
if (this.count) {
|
||||
// for (let i = 0; i < this.totalRate.length; i++) tech.fireRate *= this.totalRate[i]
|
||||
if (this.refundAmount > 0) {
|
||||
tech.removeJunkTechFromPool(this.refundAmount)
|
||||
this.refundAmount = 0
|
||||
}
|
||||
}
|
||||
tech.fireRate = 1
|
||||
this.totalRate.length = 0
|
||||
b.setFireCD();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user