You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Improve and fix reservation logic. Intended reservered rooms were
flagged as unreservered
- Reduce code complexity
- New carrys more first to the target before accepting transfers. E.g.
commodity carry are integrated into the carry network and reached the
target to late
- Fix getEnergyFromStorage, especially on `misplacedSpawn`
- Adapt code to the quest logic from the documentation
Copy file name to clipboardExpand all lines: doc/API.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ The sign has the format:
38
38
"type": "quest",
39
39
"id": "QUEST_ID",
40
40
"origin": "ROOM_NAME",
41
-
"info": "http://tooangel.github.io/screeps",
41
+
"info": "http://tooangel.github.io/screeps"
42
42
}
43
43
```
44
44
@@ -48,6 +48,7 @@ To apply for a Quest send a message via terminal transfer to the `origin` room,
48
48
{
49
49
"type": "quest",
50
50
"id": "QUEST_ID",
51
+
"action": "apply"
51
52
}
52
53
```
53
54
@@ -58,7 +59,6 @@ The actual quest will be send to the room the transfer was initiated from.
58
59
Quests can be received from the TooAngel NPC and also send to the TooAngel NPC.
59
60
When quests are solved the reputation increases.
60
61
When quests are send to the TooAngel NPC the reputation is decreased.
61
-
In case quests are requested from the TooAngel NPC, while the reputation is too low, these are not executed and a portion is still reduced as a arrogance (TODO maybe find a better word) fee.
62
62
63
63
### Quest format
64
64
@@ -69,7 +69,7 @@ Quests are send via terminal transfer:
69
69
"type": "quest",
70
70
"id": "QUEST_ID",
71
71
"room": "ROOM_NAME, in which the quest needs to be solved",
72
-
"type": "TYPE OF QUEST",
72
+
"quest": "TYPE OF QUEST",
73
73
"end": "Game.time when the quest needs to be finished"
74
74
}
75
75
```
@@ -85,6 +85,6 @@ Internally the reputation is increased.
Copy file name to clipboardExpand all lines: doc/BaseBuilding.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
##Room
1
+
# Room
2
2
3
-
###Setup
3
+
## Setup
4
4
5
5
Positions:
6
6
-`upgrader` creep next to the `controller`
@@ -15,3 +15,10 @@ extension, lab, observer, terminal, tower) next to it. Next to `filler` a link,
15
15
tower and power_spawn is located. `Link`s are placed next to the sources and at
16
16
the paths to the exits. Layers of walls are placed at the exits, positions
17
17
within the precalculated paths are replaced by ramparts.
18
+
19
+
## Pathing
20
+
21
+
Paths are precalculated and cached and reused by most of the creeps.
22
+
23
+
Swamps are ignored because roads will be built automatically over time.
24
+
The creeps only move on the precalculated paths (to reduce complexity). Instead, blockers are recognized and `structurer` are sent to destroy the structure, `carry` creeps try it as well.
0 commit comments