From 8bcc09219a79ff9b4d99b0c3aa8cfcf6a99473af Mon Sep 17 00:00:00 2001 From: Acamaeda Date: Sun, 27 Sep 2020 21:00:10 -0400 Subject: [PATCH] Added the ability to customize the tab layout and add your own components --- index.html | 47 +++++++++----------------- js/layers.js | 26 ++------------- js/v.js | 87 +++++++++++++++++++++++++++++++++++++++++++++++++ sampleLayers.js | 29 ++++++++++------- 4 files changed, 124 insertions(+), 65 deletions(-) diff --git a/index.html b/index.html index 77a99c0..f570fc3 100644 --- a/index.html +++ b/index.html @@ -122,47 +122,32 @@
-
+



You have

{{formatWhole(player[layer].points)}}

{{layers[layer].resource}}, {{layers[layer].effectDescription()}}

- - +
You have {{formatWhole(tmp.layerAmt[layer])}} {{layers[layer].baseResource}}


Your best {{layers[layer].resource}} is {{formatWhole(player[layer].best)}}
You have made a total of {{formatWhole(player[layer].total)}} {{layers[layer].resource}}
-
- - -
- -

{{layers[layer].milestones[id].requirementDesc}}


{{layers[layer].milestones[id].effectDesc}}
 
-
+

-
-
-
- -
-
-
-
-
-
-
-

{{layers[layer].challs[row*10+col].name}}



-

- {{layers[layer].challs[row*10+col].desc}}
- Goal: {{format(layers[layer].challs[row*10+col].goal)}} {{layers[layer].challs[row*10+col].currencyDisplayName ? layers[layer].challs[row*10+col].currencyDisplayName : "points"}}
- Reward: {{layers[layer].challs[row*10+col].reward}}
- Currently: {{(layers[layer].challs[row*10+col].effDisp) ? (layers[layer].challs[row*10+col].effDisp(layers[layer].challs[row*10+col].effect())) : format(layers[layer].challs[row*10+col].effect())}} -
-
-
-
+ +

+
+


+ You have

{{formatWhole(player[layer].points)}}

{{layers[layer].resource}}, {{layers[layer].effectDescription()}} +

+
+
+
+
+ +
+