Skip to content

Economic reports sent to allies #1

@CarsonBurke

Description

@CarsonBurke

Overview

  • Allows bots to use internal estimations of economic results
  • requestType = econReport
  • Bots on the receiving end of econReport requests can use this data to estimate team strength, and factor that into economic and military decisions. For example, if the team has a large amount of energy, the bot might decide to be more aggressive with its resource requests to fund combat or upgrading ventures

Properties

some properties are optional because they might be hard to calculate.

  • credits - total credits the bot has. Should be 0 if there is no market for the server
  • stored energy - cumulative energy across the bot's rooms
  • energy income - optional - the average energy income the bot has calculated over whatever timeframe they choose
  • mineralRooms - the number of minerals the bot has claimed rooms able to harvest. Looks like { [key in MineralConstant]: number } where number is the claimed rooms that have the mineral. For example, if the bot owns 2 rooms, both with mineral RESOURCE_CATALYST, the object would look like:
{
    RESOURCE_HYDROGEN: 0,
    RESOURCE_OXYGEN: 0,
    RESOURCE_UTRIUM: 0,
    RESOURCE_KEANIUM: 0,
    RESOURCE_LEMERGIUM: 0,
    RESOURCE_ZYNTHIUM: 0,
    RESOURCE_CATALYST: 2,
}

This is great for communicating which minerals the team has access to for boost production, and what they should minerals they should prioritize for future claims

Metadata

Metadata

Assignees

Labels

featureA requested feature to discuss and possibly implement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions