From 5ad2cf2ec7c492b7534b16329edbe0c66b680c93 Mon Sep 17 00:00:00 2001 From: TJCgames Date: Fri, 15 Mar 2024 18:30:25 +0000 Subject: [PATCH] Added Yet Another Theme --- js/data/files.js | 3 ++- js/utils/themes.js | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/js/data/files.js b/js/data/files.js index 026eadf..ced0c22 100644 --- a/js/data/files.js +++ b/js/data/files.js @@ -168,7 +168,7 @@ addLayer("f", { 21: { display() { return "Reset directory" }, onClick() { - if (confirm("Are you sure you want to respec?")) { + if (confirm("Are you sure you want to respec? This will cause a File reset.")) { if (player[this.layer].upgrades == 0) { player.ach.has55 = true } @@ -176,6 +176,7 @@ addLayer("f", { player[this.layer].points = player[this.layer].points.add(tmp[this.layer].upgrades[i].cost) } player[this.layer].upgrades = [] + doReset('f', true) } }, canClick() { return true }, diff --git a/js/utils/themes.js b/js/utils/themes.js index 93aa4db..f84628a 100644 --- a/js/utils/themes.js +++ b/js/utils/themes.js @@ -30,6 +30,16 @@ var colors = { background: "#0d180e", background_tooltip: "rgba(0, 22, 3, 0.75)", }, + crimson: { + 1: "#f1b8b8", + 2: "#c28282", + 3: "#9f5555", + color: "#f1b8b8", + points: "#fcefef", + locked: "#c4a7b3", + background: "#251010", + background_tooltip: "rgba(26, 13, 13, 0.75)", + }, } function changeTheme() {