From 65bd6be6305c16730b158fe0d3f78131c2a9e542 Mon Sep 17 00:00:00 2001
From: jwklong <72522395+jwklong@users.noreply.github.com>
Date: Tue, 4 Jan 2022 17:01:54 +0000
Subject: [PATCH] v0.1.1
---
js/classes/prestigelayer.js | 4 ++--
js/components/changelog-tab.js | 6 ++++++
js/components/settings-menu.js | 7 ++++++-
js/data/functions.js | 35 ++++++++++++++++++++++------------
js/data/game.js | 14 +++++++++-----
js/main.js | 1 +
js/mod.js | 9 +++++++--
7 files changed, 54 insertions(+), 22 deletions(-)
diff --git a/js/classes/prestigelayer.js b/js/classes/prestigelayer.js
index 1271a90..862138e 100644
--- a/js/classes/prestigelayer.js
+++ b/js/classes/prestigelayer.js
@@ -392,10 +392,10 @@ class PrestigeLayer
createUpgradeTree()
{
this.treeUpgrades = [];
- const upgs = []; //this is still undefined, so local var is used
+ var upgs = []; //this is still undefined, so local var is used
const rand = new Random(this.layer);
const rows = 5 + rand.nextInt(2);
- let amnt = 2;
+ let amnt = 1;
let amntBefore = 1;
const requiredUpgrade = function(row, col)
diff --git a/js/components/changelog-tab.js b/js/components/changelog-tab.js
index 2ea8e81..d0de013 100644
--- a/js/components/changelog-tab.js
+++ b/js/components/changelog-tab.js
@@ -1,6 +1,11 @@
Vue.component("changelog-tab", {
template: `
+ v0.1.1
+ Fixes a few bugs and adds save management, now you can have more then 1 save stored!
+
+
+
v0.1.0
First public build, with layer names, fonts, the changelog and so much more!
@@ -19,5 +24,6 @@ Vue.component("changelog-tab", {
v0.0.1
Private Build
+
`
})
\ No newline at end of file
diff --git a/js/components/settings-menu.js b/js/components/settings-menu.js
index ed4d11d..c5e743d 100644
--- a/js/components/settings-menu.js
+++ b/js/components/settings-menu.js
@@ -7,7 +7,8 @@ Vue.component("settings-menu", {
" Click Import to load the save string from the text field.",
themes: mod.themes,
names: mod.layerNames,
- fonts: mod.fonts
+ fonts: mod.fonts,
+ saves: mod.saves
}
},
mounted: function()
@@ -96,6 +97,7 @@ Vue.component("settings-menu", {
setTheme: css => functions.setTheme(css),
setNames: js => functions.setNames(js),
setFont: css => functions.setFont(css),
+ setSave: info => functions.setSave(info),
volatilityUnlocked: () => functions.maxLayerUnlocked() >= 2
},
template: `