From 7c895952bfd2b0f4c23b8ba0d7005d6183175e59 Mon Sep 17 00:00:00 2001 From: Acamaeda Date: Thu, 29 Oct 2020 14:57:42 -0400 Subject: [PATCH] More treeless work --- changelog.md | 1 + demo.html | 4 ++-- docs/subtabs-and-microtabs.md | 4 ++++ index.html | 17 +++++++---------- js/mod.js | 2 -- js/tree.js | 15 +++++++++++++++ js/utils.js | 11 +++++++---- 7 files changed, 36 insertions(+), 18 deletions(-) create mode 100644 js/tree.js diff --git a/changelog.md b/changelog.md index 6224a2e..1190593 100644 --- a/changelog.md +++ b/changelog.md @@ -3,6 +3,7 @@ - You can now embed a layer inside of a subtab or microtab! - Added support for hiding the tree tab (although some aspects are still lazy and WIP) - Added shouldNotify to subtab/microtab buttons. (You can make them highlighted) +- Added commas to large exponents. - NaN is now handled more intelligently. - Thank you to thepaperpilot for fixing errors in docs and the infobox appearance! diff --git a/demo.html b/demo.html index b35a124..4fce880 100644 --- a/demo.html +++ b/demo.html @@ -98,7 +98,7 @@ -
+
{{VERSION.withoutName}}

i
@@ -110,7 +110,7 @@
  • Main Prestige Tree server
  • -
    +

    Dev Speed: {{format(player.devSpeed)}}x
    diff --git a/docs/subtabs-and-microtabs.md b/docs/subtabs-and-microtabs.md index e7e489b..14233b4 100644 --- a/docs/subtabs-and-microtabs.md +++ b/docs/subtabs-and-microtabs.md @@ -7,9 +7,11 @@ Subtabs are defined by using the tab format like this, where each element of tab ```js tabFormat: { "Main tab": { + content: [tab format things], *subtab features* }, "Other tab": { + content: [tab format things], *subtab features* }, etc @@ -22,9 +24,11 @@ Microtabs are defined similarly, and use the same features, but are defined in t microtabs: { stuff: { first: { + content: [tab format things], *subtab features* }, second: { + content: [tab format things], *subtab features* } }, diff --git a/index.html b/index.html index a0724f7..7efde63 100644 --- a/index.html +++ b/index.html @@ -6,6 +6,7 @@ + @@ -17,6 +18,8 @@
    + +

    Loading... (If this takes too long it means there was a serious error!)

    @@ -95,7 +98,7 @@
    -
    +
    {{VERSION.withoutName}}

    i
    @@ -107,7 +110,7 @@
  • Main Prestige Tree server
  • -
    +

    Dev Speed: {{format(player.devSpeed)}}x
    @@ -126,7 +129,7 @@
    -
    +
    @@ -151,13 +154,7 @@ ({{format(getPointGen())}}/sec)
    - - -
    - -
    -
    - +