Merge remote-tracking branch 'origin/main' into day-25-credits

This commit is contained in:
Chunkybanana 2022-12-23 08:47:02 +00:00
commit 8d193b54ff
2 changed files with 7 additions and 6 deletions

View file

@ -671,7 +671,7 @@ const factory = createLayer(id, () => {
outputs: { outputs: {
bear: { bear: {
amount: computed(() => (upgrades[1][3].bought.value ? 2 : 1)), amount: computed(() => (upgrades[1][3].bought.value ? 2 : 1)),
resource: bears resource: noPersist(bears)
} }
}, },
visible: main.days[advancedDay - 1].opened visible: main.days[advancedDay - 1].opened
@ -695,7 +695,7 @@ const factory = createLayer(id, () => {
outputs: { outputs: {
shovelBucket: { shovelBucket: {
amount: 1, amount: 1,
resource: bucketAndShovels resource: noPersist(bucketAndShovels)
} }
}, },
visible: main.days[advancedDay - 1].opened visible: main.days[advancedDay - 1].opened
@ -723,7 +723,7 @@ const factory = createLayer(id, () => {
outputs: { outputs: {
console: { console: {
amount: computed(() => (upgrades[1][3].bought.value ? 3 : 1)), amount: computed(() => (upgrades[1][3].bought.value ? 3 : 1)),
resource: consoles resource: noPersist(consoles)
} }
}, },
visible: main.days[advancedDay - 1].opened visible: main.days[advancedDay - 1].opened
@ -958,7 +958,7 @@ const factory = createLayer(id, () => {
style: "width: 110px" style: "width: 110px"
})); }));
const bearsBuyable = createBuyable(() => ({ const bearsBuyable = createBuyable(() => ({
resource: bears, resource: noPersist(bears),
cost() { cost() {
return Decimal.pow(2, Decimal.add(this.amount.value, 5)); return Decimal.pow(2, Decimal.add(this.amount.value, 5));
}, },
@ -970,7 +970,7 @@ const factory = createLayer(id, () => {
visible: () => showIf(main.days[advancedDay - 1].opened.value) visible: () => showIf(main.days[advancedDay - 1].opened.value)
})); }));
const bucketBuyable = createBuyable(() => ({ const bucketBuyable = createBuyable(() => ({
resource: bucketAndShovels, resource: noPersist(bucketAndShovels),
cost() { cost() {
return Decimal.pow(2, Decimal.add(this.amount.value, 5)); return Decimal.pow(2, Decimal.add(this.amount.value, 5));
}, },
@ -982,7 +982,7 @@ const factory = createLayer(id, () => {
visible: () => showIf(main.days[advancedDay - 1].opened.value) visible: () => showIf(main.days[advancedDay - 1].opened.value)
})); }));
const consolesBuyable = createBuyable(() => ({ const consolesBuyable = createBuyable(() => ({
resource: consoles, resource: noPersist(consoles),
cost() { cost() {
return Decimal.pow(2, Decimal.add(this.amount.value, 5)); return Decimal.pow(2, Decimal.add(this.amount.value, 5));
}, },

View file

@ -141,6 +141,7 @@
overflow-x: hidden; overflow-x: hidden;
padding-right: 370px; padding-right: 370px;
direction: rtl; direction: rtl;
padding-left: 10px;
} }
.comp-list-child { .comp-list-child {