From 134b0a040af90bc44d1b78d4a07ecde541e4459d Mon Sep 17 00:00:00 2001 From: lethern Date: Sun, 28 Jun 2020 00:22:20 +0200 Subject: [PATCH 1/2] EVENT_BUILD Updated Room->getEventLog->EVENT_BUILD (requires clarification: if two or more creeps build a single building, that is finished, is the incomplete flag set to false to all of them or only one?) --- api/source/Room.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/api/source/Room.md b/api/source/Room.md index dc19cf1c..81e16707 100644 --- a/api/source/Room.md +++ b/api/source/Room.md @@ -518,7 +518,10 @@ The `data` property is different for each event type according to the following +
  • `structureType` - one of the `STRUCTURE_*` constants
  • +
  • `x, y` - the coordinates of the target object/li> +
  • `y` - one of the `STRUCTURE_*` constants.
  • +
  • `incomplete` - true if the building is not finished
  • From 6613f929effea063326a89b3868e1f3237b23890 Mon Sep 17 00:00:00 2001 From: lethern Date: Sun, 28 Jun 2020 00:52:41 +0200 Subject: [PATCH 2/2] Update Room.md tick 3843680 {"targetId":"5ef7cc58bdee5a00282eb386","amount":10,"structureType":"road","x":25,"y":4,"incomplete":true} tick 3843680 {"targetId":"5ef7cc58bdee5a00282eb386","amount":10,"structureType":"road","x":25,"y":4,"incomplete":false} clarified the incomplete flag description --- api/source/Room.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/source/Room.md b/api/source/Room.md index 81e16707..0afbdbae 100644 --- a/api/source/Room.md +++ b/api/source/Room.md @@ -521,7 +521,7 @@ The `data` property is different for each event type according to the following
  • `structureType` - one of the `STRUCTURE_*` constants
  • `x, y` - the coordinates of the target object/li>
  • `y` - one of the `STRUCTURE_*` constants.
  • -
  • `incomplete` - true if the building is not finished
  • +
  • `incomplete` - true if the building is not finished, false if due to this creep's action the building has been finished