<?xml version="1.0"?>
<building name="castle" capacity="1" fort="yes">
  <function name="name" value="castle_name_2"/>
  <function name="protection" value="building_protection"/>
  <function name="taxes" value="lua_building_taxes"/>
  <construction skill="building" minskill="1" maxsize="10" defense_bonus="0">
    <requirement type="stone" quantity="1"/>
  </construction>
  <construction skill="building" minskill="2" maxsize="40" defense_bonus="1">
    <requirement type="stone" quantity="1"/>
  </construction>
  <construction skill="building" minskill="3" maxsize="200" defense_bonus="3">
    <requirement type="stone" quantity="1"/>
  </construction>
  <construction skill="building" minskill="4" maxsize="1000" defense_bonus="5">
    <requirement type="stone" quantity="1"/>
  </construction>
  <construction skill="building" minskill="5" maxsize="5000" defense_bonus="8">
    <requirement type="stone" quantity="1"/>
  </construction>
  <construction skill="building" minskill="6" defense_bonus="12">
    <requirement type="stone" quantity="1"/>
  </construction>
</building>