<?xml version="1.0" encoding="utf-8"?>
<locationtypes>
  <!--
  ChangeTo:
    requiredlocations                       = The change can only happen if there's at least one of the given types of locations near this one.
    requiredproximity                       = How close the location needs to be to one of the RequiredLocations for the change to occur (defaults to 1).
    probability                             = Base probability per turn for the location to change if near one of the RequiredLocations.
    requiredproximityforprobabilityincrease = How close the location needs to be to one of the RequiredLocations for the probability to increase.
    proximityprobabilityincrease            = How much the probability increases per turn if within RequiredProximityForProbabilityIncrease steps of RequiredLocations.
    
    disallowedadjacentlocations             = The change can't happen if there's one or more of the given types of locations near this one
    disallowedproximity                     = How close the location needs to be to one of the DisallowedAdjacentLocations for the change to be disabled (defaults to 1).
    
    requirediscovered                       = Does this location need to be discovered before the change can occur (defaults to true).
    
    requireddurationrange                   = If a type change is triggered, a value is randomly chosen within this range and the change is delayed for that many turns.
    requiredduration                        = Can be used in place of the previous attribute if you want to use a fixed delay. 
    
    locationtypechangecooldown              = The location can't change it's type for this many turns after this location type changes occurs.
    
  Store:
    dailyspecialscount        = The number of daily specials for merchants at this location type. Defaults to 1.
    requestedgoodscount       = The number of requested goods for merchants at this location type. Defaults to 1.
    maxreputationmodifier     = The maximum effect reputation can have on store prices. Defaults to 0.1.
    sellpricemodifier         = Used to determine the selling price from the base price of an item. Defaults to 0.3.
    dailyspecialpricemodifier = Change in buying price of daily specials. Defaults to 0.5.
    requestgoodpricemodifier  = Change in selling price of requested goods. Defaults to 2.
    initialbalance            = Initial balance of the store. Defaults to 5000.
    pricemodifierrange        = The range of randomized price modifier. Randomized for each store individually. Defaults to 5. Note: value is direct percentage, i.e. 5 = 5%. 
  -->
  <Override>
    <!-- GENERIC ////////// GENERIC ////////// GENERIC ////////// GENERIC ////////// GENERIC ////////// GENERIC ////////// GENERIC ////////// GENERIC ////////// GENERIC ////////// GENERIC ////////// GENERIC ////////// GENERIC ////////// GENERIC ////////// GENERIC ////////// GENERIC ////////// GENERIC ////////// GENERIC -->
    <!-- TODO: Regalis for the love of god allow me to enforce this location as a starter -->
    <Tutorial identifier="TutorialOutpost" replaceinradiation="Abandoned" nameidentifiers="generic,city" forceoutpostgenerationparams="tutorialoutpost" allowinrandomlevels="false" ignoregenericevents="true" AllowAsBiomeGate="false">
      <Symbol texture="Content/Map/MapAtlas.png" sourcerect="256,512,128,128" color="128,206,175,255" />
      <Portrait texture="Content/Map/LocationPortraits/HabitationOutpost2.png" sourcerect="0,0,2160,1080" premultiplyalpha="false" />
      <ChangeTo type="Abandoned" disallowedproximity="1" messagetag="locationchange.outpost.changeto.abandoned" requirediscovered="false">
        <Requirement requiredlocations="Lair,LairMudraptor,LairThresher" probability="1" requireddurationrange="1,2" requiredproximity="1" requirediscovered="false" />
      </ChangeTo>
      <ChangeTo type="Abandoned" disallowedproximity="1" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requiredlocations="OuterHuskLair,HuskgroundsDE" probability="0.45" requireddurationrange="1,5" requiredproximity="1" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.1" />
      </ChangeTo>
      <ChangeTo type="DestroyedStation" requireddurationrange="1,2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requirehuntinggrounds="true" probability="0.5" requiredproximity="0" />
      </ChangeTo>
      <Store sellpricemodifier="0.3" pricemodifierrange="5" dailyspecialscount="0" requestedgoodscount="0" />
    </Tutorial>
    <None identifier="None" namefile="Content/Map/locationNames.txt" commonnessperzone="1: 3.0, 2: 3.0, 3: 2.0, 4: 2.0, 5: 3.0, 6: 0" hasoutpost="false" beaconstationchance="0.5">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="0,768,128,128" color="128,206,175,255" />
      <Portrait texture="Content/Map/LocationPortraits/NaturalFormations.png" premultiplyalpha="false" />
      <ChangeTo type="SinkingCircus" probability="0" disallowedadjacentlocations="SinkingCircus,Lair,LairMudraptor,LairThresher,HuskgroundsDE" disallowedproximity="1" messagetag="locationchange.none.changeto.circus">
        <!-- May be settled if within 3 steps of any outpost, with an increasing chance should it be within 2 or less steps -->
        <Requirement requiredlocations="Outpost,Settlement,Colony,City" requireddurationrange="1,2" probability="0.2" requiredproximity="3" requiredproximityforprobabilityincrease="2" proximityprobabilityincrease="0.1" />
        <!-- doesnt generate a circus if another exists -->
        <Requirement function="Multiply" requiredlocations="sinkingcircus" probability="0.0" requiredproximity="100" />
      </ChangeTo>
      <ChangeTo type="OuterLair" messagetag="locationchange.none.changeto.UnderAttack" requirediscovered="false">
        <!-- May be infested if within 1 steps of a lair. -->
        <Requirement requiredlocations="Lair,LairMudraptor,LairThresher" requireddurationrange="1,2" probability="1" requiredproximity="1" requirediscovered="false" />
      </ChangeTo>
      <ChangeTo type="OuterHuskLair" disallowedadjacentlocations="OuterHuskLair" disallowedproximity="3" locationtypechangecooldown="1" messagetag="locationchange.none.changeto.Huskswarm">
        <!-- Needs to be within 3 steps of a lair, but not near another swarm within 3 steps -->
        <Requirement requiredlocations="HuskgroundsDE" requireddurationrange="1,3" probability="1" requiredproximity="2" />
      </ChangeTo>
      <ChangeTo type="Survey" disallowedadjacentlocations="Survey,Mine,Lair,OuterLair,HuskgroundsDE,OuterHuskLair,LairMudraptor,LairThresher" probability="0" disallowedproximity="2" locationtypechangecooldown="2" messagetag="locationchange.construction.changeto.survey">
        <Requirement function="Add" requiredlocations="Camp" probability="0.1" requiredproximity="3" />
        <Requirement function="Add" requiredlocations="Camp,Blockade" probability="0.1" requiredproximity="3" />
        <Requirement function="Add" requiredlocations="Base" probability="0.1" requiredproximity="3" />
        <Requirement function="Add" requiredlocations="Military" probability="0.1" requiredproximity="3" />
        <Requirement function="Add" requirebeaconstation="true" probability="0.15" requiredproximity="3" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.25" />
        <!-- multiply probability by 0 if next to hunting grounds-->
        <Requirement function="Multiply" requirehuntinggrounds="true" probability="0" requiredproximity="0" />
      </ChangeTo>
      <ChangeTo type="Construction" disallowedadjacentlocations="Lair,OuterLair,HuskgroundsDE,OuterHuskLair,LairMudraptor,LairThresher" disallowedproximity="1" locationtypechangecooldown="2" messagetag="locationchange.none.changeto.outpost">
        <!-- May be settled if within 5 steps of a colony, with an increasing chance should it be within 3 or less steps -->
        <Requirement function="Add" requiredlocations="City" probability="0.1" requiredproximity="5" requiredproximityforprobabilityincrease="3" proximityprobabilityincrease="0.1" />
        <Requirement function="Add" requiredlocations="Outpost,Blockade" probability="0.1" requiredproximity="3" requiredproximityforprobabilityincrease="3" proximityprobabilityincrease="0.1" />
        <Requirement function="Add" requiredlocations="Settlement" probability="0.1" requiredproximity="2" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.1" />
        <Requirement function="Add" requiredlocations="Colony" probability="0.1" requiredproximity="1" />
        <!-- if near a beacon station, increase the probability -->
        <Requirement function="Add" requirebeaconstation="true" probability="0.15" requiredproximity="2" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.25" />
        <!-- multiply probability by 0 if next to hunting grounds-->
        <Requirement function="Multiply" requirehuntinggrounds="true" probability="0" requiredproximity="0" />
      </ChangeTo>
      <ChangeTo type="HuskChurch" disallowedadjacentlocations="Lair,OuterLair,LairMudraptor,LairThresher" disallowedproximity="1" locationtypechangecooldown="2" probability="0.5" messagetag="locationchange.none.changeto.huskchurch">
        <!-- if near a beacon station, increase the probability -->
        <Requirement function="Add" requirebeaconstation="true" probability="0.15" requiredproximity="2" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.25" />
        <!-- multiply probability by 0 if another church is within 4 steps -->
        <Requirement function="Multiply" requiredlocations="HuskChurch" probability="0" requiredproximity="4" />
        <Requirement function="Multiply" requirehuntinggrounds="true" probability="0" requiredproximity="0" />
      </ChangeTo>
      <!-- <ChangeTo type="MilitaryForces" probability="0" messagetag="locationchange.UnderAttack.changeto.militaryforces">
        <Requirement requiredlocations="PirateOutpost" requireddurationrange="1,3" probability="0.2" requiredproximity="1" proximityprobabilityincrease="0.15" />
        <Requirement requiredlocations="MilitaryForces" requireddurationrange="1,3" probability="0.25" requiredproximity="1" proximityprobabilityincrease="0.15" />
      </ChangeTo> -->
      <ChangeTo type="SinkingCircus" probability="0" disallowedadjacentlocations="SinkingCircus,Lair,LairMudraptor,LairThresher,HuskgroundsDE" disallowedproximity="1" messagetag="locationchange.none.changeto.circus">
        <!-- May be settled if within 3 steps of any outpost, with an increasing chance should it be within 2 or less steps -->
        <Requirement requiredlocations="Outpost,Settlement,Colony,City" requireddurationrange="1,2" probability="0.2" requiredproximity="3" requiredproximityforprobabilityincrease="2" proximityprobabilityincrease="0.1" />
        <!-- doesnt generate a circus if another exists -->
        <Requirement function="Multiply" requiredlocations="sinkingcircus" probability="0.0" requiredproximity="100" />
      </ChangeTo>
      <!-- Pirates may settle here if a city is nearby, but no military or fauna threats are nearby -->
      <ChangeTo type="PirateOutpost" probability="0" disallowedadjacentlocations="Lair,LairMudraptor,LairThresher,Blockade,Military,Base,Camp,PirateOutpost" messagetag="locationchange.none.changeto.pirateoutpost">
        <Requirement function="Add" requiredlocations="City" probability="0.15" requiredproximity="2" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.2" />
        <Requirement function="Multiply" requirebeaconstation="true" probability="0" requiredproximity="2" />
        <Requirement function="Multiply" requirehuntinggrounds="true" probability="0" requiredproximity="0" />
      </ChangeTo>
    </None>
    <!-- Used as a buffer when destroying a station to not allow instant redocking to enter an abandoned station -->
    <None identifier="DestroyedStation" namefile="Content/Map/locationNames.txt" commonnessperzone="1: 0.0, 2: 0.0, 3: 0.0, 4: 0.0, 5: 0.0, 6: 0.0" hasoutpost="false" beaconstationchance="0.5">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="0,512,128,128" color="245,105,105,255" />
      <Portrait texture="Content/Map/LocationPortraits/HabitationOutpost.png" premultiplyalpha="false" />
      <!-- Turns into an abandoned station after 1-4 rounds | originally was 2-4, but game bugs and ignores the changeto if range doesn't start with 1 -->
      <ChangeTo type="Abandoned" probability="1" requireddurationrange="1,3" messagetag="locationchange.destroyedstation.changeto.abandoned" />
      <ChangeTo type="Abandoned" probability="1" requiredduration="4" messagetag="locationchange.destroyedstation.changeto.abandoned" />
    </None>
    <Construction identifier="Construction" replaceinradiation="Abandoned" namefile="Content/Map/cityNames.txt" commonnessperzone="1: 0, 2: 0.1, 3: 0.1, 4: 0.3, 5: 0.3, 6: 0" beaconstationchance="0.00" AllowAsBiomeGate="false">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="512,0,128,128" color="255,237,105,255" />
      <Portrait texture="Content/Map/LocationPortraits/HabitationOutpost.png" premultiplyalpha="false" />
      <Hireable identifier="engineer" commonness="1" />
      <Hireable identifier="mechanic" commonness="1" />
      <!-- remove the construction if a lair is nearby -->
      <ChangeTo type="None" messagetag="locationchange.construction.changeto.none">
        <Requirement requiredlocations="Lair,LairMudraptor,LairThresher,HuskgroundsDE,WasteyardDE" requireddurationrange="1,3" probability="0.1" requiredproximity="1" />
        <Requirement requirehuntinggrounds="true" probability="0.25" function="Add" requiredproximity="0" />
      </ChangeTo>
      <ChangeTo type="Outpost" disallowedadjacentlocations="Outpost,Settlement,Colony,City" probability="0" disallowedproximity="2" locationtypechangecooldown="2" messagetag="locationchange.construction.changeto.settlement">
        <Requirement function="Add" requiredlocations="Hydroponics" probability="0.1" requiredproximity="3" />
        <Requirement function="Add" requirebeaconstation="true" probability="0.15" requiredproximity="3" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.25" />
        <!-- multiply probability by 0 if next to hunting grounds-->
        <Requirement function="Multiply" requirehuntinggrounds="true" probability="0" requiredproximity="0" />
      </ChangeTo>
      <ChangeTo type="Hydroponics" disallowedadjacentlocations="Hydroponics" probability="0" disallowedproximity="2" locationtypechangecooldown="2" messagetag="locationchange.construction.changeto.Hydroponics">
        <Requirement function="Add" requiredlocations="Settlement" probability="0.1" requiredproximity="3" />
        <Requirement function="Add" requiredlocations="Outpost" probability="0.1" requiredproximity="3" />
        <Requirement function="Add" requiredlocations="City" probability="0.1" requiredproximity="3" />
        <Requirement function="Add" requiredlocations="Research,Study" probability="0.1" requiredproximity="3" />
        <Requirement function="Add" requirebeaconstation="true" probability="0.15" requiredproximity="3" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.25" />
        <!-- multiply probability by 0 if next to hunting grounds-->
        <Requirement function="Multiply" requirehuntinggrounds="true" probability="0" requiredproximity="0" />
      </ChangeTo>
      <ChangeTo type="Factory" disallowedadjacentlocations="Factory" probability="0" disallowedproximity="2" locationtypechangecooldown="2" messagetag="locationchange.construction.changeto.factory">
        <Requirement function="Add" requiredlocations="Settlement" probability="0.1" requiredproximity="1" />
        <Requirement function="Add" requiredlocations="Outpost" probability="0.1" requiredproximity="1" />
        <Requirement function="Add" requiredlocations="City" probability="0.1" requiredproximity="3" />
        <Requirement function="Add" requirebeaconstation="true" probability="0.15" requiredproximity="3" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.25" />
        <!-- multiply probability by 0 if next to hunting grounds-->
        <Requirement function="Multiply" requirehuntinggrounds="true" probability="0" requiredproximity="0" />
      </ChangeTo>
      <ChangeTo type="Camp" disallowedadjacentlocations="Camp,Base,Military" probability="0" disallowedproximity="3" locationtypechangecooldown="2" messagetag="locationchange.construction.changeto.camp">
        <Requirement function="Add" requiredlocations="Hydroponics" probability="0.1" requiredproximity="3" />
        <Requirement function="Add" requirebeaconstation="true" probability="0.15" requiredproximity="3" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.25" />
        <!-- multiply probability by 0 if next to hunting grounds-->
        <Requirement function="Multiply" requirehuntinggrounds="true" probability="0" requiredproximity="0" />
      </ChangeTo>
      <ChangeTo type="Study" disallowedadjacentlocations="Study,Research" probability="0" disallowedproximity="2" locationtypechangecooldown="2" messagetag="locationchange.construction.changeto.study">
        <Requirement function="Add" requiredlocations="Camp,Blockade" probability="0.1" requiredproximity="3" />
        <Requirement function="Add" requiredlocations="Base" probability="0.1" requiredproximity="3" />
        <Requirement function="Add" requiredlocations="Military" probability="0.1" requiredproximity="3" />
        <Requirement function="Add" requiredlocations="Survey" probability="0.1" requiredproximity="3" />
        <Requirement function="Add" requiredlocations="Mine" probability="0.1" requiredproximity="3" />
        <Requirement function="Add" requirebeaconstation="true" probability="0.15" requiredproximity="3" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.25" />
        <!-- multiply probability by 0 if next to hunting grounds-->
        <Requirement function="Multiply" requirehuntinggrounds="true" probability="0" requiredproximity="0" />
      </ChangeTo>
      <ChangeTo type="Shipyard" disallowedadjacentlocations="Shipyard" probability="0" disallowedproximity="4" locationtypechangecooldown="2" messagetag="locationchange.construction.changeto.shipyard">
        <Requirement function="Add" requiredlocations="Factory" probability="0.2" requiredproximity="3" />
        <Requirement function="Add" requiredlocations="Military" probability="0.2" requiredproximity="3" />
        <Requirement function="Add" requirebeaconstation="true" probability="0.15" requiredproximity="3" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.25" />
        <!-- multiply probability by 0 if next to hunting grounds-->
        <Requirement function="Multiply" requirehuntinggrounds="true" probability="0" requiredproximity="0" />
      </ChangeTo>
      <ChangeTo type="Clinic" disallowedadjacentlocations="Clinic,Hospital" probability="0" disallowedproximity="2" locationtypechangecooldown="2" messagetag="locationchange.construction.changeto.clinic">
        <Requirement function="Add" requiredlocations="Settlement" probability="0.1" requiredproximity="1" />
        <Requirement function="Add" requiredlocations="Outpost" probability="0.1" requiredproximity="1" />
        <Requirement function="Add" requiredlocations="City" probability="0.1" requiredproximity="1" />
        <Requirement function="Add" requiredlocations="Camp,Blockade" probability="0.1" requiredproximity="1" />
        <Requirement function="Add" requiredlocations="Base" probability="0.1" requiredproximity="1" />
        <Requirement function="Add" requiredlocations="Military" probability="0.1" requiredproximity="3" />
        <Requirement function="Add" requirebeaconstation="true" probability="0.15" requiredproximity="3" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.25" />
        <!-- multiply probability by 0 if next to hunting grounds-->
        <Requirement function="Multiply" requirehuntinggrounds="true" probability="0" requiredproximity="0" />
      </ChangeTo>
      <Store initialbalance="3000" pricemodifierrange="5" maxreputationmodifier="0.1" sellpricemodifier="0.3" dailyspecialpricemodifier="0.5" requestedgoodscount="3" requestgoodpricemodifier="2" />
    </Construction>
    <UnderAttack identifier="UnderAttack" namefile="Content/Map/locationNames.txt" commonnessperzone="1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0" hasoutpost="false" beaconstationchance="0">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="128,768,128,128" color="165,0,0,128" />
      <Portrait texture="Content/Map/LocationPortraits/NaturalFormations.png" premultiplyalpha="false" />
      <!-- Change back to None if no attackers are around -->
      <ChangeTo type="None" disallowedadjacentlocations="Lair,LairMudraptor,LairThresher" disallowedproximity="1" messagetag="locationchange.UnderAttack.changeto.none" requiredduration="1" probability="1" />
      <!-- Change to Outerlair if lair is adjacent -->
      <ChangeTo type="OuterLair" messagetag="locationchange.none.changeto.lair" requirediscovered="false">
        <Requirement requiredlocations="Lair,LairMudraptor,LairThresher" requireddurationrange="1,3" probability="1" requiredproximity="1" requirediscovered="false" />
      </ChangeTo>
      <ChangeTo type="MilitaryForces" messagetag="locationchange.UnderAttack.changeto.militaryforces">
        <!-- May be Blockaded if within 2 steps of a Military. -->
        <Requirement requiredlocations="Camp" requireddurationrange="1,5" probability="0.5" requiredproximity="1" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.1" />
        <Requirement requiredlocations="Base" requireddurationrange="1,5" probability="0.6" requiredproximity="1" />
        <Requirement requiredlocations="Military" requireddurationrange="1,2" probability="0.75" requiredproximity="2" />
      </ChangeTo>
    </UnderAttack>
    <Abandoned identifier="Abandoned" namefile="Content/Map/cityNames.txt" commonnessperzone="1: 0, 2: 0.2, 3: 0.3, 4: 0.3, 5: 0.2, 6: 0" missiontags="abandonedoutpost" hideentitysubcategories="abandonedhuman,abandonedmonster" outpostteam="None" beaconstationchance="0.00" AllowAsBiomeGate="false" replaceinradiation="None">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="0,640,128,128" color="245,105,105,255" />
      <Portrait texture="Content/Map/LocationPortraits/HabitationOutpost.png" premultiplyalpha="false" />
      <ChangeTo type="OuterLair" messagetag="locationchange.none.changeto.lair" requirediscovered="false">
        <!-- Will be infested if within 1 steps of a lair. -->
        <Requirement requiredlocations="Lair,LairMudraptor,LairThresher" requireddurationrange="1,2" probability="1" requiredproximity="1" />
      </ChangeTo>
      <ChangeTo type="OuterHuskLair" messagetag="locationchange.none.changeto.Huskswarm">
        <!-- Will be infested if within 1 steps of a husk lair. -->
        <Requirement requiredlocations="OuterHuskLair,HuskgroundsDE" requireddurationrange="1,2" probability="1" requiredproximity="1" />
      </ChangeTo>
    </Abandoned>
    <!-- HABITATION ////////// HABITATION ////////// HABITATION ////////// HABITATION ////////// HABITATION ////////// HABITATION ////////// HABITATION ////////// HABITATION ////////// HABITATION ////////// HABITATION ////////// HABITATION ////////// HABITATION ////////// HABITATION ////////// HABITATION ////////// HABITATION -->
    <Outpost identifier="Outpost" replaceinradiation="Abandoned" namefile="Content/Map/cityNames.txt" commonnessperzone="1: 0.2, 2: 0.1, 3: 0.1, 4: 0.1, 5: 0.1, 6: 0" beaconstationchance="0.00" AllowAsBiomeGate="false">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="0,0,128,128" color="162,213,220,255" />
      <Portrait texture="Content/Map/LocationPortraits/HabitationOutpost.png" premultiplyalpha="false" />
      <Hireable identifier="assistant" commonness="1" />
      <ChangeTo type="Settlement" disallowedadjacentlocations="Settlement" probability="0.5" disallowedproximity="2" locationtypechangecooldown="2" messagetag="locationchange.colony.changeto.settlement">
        <Requirement function="Add" requiredlocations="Hydroponics" probability="0.1" requiredproximity="3" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.15" />
        <!-- if near a beacon station, increase the probability -->
        <Requirement function="Add" requirebeaconstation="true" probability="0.5" requiredproximity="2" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.75" />
      </ChangeTo>
      <ChangeTo type="Abandoned" disallowedproximity="1" messagetag="locationchange.outpost.changeto.abandoned" requirediscovered="false">
        <Requirement requiredlocations="Lair,LairMudraptor,LairThresher" probability="1" requireddurationrange="1,2" requiredproximity="1" requirediscovered="false" />
      </ChangeTo>
      <ChangeTo type="Abandoned" disallowedproximity="1" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requiredlocations="OuterHuskLair,HuskgroundsDE" probability="0.15" requireddurationrange="3,5" requiredproximity="1" />
      </ChangeTo>
      <ChangeTo type="DestroyedStation" requireddurationrange="1,2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requirehuntinggrounds="true" probability="0.5" requiredproximity="0" />
      </ChangeTo>
      <Store initialbalance="1000" pricemodifierrange="5" sellpricemodifier="0.3" dailyspecialscount="0" requestedgoodscount="0" />
    </Outpost>
    <Settlement identifier="Settlement" replaceinradiation="Abandoned" namefile="Content/Map/cityNames.txt" commonnessperzone="1: 0.2, 2: 0.1, 3: 0.1, 4: 0.1, 5: 0.1, 6: 0" mincountperzone="1: 1" beaconstationchance="0.00" AllowAsBiomeGate="false">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="0,128,128,128" color="162,213,220,255" />
      <Portrait texture="Content/Map/LocationPortraits/HabitationOutpost.png" premultiplyalpha="false" />
      <Hireable identifier="assistant" commonness="1" />
      <Hireable identifier="engineer" commonness="1" />
      <Hireable identifier="mechanic" commonness="1" />
      <ChangeTo type="Colony" disallowedadjacentlocations="Colony" probability="0.1" disallowedproximity="3" locationtypechangecooldown="2" messagetag="locationchange.settlement.changeto.outpost">
        <Requirement function="Add" requirebeaconstation="true" probability="0.15" requiredproximity="2" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.25" />
      </ChangeTo>
      <ChangeTo type="Abandoned" disallowedproximity="1" messagetag="locationchange.outpost.changeto.abandoned" requirediscovered="false">
        <Requirement requiredlocations="Lair,LairMudraptor,LairThresher" probability="1" requireddurationrange="1,2" requiredproximity="1" requirediscovered="false" />
      </ChangeTo>
      <ChangeTo type="Abandoned" disallowedproximity="1" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requiredlocations="OuterHuskLair,HuskgroundsDE" probability="0.15" requireddurationrange="3,5" requiredproximity="1" />
      </ChangeTo>
      <ChangeTo type="DestroyedStation" requireddurationrange="1,2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requirehuntinggrounds="true" probability="0.35" requiredproximity="0" />
      </ChangeTo>
      <Store initialbalance="2000" pricemodifierrange="5" maxreputationmodifier="0.1" sellpricemodifier="0.3" dailyspecialpricemodifier="0.5" requestedgoodscount="2" requestgoodpricemodifier="2" />
    </Settlement>
    <Colony identifier="Colony" replaceinradiation="Abandoned" namefile="Content/Map/cityNames.txt" commonnessperzone="1: 0.3, 2: 0.2, 3: 0.1, 4: 0, 5: 0, 6: 0" beaconstationchance="0.00" AllowAsBiomeGate="false">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="0,256,128,128" color="162,213,220,255" />
      <Portrait texture="Content/Map/LocationPortraits/HabitationOutpost.png" premultiplyalpha="false" />
      <Hireable identifier="captain" commonness="1" />
      <Hireable identifier="assistant" commonness="3" />
      <Hireable identifier="engineer" commonness="1" />
      <Hireable identifier="mechanic" commonness="1" />
      <Hireable identifier="medicaldoctor" commonness="1" />
      <Hireable identifier="securityofficer" commonness="1" />
      <ChangeTo type="City" disallowedadjacentlocations="City" probability="0.1" disallowedproximity="3" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.city">
        <Requirement function="Add" requirebeaconstation="true" probability="0.15" requiredproximity="2" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.25" />
      </ChangeTo>
      <ChangeTo type="Abandoned" disallowedproximity="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned" requirediscovered="false">
        <Requirement requiredlocations="Lair,LairMudraptor,LairThresher" probability="1" requireddurationrange="1,2" requiredproximity="1" requirediscovered="false" />
      </ChangeTo>
      <ChangeTo type="Abandoned" disallowedproximity="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requiredlocations="OuterHuskLair,HuskgroundsDE" probability="0.15" requireddurationrange="3,5" requiredproximity="1" />
      </ChangeTo>
      <ChangeTo type="DestroyedStation" requireddurationrange="1,2" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requirehuntinggrounds="true" probability="0.2" requiredproximity="0" />
      </ChangeTo>
      <Store initialbalance="3000" pricemodifierrange="5" maxreputationmodifier="0.1" sellpricemodifier="0.3" dailyspecialpricemodifier="0.5" requestedgoodscount="3" requestgoodpricemodifier="2" />
    </Colony>
    <City identifier="City" replaceinradiation="Abandoned" namefile="Content/Map/cityNames.txt" commonnessperzone="1: 0.3, 2: 0.1, 3: 0, 4: 0, 5: 0, 6: 0" mincountperzone="1: 1" beaconstationchance="0.00" AllowAsBiomeGate="false">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="0,384,128,128" color="162,213,220,255" />
      <Portrait texture="Content/Map/LocationPortraits/Colony.png" premultiplyalpha="false" />
      <Hireable identifier="assistant" commonness="5" />
      <Hireable identifier="engineer" commonness="2" />
      <Hireable identifier="mechanic" commonness="2" />
      <Hireable identifier="medicaldoctor" commonness="1" />
      <Hireable identifier="securityofficer" commonness="1" />
      <Hireable identifier="captain" commonness="1" />
      <ChangeTo type="Abandoned" disallowedproximity="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned" requirediscovered="false">
        <Requirement requiredlocations="Lair,LairMudraptor,LairThresher" requireddurationrange="1,2" probability="1" requiredproximity="1" />
      </ChangeTo>
      <ChangeTo type="Abandoned" disallowedproximity="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requiredlocations="OuterHuskLair,HuskgroundsDE" probability="0.15" requireddurationrange="3,5" requiredproximity="1" />
      </ChangeTo>
      <Store initialbalance="6000" pricemodifierrange="5" maxreputationmodifier="0.1" sellpricemodifier="0.3" dailyspecialscount="3" dailyspecialpricemodifier="0.5" requestedgoodscount="3" requestgoodpricemodifier="2" />
    </City>
    <!-- MILITARY ////////// MILITARY ////////// MILITARY ////////// MILITARY ////////// MILITARY ////////// MILITARY ////////// MILITARY ////////// MILITARY ////////// MILITARY ////////// MILITARY ////////// MILITARY ////////// MILITARY ////////// MILITARY ////////// MILITARY ////////// MILITARY ////////// MILITARY -->
    <Camp identifier="Camp" replaceinradiation="Abandoned" namefile="Content/Map/locationNames.txt" commonnessperzone="1: 0.1, 2: 0.1, 3: 0.1, 4: 0.1, 5: 0.1, 6: 0" beaconstationchance="0.00" AllowAsBiomeGate="false">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="128,0,128,128" color="50,255,148,255" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampMilitary.png" premultiplyalpha="false" />
      <Hireable identifier="securityofficer" commonness="1" />
      <ChangeTo type="Base" probability="0.1" disallowedadjacentlocations="Base" disallowedproximity="3" locationtypechangecooldown="2" messagetag="locationchange.camp.changeto.base">
        <Requirement function="Add" requiredlocations="City" probability="0.5" requiredproximity="2" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.15" />
        <Requirement function="Add" requiredlocations="Colony" probability="0.35" requiredproximity="2" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.15" />
        <Requirement function="Add" requiredlocations="Settlement" probability="0.20" requiredproximity="2" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.15" />
        <Requirement function="Add" requiredlocations="Outpost" probability="0.1" requiredproximity="2" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.15" />
      </ChangeTo>
      <ChangeTo type="Abandoned" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned" requirediscovered="false">
        <Requirement requiredlocations="Lair,LairMudraptor,LairThresher" probability="1" requireddurationrange="1,2" requiredproximity="1" requirediscovered="false" />
      </ChangeTo>
      <ChangeTo type="Abandoned" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requiredlocations="OuterHuskLair,HuskgroundsDE" probability="0.15" requireddurationrange="3,5" requiredproximity="1" />
      </ChangeTo>
      <ChangeTo type="DestroyedStation" requiredduration="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requirehuntinggrounds="true" probability="0.5" requiredproximity="0" />
      </ChangeTo>
      <Store initialbalance="1500" pricemodifierrange="5" maxreputationmodifier="0.1" sellpricemodifier="0.3" dailyspecialpricemodifier="0.5" requestgoodpricemodifier="2" />
    </Camp>
    <Base identifier="Base" replaceinradiation="Abandoned" namefile="Content/Map/locationNames.txt" commonnessperzone="1: 0.1, 2: 0.2, 3: 0.1, 4: 0.1, 5: 0.1, 6: 0" mincountperzone="1: 1" beaconstationchance="0.00" AllowAsBiomeGate="false">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="128,128,128,128" color="50,255,148,255" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampMilitary.png" premultiplyalpha="false" />
      <Hireable identifier="securityofficer" commonness="2" />
      <Hireable identifier="assistant" commonness="1" />
      <ChangeTo type="Military" probability="0.1" disallowedadjacentlocations="Military" disallowedproximity="3" locationtypechangecooldown="2" messagetag="locationchange.base.changeto.military">
        <Requirement function="Add" requiredlocations="City" probability="0.5" requiredproximity="2" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.15" />
        <Requirement function="Add" requiredlocations="Colony" probability="0.35" requiredproximity="2" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.15" />
        <Requirement function="Add" requiredlocations="Settlement" probability="0.20" requiredproximity="2" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.15" />
        <Requirement function="Add" requiredlocations="Outpost" probability="0.1" requiredproximity="2" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.15" />
      </ChangeTo>
      <ChangeTo type="Abandoned" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned" requirediscovered="false">
        <Requirement requiredlocations="Lair,LairMudraptor,LairThresher" probability="1" requireddurationrange="1,2" requiredproximity="1" requirediscovered="false" />
      </ChangeTo>
      <ChangeTo type="Abandoned" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requiredlocations="OuterHuskLair,HuskgroundsDE" probability="0.1" requireddurationrange="3,5" requiredproximity="1" />
      </ChangeTo>
      <ChangeTo type="DestroyedStation" requiredduration="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requirehuntinggrounds="true" probability="0.25" requiredproximity="0" />
      </ChangeTo>
      <Store initialbalance="3000" pricemodifierrange="5" maxreputationmodifier="0.1" sellpricemodifier="0.3" dailyspecialpricemodifier="0.5" requestgoodpricemodifier="2" />
    </Base>
    <Military identifier="Military" replaceinradiation="Abandoned" namefile="Content/Map/locationNames.txt" commonnessperzone="1: 0.1, 2: 0.3, 3: 0.1, 4: 0.1, 5: 0, 6: 0" beaconstationchance="0.00" AllowAsBiomeGate="false">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="128,256,128,128" color="50,255,148,255" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampMilitary.png" premultiplyalpha="false" />
      <Hireable identifier="securityofficer" commonness="3" />
      <Hireable identifier="captain" commonness="1" />
      <Hireable identifier="assistant" commonness="2" />
      <ChangeTo type="Abandoned" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned" requirediscovered="false">
        <Requirement requiredlocations="Lair,LairMudraptor,LairThresher" probability="1" requireddurationrange="1,2" requiredproximity="1" requirediscovered="false" />
      </ChangeTo>
      <ChangeTo type="Abandoned" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requiredlocations="OuterHuskLair,HuskgroundsDE" probability="0.1" requireddurationrange="3,5" requiredproximity="1" />
      </ChangeTo>
      <ChangeTo type="DestroyedStation" requireddurationrange="2,4" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requirehuntinggrounds="true" probability="0.1" requiredproximity="0" />
      </ChangeTo>
      <Store initialbalance="5000" pricemodifierrange="5" maxreputationmodifier="0.1" sellpricemodifier="0.3" dailyspecialpricemodifier="0.5" requestedgoodscount="3" requestgoodpricemodifier="2" />
    </Military>
    <MilitaryForces identifier="MilitaryForces" replaceinradiation="None" namefile="Content/Map/locationNames.txt" commonnessperzone="1: 0.0, 2: 0.0, 3: 0.0, 4: 0.0, 5: 0.0, 6: 0" AllowAsBiomeGate="false" beaconstationchance="0.00" hasoutpost="true">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="896,128,128,128" color="50,255,148,255" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampMining1.png" premultiplyalpha="false" />
      <ChangeTo type="None" disallowedadjacentlocations="Lair,LairMudraptor,LairThresher,OuterHuskLair,HuskgroundsDE,WasteyardDE,PirateOutpost,UnderAttack" disallowedproximity="1" probability="0.5" requireddurationrange="1,2" messagetag="locationchange.militaryforces.changeto.None" />
      <Store initialbalance="1000" pricemodifierrange="5" maxreputationmodifier="0.1" sellpricemodifier="0.3" dailyspecialpricemodifier="0.5" requestgoodpricemodifier="2" />
    </MilitaryForces>
    <Blockade identifier="Blockade" replaceinradiation="Blockade" namefile="Content/Map/locationNames.txt" commonnessperzone="1: 0.0, 2: 0.0, 3: 0.0, 4: 0.0, 5: 0.0, 6: 0" hideentitysubcategories="abandonedhuman,abandonedmonster" beaconstationchance="0.00" AllowAsBiomeGate="true">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="896,0,128,128" color="255,220,150,255" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampMining1.png" premultiplyalpha="false" />
      <Hireable identifier="securityofficer" commonness="1" />
      <Store initialbalance="3000" pricemodifierrange="5" maxreputationmodifier="0.1" sellpricemodifier="0.3" dailyspecialpricemodifier="0.5" requestgoodpricemodifier="2" />
    </Blockade>
    <!-- RESEARCH ////////// RESEARCH ////////// RESEARCH ////////// RESEARCH ////////// RESEARCH ////////// RESEARCH ////////// RESEARCH ////////// RESEARCH ////////// RESEARCH ////////// RESEARCH ////////// RESEARCH ////////// RESEARCH ////////// RESEARCH ////////// RESEARCH ////////// RESEARCH ////////// RESEARCH -->
    <Study identifier="Study" replaceinradiation="Abandoned" namefile="Content/Map/locationNames.txt" commonnessperzone="1: 0.1, 2: 0.2, 3: 0, 4: 0.1, 5: 0.1, 6: 0" beaconstationchance="0.00" AllowAsBiomeGate="false">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="768,0,128,128" color="180,83,255,255" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampResearchFacility1.png" premultiplyalpha="false" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampResearchFacility2.png" premultiplyalpha="false" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampResearchFacility3.png" premultiplyalpha="false" />
      <Hireable identifier="assistant" commonness="2" />
      <ChangeTo type="Research" probability="0.1" disallowedadjacentlocations="Research" disallowedproximity="3" locationtypechangecooldown="2" messagetag="locationchange.study.changeto.lab">
        <Requirement function="Add" requiredlocations="City" probability="0.5" requiredproximity="2" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.15" />
        <Requirement function="Add" requiredlocations="Colony" probability="0.35" requiredproximity="2" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.15" />
        <Requirement function="Add" requiredlocations="Settlement" probability="0.20" requiredproximity="2" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.15" />
        <Requirement function="Add" requiredlocations="Outpost" probability="0.1" requiredproximity="2" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.15" />
      </ChangeTo>
      <ChangeTo type="Abandoned" disallowedproximity="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned" requirediscovered="false">
        <Requirement requiredlocations="Lair,LairMudraptor,LairThresher" probability="1" requireddurationrange="1,2" requiredproximity="1" requirediscovered="false" />
      </ChangeTo>
      <ChangeTo type="Abandoned" disallowedproximity="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requiredlocations="OuterHuskLair,HuskgroundsDE" probability="0.1" requireddurationrange="3,5" requiredproximity="1" />
      </ChangeTo>
      <ChangeTo type="DestroyedStation" requiredduration="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requirehuntinggrounds="true" probability="0.5" requiredproximity="0" />
      </ChangeTo>
      <Store initialbalance="1500" pricemodifierrange="5" maxreputationmodifier="0.1" sellpricemodifier="0.3" dailyspecialpricemodifier="0.5" requestgoodpricemodifier="2" />
    </Study>
    <Research identifier="Research" replaceinradiation="Abandoned" namefile="Content/Map/locationNames.txt" commonnessperzone="1: 0.1, 2: 0.2, 3: 0, 4: 0, 5: 0, 6: 0" beaconstationchance="0.00" AllowAsBiomeGate="false">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="768,128,128,128" color="180,83,255,255" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampResearchFacility1.png" premultiplyalpha="false" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampResearchFacility2.png" premultiplyalpha="false" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampResearchFacility3.png" premultiplyalpha="false" />
      <Hireable identifier="medicaldoctor" commonness="1" />
      <Hireable identifier="assistant" commonness="3" />
      <ChangeTo type="Abandoned" disallowedproximity="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned" requirediscovered="false">
        <Requirement requiredlocations="Lair,LairMudraptor,LairThresher" probability="1" requireddurationrange="1,2" requiredproximity="1" requirediscovered="false" />
      </ChangeTo>
      <ChangeTo type="Abandoned" disallowedproximity="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requiredlocations="OuterHuskLair,HuskgroundsDE" probability="0.1" requireddurationrange="3,5" requiredproximity="1" />
      </ChangeTo>
      <ChangeTo type="DestroyedStation" requiredduration="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requirehuntinggrounds="true" probability="0.35" requiredproximity="0" />
      </ChangeTo>
      <Store initialbalance="3000" pricemodifierrange="5" maxreputationmodifier="0.1" sellpricemodifier="0.3" dailyspecialpricemodifier="0.5" requestgoodpricemodifier="2" />
    </Research>
    <!-- FOOD ////////// FOOD ////////// FOOD ////////// FOOD ////////// FOOD ////////// FOOD ////////// FOOD ////////// FOOD ////////// FOOD ////////// FOOD ////////// FOOD ////////// FOOD ////////// FOOD ////////// FOOD ////////// FOOD ////////// FOOD ////////// FOOD ////////// FOOD ////////// FOOD ////////// FOOD -->
    <!-- TODO: make this more interesting, feels like a dead location atm -->
    <Hydroponics identifier="Hydroponics" replaceinradiation="Abandoned" namefile="Content/Map/locationNames.txt" commonnessperzone="1: 0.3, 2: 0.5, 3: 0.1, 4: 0.1, 5: 0, 6: 0" beaconstationchance="0.00" AllowAsBiomeGate="false">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="384,0,128,128" color="233,149,99,255" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampResearchFacility1.png" premultiplyalpha="false" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampResearchFacility2.png" premultiplyalpha="false" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampResearchFacility3.png" premultiplyalpha="false" />
      <Hireable identifier="assistant" commonness="1" />
      <ChangeTo type="Abandoned" disallowedproximity="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned" requirediscovered="false">
        <Requirement requiredlocations="Lair,LairMudraptor,LairThresher" probability="1" requireddurationrange="1,2" requiredproximity="1" requirediscovered="false" />
      </ChangeTo>
      <ChangeTo type="Abandoned" disallowedproximity="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requiredlocations="OuterHuskLair,HuskgroundsDE" probability="0.1" requireddurationrange="3,5" requiredproximity="1" />
      </ChangeTo>
      <ChangeTo type="DestroyedStation" requiredduration="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requirehuntinggrounds="true" probability="0.5" requiredproximity="0" />
      </ChangeTo>
      <Store initialbalance="3000" pricemodifierrange="5" maxreputationmodifier="0.1" sellpricemodifier="0.3" dailyspecialpricemodifier="0.5" requestgoodpricemodifier="2" />
    </Hydroponics>
    <!-- MINING ////////// MINING ////////// MINING ////////// MINING ////////// MINING ////////// MINING ////////// MINING ////////// MINING ////////// MINING ////////// MINING ////////// MINING ////////// MINING ////////// MINING ////////// MINING ////////// MINING ////////// MINING ////////// MINING ////////// MINING -->
    <Survey identifier="Survey" disallowedadjacentlocations="Survey,Mine" replaceinradiation="None" namefile="Content/Map/locationNames.txt" commonnessperzone="1: 0.1, 2: 0.1, 3: 0.1, 4: 0.1, 5: 0.1, 6: 0.0" mincountperzone="1: 1, 2: 1" beaconstationchance="0.00" AllowAsBiomeGate="false" IsAnyOutpost="false" Faction="none">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="640,0,128,128" color="143,465,239,255" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampMining1.png" premultiplyalpha="false" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampMining2.png" premultiplyalpha="false" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampMining3.png" premultiplyalpha="false" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampMining4.png" premultiplyalpha="false" />
      <Hireable identifier="mechanic" commonness="1" />
      <Hireable identifier="assistant" commonness="1" />
      <ChangeTo type="Mine" disallowedadjacentlocations="Mine" disallowedproximity="4" locationtypechangecooldown="2" messagetag="locationchange.survey.changeto.extraction">
        <Requirement function="Add" requiredlocations="City" probability="0.75" requiredproximity="1" />
        <Requirement function="Add" requiredlocations="Colony" probability="0.5" requiredproximity="1" />
        <Requirement function="Add" requiredlocations="Settlement" probability="0.25" requiredproximity="1" />
        <Requirement function="Add" requiredlocations="Outpost" probability="0.1" requiredproximity="1" />
      </ChangeTo>
      <ChangeTo type="None" disallowedproximity="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned" requirediscovered="false">
        <Requirement requiredlocations="Lair,LairMudraptor,LairThresher" probability="1" requireddurationrange="1,2" requiredproximity="1" requirediscovered="false" />
      </ChangeTo>
      <ChangeTo type="None" disallowedproximity="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requiredlocations="OuterHuskLair,HuskgroundsDE" probability="0.15" requireddurationrange="3,5" requiredproximity="1" />
      </ChangeTo>
      <ChangeTo type="DestroyedStation" requiredduration="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requirehuntinggrounds="true" probability="0.5" requiredproximity="0" />
      </ChangeTo>
    </Survey>
    <Mine identifier="Mine" replaceinradiation="None" namefile="Content/Map/locationNames.txt" commonnessperzone="1: 0.1, 2: 0.1, 3: 0.1, 4: 0, 5: 0, 6: 0" mincountperzone="1: 1" beaconstationchance="0.00" AllowAsBiomeGate="false" IsAnyOutpost="false">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="640,256,128,128" color="143,465,239,255" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampMining1.png" premultiplyalpha="false" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampMining2.png" premultiplyalpha="false" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampMining3.png" premultiplyalpha="false" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampMining4.png" premultiplyalpha="false" />
      <Hireable identifier="engineer" commonness="2" />
      <Hireable identifier="mechanic" commonness="2" />
      <Hireable identifier="assistant" commonness="1" />
      <ChangeTo type="Abandoned" disallowedproximity="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned" requirediscovered="false">
        <Requirement requiredlocations="Lair,LairMudraptor,LairThresher" probability="1" requireddurationrange="1,2" requiredproximity="1" requirediscovered="false" />
      </ChangeTo>
      <ChangeTo type="Abandoned" disallowedproximity="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requiredlocations="OuterHuskLair,HuskgroundsDE" probability="0.15" requireddurationrange="3,5" requiredproximity="1" />
      </ChangeTo>
      <ChangeTo type="DestroyedStation" requiredduration="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requirehuntinggrounds="true" probability="0.35" requiredproximity="0" />
      </ChangeTo>
      <Store initialbalance="3000" pricemodifierrange="5" maxreputationmodifier="0.1" sellpricemodifier="0.3" dailyspecialpricemodifier="0.5" requestgoodpricemodifier="2" />
    </Mine>
    <!-- MEDICAL ////////// MEDICAL ////////// MEDICAL ////////// MEDICAL ////////// MEDICAL ////////// MEDICAL ////////// MEDICAL ////////// MEDICAL ////////// MEDICAL ////////// MEDICAL ////////// MEDICAL ////////// MEDICAL ////////// MEDICAL ////////// MEDICAL ////////// MEDICAL ////////// MEDICAL ////////// MEDICAL -->
    <Clinic identifier="Clinic" replaceinradiation="Abandoned" namefile="Content/Map/locationNames.txt" commonnessperzone="1: 0.3, 2: 0.1, 3: 0, 4: 0, 5: 0.1, 6: 0" mincountperzone="1: 1" beaconstationchance="0.00" AllowAsBiomeGate="false">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="256,0,128,128" color="255,83,121,255" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampResearchFacility1.png" premultiplyalpha="false" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampResearchFacility2.png" premultiplyalpha="false" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampResearchFacility3.png" premultiplyalpha="false" />
      <ChangeTo type="Hospital" probability="0.1" disallowedadjacentlocations="Hospital" disallowedproximity="3" locationtypechangecooldown="2" messagetag="locationchange.clinic.changeto.hospital">
        <Requirement function="Add" requiredlocations="City" probability="0.5" requiredproximity="2" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.15" />
        <Requirement function="Add" requiredlocations="Colony" probability="0.35" requiredproximity="2" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.15" />
        <Requirement function="Add" requiredlocations="Settlement" probability="0.20" requiredproximity="2" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.15" />
        <Requirement function="Add" requiredlocations="Outpost" probability="0.1" requiredproximity="2" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.15" />
      </ChangeTo>
      <ChangeTo type="Abandoned" disallowedproximity="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned" requirediscovered="false">
        <Requirement requiredlocations="Lair,LairMudraptor,LairThresher" probability="1" requireddurationrange="1,2" requiredproximity="1" requirediscovered="false" />
      </ChangeTo>
      <ChangeTo type="Abandoned" disallowedproximity="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requiredlocations="OuterHuskLair,HuskgroundsDE" probability="0.15" requireddurationrange="3,5" requiredproximity="1" />
      </ChangeTo>
      <ChangeTo type="DestroyedStation" requiredduration="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requirehuntinggrounds="true" probability="0.5" requiredproximity="0" />
      </ChangeTo>
      <Store initialbalance="1500" pricemodifierrange="5" maxreputationmodifier="0.1" sellpricemodifier="0.3" dailyspecialpricemodifier="0.5" requestgoodpricemodifier="2" />
    </Clinic>
    <Hospital identifier="Hospital" replaceinradiation="Abandoned" namefile="Content/Map/locationNames.txt" commonnessperzone="1: 0.1, 2: 0.3, 3: 0.2, 4: 0, 5: 0, 6: 0" beaconstationchance="0.00" AllowAsBiomeGate="false">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="256,128,128,128" color="255,83,121,255" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampResearchFacility1.png" premultiplyalpha="false" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampResearchFacility2.png" premultiplyalpha="false" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampResearchFacility3.png" premultiplyalpha="false" />
      <Hireable identifier="assistant" commonness="1" />
      <Hireable identifier="medicaldoctor" commonness="1" />
      <ChangeTo type="Abandoned" disallowedproximity="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned" requirediscovered="false">
        <Requirement requiredlocations="Lair,LairMudraptor,LairThresher" probability="1" requireddurationrange="1,2" requiredproximity="1" requirediscovered="false" />
      </ChangeTo>
      <ChangeTo type="Abandoned" disallowedproximity="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requiredlocations="OuterHuskLair,HuskgroundsDE" probability="0.15" requireddurationrange="3,5" requiredproximity="1" />
      </ChangeTo>
      <ChangeTo type="DestroyedStation" requiredduration="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requirehuntinggrounds="true" probability="0.35" requiredproximity="0" />
      </ChangeTo>
      <Store initialbalance="3000" pricemodifierrange="5" maxreputationmodifier="0.1" sellpricemodifier="0.3" dailyspecialpricemodifier="0.5" requestgoodpricemodifier="2" />
    </Hospital>
    <!-- INDUSTRIAL ////////// INDUSTRIAL ////////// INDUSTRIAL ////////// INDUSTRIAL ////////// INDUSTRIAL ////////// INDUSTRIAL ////////// INDUSTRIAL ////////// INDUSTRIAL ////////// INDUSTRIAL ////////// INDUSTRIAL ////////// INDUSTRIAL ////////// INDUSTRIAL ////////// INDUSTRIAL ////////// INDUSTRIAL ////////// INDUSTRIAL -->
    <Factory identifier="Factory" replaceinradiation="Abandoned" namefile="Content/Map/locationNames.txt" commonnessperzone="1: 0.4, 2: 0.3, 3: 0.2, 4: 0.1, 5: 0, 6: 0" beaconstationchance="0.00" AllowAsBiomeGate="false">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="512,256,128,128" color="255,237,105,255" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampResearchFacility1.png" premultiplyalpha="false" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampResearchFacility2.png" premultiplyalpha="false" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampResearchFacility3.png" premultiplyalpha="false" />
      <Hireable identifier="mechanic" commonness="1" />
      <Hireable identifier="assistant" commonness="1" />
      <ChangeTo type="Abandoned" disallowedproximity="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned" requirediscovered="false">
        <Requirement requiredlocations="Lair,LairMudraptor,LairThresher" probability="1" requireddurationrange="1,2" requiredproximity="1" requirediscovered="false" />
      </ChangeTo>
      <ChangeTo type="Abandoned" disallowedproximity="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requiredlocations="OuterHuskLair,HuskgroundsDE" probability="0.15" requireddurationrange="3,5" requiredproximity="1" />
      </ChangeTo>
      <ChangeTo type="DestroyedStation" requiredduration="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requirehuntinggrounds="true" probability="0.5" requiredproximity="0" />
      </ChangeTo>
      <!-- Normal "sell" price is set very low (1mk for all things), but requested goods are 0.8 (vs 0.6 for other outposts) -->
      <Store initialbalance="5000" pricemodifierrange="5" maxreputationmodifier="0.1" sellpricemodifier="0.05" dailyspecialscount="8" dailyspecialpricemodifier="0.75" requestedgoodscount="0" requestgoodpricemodifier="2" />
    </Factory>
    <Shipyard identifier="Shipyard" replaceinradiation="Abandoned" namefile="Content/Map/locationNames.txt" commonnessperzone="1: 0.3, 2: 0.3, 3: 0.3, 4: 0.1, 5: 0, 6: 0" mincountperzone="1: 1" beaconstationchance="0.00" AllowAsBiomeGate="false">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="512,128,128,128" color="255,237,105,255" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampResearchFacility1.png" premultiplyalpha="false" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampResearchFacility2.png" premultiplyalpha="false" />
      <Portrait texture="Content/Map/LocationPortraits/WorkCampResearchFacility3.png" premultiplyalpha="false" />
      <Hireable identifier="engineer" commonness="1" />
      <Hireable identifier="mechanic" commonness="1" />
      <Hireable identifier="assistant" commonness="1" />
      <ChangeTo type="Abandoned" disallowedproximity="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned" requirediscovered="false">
        <Requirement requiredlocations="Lair,LairMudraptor,LairThresher" probability="1" requireddurationrange="1,2" requiredproximity="1" requirediscovered="false" />
      </ChangeTo>
      <ChangeTo type="Abandoned" disallowedproximity="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requiredlocations="OuterHuskLair,HuskgroundsDE" probability="0.15" requireddurationrange="3,5" requiredproximity="1" />
      </ChangeTo>
      <ChangeTo type="DestroyedStation" requiredduration="1" locationtypechangecooldown="2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requirehuntinggrounds="true" probability="0.35" requiredproximity="0" />
      </ChangeTo>
      <Store initialbalance="5000" pricemodifierrange="5" maxreputationmodifier="0.1" sellpricemodifier="0.2" dailyspecialscount="0" dailyspecialpricemodifier="0.5" requestedgoodscount="0" requestgoodpricemodifier="0.5" />
    </Shipyard>
    <!-- FACTION ////////// FACTION ////////// FACTION ////////// FACTION ////////// FACTION ////////// FACTION ////////// FACTION ////////// FACTION ////////// FACTION ////////// FACTION ////////// FACTION ////////// FACTION ////////// FACTION ////////// FACTION ////////// FACTION -->
    <HuskChurch identifier="HuskChurch" replaceinradiation="Abandoned" nameidentifiers="huskchurch" commonnessperzone="1: 0.15, 2: 0.3, 3: 0.3, 4: 0.3, 5: 0.1, 6: 0" mincountperzone="1: 1, 2: 1, 3: 1, 4: 1, 5: 0, 6: 0" AllowAsBiomeGate="false" beaconstationchance="0.00" Faction="huskcult">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="246,640,128,128" color="58,165,121,255" />
      <Portrait texture="Content/Map/LocationPortraits/HabitationOutpost.png" sourcerect="0,0,2160,1080" premultiplyalpha="false" />
      <!-- TODO: remove this hireable if devs fix this https://github.com/FakeFishGames/Barotrauma/discussions/13864 -->
      <Hireable identifier="assistant" commonness="1" />
      <ChangeTo type="Abandoned" disallowedproximity="1" messagetag="locationchange.outpost.changeto.abandoned" requirediscovered="false">
        <Requirement requiredlocations="Lair,LairMudraptor,LairThresher" probability="1" requireddurationrange="3,5" requiredproximity="1" />
      </ChangeTo>
      <ChangeTo type="DestroyedStation" requireddurationrange="1,2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requirehuntinggrounds="true" probability="0.5" requiredproximity="0" />
      </ChangeTo>
      <Store maxreputationmodifier="0.1" sellpricemodifier="0.3" dailyspecialpricemodifier="0.5" requestgoodpricemodifier="2" initialbalance="3000" pricemodifierrange="5" />
    </HuskChurch>
    <!-- TODO: make this more interesting, feels like a dead location atm -->
    <Circus identifier="SinkingCircus" replaceinradiation="None" nameidentifiers="generic,city" commonnessperzone="1: 0, 2: 0, 3: 0, 4: 0, 5: 0" AllowAsBiomeGate="false" Faction="clowns">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="384,640,128,128" color="230,20,20,255" />
      <Portrait texture="Content/Map/LocationPortraits/HabitationOutpost.png" sourcerect="0,0,2160,1080" premultiplyalpha="false" />
      <ChangeTo type="None" messagetag="locationchange.circus.changeto.none" requireddurationrange="1,2" probability="1" />
      <Store initialbalance="5000" pricemodifierrange="5" maxreputationmodifier="0.1" sellpricemodifier="0.3" dailyspecialpricemodifier="0.5" requestedgoodscount="0" dailyspecialscount="10" />
    </Circus>
    <!-- LAIRS ////////// LAIRS ////////// LAIRS ////////// LAIRS ////////// LAIRS ////////// LAIRS ////////// LAIRS ////////// LAIRS ////////// LAIRS ////////// LAIRS ////////// LAIRS ////////// LAIRS ////////// LAIRS ////////// LAIRS ////////// LAIRS ////////// LAIRS ////////// LAIRS ////////// LAIRS ////////// LAIRS -->
    <Lair commonnessperzone="1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0" mincountperzone="1: 0, 2: 1, 3: 1, 4: 1, 5: 1, 6: 0" namefile="Content/Map/locationNames.txt" identifier="Lair" outpostteam="None" missiontags="destroylair" AllowAsBiomeGate="false" hasoutpost="true" IsAnyOutpost="false">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="0,896,128,128" color="80,155,80,255" />
      <Portrait texture="Content/Map/LocationPortraits/NaturalFormations.png" premultiplyalpha="false" />
    </Lair>
    <OuterLair commonnessperzone="1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0" mincountperzone="1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 0: 0" namefile="Content/Map/locationNames.txt" identifier="OuterLair" outpostteam="None" AllowAsBiomeGate="false" hasoutpost="false">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="384,768,128,128" color="80,155,80,255" />
      <Portrait texture="Content/Map/LocationPortraits/NaturalFormations.png" premultiplyalpha="false" />
      <!-- different changeto speeds based on type of military outpost -->
      <ChangeTo type="UnderAttack" messagetag="locationchange.lair.changeto.none">
        <Requirement requiredlocations="Military" requireddurationrange="1,2" probability="1" requiredproximity="1" />
      </ChangeTo>
      <ChangeTo type="UnderAttack" messagetag="locationchange.lair.changeto.none">
        <Requirement requiredlocations="Blockade,Base,MilitaryForces" requireddurationrange="1,3" probability="0.5" requiredproximity="1" />
      </ChangeTo>
      <ChangeTo type="UnderAttack" messagetag="locationchange.lair.changeto.none">
        <Requirement requiredlocations="Camp" requireddurationrange="1,3" probability="0.35" requiredproximity="1" />
      </ChangeTo>
      <ChangeTo type="None" probability="1" messagetag="locationchange.lair.changeto.none">
        <Requirement function="Multiply" requiredlocations="Lair,LairMudraptor,LairThresher,HuskgroundsDE" probability="0" requiredproximity="1" />
      </ChangeTo>
    </OuterLair>
    <HuskgroundsDE commonnessperzone="1: 0.0, 2: 0.03, 3: 0.05, 4: 0.07, 5: 0.07, 6: 0.0" mincountperzone="1: 0, 2: 1, 3: 1, 4: 0, 5: 0, 0: 0" namefile="Content/Map/locationNames.txt" identifier="HuskgroundsDE" outpostteam="None" missiontags="husklair" AllowAsBiomeGate="false">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="128,896,128,128" color="145,117,230,255" />
      <Portrait texture="Content/Map/LocationPortraits/NaturalFormations.png" premultiplyalpha="false" />
    </HuskgroundsDE>
    <OuterHuskLair commonnessperzone="1: 0.0, 2: 0.0, 3: 0.0, 4: 0.0, 5: 0.0, 6: 0.0" namefile="Content/Map/locationNames.txt" identifier="OuterHuskLair" outpostteam="None" AllowAsBiomeGate="false" hasoutpost="false">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="512,768,128,128" color="145,117,230,255" />
      <Portrait texture="Content/Map/LocationPortraits/NaturalFormations.png" premultiplyalpha="false" />
      <ChangeTo type="None" messagetag="locationchange.Huskswarm.changeto.none" requireddurationrange="1,2" probability="1" />
      <!--       <ChangeTo type="None" messagetag="locationchange.Huskswarm.changeto.none">
        <Requirement requiredlocations="Blockade,Base,MilitaryForces" requiredduration="1" probability="0.7" requiredproximity="1" />
      </ChangeTo>
      <ChangeTo type="None" messagetag="locationchange.lair.changeto.none">
        <Requirement requiredlocations="Camp" requireddurationrange="1,3" probability="0.35" requiredproximity="1" />
      </ChangeTo> -->
    </OuterHuskLair>
    <!-- END LOCATION ////////// END LOCATION ////////// END LOCATION ////////// END LOCATION ////////// END LOCATION ////////// END LOCATION ////////// END LOCATION ////////// END LOCATION ////////// END LOCATION ////////// END LOCATION ////////// END LOCATION ////////// END LOCATION ////////// END LOCATION ////////// END LOCATION -->
    <EndLocation identifier="EndLocation" name="eyeofeuropa" commonnessperzone="1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 1" showsonarmarker="false" hasoutpost="true" outpostteam="None" allowinrandomlevels="false" UsePortraitInRandomLoadingScreens="false">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" color="14,255,222,255" sourcerect="384,896,128,128" />
      <Portrait texture="Content/Map/LocationPortraits/EndPortrait4.png" sourcerect="0,0,2160,1080" premultiplyalpha="false" />
    </EndLocation>
    <!-- PIRATES ////////// PIRATES ////////// PIRATES ////////// PIRATES ////////// PIRATES ////////// PIRATES ////////// PIRATES ////////// PIRATES ////////// PIRATES ////////// PIRATES ////////// PIRATES ////////// PIRATES ////////// PIRATES ////////// PIRATES ////////// PIRATES ////////// PIRATES ////////// PIRATES -->
    <PirateOutpost identifier="PirateOutpost" nameidentifiers="pirateoutpost" replaceinradiation="Abandoned" commonnessperzone="1: 0, 2: 0.25, 3: 0.3, 4: 0.3, 5: 0.2" disallowedadjacentlocations="PirateOutpost" missiontags="pirateoutpostmission" AllowAsBiomeGate="false" faction="bandits" IsAnyOutpost="false">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="128,640,128,128" color="255,148,96,255" />
      <Portrait texture="%ModDir:2532991202%/Map/LocationPortraits/PirateHaven.png" sourcerect="0,0,2160,1080" premultiplyalpha="false" />
      <!-- TODO: remove this hireable if devs fix https://github.com/FakeFishGames/Barotrauma/discussions/13864 -->
      <Hireable identifier="assistant" commonness="1" />
      <ChangeTo type="Abandoned" locationtypechangecooldown="2" messagetag="locationchange.none.changeto.lair" disallowedproximity="1" disallowedadjacentlocations="Military,Blockade">
        <!-- May be infested if within 1 steps of a lair. -->
        <Requirement requiredlocations="Lair,LairMudraptor,LairThresher,HuskgroundsDE,WasteyardDE" requireddurationrange="3,7" probability="0.25" requiredproximity="1" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.1" />
      </ChangeTo>
      <ChangeTo type="DestroyedStation" requireddurationrange="1,2" messagetag="locationchange.outpost.changeto.abandoned">
        <Requirement requirehuntinggrounds="true" probability="0.35" requiredproximity="0" />
      </ChangeTo>
      <ChangeTo type="DestroyedStation" messagetag="locationchange.PirateOutpost.changeto.UnderAttack">
        <Requirement requiredlocations="MilitaryForces" requireddurationrange="3,10" probability="0.25" requiredproximity="1" />
        <Requirement requiredlocations="Camp" requireddurationrange="3,6" probability="0.25" requiredproximity="1" />
        <Requirement requiredlocations="Base" requireddurationrange="2,5" probability="0.5" requiredproximity="1" />
        <Requirement requiredlocations="Military" requireddurationrange="2,4" probability="0.75" requiredproximity="1" />
      </ChangeTo>
      <Store initialbalance="6000" pricemodifierrange="5" maxreputationmodifier="0.1" sellpricemodifier="0.3" dailyspecialscount="3" dailyspecialpricemodifier="0.5" requestedgoodscount="5" requestgoodpricemodifier="2" />
    </PirateOutpost>
    <!-- A non-outpost level that gets placed before transforming into a pirate outpost for 1 round to get rid of previous missions that were stored at the outpost location -->
    <PirateNone identifier="PirateNone" namefile="Content/Map/locationNames.txt" commonnessperzone="1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0" hasoutpost="false" beaconstationchance="0.00" missiontags="piratehumpback,pirate1">
      <Symbol texture="Content/Map/MapAtlas.png" sourcerect="384,640,128,128" color="128,206,175,255" />
      <Portrait texture="Content/Map/LocationPortraits/NaturalFormations.png" premultiplyalpha="false" />
      <ChangeTo type="PirateOutpost" probability="1" requiredduration="0" messagetag="locationchange.none.changeto.pirateoutpost" />
    </PirateNone>
    <!--\/ DISABLED | KEEP FOR BACKWARDS COMPATIBILITY \/\/ DISABLED | KEEP FOR BACKWARDS COMPATIBILITY \/\/ DISABLED | KEEP FOR BACKWARDS COMPATIBILITY \/\/ DISABLED | KEEP FOR BACKWARDS COMPATIBILITY \/\/ DISABLED | KEEP FOR BACKWARDS COMPATIBILITY \/\/ DISABLED | KEEP FOR BACKWARDS COMPATIBILITY \/-->
    <LairMudraptor commonnessperzone="1: 0.0, 2: 0.0, 3: 0.0, 4: 0.0, 5: 0.0, 6: 0.0" namefile="Content/Map/locationNames.txt" identifier="LairMudraptor" outpostteam="None" missiontags="mudraptorlair" AllowAsBiomeGate="false">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="0,896,128,128" color="215,74,107,255" />
      <Portrait texture="Content/Map/LocationPortraits/NaturalFormations.png" premultiplyalpha="false" />
      <!-- force this old lair to change to the new lair -->
      <ChangeTo type="Lair" probability="1" requiredduration="1" messagetag="locationchange.none.changeto.lair" />
      <ChangeTo type="UnderAttack" messagetag="locationchange.lair.changeto.none">
        <Requirement requiredlocations="Military" requiredduration="1" probability="1" requiredproximity="2" />
      </ChangeTo>
      <ChangeTo type="UnderAttack" messagetag="locationchange.lair.changeto.none">
        <Requirement requiredlocations="Blockade,Base" requireddurationrange="1,3" probability="0.5" requiredproximity="1" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.1" />
      </ChangeTo>
      <ChangeTo type="UnderAttack" messagetag="locationchange.lair.changeto.none">
        <Requirement requiredlocations="Camp" requireddurationrange="1,3" probability="0.5" requiredproximity="1" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.1" />
      </ChangeTo>
    </LairMudraptor>
    <LairThresher commonnessperzone="1: 0.0, 2: 0.0, 3: 0.0, 4: 0.0, 5: 0.0, 6: 0.0" namefile="Content/Map/locationNames.txt" identifier="LairThresher" outpostteam="None" missiontags="thresherlair" AllowAsBiomeGate="false">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="0,896,128,128" color="215,74,107,255" />
      <Portrait texture="Content/Map/LocationPortraits/NaturalFormations.png" premultiplyalpha="false" />
      <!-- force this old lair to change to the new lair -->
      <ChangeTo type="Lair" probability="1" requiredduration="1" messagetag="locationchange.none.changeto.lair" />
      <ChangeTo type="UnderAttack" messagetag="locationchange.lair.changeto.none">
        <Requirement requiredlocations="Military" requiredduration="1" probability="1" requiredproximity="2" />
      </ChangeTo>
      <ChangeTo type="UnderAttack" messagetag="locationchange.lair.changeto.none">
        <Requirement requiredlocations="Blockade,Base" requireddurationrange="1,3" probability="0.5" requiredproximity="1" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.1" />
      </ChangeTo>
      <ChangeTo type="UnderAttack" messagetag="locationchange.lair.changeto.none">
        <Requirement requiredlocations="Camp" requireddurationrange="1,3" probability="0.5" requiredproximity="1" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.1" />
      </ChangeTo>
    </LairThresher>
    <!--/\ DISABLED | KEEP FOR BACKWARDS COMPATIBILITY /\/\ DISABLED | KEEP FOR BACKWARDS COMPATIBILITY /\/\ DISABLED | KEEP FOR BACKWARDS COMPATIBILITY /\/\ DISABLED | KEEP FOR BACKWARDS COMPATIBILITY /\/\ DISABLED | KEEP FOR BACKWARDS COMPATIBILITY /\/\ DISABLED | KEEP FOR BACKWARDS COMPATIBILITY /\-->
    <UnderHuskAttack identifier="UnderHuskAttack" namefile="Content/Map/locationNames.txt" commonnessperzone="1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0" hasoutpost="false" beaconstationchance="0">
      <Symbol texture="%ModDir:2532991202%/Map/MapAtlasDE.png" sourcerect="128,768,128,128" color="165,0,0,128" />
      <Portrait texture="Content/Map/LocationPortraits/NaturalFormations.png" premultiplyalpha="false" />
      <!-- Change back to None if no attackers are around -->
      <ChangeTo type="None" disallowedadjacentlocations="HuskgroundsDE,OuterHuskLair" disallowedproximity="1" messagetag="locationchange.UnderAttack.changeto.none" requiredduration="1" probability="1" />
      <!-- Change to OuterHuskLair if Huskgrounds are adjacent -->
      <ChangeTo type="OuterHuskLair" messagetag="locationchange.none.changeto.Huskswarm">
        <Requirement requiredlocations="OuterHuskLair,HuskgroundsDE" requireddurationrange="1,3" probability="1" requiredproximity="1" />
      </ChangeTo>
      <ChangeTo type="MilitaryForces" messagetag="locationchange.UnderAttack.changeto.militaryforces">
        <!-- May be Blockaded if within 2 steps of a Military. -->
        <Requirement requiredlocations="MilitaryForces" requireddurationrange="1,5" probability="0.5" requiredproximity="1" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.1" />
        <Requirement requiredlocations="Camp" requireddurationrange="1,5" probability="0.1" requiredproximity="1" requiredproximityforprobabilityincrease="1" proximityprobabilityincrease="0.1" />
        <Requirement requiredlocations="Base" requireddurationrange="1,5" probability="0.5" requiredproximity="1" />
        <Requirement requiredlocations="Military" requireddurationrange="1,2" probability="0.75" requiredproximity="2" />
      </ChangeTo>
    </UnderHuskAttack>
  </Override>
</locationtypes>