From 2a78eb10a6a6048827a13860b7948756de48c3f7 Mon Sep 17 00:00:00 2001 From: Acamaeda Date: Wed, 30 Sep 2020 21:32:49 -0400 Subject: [PATCH] Update sampleLayers.js --- sampleLayers.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sampleLayers.js b/sampleLayers.js index 063f028..c790fbd 100644 --- a/sampleLayers.js +++ b/sampleLayers.js @@ -163,6 +163,10 @@ var layers = { onPrestige(gain) { return }, // Useful for if you gain secondary resources or have other interesting things happen to this layer when you reset it. You gain the currency after this function ends. + hotkeys: [ + {key: "c", desc: "C: reset for lollipops or whatever", onPress(){if (player.c.unl) doReset("c")}}, + {key: "ctrl+c", desc: "Ctrl+c: respec things", onPress(){if (player.c.unl) respecBuyables("c")}}, + ], incr_order: [], // Array of layer names to have their order increased when this one is first unlocked branches: [], // Each pair corresponds to a line added to the tree when this node is unlocked. The letter is the other end of the line, and the number affects the color, 1 is default