<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_economic">
  <AlertRaiser>
    <List datatype="tokens">Trader+!Ship</List>
    <RaiseAlertRange>-1</RaiseAlertRange>
    <EndOfAlertRange>-1</EndOfAlertRange>
    <SearchRange>100</SearchRange>
  </AlertRaiser>
  <Cost>
    <BuildTime>150</BuildTime>
    <Resources>
      <wood>250</wood>
      <stone>50</stone>
    </Resources>
  </Cost>
  <Footprint>
    <Square width="33.0" depth="29.0"/>
    <Height>8.0</Height>
  </Footprint>
  <Health>
    <Max>1500</Max>
    <SpawnEntityOnDeath>decay|rubble/rubble_stone_5x5</SpawnEntityOnDeath>
  </Health>
  <Identity>
    <GenericName>Market</GenericName>
    <SelectionGroupName>template_structure_economic_market</SelectionGroupName>
    <Tooltip>Barter resources. Establish trade routes. Train Traders and research trade and barter technologies.</Tooltip>
    <Classes datatype="tokens">Barter</Classes>
    <VisibleClasses datatype="tokens">Trade Village Market</VisibleClasses>
    <Icon>structures/market.png</Icon>
  </Identity>
  <Loot>
    <wood>60</wood>
  </Loot>
  <Market>
    <TradeType>land</TradeType>
    <InternationalBonus>0.2</InternationalBonus>
  </Market>
  <Obstruction>
    <Static width="30.0" depth="26.0"/>
  </Obstruction>
  <ProductionQueue/>
  <Researcher>
    <Technologies datatype="tokens">
      trader_health
      trade_gain_01
      trade_gain_02
      trade_commercial_treaty
      unlock_shared_los
    </Technologies>
  </Researcher>
  <Sound>
    <SoundGroups>
      <select>interface/select/building/sel_market.xml</select>
      <constructed>interface/complete/building/complete_market.xml</constructed>
      <alert_raise>interface/alarm/alarm_alert_0.xml</alert_raise>
      <alert_end>interface/alarm/alarm_alert_1.xml</alert_end>
    </SoundGroups>
  </Sound>
  <TerritoryInfluence>
    <Root>false</Root>
    <Radius>40</Radius>
    <Weight>30000</Weight>
  </TerritoryInfluence>
  <Trainer>
    <BatchTimeModifier>0.7</BatchTimeModifier>
    <Entities datatype="tokens">
      units/{civ}/support_trader
      units/{civ}/infantry_swordsman_market
      units/{civ}/infantry_archer_market
      units/{civ}/infantry_maceman_market
      units/{civ}/infantry_javelineer_market
      units/{civ}/infantry_spearman_market
    </Entities>
  </Trainer>
  <Vision>
    <Range>32</Range>
  </Vision>
  <VisualActor>
    <FoundationActor>structures/fndn_8x8.xml</FoundationActor>
  </VisualActor>
  <ResourceDropsite>
    <Types>food wood stone metal</Types>
    <Sharable>true</Sharable>
  </ResourceDropsite>
</Entity>
