15 lines
297 B
JavaScript
15 lines
297 B
JavaScript
|
|
|
||
|
|
|
||
|
|
module.exports = {
|
||
|
|
init(){
|
||
|
|
if(!Memory.Source){
|
||
|
|
Memory.Source=new Object();
|
||
|
|
Memory.Source.Energy=[];
|
||
|
|
// let sources = creep.room.find(FIND_SOURCES);
|
||
|
|
|
||
|
|
// for(let source in sources){
|
||
|
|
|
||
|
|
// }
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|