Skip to content

Conversation

@pkoziol
Copy link

@pkoziol pkoziol commented Apr 19, 2019

Documentation says that EVENT_BUILD data should have energySpent property, but it doesn't (and because of that all my graphs are flat 😞).

@o4kapuk o4kapuk self-assigned this Dec 19, 2019
@sparr
Copy link
Contributor

sparr commented Jun 17, 2023

EVENT_BUILD has since been updated to include the following:

            targetId: target._id,
            amount: boostedEffect,
            structureType: target.structureType,
            x: target.x,
            y: target.y,
            incomplete

energySpent is still in the docs (https://docs.screeps.com/api/#Room.getEventLog) and none of the new values are.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants