diff --git a/src/components/tree/TreeNode.vue b/src/components/tree/TreeNode.vue index 2f4f53b..9425ce9 100644 --- a/src/components/tree/TreeNode.vue +++ b/src/components/tree/TreeNode.vue @@ -88,7 +88,7 @@ export default defineComponent({ if (player.layers[this.id].unlocked) { return ( this.layer.tooltip || - `{{ formatWhole(player.${this.id}.points) }} {{ layers.${this.id}.resource }}` + `{{ formatWhole(player.layers.${this.id}.points) }} {{ layers.${this.id}.resource }}` ); } else { return ( diff --git a/src/data/layers/aca/c.ts b/src/data/layers/aca/c.ts index b291172..1c2f6d2 100644 --- a/src/data/layers/aca/c.ts +++ b/src/data/layers/aca/c.ts @@ -531,7 +531,7 @@ export default {
Adjust how many points H gives you!
- ` + ` } }, style() { diff --git a/src/data/layers/aca/f.ts b/src/data/layers/aca/f.ts index 95c2bdd..5e19934 100644 --- a/src/data/layers/aca/f.ts +++ b/src/data/layers/aca/f.ts @@ -43,7 +43,7 @@ export default { return false; }, name: "Farms", - //directMult() {return new Decimal(player.c.otherThingy)}, + //directMult() {return new Decimal(player.layers.c.otherThingy)}, row: 1, branches: [ diff --git a/src/data/layers/demo.ts b/src/data/layers/demo.ts index 329ac6f..32179da 100644 --- a/src/data/layers/demo.ts +++ b/src/data/layers/demo.ts @@ -1,7 +1,6 @@ /* eslint-disable */ import { layers } from "@/game/layers"; import player from "@/game/player"; -import { DecimalSource } from "@/lib/break_eternity"; import { RawLayer } from "@/typings/layer"; import Decimal, { format } from "@/util/bignum"; import { diff --git a/src/data/mod.ts b/src/data/mod.ts index 6dfbc4e..729b739 100644 --- a/src/data/mod.ts +++ b/src/data/mod.ts @@ -52,7 +52,7 @@ const h = { }) ], tooltip() { - return "Restore your points to {{ player.c.otherThingy }}"; + return "Restore your points to {{ player.layers.c.otherThingy }}"; }, row: "side", position: 3,