-
-
- Dev Speed: {{format(player.devSpeed)}}x
-
-
- Offline Time: {{formatTime(player.offTime.remain)}}
-
-
- Reach {{formatWhole(ENDGAME)}} to beat the game!
-
-
-
You have
-
{{format(player.points)}}
-
{{modInfo.pointsName}}
-
-
({{format(getPointGen())}}/sec)
-
-
-
-
diff --git a/js/v.js b/js/components.js
similarity index 78%
rename from js/v.js
rename to js/components.js
index 3eab530..ad8b1d7 100644
--- a/js/v.js
+++ b/js/components.js
@@ -396,137 +396,13 @@ function loadVue() {
`
})
- // NOT FOR USE IN STANDARD TAB FORMATTING
- Vue.component('tab-buttons', {
- props: ['layer', 'data', 'name'],
- template: `
-
- `
- })
+ // SYSTEM COMPONENTS
- Vue.component('button-node', {
- props: ['layer', 'abb', 'size'],
- template: `
-
- {{abb}}
-
- `
- })
-
- Vue.component('layer-node', {
- props: ['layer', 'abb', 'size'],
- template: `
-
- {{abb}}
-
- `
- })
-
- Vue.component('layer-tab', {
- props: ['layer', 'back', 'spacing'],
- template: `
-
←
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- `
- })
-
- Vue.component('overlay-head', {
- template: `
-
-
- Dev Speed: {{format(player.devSpeed)}}x
-
-
- Offline Time: {{formatTime(player.offTime.remain)}}
-
-
- Reach {{formatWhole(ENDGAME)}} to beat the game!
-
-
-
You have
-
{{format(player.points)}}
-
{{modInfo.pointsName}}
-
-
({{format(getPointGen())}}/sec)
-
-
- `
- })
-
-
+ Vue.component('tab-buttons', systemComponents['tab-buttons'])
+ Vue.component('button-node', systemComponents['button-node'])
+ Vue.component('layer-node', systemComponents['layer-node'])
+ Vue.component('layer-tab', systemComponents['layer-tab'])
+ Vue.component('overlay-head', systemComponents['overlay-head'])
app = new Vue({
diff --git a/js/systemComponents.js b/js/systemComponents.js
deleted file mode 100644
index e69de29..0000000
diff --git a/js/break_eternity.js b/js/technical/break_eternity.js
similarity index 100%
rename from js/break_eternity.js
rename to js/technical/break_eternity.js
diff --git a/js/canvas.js b/js/technical/canvas.js
similarity index 100%
rename from js/canvas.js
rename to js/technical/canvas.js
diff --git a/js/layerSupport.js b/js/technical/layerSupport.js
similarity index 100%
rename from js/layerSupport.js
rename to js/technical/layerSupport.js
diff --git a/js/technical/systemComponents.js b/js/technical/systemComponents.js
new file mode 100644
index 0000000..1b8072a
--- /dev/null
+++ b/js/technical/systemComponents.js
@@ -0,0 +1,130 @@
+var systemComponents = {
+ 'tab-buttons': {
+ props: ['layer', 'data', 'name'],
+ template: `
+
+ `
+ },
+
+ 'button-node': {
+ props: ['layer', 'abb', 'size'],
+ template: `
+
+ {{abb}}
+
+ `
+ },
+
+ 'layer-node': {
+ props: ['layer', 'abb', 'size'],
+ template: `
+
+ {{abb}}
+
+ `
+ },
+
+ 'layer-tab': {
+ props: ['layer', 'back', 'spacing'],
+ template: `
+
←
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ `
+ },
+
+ 'overlay-head': {
+ template: `
+
+
+ Dev Speed: {{format(player.devSpeed)}}x
+
+
+ Offline Time: {{formatTime(player.offTime.remain)}}
+
+
+ Reach {{formatWhole(ENDGAME)}} to beat the game!
+
+
+
You have
+
{{format(player.points)}}
+
{{modInfo.pointsName}}
+
+
({{format(getPointGen())}}/sec)
+
+
+ `
+ },
+}
\ No newline at end of file
diff --git a/js/temp.js b/js/technical/temp.js
similarity index 100%
rename from js/temp.js
rename to js/technical/temp.js
diff --git a/js/utils.js b/js/utils.js
index 58bc3e8..acd826e 100644
--- a/js/utils.js
+++ b/js/utils.js
@@ -100,6 +100,7 @@ function startPlayerBase() {
showStory: true,
points: modInfo.initialStartPoints,
subtabs: {},
+ gameEnded:false
}
}