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

Drawbridge Gatehouse

The welcome mat rolls up at night.

A Gatehouse with a bridge across a ditch or a moat. The bridge goes up whenever the gate shuts.

The two tiles under the bridge must be empty, and stay that way.

For modders

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

Folktails Buildings/Palisade/GatehouseDrawbridge.Folktails.blueprint.json

TemplateSpec

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

BuildingSpec

{
  "SelectionSoundName": "TE.Gate",
  "LoopingSoundName": "",
  "BuildingCost": [
    {
      "Id": "Log",
      "Amount": 40
    },
    {
      "Id": "Plank",
      "Amount": 30
    },
    {
      "Id": "Gear",
      "Amount": 12
    },
    {
      "Id": "MetalBlock",
      "Amount": 4
    }
  ],
  "ScienceCost": 650,
  "PlaceFinished": false,
  "FinishableWithBeaversOnSite": false,
  "DrawRangeBoundsOnIt": false
}

BlockObjectSpec

{
  "Size": {
    "X": 3,
    "Y": 3,
    "Z": 3
  }
}

PlaceableBlockObjectSpec

{
  "ToolGroupId": "TimberEmpiresWalls",
  "ToolOrder": 31,
  "ToolShape": "Square",
  "Layout": "Single",
  "CustomPivot": {
    "HasCustomPivot": true,
    "Coordinates": {
      "X": 1.5,
      "Y": 0.5,
      "Z": 0
    }
  },
  "CanBeAttachedToTerrainSide": false,
  "DevModeTool": false
}

BannerDisplaysSpec

{}

GateSpec

{
  "Start": {
    "X": 1,
    "Y": 1,
    "Z": 1
  },
  "End": {
    "X": 1,
    "Y": -1,
    "Z": 1
  }
}

PathSpec

{
  "MainPathCoordinates": {
    "X": 1,
    "Y": 0,
    "Z": 1
  }
}

BlockObjectWithPathRangeSpec

{}

GateModelSpec

{
  "OpenModelName": "#Open",
  "ClosedModelName": "#Closed"
}

PalisadeGateSpec

Makes the building a gate with open, closed and automated modes. Auto open lets its own side through and shuts when enemies come near.

Passage
Where the way through is, in the building's own tiles ({X, Y, Z}), for gates bigger than their passage.
Bridge
A drawbridge's tiles out from the passage, as a list of {X, Y, Z}. They're walkable only while the gate is open.
{
  "Passage": {
    "X": 1,
    "Y": 0,
    "Z": 1
  },
  "Bridge": [
    {
      "X": 1,
      "Y": 1,
      "Z": 1
    },
    {
      "X": 1,
      "Y": 2,
      "Z": 1
    }
  ]
}

StructureHealthSpec

Gives the building health that attacks wear down. Walls, gates, towers and siege engines get theirs from the troop stats file, other buildings by size.

Machine
Marks it as a machine troops ride (a boat) rather than something built to keep them out. Default false.
{}

WaterObstacleSpec

{
  "Coordinates": [
    {
      "X": 0,
      "Y": 0
    },
    {
      "X": 1,
      "Y": 0
    },
    {
      "X": 2,
      "Y": 0
    }
  ]
}

FinishableWaterObstacleSpec

{
  "Height": 3
}

SoilBarrierSpec

{
  "BlockAboveMoisture": true,
  "BlockFullMoisture": false,
  "BlockContamination": false
}

WallSpec

Makes the building a piece of a town wall.

Kind
Palisade, Gatehouse, WallTower, Hoarding or WallFoundation.
{
  "Kind": "Gatehouse"
}

HordeRewardSpec

{}

Iron Teeth Buildings/Palisade/GatehouseDrawbridge.IronTeeth.blueprint.json

TemplateSpec

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

BuildingSpec

{
  "SelectionSoundName": "TE.Gate",
  "LoopingSoundName": "",
  "BuildingCost": [
    {
      "Id": "Log",
      "Amount": 40
    },
    {
      "Id": "Plank",
      "Amount": 30
    },
    {
      "Id": "Gear",
      "Amount": 12
    },
    {
      "Id": "MetalBlock",
      "Amount": 4
    }
  ],
  "ScienceCost": 650,
  "PlaceFinished": false,
  "FinishableWithBeaversOnSite": false,
  "DrawRangeBoundsOnIt": false
}

BlockObjectSpec

{
  "Size": {
    "X": 3,
    "Y": 3,
    "Z": 3
  }
}

PlaceableBlockObjectSpec

{
  "ToolGroupId": "TimberEmpiresWalls",
  "ToolOrder": 31,
  "ToolShape": "Square",
  "Layout": "Single",
  "CustomPivot": {
    "HasCustomPivot": true,
    "Coordinates": {
      "X": 1.5,
      "Y": 0.5,
      "Z": 0
    }
  },
  "CanBeAttachedToTerrainSide": false,
  "DevModeTool": false
}

BannerDisplaysSpec

{}

GateSpec

{
  "Start": {
    "X": 1,
    "Y": 1,
    "Z": 1
  },
  "End": {
    "X": 1,
    "Y": -1,
    "Z": 1
  }
}

PathSpec

{
  "MainPathCoordinates": {
    "X": 1,
    "Y": 0,
    "Z": 1
  }
}

BlockObjectWithPathRangeSpec

{}

GateModelSpec

{
  "OpenModelName": "#Open",
  "ClosedModelName": "#Closed"
}

PalisadeGateSpec

Makes the building a gate with open, closed and automated modes. Auto open lets its own side through and shuts when enemies come near.

Passage
Where the way through is, in the building's own tiles ({X, Y, Z}), for gates bigger than their passage.
Bridge
A drawbridge's tiles out from the passage, as a list of {X, Y, Z}. They're walkable only while the gate is open.
{
  "Passage": {
    "X": 1,
    "Y": 0,
    "Z": 1
  },
  "Bridge": [
    {
      "X": 1,
      "Y": 1,
      "Z": 1
    },
    {
      "X": 1,
      "Y": 2,
      "Z": 1
    }
  ]
}

StructureHealthSpec

Gives the building health that attacks wear down. Walls, gates, towers and siege engines get theirs from the troop stats file, other buildings by size.

Machine
Marks it as a machine troops ride (a boat) rather than something built to keep them out. Default false.
{}

WaterObstacleSpec

{
  "Coordinates": [
    {
      "X": 0,
      "Y": 0
    },
    {
      "X": 1,
      "Y": 0
    },
    {
      "X": 2,
      "Y": 0
    }
  ]
}

FinishableWaterObstacleSpec

{
  "Height": 3
}

SoilBarrierSpec

{
  "BlockAboveMoisture": true,
  "BlockFullMoisture": false,
  "BlockContamination": false
}

WallSpec

Makes the building a piece of a town wall.

Kind
Palisade, Gatehouse, WallTower, Hoarding or WallFoundation.
{
  "Kind": "Gatehouse"
}

HordeRewardSpec

{}