Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Troops Counter

Counts your troops that are ready, in training, deployed, fighting or wounded. In district mode it counts the troops of the district’s barracks and ranges, wherever they are.

For modders

Every number on this page comes from the building's blueprint. Blueprint specs says what each component does.

Folktails Buildings/TroopsCounter/TroopsCounter.Folktails.blueprint.json

BuildingSpec

{
  "SelectionSoundName": "Automation",
  "LoopingSoundName": "",
  "BuildingCost": [
    {
      "Id": "Plank",
      "Amount": 2
    },
    {
      "Id": "Gear",
      "Amount": 2
    },
    {
      "Id": "Paper",
      "Amount": 1
    }
  ],
  "ScienceCost": 200,
  "PlaceFinished": false,
  "FinishableWithBeaversOnSite": false,
  "DrawRangeBoundsOnIt": false
}

TemplateSpec

{
  "TemplateName": "TroopsCounter.Folktails",
  "BackwardCompatibleTemplateNames": [],
  "RequiredFeatureToggle": "",
  "DisablingFeatureToggle": ""
}

NamedEntitySpec

{
  "IsEditable": true
}

BlockObjectSpec

{
  "Size": {
    "X": 1,
    "Y": 1,
    "Z": 2
  }
}

PlaceableBlockObjectSpec

{
  "ToolGroupId": "Automation",
  "ToolOrder": 91,
  "ToolShape": "Square",
  "Layout": "Single",
  "CustomPivot": {
    "HasCustomPivot": false,
    "Coordinates": {
      "X": 0,
      "Y": 0,
      "Z": 0
    }
  },
  "CanBeAttachedToTerrainSide": false,
  "DevModeTool": false
}

TroopsCounterSpec

Makes the building an automation sensor that counts troops. The player picks what it counts (total, ready, in training, at home, deployed, fighting or wounded).

{}

FloodableObjectBlockerSpec

{}

Iron Teeth Buildings/TroopsCounter/TroopsCounter.IronTeeth.blueprint.json

BuildingSpec

{
  "SelectionSoundName": "Automation",
  "LoopingSoundName": "",
  "BuildingCost": [
    {
      "Id": "Plank",
      "Amount": 2
    },
    {
      "Id": "Gear",
      "Amount": 2
    },
    {
      "Id": "MetalPart",
      "Amount": 1
    }
  ],
  "ScienceCost": 200,
  "PlaceFinished": false,
  "FinishableWithBeaversOnSite": false,
  "DrawRangeBoundsOnIt": false
}

TemplateSpec

{
  "TemplateName": "TroopsCounter.IronTeeth",
  "BackwardCompatibleTemplateNames": [],
  "RequiredFeatureToggle": "",
  "DisablingFeatureToggle": ""
}

NamedEntitySpec

{
  "IsEditable": true
}

BlockObjectSpec

{
  "Size": {
    "X": 1,
    "Y": 1,
    "Z": 2
  }
}

PlaceableBlockObjectSpec

{
  "ToolGroupId": "Automation",
  "ToolOrder": 91,
  "ToolShape": "Square",
  "Layout": "Single",
  "CustomPivot": {
    "HasCustomPivot": false,
    "Coordinates": {
      "X": 0,
      "Y": 0,
      "Z": 0
    }
  },
  "CanBeAttachedToTerrainSide": false,
  "DevModeTool": false
}

TroopsCounterSpec

Makes the building an automation sensor that counts troops. The player picks what it counts (total, ready, in training, at home, deployed, fighting or wounded).

{}

FloodableObjectBlockerSpec

{}