aboutsummaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-09-06 21:12:27 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-09-06 21:12:27 +0800
commitebf9674d30d026d1bcf17220de402a59fe1815d4 (patch)
tree74addddb15416cfa288979fc2879586a9e5922fb /features
parent935eb8ce6df9ae4ffadd86020a491bf9b6dac2f7 (diff)
downloadSoopyV2-ebf9674d30d026d1bcf17220de402a59fe1815d4.tar.gz
SoopyV2-ebf9674d30d026d1bcf17220de402a59fe1815d4.tar.bz2
SoopyV2-ebf9674d30d026d1bcf17220de402a59fe1815d4.zip
add ping when divan solver finds solution
Diffstat (limited to 'features')
-rw-r--r--features/mining/index.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/features/mining/index.js b/features/mining/index.js
index 74f23a3..55031c9 100644
--- a/features/mining/index.js
+++ b/features/mining/index.js
@@ -242,6 +242,10 @@ class Mining extends Feature {
return
}
+ if (this.predictedChestLocations.length === 0) {
+ World.playSound("note.pling", 100, 2)
+ }
+
this.predictedChestLocations.push([this.baseCoordinates[0] - coordinates[0], this.baseCoordinates[1] - coordinates[1], this.baseCoordinates[2] - coordinates[2]])
}
});