From 8e08c025ae3f13c87d171ba6b5957896f9a5b1f8 Mon Sep 17 00:00:00 2001 From: Isadora White Date: Mon, 3 Mar 2025 17:35:47 -0800 Subject: [PATCH] getting rid of small weird changes --- src/agent/agent.js | 6 ------ src/agent/tasks.js | 3 --- 2 files changed, 9 deletions(-) diff --git a/src/agent/agent.js b/src/agent/agent.js index a3820af..1241c3d 100644 --- a/src/agent/agent.js +++ b/src/agent/agent.js @@ -130,7 +130,6 @@ export class Agent { //wait for a bit so inventory is cleared await new Promise((resolve) => setTimeout(resolve, 500)); - console.log(this.task && "agent_number" in this.task && this.task.agent_number > 1); if (this.task && "agent_number" in this.task && this.task.agent_number > 1) { var initial_inventory = this.task.initial_inventory[this.name]; console.log("Initial inventory:", initial_inventory); @@ -218,11 +217,6 @@ export class Agent { this._setupEventHandlers(save_data, init_message); this.startEvents(); - - console.log("HERE IS THE LOGGED TASK") - - console.log(this.task) - this.task.initBotTask(); diff --git a/src/agent/tasks.js b/src/agent/tasks.js index af9757d..17aafb5 100644 --- a/src/agent/tasks.js +++ b/src/agent/tasks.js @@ -4,7 +4,6 @@ import { getPosition } from './library/world.js'; import settings from '../../settings.js'; import { Vec3 } from 'vec3'; import { ConstructionTaskValidator, Blueprint } from './construction_tasks.js'; -import {autoBuild, autoDelete} from "../../test/test_blueprint_layout.js"; import { CookingTaskInitiator } from './task_types/cooking_tasks.js'; //todo: modify validator code to return an object with valid and score -> do more testing hahah @@ -179,7 +178,6 @@ export class Task { this.blocked_actions.push('!endGoal'); if (this.conversation) this.blocked_actions.push('!endConversation'); - console.log('Task loaded:', this.data); } this.name = this.agent.name; @@ -216,7 +214,6 @@ export class Task { const tasksFile = readFileSync(task_path, 'utf8'); const tasks = JSON.parse(tasksFile); let task = tasks[task_id]; - console.log('Loaded task:', task); if (!task) { throw new Error(`Task ${task_id} not found`); }