-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfiguration.js
More file actions
44 lines (35 loc) · 907 Bytes
/
Copy pathconfiguration.js
File metadata and controls
44 lines (35 loc) · 907 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
module.exports.Config = class {
constructor() {
this.basicRoomCreepsRolesCount = {
'worker': 5,
'builder': 2,
'harvester': 2,
'soldier': 1,
'shooter': 0,
'claimer': 0,
'healer': 1,
};
this.basicRoomCreepsCount = {
'SW': 1,
'MW': 7,
'LW': 3,
'MS': 1,
'MSH': 0,
'C': 0,
'H': 1,
};
this.basicRoomCreepsBody = {
'SW': [MOVE, CARRY, WORK],
'MW': [MOVE, MOVE, MOVE, CARRY, CARRY, WORK, WORK, WORK, WORK],
'LW': [MOVE, MOVE, MOVE, CARRY, CARRY, CARRY, WORK, WORK, WORK, WORK, WORK],
'MS': [TOUGH, ATTACK, ATTACK, MOVE, MOVE, MOVE],
'MSH': [MOVE, ATTACK, RANGED_ATTACK],
'C': [CLAIM, MOVE],
'H': [MOVE, HEAL],
};
this.defaultRole = 'harvester';
this.mostImportantRole = 'upgrader';
this.sourceCreepNumMax = 3;
this.ifRenew = true;
}
};