Final adjustments: Make F reset and require SP, add a branch between P and I, and add a todo to I

This commit is contained in:
Nif 2024-03-17 19:20:18 +00:00
parent b059943431
commit 56a3b148dd
4 changed files with 21 additions and 10 deletions
js/data

View file

@ -1,7 +1,7 @@
addLayer("f", {
name: "files", // This is optional, only used in a few places, If absent it just uses the layer id.
symbol: "🗎", // This appears on the layer's node. Default is the id with the first letter capitalized
position: 1, // Horizontal position within a row. By default it uses the layer id and sorts in alphabetical order
position: 2, // Horizontal position within a row. By default it uses the layer id and sorts in alphabetical order
startData() { return {
unlocked: false,
points: new Decimal(0),
@ -15,8 +15,8 @@ addLayer("f", {
return req
}, // Can be a function that takes requirement increases into account
resource: "files", // Name of prestige currency
baseResource: "progress points", // Name of resource prestige is based on
baseAmount() {return player.p.points}, // Get the current amount of baseResource
baseResource: "super progress points", // Name of resource prestige is based on
baseAmount() {return player.sp.points}, // Get the current amount of baseResource
type: "static", // normal: cost to gain currency depends on amount gained. static: cost depends on how much you already have
exponent: 1.3, // Prestige currency exponent
base() {
@ -33,7 +33,8 @@ addLayer("f", {
canBuyMax() {
return hasMilestone(this.layer, 6)
},
row: 1, // Row the layer is in on the tree (0 is the first row)
row: 2, // Row the layer is in on the tree (0 is the first row)
displayRow: 0,
hotkeys: [
{key: "f", description: "F: Reset for files", onPress(){if (canReset(this.layer)) doReset(this.layer)}},
],
@ -192,7 +193,7 @@ addLayer("f", {
filestones: {
content: [
"main-display",
["row", ["prestige-button", ["clickable", 11]]],
"prestige-button",
"resource-display",
"blank",
"blank",