backward induction

more bug fixes (many worlds, disintegrated armament)

tech: backward induction - gain all the tech options you didn't choose from your previous tech selection menu
This commit is contained in:
landgreen
2021-03-22 05:30:29 -07:00
parent 603d5c466c
commit 38e38578e6
6 changed files with 76 additions and 18 deletions

View File

@@ -310,7 +310,7 @@ const m = {
//remove all tech and count current tech total
let totalTech = 0;
for (let i = 0, len = tech.tech.length; i < len; i++) {
if (!tech.tech[i].isLore) {
if (tech.tech[i].count > 0 && !tech.tech[i].isLore) {
if (tech.tech[i].isJunk) {
tech.tech[i].frequency = 0
} else if (tech.tech[i].frequencyDefault) {