From 29d9cec1fba4d2e6d5fa17fe898abca78ee48e73 Mon Sep 17 00:00:00 2001 From: Acamaeda Date: Tue, 6 Oct 2020 23:29:52 -0400 Subject: [PATCH] Made subtabs unlockable --- js/layers.js | 3 ++- js/v.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/js/layers.js b/js/layers.js index 0229c31..24dbfe5 100644 --- a/js/layers.js +++ b/js/layers.js @@ -93,7 +93,7 @@ addLayer("c", { effectDisplay(fx) { return format(fx)+"x" }, // Add formatting to the effect }, 13: { - desc:() => "Make this layer act like you bought it first.", + desc:() => "Unlock a secret subtab and make this layer act if you unlocked it first.", cost:() => new Decimal(69), currencyDisplayName: "candies", // Use if using a nonstandard currency currencyInternalName: "points", // Use if using a nonstandard currency @@ -220,6 +220,7 @@ addLayer("c", { ["display-image", "discord.png"],], }, illuminati: { + unl() {return (hasUpg("c", 13))}, content:[ ["raw-html", function() {return "

C O N F I R M E D

"}], ["microtabs", "stuff", {'width': '600px', 'height': '350px', 'background-color': 'brown', 'border-style': 'solid'}] diff --git a/js/v.js b/js/v.js index 79fbf7c..f7f4f14 100644 --- a/js/v.js +++ b/js/v.js @@ -280,7 +280,7 @@ function loadVue() { template: `
- +
`