generated from incremental-social/The-Modding-Tree
Add format()
s and adjust files
This commit is contained in:
parent
56a3b148dd
commit
03b64af854
5 changed files with 73 additions and 75 deletions
js/data
|
@ -18,9 +18,9 @@ addLayer("f", {
|
|||
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
|
||||
exponent: 1.5, // Prestige currency exponent
|
||||
base() {
|
||||
let base = 2
|
||||
let base = 1.5
|
||||
if (hasUpgrade(this.layer, 41)) base **= 0.95
|
||||
return base
|
||||
},
|
||||
|
@ -42,13 +42,13 @@ addLayer("f", {
|
|||
0: {
|
||||
requirementDescription: "1 total File.",
|
||||
effectDescription() {
|
||||
return "Total levels boost point gen.<br>Effect: x" + getTotalLevel().add(1).log(5).add(1) + "."
|
||||
return "Total levels boost point gen.<br>Effect: x" + format(getTotalLevel().add(1).log(5).add(1)) + "."
|
||||
},
|
||||
done() { return player.f.total.gte(1) }
|
||||
},
|
||||
1: {
|
||||
requirementDescription: "2 total Files.",
|
||||
effectDescription: "Triple point gen.",
|
||||
effectDescription: "Triple PP and SPP gen.",
|
||||
done() { return player.f.total.gte(2) }
|
||||
},
|
||||
2: {
|
||||
|
@ -69,7 +69,7 @@ addLayer("f", {
|
|||
5: {
|
||||
requirementDescription: "7 total Files.",
|
||||
effectDescription() {
|
||||
return "Total Files boost point gen.<br>Effect: x" + player[this.layer].total.div(2).add(1) + "."
|
||||
return "Total Files boost point gen.<br>Effect: x" + format(player[this.layer].total.div(2).add(1)) + "."
|
||||
},
|
||||
done() { return player.f.total.gte(7) }
|
||||
},
|
||||
|
@ -98,7 +98,7 @@ addLayer("f", {
|
|||
11: {
|
||||
description: "Total rank boosts point gen.",
|
||||
effect() { return getTotalRank().add(2) },
|
||||
effectDisplay() { return "^" + this.effect() + "." },
|
||||
effectDisplay() { return "^" + format(this.effect()) + "." },
|
||||
cost: 1,
|
||||
canAfford() { return hasMilestone(this.layer, 4) },
|
||||
},
|
||||
|
@ -155,7 +155,7 @@ addLayer("f", {
|
|||
cost: 9,
|
||||
canAfford() { return hasUpgrade(this.layer, 32) && hasUpgrade(this.layer, 33) },
|
||||
effect() { return player[this.layer].points.add(3).log(2).add(1) },
|
||||
effectDisplay() { return "/" + this.effect() + "." },
|
||||
effectDisplay() { return "/" + format(this.effect()) + "." },
|
||||
branches: [32, 33]
|
||||
},
|
||||
44: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue