Builder Creeps and Extension Blueprints
This commit is contained in:
parent
48350d6f33
commit
5e6618edca
5 changed files with 62 additions and 10 deletions
|
|
@ -51,7 +51,7 @@ export const createAction = (name: string, action: (creep: Creep) => Action): Ac
|
|||
if ((creep.memory.state ?? 0) > state) {
|
||||
return Success(creep, state);
|
||||
}
|
||||
console.log(`[${creep.name}] Running action ${name}`)
|
||||
//console.log(`[${creep.name}] Running action ${name}`)
|
||||
return action(creep)(creep, state);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue