frequency
some tech now has 2x,3x,4x frequency of showing up (most tech is at 1x, a few are at 2x if they have a rare requirement to unlock) reworked junk and lore tech systems (might be some new bugs) tech that used to just summon a power up now also increases tech frequency removed the 4 perpetual techs maybe fixed immune boss bug on detours level
This commit is contained in:
12
js/index.js
12
js/index.js
@@ -485,7 +485,9 @@ const build = {
|
||||
removeOne();
|
||||
}
|
||||
simulation.isCheating = true;
|
||||
tech.removeLoreTechFromPool();
|
||||
for (let i = 0, len = tech.tech.length; i < len; i++) {
|
||||
if (tech.tech[i].isLore) tech.tech[i].frequency = 0;
|
||||
}
|
||||
document.body.style.cursor = "none";
|
||||
document.body.style.overflow = "hidden"
|
||||
document.getElementById("experiment-grid").style.display = "none"
|
||||
@@ -766,7 +768,13 @@ window.addEventListener("keydown", function(event) {
|
||||
if (simulation.isConstructionMode) document.getElementById("construct").style.display = 'inline'
|
||||
if (!simulation.isCheating) {
|
||||
simulation.isCheating = true;
|
||||
tech.removeLoreTechFromPool();
|
||||
lore.techCount = 0;
|
||||
for (let i = 0, len = tech.tech.length; i < len; i++) {
|
||||
if (tech.tech[i].isLore) {
|
||||
tech.tech[i].frequency = 0;
|
||||
tech.tech[i].count = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
simulation.makeTextLog(
|
||||
`<table class="pause-table">
|
||||
|
||||
Reference in New Issue
Block a user