mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-07-25 09:25:23 +02:00
Modified goal for 3+ agent crafting tasks similar to cooking tasks
This commit is contained in:
parent
c43dc879d2
commit
dafbdf38d5
1 changed files with 6 additions and 0 deletions
|
@ -333,6 +333,12 @@ export class Task {
|
|||
}
|
||||
}
|
||||
|
||||
if (this.task_type === 'techtree') {
|
||||
if (this.data.agent_count > 2) {
|
||||
add_string = '\nMake sure to share resources among all agents and to talk to all the agents using startConversation command to coordinate the task instead of talking to just one agent. You can even end current conversation with any agent using endConversation command and then talk to a new agent using startConversation command.'
|
||||
}
|
||||
}
|
||||
|
||||
// If goal is a string, all agents share the same goal
|
||||
if (typeof this.data.goal === 'string') {
|
||||
return this.data.goal + add_string;
|
||||
|
|
Loading…
Add table
Reference in a new issue