Removed comments from agent.js and removed blueprint_generation.js

This commit is contained in:
Ayush Maniar 2025-03-08 16:59:02 -08:00
parent 8644d48fb3
commit cc4a9b87e9
2 changed files with 0 additions and 38 deletions

View file

@ -240,13 +240,6 @@ export class Agent {
this.routeResponse(source, execute_res);
return true;
}
} else {
console.log('Self-prompting:', message);
// if self_prompt contains something that indicates the goal is complete, stop self-prompting
if (message.includes('goal complete')) {
this.self_prompter.stop();
process.exit(0);
}
}
if (from_other_bot)
@ -378,12 +371,6 @@ export class Agent {
startEvents() {
// Custom events
// this.bot.on('spawn', () => {
// //check that inventory has been set
// });
this.bot.on('time', () => {
if (this.bot.time.timeOfDay == 0)
this.bot.emit('sunrise');

View file

@ -1,25 +0,0 @@
export class BlueprintGenerator {
constructor(num_levels,
num_rooms,
room_height,
materials) {
this.blueprint = {
"name": "Blueprint",
"nodes": [],
"connections": []
};
}
addNode(node) {
this.blueprint.nodes.push(node);
}
addConnection(connection) {
this.blueprint.connections.push(connection);
}
getBlueprint() {
return this.blueprint;
}
}