[Automated] Merge dev into gh-pages

This commit is contained in:
github-actions[bot]
2025-11-12 08:39:10 +00:00
committed by GitHub
6 changed files with 11 additions and 10 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -43,18 +43,22 @@ export default function CalculateAllPlotChances(minigame, auraMult) {
switch (id) {
case 7:
ageMult = 1.03;
weedMult = 1;
range = 1;
break;
case 31:
ageMult = 1;
weedMult = 0;
range = 2;
break;
case 32:
ageMult = 1;
weedMult = 0;
range = 1;
break;
case 33:
ageMult = 0.5;
weedMult = 1;
range = 1;
break;
default:

View File

@@ -71,14 +71,11 @@ export default function GardenPlots() {
const showIcon = [];
for (const id in minigame.plantsById) {
showIcon[id] = false;
if (minigame.plantsById[id].unlocked !== 0) {
showIcon[id] = true;
continue; // eslint-disable-line no-continue
}
showIcon[id] = minigame.plantsById[id].unlocked !== 0;
for (let y = 0; y < 6 && !showIcon[id]; y++) {
for (let x = 0; x < 6; x++) {
if (minigame.plot[y][x][0] - 1 === id) {
// eslint-disable-next-line eqeqeq
if (minigame.plot[y][x][0] - 1 == id) {
showIcon[id] = true;
break;
}