Mostly works

This commit is contained in:
2026-05-03 11:13:06 -04:00
parent 6f4519894b
commit 60663b8d4a
21 changed files with 3188 additions and 1706 deletions
+6
View File
@@ -33,6 +33,9 @@ module.exports = {
// Check if bot has StoragePlugin
if (this.plunginsLoaded['Storage']) {
// Storage bot flow
if (this.plunginsLoaded['Ai']) {
this.plunginsLoaded['Ai']._expectingTradeWindow = true;
}
await this.say('/trade accept');
let window = await this.once('windowOpen');
@@ -80,6 +83,9 @@ module.exports = {
let chestBlock = findChestBySign(this, from);
if(!chestBlock) return this.whisper(from, `You aren't allowed to trade with me...`);
if (this.plunginsLoaded['Ai']) {
this.plunginsLoaded['Ai']._expectingTradeWindow = true;
}
await this.say('/trade accept');
let window = await this.once('windowOpen');