<?xml version="1.0" encoding="utf-8"?>
<Enclaves>
  <EnclaveAlertness AlertnessId="Sieged">
    <EnclaveAlertnessTask MaxAssign="100" Task="Task.DefendBreach" />
  </EnclaveAlertness>
  <EnclaveAlertness AlertnessId="Defending">
    <EnclaveAlertnessTask MaxAssign="100" Task="Task.DefendBreach" />
  </EnclaveAlertness>
  <EnclaveAlertness AlertnessId="Relax">
    <EnclaveAlertnessTask MaxAssign="100" Task="Task.Relax" />
  </EnclaveAlertness>
  <EnclaveAlertness AlertnessId="Occupy">
    <EnclaveAlertnessTask MaxAssign="1" Task="Task.Barricade" />
    <EnclaveAlertnessTask MaxAssign="100" Task="Task.Relax" />
  </EnclaveAlertness>
  <Enclave EnclaveId="Home" Flags="Home">
    <OnNextDay />
    <Names>
      <NameText Flags="" Notes="" Text="Your Home" />
    </Names>
    <State Alertness="Defending" Id="Arrive">
      <OnNextDay />
      <Action ActionFlags="Repeats" ActionId="CheckAchievements" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.CheckAchievements" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="MissionTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckMissionDone" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Mission" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Blackout.CheckMissionDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="ResetMissionTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.Player.Mission" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckMissionDone" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Blackout.CheckMissionDone" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="SceneTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckInSceneDone" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.InScene" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Blackout.CheckInSceneDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="ResetSceneTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckInSceneDone" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Blackout.CheckInSceneDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="UpdateBonuses" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.UpdateStaminaBonuses" />
          <EventTrigger Event="fsEvent.UpdateHealthBonuses" />
          <EventTrigger Event="fsEvent.UpdateOutpostRadius" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="FeedTheHungry" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.FeedTheHungry" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="UpdatePlayedToday" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.UpdatePlayedToday" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="CheckLimits" ActionType="Action.Passive" ExecuteTimeStandard="10s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.CheckLimits" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="SayGoodbyeBeforeLeaving" ActionType="Action.Passive" ExecuteTimeStandard="5s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Behavior.SayGoodbyeBeforeLeaving" FunctionTags="Npc" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Scene_ScenePlay Scene="chat_SayGoodbyeBeforeLeaving" SceneReason="Chatter" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="RecoverFromSick" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Mood.Sick_BlackFever, !Trait.Status.NewlySick, Trait.MoodType.Sick" FunctionTags="" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.RecoverFromSick" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="RecoverFromInjury" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Status.NewlyHurt, Trait.MoodType.Hurt" FunctionTags="" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.RecoverFromInjury" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="BroadcastSurvivors" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.BroadcastSurvivors" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AddRecoverMission" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="NoRecoverMission" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_AddRecoverMission" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRecoverMission" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckMissionCount Count="" EnclaveIndex="" Mission="Mission.Type.ComRecover" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="" ActionId="Init" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.StarterMale" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.Buddy" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts>
          <Alt AltId="InitMayaDemo" AltOdds="50" />
          <Alt AltId="InitAnyPlayableSandbox_HRO" AltOdds="16" />
          <Alt AltId="InitAnyPlayableSandbox_ED" AltOdds="33" />
          <Alt AltId="InitAnyPlayableSandbox_SAM" AltOdds="50" />
          <Alt AltId="InitAnyPlayableSandbox_LAW" AltOdds="66" />
          <Alt AltId="InitAnyPlayableSandbox_HRF" AltOdds="83" />
          <Alt AltId="InitAnyPlayableSandbox_ALN" AltOdds="100" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_AddToFamily ActorIndex="0" />
          <Actor_SetAsPlayer ActorIndex="0" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Immune.NonStoryContent" />
          <Actor_JoinEnclave ActorIndex="1" EnclaveIndex="" />
          <Enclave_AddTrust DisableBonus="false" EnclaveIndex="" Trust="70" />
          <EventOverrideTime DaysAgo="20" Hour="15" Minute="00" />
          <EventLog DisplayType="None" EventFlags="NoHudDisplay" Icon="Books" IconId="28">
            <NameText Flags="" Notes="" Text="JOURNAL: Gone Fishin'" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Three weeks away from the rat race. No email, no cell phones, not a worry in the world. This is the life. - %1$s" />
                <SummaryText Flags="" Notes="" Text="Annual Fishing Trip" />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="-1">
                <DescriptionText Flags="" Notes="" Text="Trying to keep Ed out of trouble. Mostly failing." />
              </EventNpcEffect>
              <EventNpcEffect ActorIndex="1" Value="-1">
                <DescriptionText Flags="" Notes="" Text="Always good for a laugh and a misadventure." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Alt" ActionId="InitMayaDemo" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.StarterFemale" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.Buddy" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.StarterMale" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.Demo" Invert="" />
        </Inputs>
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_AddToFamily ActorIndex="0" />
          <Actor_SetAsPlayer ActorIndex="0" />
          <Actor_JoinEnclave ActorIndex="1" EnclaveIndex="" />
          <EventOverrideTime DaysAgo="20" Hour="15" Minute="00" />
          <EventLog DisplayType="None" EventFlags="NoHudDisplay" Icon="Books" IconId="28">
            <NameText Flags="" Notes="" Text="JOURNAL: Gone Fishin'" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="2" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Three weeks away from the rat race. No email, no cell phones, not a worry in the world. This is the life. - %1$s" />
                <SummaryText Flags="" Notes="" Text="Annual Fishing Trip" />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="2" Value="-1">
                <DescriptionText Flags="" Notes="" Text="Trying to keep Ed out of trouble. Mostly failing." />
              </EventNpcEffect>
              <EventNpcEffect ActorIndex="1" Value="-1">
                <DescriptionText Flags="" Notes="" Text="Always good for a laugh and a misadventure." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
          <Actor_InventoryWipe ActorIndex="2" />
          <Actor_Kill ActorIndex="2" Silent="" />
          <Enclave_AddTrust DisableBonus="false" EnclaveIndex="" Trust="70" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Alt" ActionId="InitAnyPlayableSandbox_HRO" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="!Trait.Meta.Story, !Trait.Status.NotPlayable, Trait.Voice.HRO" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.Buddy" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="!Game.Tutorial" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Demo" Invert="" />
        </Inputs>
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_AddToFamily ActorIndex="0" />
          <Actor_SetAsPlayer ActorIndex="0" />
          <Actor_JoinEnclave ActorIndex="1" EnclaveIndex="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Alt" ActionId="InitAnyPlayableSandbox_ED" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="!Trait.Meta.Story, !Trait.Status.NotPlayable, Trait.Voice.ED" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.Buddy" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="!Game.Tutorial" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Demo" Invert="" />
        </Inputs>
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_AddToFamily ActorIndex="0" />
          <Actor_SetAsPlayer ActorIndex="0" />
          <Actor_JoinEnclave ActorIndex="1" EnclaveIndex="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Alt" ActionId="InitAnyPlayableSandbox_LAW" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="!Trait.Meta.Story, !Trait.Status.NotPlayable, Trait.Voice.LAW" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.Buddy" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="!Game.Tutorial" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Demo" Invert="" />
        </Inputs>
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_AddToFamily ActorIndex="0" />
          <Actor_SetAsPlayer ActorIndex="0" />
          <Actor_JoinEnclave ActorIndex="1" EnclaveIndex="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Alt" ActionId="InitAnyPlayableSandbox_SAM" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="!Trait.Meta.Story, !Trait.Status.NotPlayable, Trait.Voice.SAM" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.Buddy" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="!Game.Tutorial" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Demo" Invert="" />
        </Inputs>
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_AddToFamily ActorIndex="0" />
          <Actor_SetAsPlayer ActorIndex="0" />
          <Actor_JoinEnclave ActorIndex="1" EnclaveIndex="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Alt" ActionId="InitAnyPlayableSandbox_ALN" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="!Trait.Meta.Story, !Trait.Status.NotPlayable, Trait.Voice.ALN" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.Buddy" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="!Game.Tutorial" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Demo" Invert="" />
        </Inputs>
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_AddToFamily ActorIndex="0" />
          <Actor_SetAsPlayer ActorIndex="0" />
          <Actor_JoinEnclave ActorIndex="1" EnclaveIndex="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Alt" ActionId="InitAnyPlayableSandbox_HRF" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="!Trait.Meta.Story, !Trait.Status.NotPlayable, Trait.Voice.HRF" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.Buddy" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="!Game.Tutorial" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Demo" Invert="" />
        </Inputs>
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_AddToFamily ActorIndex="0" />
          <Actor_SetAsPlayer ActorIndex="0" />
          <Actor_JoinEnclave ActorIndex="1" EnclaveIndex="" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="InitSandboxInventory" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Player HideWarnings="" Optional="" />
        </Actors>
        <Alts>
          <Alt AltId="InitSandboxInventory_Shotgun" AltOdds="20.0" />
          <Alt AltId="InitSandboxInventory_Rifle" AltOdds="25.0" />
          <Alt AltId="InitSandboxInventory_Revolver" AltOdds="33.3" />
          <Alt AltId="InitSandboxInventory_Assault" AltOdds="50.0" />
        </Alts>
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="!Game.Tutorial" Invert="" />
        </Inputs>
        <Outputs>
          <Com_Give ActorIndex="" AmmoPercentage="100" Count="1" GiveFlags="" Name="Firecracker" />
          <Com_Give ActorIndex="0" AmmoPercentage="100" Count="1" GiveFlags="Replace" Name="Pistol_D1911" />
          <Actor_GiveMatchingAmmo ActorIndex="0" AmmoScale="2" />
          <Com_Give ActorIndex="0" AmmoPercentage="100" Count="1" GiveFlags="Replace" Name="Bat_Wood" />
          <Com_Give ActorIndex="" AmmoPercentage="100" Count="1" GiveFlags="" Name="BackpackSmall_v01" />
          <Com_Give ActorIndex="" AmmoPercentage="100" Count="1" GiveFlags="" Name="BackpackLarge_v01" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Alt" ActionId="InitSandboxInventory_Rifle" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Player HideWarnings="" Optional="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="!Game.Tutorial" Invert="" />
        </Inputs>
        <Outputs>
          <Com_Give ActorIndex="0" AmmoPercentage="100" Count="1" GiveFlags="" Name="Suppressor_Homemade_Durable" />
          <Com_Give ActorIndex="0" AmmoPercentage="100" Count="1" GiveFlags="Replace" Name="Rifle_700Huntsman" />
          <Actor_GiveMatchingAmmo ActorIndex="0" AmmoScale="2" />
          <Com_Give ActorIndex="0" AmmoPercentage="100" Count="1" GiveFlags="Replace" Name="Hatchet" />
          <Com_Give ActorIndex="" AmmoPercentage="100" Count="1" GiveFlags="" Name="BackpackSmall_v01" />
          <Com_Give ActorIndex="" AmmoPercentage="100" Count="1" GiveFlags="" Name="BackpackLarge_v01" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Alt" ActionId="InitSandboxInventory_Revolver" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Player HideWarnings="" Optional="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="!Game.Tutorial" Invert="" />
        </Inputs>
        <Outputs>
          <Com_Give ActorIndex="" AmmoPercentage="100" Count="1" GiveFlags="" Name="Molotov_Homemade_Strong" />
          <Com_Give ActorIndex="0" AmmoPercentage="100" Count="1" GiveFlags="Replace" Name="Revolver_SnubDetective" />
          <Actor_GiveMatchingAmmo ActorIndex="0" AmmoScale="2" />
          <Com_Give ActorIndex="0" AmmoPercentage="100" Count="1" GiveFlags="Replace" Name="Machete" />
          <Com_Give ActorIndex="" AmmoPercentage="100" Count="1" GiveFlags="" Name="BackpackSmall_v01" />
          <Com_Give ActorIndex="" AmmoPercentage="100" Count="1" GiveFlags="" Name="BackpackLarge_v01" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Alt" ActionId="InitSandboxInventory_Shotgun" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Player HideWarnings="" Optional="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="!Game.Tutorial" Invert="" />
        </Inputs>
        <Outputs>
          <Com_Give ActorIndex="0" AmmoPercentage="100" Count="1" GiveFlags="Replace" Name="Shotgun_1300_Defender" />
          <Com_Give ActorIndex="0" AmmoPercentage="100" Count="1" GiveFlags="Replace" Name="Wrench" />
          <Actor_GiveMatchingAmmo ActorIndex="0" AmmoScale="3" />
          <Com_Give ActorIndex="" AmmoPercentage="100" Count="1" GiveFlags="" Name="BackpackSmall_v01" />
          <Com_Give ActorIndex="" AmmoPercentage="100" Count="1" GiveFlags="" Name="BackpackLarge_v01" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Alt" ActionId="InitSandboxInventory_Assault" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Player HideWarnings="" Optional="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="!Game.Tutorial" Invert="" />
        </Inputs>
        <Outputs>
          <Com_Give ActorIndex="0" AmmoPercentage="100" Count="1" GiveFlags="Replace" Name="SMG_Super_Z" />
          <Actor_GiveMatchingAmmo ActorIndex="0" AmmoScale="3" />
          <Com_Give ActorIndex="0" AmmoPercentage="100" Count="1" GiveFlags="Replace" Name="CricketBat" />
          <Com_Give ActorIndex="" AmmoPercentage="100" Count="1" GiveFlags="" Name="BackpackSmall_v01" />
          <Com_Give ActorIndex="" AmmoPercentage="100" Count="1" GiveFlags="" Name="BackpackLarge_v01" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="StartDemoMode" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <HomeSite ActorName="Home_Church" HideWarnings="" Optional="" />
          <Enclave ActorFlags="" ActorName="Enclave.Home" EnclaveStat="" HideWarnings="" Optional="" />
          <Player HideWarnings="" Optional="" />
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.Buddy" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.Demo" Invert="" />
        </Inputs>
        <Outputs>
          <Enclave_ClaimSite EnclaveIndex="" SiteIndex="0" />
          <ChangeState ActorIndex="" State="PreChurch" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="StartTestMode" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <HomeSite ActorName="Home_Church" HideWarnings="" Optional="" />
        </Actors>
        <Alts>
          <Alt AltId="StartTestMode_DanielFarm" AltOdds="100" />
          <Alt AltId="StartTestMode_Rodeo" AltOdds="14.28" />
          <Alt AltId="StartTestMode_BigJohn" AltOdds="16.7" />
          <Alt AltId="StartTestMode_Warehouse" AltOdds="20.0" />
          <Alt AltId="StartTestMode_Riverside" AltOdds="25.0" />
          <Alt AltId="StartTestMode_Alamo" AltOdds="33.3" />
          <Alt AltId="StartTestMode_DanielFarm" AltOdds="50.0" />
        </Alts>
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="!Game.Tutorial" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Demo" Invert="" />
        </Inputs>
        <Outputs>
          <Enclave_ClaimSite EnclaveIndex="" SiteIndex="0" />
          <ChangeState ActorIndex="" State="ChurchSandbox" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Alt" ActionId="StartTestMode_BigJohn" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <HomeSite ActorName="Home_BigJohn" HideWarnings="" Optional="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="!Game.Tutorial" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Demo" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Sandbox" Invert="" />
        </Inputs>
        <Outputs>
          <Enclave_ClaimSite EnclaveIndex="" SiteIndex="0" />
          <ChangeState ActorIndex="" State="ChurchSandbox" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Alt" ActionId="StartTestMode_DanielFarm" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <HomeSite ActorName="Home_DanielFarm" HideWarnings="" Optional="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="!Game.Tutorial" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Demo" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Sandbox" Invert="" />
        </Inputs>
        <Outputs>
          <Enclave_ClaimSite EnclaveIndex="" SiteIndex="0" />
          <ChangeState ActorIndex="" State="ChurchSandbox" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Alt" ActionId="StartTestMode_Alamo" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <HomeSite ActorName="Home_Alamo" HideWarnings="" Optional="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="!Game.Tutorial" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Demo" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Sandbox" Invert="" />
        </Inputs>
        <Outputs>
          <Enclave_ClaimSite EnclaveIndex="" SiteIndex="0" />
          <ChangeState ActorIndex="" State="ChurchSandbox" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Alt" ActionId="StartTestMode_Riverside" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <HomeSite ActorName="Home_Riverside" HideWarnings="" Optional="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="!Game.Tutorial" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Demo" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Sandbox" Invert="" />
        </Inputs>
        <Outputs>
          <Enclave_ClaimSite EnclaveIndex="" SiteIndex="0" />
          <ChangeState ActorIndex="" State="ChurchSandbox" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Alt" ActionId="StartTestMode_Warehouse" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <HomeSite ActorName="Home_Warehouse" HideWarnings="" Optional="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="!Game.Tutorial" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Demo" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Sandbox" Invert="" />
        </Inputs>
        <Outputs>
          <Enclave_ClaimSite EnclaveIndex="" SiteIndex="0" />
          <ChangeState ActorIndex="" State="ChurchSandbox" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Alt" ActionId="StartTestMode_Rodeo" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <HomeSite ActorName="Home_Rodeo" HideWarnings="" Optional="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="!Game.Tutorial" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Demo" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Sandbox" Invert="" />
        </Inputs>
        <Outputs>
          <Enclave_ClaimSite EnclaveIndex="" SiteIndex="0" />
          <ChangeState ActorIndex="" State="ChurchSandbox" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="StartTutorial" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Player HideWarnings="" Optional="" />
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.Buddy" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.Tutorial" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Buddies" />
          <EventOverrideTime DaysAgo="17" Hour="5" Minute="00" />
          <EventLog DisplayType="EventBanner" EventFlags="General, NoHudDisplay" Icon="Books" IconId="28">
            <NameText Flags="" Notes="" Text="JOURNAL: Hangovers and Halibut" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
              <EventDescArg Param="1" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Fishing before dawn is awesome, except when you were up till three the night before. Where the hell does Ed put all that whiskey? - %1$s" />
                <SummaryText Flags="" Notes="" Text="Fishing before dawn." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <EventOverrideTime DaysAgo="14" Hour="9" Minute="00" />
          <EventLog DisplayType="EventBanner" EventFlags="General, NoHudDisplay" Icon="Books" IconId="28">
            <NameText Flags="" Notes="" Text="JOURNAL: Peace and Quiet" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
              <EventDescArg Param="1" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Best thing about this trip? No cell reception. No e-mail alerts from work, no &quot;the Meyers account needs to be audited by Monday morning&quot; texts, no RSS feeds. Just peace, quiet, and fresh fish. - %1$s" />
                <SummaryText Flags="" Notes="" Text="It's nice to get away." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <EventOverrideTime DaysAgo="10" Hour="12" Minute="30" />
          <EventLog DisplayType="EventBanner" EventFlags="General, NoHudDisplay" Icon="Books" IconId="28">
            <NameText Flags="" Notes="" Text="JOURNAL: Young Love" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
              <EventDescArg Param="1" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Ed's hitting on the girl at the bait shop. Again. God help us all. - %1$s" />
                <SummaryText Flags="" Notes="" Text="God help us all." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <EventOverrideTime DaysAgo="7" Hour="7" Minute="00" />
          <EventLog DisplayType="EventBanner" EventFlags="General, NoHudDisplay" Icon="Books" IconId="28">
            <NameText Flags="" Notes="" Text="JOURNAL: Local Color" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
              <EventDescArg Param="1" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Lots of weird noises last night. Sounded like people setting off fireworks or something. Ed says it's Spencer's Mill's 75th Annual Bored Teenager Days. - %1$s" />
                <SummaryText Flags="" Notes="" Text="Lotsa weird noises." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <EventOverrideTime DaysAgo="1" Hour="6" Minute="00" />
          <EventLog DisplayType="EventBanner" EventFlags="General, NoHudDisplay" Icon="Books" IconId="28">
            <NameText Flags="" Notes="" Text="JOURNAL: Vacation's Over" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
              <EventDescArg Param="1" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="This vacation was not even close to long enough. Ah well. Time to start packing up. Back to reality. I'm not looking forward to seeing what my work inbox looks like. - %1$s" />
                <SummaryText Flags="" Notes="" Text="Time to head home." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.UIPersist.TeachMap" PauseWhenOffline="" />
          <RespawnPointOverride TagPoint="RTSPoint_PlayerStart" />
          <Actor_GiveTrait ActorIndex="1" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="Trait.Behavior.BodyguardPlayer" />
          <Actor_GiveTrait ActorIndex="1" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="Trait.Behavior.NotPlayableYet" />
        </Outputs>
      </Action>
      <LocationEvents />
    </State>
    <State Alertness="Defending" Id="Buddies">
      <OnNextDay />
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="ta15Go" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysTrue" Invert="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="ta15Go" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="MissionSecondary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToNextState" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionSecondary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Mountain" />
          <Console_Command Command="LOG: Home -- Exploration" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="CheckAchievements" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.CheckAchievements" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="MissionTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckMissionDone" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Mission" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Blackout.CheckMissionDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="ResetMissionTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.Player.Mission" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckMissionDone" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Blackout.CheckMissionDone" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="SceneTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckInSceneDone" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.InScene" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Blackout.CheckInSceneDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="ResetSceneTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckInSceneDone" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Blackout.CheckInSceneDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="UpdateBonuses" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.UpdateStaminaBonuses" />
          <EventTrigger Event="fsEvent.UpdateHealthBonuses" />
          <EventTrigger Event="fsEvent.UpdateOutpostRadius" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="FeedTheHungry" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.FeedTheHungry" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="UpdatePlayedToday" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.UpdatePlayedToday" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="CheckLimits" ActionType="Action.Passive" ExecuteTimeStandard="10s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.CheckLimits" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="SayGoodbyeBeforeLeaving" ActionType="Action.Passive" ExecuteTimeStandard="5s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Behavior.SayGoodbyeBeforeLeaving" FunctionTags="Npc" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Scene_ScenePlay Scene="chat_SayGoodbyeBeforeLeaving" SceneReason="Chatter" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="RecoverFromSick" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Mood.Sick_BlackFever, !Trait.Status.NewlySick, Trait.MoodType.Sick" FunctionTags="" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.RecoverFromSick" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="RecoverFromInjury" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Status.NewlyHurt, Trait.MoodType.Hurt" FunctionTags="" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.RecoverFromInjury" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="BroadcastSurvivors" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.BroadcastSurvivors" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AddRecoverMission" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="NoRecoverMission" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_AddRecoverMission" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRecoverMission" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckMissionCount Count="" EnclaveIndex="" Mission="Mission.Type.ComRecover" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="CreateCommunity (Init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <HomeSite ActorName="Home_RangerStation" HideWarnings="" Optional="True" />
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.PaZombie" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.TannerSurvivor" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.TannerSurvivor" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_ClaimSite EnclaveIndex="" SiteIndex="0" />
          <Actor_JoinEnclave ActorIndex="1" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="2" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="3" EnclaveIndex="" />
          <Actor_GiveTrait ActorIndex="1" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="Trait.Status.NotInJournal" />
          <Actor_GiveTrait ActorIndex="2" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="Trait.Status.NotInJournal" />
          <Actor_GiveTrait ActorIndex="3" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="Trait.Status.NotInJournal" />
          <Actor_GiveTrait ActorIndex="3" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="Trait.Mood.Hurt_CrackedRibs" />
          <Enclave_AddTrust DisableBonus="false" EnclaveIndex="" Trust="70" />
          <Actor_AddTrust ActorIndex="1" DisableBonus="false" Trust="10" />
          <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="HealthPack" />
          <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="2x4_Bracket" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="0" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="25" OutputDuration="" OutputId="Stat.Morale" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="100" OutputDuration="" OutputId="Max.Morale" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="SetUpFacility" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Facility ActorFlags="FindOrSpawn" ActorName="Infirmary" HideWarnings="" Optional="" Socket="Ranger_infirmary" Variant="Variant.Special_Ranger" />
          <Facility ActorFlags="FindOrSpawn" ActorName="Storage" HideWarnings="" Optional="" Socket="Ranger_storage" Variant="Variant.Special_Ranger" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings (Init)" ActionType="Action.Passive" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.RTS.NoSupplyRuns" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.RTS.NoRunners" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.RTS.NoBefriending" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.RTS.NoSurvey" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.RTS.NoJournalAssets" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.RTS.NoJournalHome" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.RTS.NoTradeMissions" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.ZombiesUnknown" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Enemy.Unlock_HordeIntercepts" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="100" OutputDuration="" OutputId="Zombies.FreshZombie.Percentage" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.RTS.NoRandomMissionFreaks" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="0" OutputDuration="" OutputId="Status.Enemy.ChallengeLevel" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="BuildingGore (init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <TagPoint ActorName="RTSPoint_FakeDeath_TannerWarehouse" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="10.0" TagPointFlag="" TagPointType="" />
          <TagPoint ActorName="RTSPoint_FakeDeath_LakesideCabin" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="10.0" TagPointFlag="" TagPointType="" />
          <TagPoint ActorName="RTSPoint_FakeDeath_RidgeCabin" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="10.0" TagPointFlag="" TagPointType="" />
          <Building ActorFlags="" ActorName="" BuildingFlagsMask="" BuildingFlagsQuery="" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="0" SearchRangeMin="0.0" SiteTag="" />
          <Building ActorFlags="" ActorName="" BuildingFlagsMask="" BuildingFlagsQuery="" HideWarnings="" NearActorIdx="1" Optional="" SearchRangeMax="0" SearchRangeMin="0.0" SiteTag="" />
          <Building ActorFlags="" ActorName="" BuildingFlagsMask="" BuildingFlagsQuery="" HideWarnings="" NearActorIdx="2" Optional="" SearchRangeMax="0" SearchRangeMin="0.0" SiteTag="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <BuildingGore ActorIndex="3" Enable="true" />
          <BuildingGore ActorIndex="4" Enable="true" />
          <BuildingGore ActorIndex="5" Enable="true" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="CannotDie" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Player HideWarnings="" Optional="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.Buddy" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="Trait.Meta.CannotDie" />
          <Actor_GiveTrait ActorIndex="1" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="Trait.Meta.CannotDie" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="ToMountain (cheat)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.taMountain" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Mountain" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="ToEscape (cheat)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.taEscape" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Escape" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="CreateMission (Init)" ActionType="Action.Passive" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="ta10Buddies" RtsDataAbort="MissionPrimary_Done" RtsDataDecline="" RtsDataSuccess="MissionPrimary_Done" TargetEnclave="" UseEnclaveStats="True" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="" Radius="25">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <AvatarAsset>
                  <AvatarAsset Name="ZOMBIEMASK" Id="6" />
                </AvatarAsset>
                <Console_Command Command="LOG: ZOMBIEMASK avatar award" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_TannerLakeside" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="10.0" TagPointFlag="" TagPointType="" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Defending" Id="Mountain">
      <OnNextDay />
      <Action ActionFlags="ActivateOnce" ActionId="InitStats" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="50" OutputDuration="" OutputStat="Determination" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="50" OutputDuration="" OutputStat="Skill" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="50" OutputDuration="" OutputStat="Survival" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="10" OutputDuration="" OutputStat="Wealth" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="CheckAchievements" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.CheckAchievements" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="MissionTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckMissionDone" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Mission" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Blackout.CheckMissionDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="ResetMissionTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.Player.Mission" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckMissionDone" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Blackout.CheckMissionDone" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="SceneTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckInSceneDone" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.InScene" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Blackout.CheckInSceneDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="ResetSceneTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckInSceneDone" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Blackout.CheckInSceneDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="UpdateBonuses" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.UpdateStaminaBonuses" />
          <EventTrigger Event="fsEvent.UpdateHealthBonuses" />
          <EventTrigger Event="fsEvent.UpdateOutpostRadius" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="FeedTheHungry" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.FeedTheHungry" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="UpdatePlayedToday" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.UpdatePlayedToday" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="CheckLimits" ActionType="Action.Passive" ExecuteTimeStandard="10s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.CheckLimits" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="SayGoodbyeBeforeLeaving" ActionType="Action.Passive" ExecuteTimeStandard="5s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Behavior.SayGoodbyeBeforeLeaving" FunctionTags="Npc" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Scene_ScenePlay Scene="chat_SayGoodbyeBeforeLeaving" SceneReason="Chatter" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="RecoverFromSick" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Mood.Sick_BlackFever, !Trait.Status.NewlySick, Trait.MoodType.Sick" FunctionTags="" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.RecoverFromSick" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="RecoverFromInjury" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Status.NewlyHurt, Trait.MoodType.Hurt" FunctionTags="" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.RecoverFromInjury" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="BroadcastSurvivors" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.BroadcastSurvivors" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AddRecoverMission" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="NoRecoverMission" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_AddRecoverMission" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRecoverMission" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckMissionCount Count="" EnclaveIndex="" Mission="Mission.Type.ComRecover" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="CreateCommunity (Init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Player HideWarnings="" Optional="" />
          <Enclave ActorFlags="" ActorName="Enclave.Home" EnclaveStat="" HideWarnings="" Optional="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_SetAlertness Alertness="Defending" EnclaveIndex="1" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings (init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.RTS.NoSurvey" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.ReachedRangerStation" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Enemy.Unlock_HordeIntercepts" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="0" OutputDuration="" OutputId="Status.Enemy.ChallengeLevel" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, WaitForNoMission" ActionId="UnlockJournalPages (init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.PaZombie" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.TannerSurvivor" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.TannerSurvivor" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.RTS.NoJournalAssets" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.RTS.NoJournalHome" PauseWhenOffline="" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Status.NotInJournal" />
          <Actor_GiveTrait ActorIndex="1" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Status.NotInJournal" />
          <Actor_GiveTrait ActorIndex="2" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Status.NotInJournal" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, WaitForNoMission" ActionId="CreateMissions (init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="ta20Forest" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="ta20Tower" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, WaitForNoMission" ActionId="CreateMission_Gunshot (GunshotsBool)" ActionType="Action.Passive" ExecuteTimeStandard="2s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.StoryTA.ReadyForGunshots" Invert="" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="ta20Gunshots" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="To Escape" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.StoryTA.FirstBaseSlaughtered" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Escape" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats" ActionId="AbortCabinSearchMission" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.StoryTA.MetStarterFemale" Invert="" />
        </Inputs>
        <Outputs>
          <Enclave_MissionOpAbort EnclaveIndex="" Mission="ta20Forest" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="" Radius="25">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <AvatarAsset>
                  <AvatarAsset Name="ZOMBIEMASK" Id="6" />
                </AvatarAsset>
                <Console_Command Command="LOG: ZOMBIEMASK avatar award" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_TannerLakeside" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="10.0" TagPointFlag="" TagPointType="" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Defending" Id="Escape">
      <OnNextDay />
      <Action ActionFlags="Repeats" ActionId="CheckAchievements" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.CheckAchievements" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ta40Bridge" ActionType="Action.Background" ExecuteTimeStandard="0.01s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="ta40Bridge" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="MissionPrimary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToNextState" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="PreChurch" />
          <Console_Command Command="LOG: Home -- Exploration" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="MissionTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckMissionDone" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Mission" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Blackout.CheckMissionDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="ResetMissionTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.Player.Mission" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckMissionDone" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Blackout.CheckMissionDone" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="SceneTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckInSceneDone" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.InScene" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Blackout.CheckInSceneDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="ResetSceneTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckInSceneDone" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Blackout.CheckInSceneDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="UpdateBonuses" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.UpdateStaminaBonuses" />
          <EventTrigger Event="fsEvent.UpdateHealthBonuses" />
          <EventTrigger Event="fsEvent.UpdateOutpostRadius" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="FeedTheHungry" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.FeedTheHungry" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="UpdatePlayedToday" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.UpdatePlayedToday" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="CheckLimits" ActionType="Action.Passive" ExecuteTimeStandard="10s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.CheckLimits" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="SayGoodbyeBeforeLeaving" ActionType="Action.Passive" ExecuteTimeStandard="5s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Behavior.SayGoodbyeBeforeLeaving" FunctionTags="Npc" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Scene_ScenePlay Scene="chat_SayGoodbyeBeforeLeaving" SceneReason="Chatter" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="RecoverFromSick" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Mood.Sick_BlackFever, !Trait.Status.NewlySick, Trait.MoodType.Sick" FunctionTags="" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.RecoverFromSick" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="RecoverFromInjury" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Status.NewlyHurt, Trait.MoodType.Hurt" FunctionTags="" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.RecoverFromInjury" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="BroadcastSurvivors" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.BroadcastSurvivors" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AddRecoverMission" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="NoRecoverMission" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_AddRecoverMission" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRecoverMission" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckMissionCount Count="" EnclaveIndex="" Mission="Mission.Type.ComRecover" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="DestroyCommunity (Init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.TannerSurvivor" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.TannerSurvivor" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_Kill ActorIndex="0" Silent="" />
          <Actor_Kill ActorIndex="1" Silent="" />
          <RespawnPointOverride TagPoint="SpawnPoint_RangerStation" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings (init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.ReachedRangerStation" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.FirstBaseSlaughtered" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.RTS.NoTradeMissions" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.RTS.NoSurvey" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="10" OutputDuration="" OutputId="Status.Enemy.ChallengeLevel" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.RTS.NoRandomMissionFreaks" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Enemy.Unlock_HordeIntercepts" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="0" OutputDuration="" OutputId="Zombies.FreshZombie.Percentage" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="" Radius="25">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <AvatarAsset>
                  <AvatarAsset Name="ZOMBIEMASK" Id="6" />
                </AvatarAsset>
                <Console_Command Command="LOG: ZOMBIEMASK avatar award" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_TannerLakeside" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="10.0" TagPointFlag="" TagPointType="" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="PreChurch">
      <OnNextDay />
      <Action ActionFlags="ActivateOnce" ActionId="SetStockpiles" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_Set DurationCancellable="" OutputAmount="4" OutputDuration="" OutputId="Stockpile.Medicine" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="15" OutputDuration="" OutputId="Stockpile.Food" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="10" OutputDuration="" OutputId="Stockpile.Ammo" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="22" OutputDuration="" OutputId="Stockpile.Materials" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="12" OutputDuration="" OutputId="Stockpile.Fuel" PauseWhenOffline="" />
          <Com_Give ActorIndex="" AmmoPercentage="100" Count="1" GiveFlags="" Name="BackpackSmall_v01" />
          <RTSStat_Set DurationCancellable="" OutputAmount="40" OutputDuration="" OutputId="Stat.Morale" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="100" OutputDuration="" OutputId="Max.Morale" PauseWhenOffline="" />
          <Console_Command Command="LOG: Initializing Stockpiles for Spencer's Mill community." />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="InitStats" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="50" OutputDuration="" OutputStat="Determination" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="50" OutputDuration="" OutputStat="Skill" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="50" OutputDuration="" OutputStat="Survival" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="10" OutputDuration="" OutputStat="Wealth" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="CheckAchievements" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.CheckAchievements" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="MissionTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckMissionDone" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Mission" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Blackout.CheckMissionDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="ResetMissionTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.Player.Mission" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckMissionDone" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Blackout.CheckMissionDone" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="SceneTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckInSceneDone" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.InScene" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Blackout.CheckInSceneDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="ResetSceneTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckInSceneDone" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Blackout.CheckInSceneDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="UpdateBonuses" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.UpdateStaminaBonuses" />
          <EventTrigger Event="fsEvent.UpdateHealthBonuses" />
          <EventTrigger Event="fsEvent.UpdateOutpostRadius" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="FeedTheHungry" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.FeedTheHungry" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="UpdatePlayedToday" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.UpdatePlayedToday" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="CheckLimits" ActionType="Action.Passive" ExecuteTimeStandard="10s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.CheckLimits" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="SayGoodbyeBeforeLeaving" ActionType="Action.Passive" ExecuteTimeStandard="5s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Behavior.SayGoodbyeBeforeLeaving" FunctionTags="Npc" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Scene_ScenePlay Scene="chat_SayGoodbyeBeforeLeaving" SceneReason="Chatter" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="RecoverFromSick" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Mood.Sick_BlackFever, !Trait.Status.NewlySick, Trait.MoodType.Sick" FunctionTags="" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.RecoverFromSick" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="RecoverFromInjury" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Status.NewlyHurt, Trait.MoodType.Hurt" FunctionTags="" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.RecoverFromInjury" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="BroadcastSurvivors" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.BroadcastSurvivors" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AddRecoverMission" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="NoRecoverMission" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_AddRecoverMission" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRecoverMission" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckMissionCount Count="" EnclaveIndex="" Mission="Mission.Type.ComRecover" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="ClaimSite (init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <HomeSite ActorName="Home_Church" HideWarnings="" Optional="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_ClaimSite EnclaveIndex="" SiteIndex="0" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="Populate (init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.Command" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.ChurchPastor" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.ChurchBully" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.ChurchSmartass" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.ChurchOutsider" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Facility ActorFlags="FindOrSpawn" ActorName="Infirmary" HideWarnings="" Optional="" Socket="Outdoor2" Variant="Basic" />
          <Infestation ActorFlags="Spawn" HideWarnings="" NearActorIdx="-1" Optional="" SearchRangeMax="500.0" SearchRangeMin="0.0" />
          <Infestation ActorFlags="Spawn" HideWarnings="" NearActorIdx="-1" Optional="" SearchRangeMax="500.0" SearchRangeMin="0.0" />
          <Facility ActorFlags="FindOrSpawn" ActorName="Kitchen" HideWarnings="" Optional="" Socket="Kitchen" Variant="Church" />
          <Facility ActorFlags="FindOrSpawn" ActorName="Bedroom" HideWarnings="" Optional="" Socket="Bedroom" Variant="Church" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="1" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="2" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="3" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="4" EnclaveIndex="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="40" OutputDuration="" OutputId="Stat.Morale" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="100" OutputDuration="" OutputId="Max.Morale" PauseWhenOffline="" />
          <Actor_AddTrust ActorIndex="0" DisableBonus="false" Trust="70" />
          <Actor_AddTrust ActorIndex="1" DisableBonus="false" Trust="70" />
          <Actor_AddTrust ActorIndex="2" DisableBonus="false" Trust="20" />
          <Actor_AddTrust ActorIndex="3" DisableBonus="false" Trust="30" />
          <Actor_AddTrust ActorIndex="4" DisableBonus="false" Trust="40" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="1.2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.RTS.NoJournalAssets" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.RTS.NoJournalHome" PauseWhenOffline="" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="Trait.Status.NotInJournal" />
          <Actor_GiveTrait ActorIndex="1" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="Trait.Status.NotInJournal" />
          <Actor_GiveTrait ActorIndex="2" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="Trait.Status.NotInJournal" />
          <Actor_GiveTrait ActorIndex="3" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="Trait.Status.NotInJournal" />
          <Actor_GiveTrait ActorIndex="4" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="Trait.Status.NotInJournal" />
          <Actor_GiveTrait ActorIndex="4" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="Trait.Behavior.AlwaysAway" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.BuiltOnce.Infirmary" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.BuiltOnce.Watchtower" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="CreateMission (init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="CreateDemoState (cheat)" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="ch01Home" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Tutorial" PauseWhenOffline="" />
          <RespawnPointOverride TagPoint="RTSPoint_01Home_Arrival_PlayerStart" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="CreateDemoState (cheat)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.Demo" Invert="" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryCH.ReachedChurch" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.CrossedTannerRiver" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.FirstBaseSlaughtered" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.MetStarterFemale" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.StoryTA.ZombiesUnknown" PauseWhenOffline="" />
          <RespawnPointOverride TagPoint="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="RemoveBehaviorTraits" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.Buddy" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.StarterFemale" FunctionTags="Npc" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.StarterMale" FunctionTags="Npc" HideWarnings="" Optional="True" TargetEnclave="" />
          <Player HideWarnings="" Optional="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Behavior.FollowPlayer" />
          <Actor_GiveTrait ActorIndex="1" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Behavior.FollowPlayer" />
          <Actor_GiveTrait ActorIndex="2" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Behavior.FollowPlayer" />
          <Actor_GiveTrait ActorIndex="3" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Behavior.FollowPlayer" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Behavior.BodyguardPlayer" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="LetPCsDie" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.StarterFemale" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.StarterMale" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_EvolveTraits ActorIndex="0" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
          <Actor_EvolveTraits ActorIndex="1" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="To Spencers (ReachedChurch)" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Player HideWarnings="" Optional="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.Buddy" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.Command" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.ChurchPastor" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.ChurchBully" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.ChurchSmartass" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.ChurchOutsider" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.StoryCH.ReachedChurch" Invert="" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.StoryTA.ZombiesUnknown" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.RTS.NoJournalAssets" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.RTS.NoJournalHome" PauseWhenOffline="" />
          <Actor_GiveTrait ActorIndex="2" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Status.NotInJournal" />
          <Actor_GiveTrait ActorIndex="3" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Status.NotInJournal" />
          <Actor_GiveTrait ActorIndex="4" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Status.NotInJournal" />
          <Actor_GiveTrait ActorIndex="5" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Status.NotInJournal" />
          <Actor_GiveTrait ActorIndex="6" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Status.NotInJournal" />
          <Actor_GiveTrait ActorIndex="6" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="Trait.Behavior.AlwaysAway" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.UIPersist.TeachMap" PauseWhenOffline="" />
          <RespawnPointOverride TagPoint="" />
          <ChangeState ActorIndex="" State="Spencers" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="Upsell" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Upsell StartTimer="True" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="" Radius="25">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <AvatarAsset>
                  <AvatarAsset Name="ZOMBIEMASK" Id="6" />
                </AvatarAsset>
                <Console_Command Command="LOG: ZOMBIEMASK avatar award" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_TannerLakeside" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="10.0" TagPointFlag="" TagPointType="" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="Spencers">
      <OnNextDay>
        <Action ActionFlags="" ActionId="OfflineEvents" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Check InputAmount="10" InputFlags="" InputId="Status.DailySummary.TimePlayedToday" />
          </Inputs>
          <Outputs>
            <EventTrigger Event="fsEvent.Home_OfflineEvents" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="DailyResetIfPlayedYesterday" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts>
            <Alt AltId="IncrementDaysOffline" AltOdds="100.0" />
          </Alts>
          <Effects />
          <Inputs />
          <Outputs>
            <EventTrigger Event="fsEvent.Home_DailyReset" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="IncrementDaysOffline" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Check InputAmount="10" InputFlags="" InputId="!Status.DailySummary.TimePlayedToday" />
          </Inputs>
          <Outputs>
            <EventTrigger Event="fsEvent.Home_IncrementDaysOffline" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="UpdateAll" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
            <EventTrigger Event="fsEvent.UpdateReputation" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="ActivateOnce" ActionId="ToExploration (Cheat)" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.chExploration" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Exploration" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Library" PauseWhenOffline="" />
          <EventLog DisplayType="None" EventFlags="None" Icon="Build" IconId="29">
            <NameText Flags="" Notes="" Text="FACILITY UNLOCKED" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs />
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Because the MidgameCheat flag is set, the library has been unlocked." />
                <SummaryText Flags="" Notes="" Text="Library" />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSniper_HicksHothead" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSWAT" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoVehicle_PoliceSlick" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoBuildHelp_GroceryIdealist" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoHealHelp_OldDoctor" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoEnergyHelp_ChurchCommand" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="ToSites (cheat)" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.chSites" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Sites" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Library" PauseWhenOffline="" />
          <EventLog DisplayType="None" EventFlags="None" Icon="Build" IconId="29">
            <NameText Flags="" Notes="" Text="FACILITY UNLOCKED" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs />
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Because the MidgameCheat flag is set, the library has been unlocked." />
                <SummaryText Flags="" Notes="" Text="Library" />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSniper_HicksHothead" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSWAT" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoVehicle_PoliceSlick" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoBuildHelp_GroceryIdealist" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoHealHelp_OldDoctor" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoEnergyHelp_ChurchCommand" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="ToBlackFever (cheat)" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.chBlackFever" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="BlackFever" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Library" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Generator" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Storage" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_DiningArea" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Gardening" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Kitchen" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Grenade" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Landmine" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Incendiary" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Suppressor" PauseWhenOffline="" />
          <EventLog DisplayType="None" EventFlags="None" Icon="Build" IconId="29">
            <NameText Flags="" Notes="" Text="FACILITIES UNLOCKED" />
            <TutorialText Flags="" Notes="" Text="Many of these still require a WORKSHOP to build." />
            <DescArgs />
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Because the LategameCheat flag is set, all of these have been unlocked: Library, Generator, Storage, Dining Area, Garden, and Kitchen" />
                <SummaryText Flags="" Notes="" Text="Library, Generator, Storage, Dining Area, Garden, Kitchen" />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <EventLog DisplayType="None" EventFlags="None" Icon="Grenade" IconId="41">
            <NameText Flags="" Notes="" Text="ITEMS UNLOCKED" />
            <TutorialText Flags="" Notes="" Text="I'll still need a WORKSHOP to actually make them." />
            <DescArgs />
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Because the LategameCheat flag is set, all of these have been unlocked: Grenade, Landmine, Firebomb, Suppressor." />
                <SummaryText Flags="" Notes="" Text="Grenade, Landmine, Firebomb, Suppressor" />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSniper_HicksHothead" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSWAT" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoVehicle_PoliceSlick" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoBuildHelp_GroceryIdealist" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoHealHelp_OldDoctor" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoEnergyHelp_ChurchCommand" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="ToPastor (cheat)" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.chPastor" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Pastor" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Library" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Generator" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Storage" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_DiningArea" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Gardening" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Kitchen" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Grenade" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Landmine" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Incendiary" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Suppressor" PauseWhenOffline="" />
          <EventLog DisplayType="None" EventFlags="None" Icon="Build" IconId="29">
            <NameText Flags="" Notes="" Text="FACILITIES UNLOCKED" />
            <TutorialText Flags="" Notes="" Text="Many of these still require a WORKSHOP to build." />
            <DescArgs />
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Because the LategameCheat flag is set, all of these have been unlocked: Library, Generator, Storage, Dining Area, Garden, and Kitchen" />
                <SummaryText Flags="" Notes="" Text="Library, Generator, Storage, Dining Area, Garden, Kitchen" />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <EventLog DisplayType="None" EventFlags="None" Icon="Grenade" IconId="41">
            <NameText Flags="" Notes="" Text="ITEMS UNLOCKED" />
            <TutorialText Flags="" Notes="" Text="I'll still need a WORKSHOP to actually make them." />
            <DescArgs />
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Because the LategameCheat flag is set, all of these have been unlocked: Grenade, Landmine, Firebomb, Suppressor." />
                <SummaryText Flags="" Notes="" Text="Grenade, Landmine, Firebomb, Suppressor" />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSniper_HicksHothead" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSWAT" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoVehicle_PoliceSlick" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoBuildHelp_GroceryIdealist" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoHealHelp_OldDoctor" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoEnergyHelp_ChurchCommand" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="ToSpencersState (cheat)" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.chSpencers_Save" Invert="" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Demo" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="ToExplorationState (Cheat)" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.chExploration_Save" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Exploration" />
          <EventTrigger Event="faEvent.SpawnEnclave" />
          <EventTrigger Event="faEvent.SpawnEnclave" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Library" PauseWhenOffline="" />
          <EventLog DisplayType="None" EventFlags="None" Icon="Build" IconId="29">
            <NameText Flags="" Notes="" Text="FACILITY UNLOCKED" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs />
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Because the MidgameCheat flag is set, the library has been unlocked." />
                <SummaryText Flags="" Notes="" Text="Library" />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSniper_HicksHothead" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSWAT" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoVehicle_PoliceSlick" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoBuildHelp_GroceryIdealist" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoHealHelp_OldDoctor" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoEnergyHelp_ChurchCommand" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Demo" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Cheat.grRescue" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Cheat.pdCurfew" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="ToSitesState (cheat)" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.chSites_Save" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Sites" />
          <EventTrigger Event="faEvent.SpawnEnclave" />
          <EventTrigger Event="faEvent.SpawnEnclave" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Library" PauseWhenOffline="" />
          <EventLog DisplayType="None" EventFlags="None" Icon="Build" IconId="29">
            <NameText Flags="" Notes="" Text="FACILITY UNLOCKED" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs />
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Because the MidgameCheat flag is set, the library has been unlocked." />
                <SummaryText Flags="" Notes="" Text="Library" />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSniper_HicksHothead" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSWAT" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoVehicle_PoliceSlick" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoBuildHelp_GroceryIdealist" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoHealHelp_OldDoctor" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoEnergyHelp_ChurchCommand" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Demo" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Cheat.arMayday" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Cheat.wiCargo" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Cheat.grFortifications" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Cheat.pdVision" PauseWhenOffline="" />
          <ExecuteAction ActionId="AddTwoFamilyMembers" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="ToBlackFeverState (cheat)" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.chBlackFever_Save" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="BlackFever" />
          <EventTrigger Event="faEvent.SpawnEnclave" />
          <EventTrigger Event="faEvent.SpawnEnclave" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Library" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Generator" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Storage" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_DiningArea" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Gardening" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Kitchen" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Grenade" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Landmine" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Incendiary" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Suppressor" PauseWhenOffline="" />
          <EventLog DisplayType="None" EventFlags="None" Icon="Build" IconId="29">
            <NameText Flags="" Notes="" Text="FACILITIES UNLOCKED" />
            <TutorialText Flags="" Notes="" Text="Many of these still require a WORKSHOP to build." />
            <DescArgs />
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Because the LategameCheat flag is set, all of these have been unlocked: Library, Generator, Storage, Dining Area, Garden, and Kitchen" />
                <SummaryText Flags="" Notes="" Text="Library, Generator, Storage, Dining Area, Garden, Kitchen" />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <EventLog DisplayType="None" EventFlags="None" Icon="Grenade" IconId="41">
            <NameText Flags="" Notes="" Text="ITEMS UNLOCKED" />
            <TutorialText Flags="" Notes="" Text="I'll still need a WORKSHOP to actually make them." />
            <DescArgs />
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Because the LategameCheat flag is set, all of these have been unlocked: Grenade, Landmine, Firebomb, Suppressor." />
                <SummaryText Flags="" Notes="" Text="Grenade, Landmine, Firebomb, Suppressor" />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSniper_HicksHothead" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSWAT" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoVehicle_PoliceSlick" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoBuildHelp_GroceryIdealist" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoHealHelp_OldDoctor" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoEnergyHelp_ChurchCommand" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Demo" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Cheat.arWater" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Cheat.wiExchange" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Cheat.grFury" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Cheat.pdDestruction" PauseWhenOffline="" />
          <ExecuteAction ActionId="AddTwoFamilyMembers" />
        </Outputs>
      </Action>
      <Action ActionFlags="Subaction" ActionId="AddTwoFamilyMembers" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="!Trait.Immune.NonStoryContent" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="!Trait.Immune.NonStoryContent" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_AddToFamily ActorIndex="0" />
          <Actor_JoinEnclave ActorIndex="1" EnclaveIndex="" />
          <Actor_AddToFamily ActorIndex="1" />
          <Console_Command Command="LOG: AddTwoFamilyMembers" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="WCScenes (init)" ActionType="Action.Passive" ExecuteTimeStandard="30s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_SetWCScenes" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, WaitForNoMission" ActionId="SpawnEnclaves" ActionType="Action.Passive" ExecuteTimeStandard="45m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="&lt;8" InputFlags="" InputId="Count.Enclaves" />
        </Inputs>
        <Outputs>
          <EventTrigger Event="faEvent.SpawnEnclave" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="CheckAchievements" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.CheckAchievements" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="ShowInfestations" ActionType="Action.Passive" ExecuteTimeStandard="12s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_ShowNearbyInfestations" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ch02Tour" ActionType="Action.Background" ExecuteTimeStandard="0.01s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="ch02Tour" RtsDataAbort="MissionPrimary_Done" RtsDataDecline="MissionPrimary_Done" RtsDataSuccess="MissionPrimary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="ch03Survey" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysTrue" Invert="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="ch03Survey" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="MissionSecondary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToNextState" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionSecondary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Exploration" />
          <Console_Command Command="LOG: Home -- Exploration" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="MissionTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckMissionDone" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Mission" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Blackout.CheckMissionDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="ResetMissionTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.Player.Mission" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckMissionDone" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Blackout.CheckMissionDone" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="SceneTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckInSceneDone" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.InScene" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Blackout.CheckInSceneDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="ResetSceneTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckInSceneDone" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Blackout.CheckInSceneDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="UpdateBonuses" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.UpdateStaminaBonuses" />
          <EventTrigger Event="fsEvent.UpdateHealthBonuses" />
          <EventTrigger Event="fsEvent.UpdateOutpostRadius" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="FeedTheHungry" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.FeedTheHungry" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="UpdatePlayedToday" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.UpdatePlayedToday" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="CheckLimits" ActionType="Action.Passive" ExecuteTimeStandard="10s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.CheckLimits" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="SayGoodbyeBeforeLeaving" ActionType="Action.Passive" ExecuteTimeStandard="5s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Behavior.SayGoodbyeBeforeLeaving" FunctionTags="Npc" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Scene_ScenePlay Scene="chat_SayGoodbyeBeforeLeaving" SceneReason="Chatter" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="RecoverFromSick" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Mood.Sick_BlackFever, !Trait.Status.NewlySick, Trait.MoodType.Sick" FunctionTags="" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.RecoverFromSick" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="RecoverFromInjury" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Status.NewlyHurt, Trait.MoodType.Hurt" FunctionTags="" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.RecoverFromInjury" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="BroadcastSurvivors" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.BroadcastSurvivors" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AddRecoverMission" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="NoRecoverMission" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_AddRecoverMission" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRecoverMission" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckMissionCount Count="" EnclaveIndex="" Mission="Mission.Type.ComRecover" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="SetComInventory (Init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          <Com_Give ActorIndex="" AmmoPercentage="100" Count="2" GiveFlags="" Name="Molotov_Alcohol" />
          <Com_Give ActorIndex="" AmmoPercentage="100" Count="2" GiveFlags="" Name="Stimulant_Coffee" />
          <Com_Give ActorIndex="" AmmoPercentage="100" Count="1" GiveFlags="" Name="Suppressor_Homemade_Durable" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings (init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.Buddy" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.StarterFemale" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Hint_Enable HintId="Silencer" SetEnabled="true" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.RTS.NoTradeMissions" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.RTS.NoResourceOps" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.RTS.NoSupplyRuns" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.RTS.NoRunners" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.RTS.NoEnclaveMissions" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.RTS.NoRadio" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.Radio.NoOutposts" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="0.0" OutputId="Game.RTS.NoBefriending" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="0.0" OutputId="Game.RTS.NoSurvey" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.ReachedRangerStation" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.ReadyForGunshots" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.HeardGunshots" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.MetStarterFemale" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.FirstBaseSlaughtered" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.CrossedTannerRiver" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryCH.ReachedChurch" PauseWhenOffline="" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="Trait.Mood.Hurt_Mauled" />
          <Actor_EvolveTraits ActorIndex="1" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
          <Actor_AddToFamily ActorIndex="1" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Feral" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="20" OutputDuration="" OutputId="Status.Enemy.ChallengeLevel" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
          <EventTrigger Event="fsEvent.RecentMission_Away" />
          <RespawnPointOverride TagPoint="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="SpawnOneEnclave" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Enclave ActorFlags="Spawn" ActorName="Enclave.Generic" EnclaveStat="" HideWarnings="" Optional="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <ChangeState ActorIndex="0" State="Unfriendly" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats" ActionId="FirstJoinEnclave" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Enclave ActorFlags="Spawn" ActorName="Enclave.Generic" EnclaveStat="" HideWarnings="" Optional="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.StoryCH.VetClinicSpotted" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="0" State="Join" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.FirstEnclave" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_HordeIntercepts" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, WaitForNoMission" ActionId="UnlockPastor" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.StoryCH.VetClinicSpotted" Invert="" />
        </Inputs>
        <Outputs>
          <EventLog DisplayType="EventBanner" EventFlags="None" Icon="Good Sleep" IconId="57">
            <NameText Flags="" Notes="" Text="SURVIVAL TACTICS: Fatigue" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="CommandName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Eventually, you'll find fatigue building up. A snack will give you a temporary energy boost, but to really fight fatigue you should think about stepping away and resting for a day. You you can also radio home and talk to Pastor Will. He has a way of inspiring people to keep going. - %1$s" />
                <SummaryText Flags="" Notes="" Text="Talk to the Pastor for help." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="1" Flags="OnEnterBuilding, Repeats" Radius="40">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs>
                <CheckBool InputFlags="" InputId="Status.SceneCH.BlockLocScenes" Invert="True" />
                <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
              </Inputs>
              <Outputs>
                <Scene_ScenePlay Scene="chLocationEvents" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <Enclave ActorFlags="" ActorName="Enclave.Home" EnclaveStat="" HideWarnings="" Optional="" />
            <Building ActorFlags="AllowOwned, Closest" ActorName="" BuildingFlagsMask="" BuildingFlagsQuery="" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="0" SearchRangeMin="0.0" SiteTag="" />
          </Actors>
        </EnclaveLocationEvent>
        <EnclaveLocationEvent ActorIndex="0" Flags="" Radius="25">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <AvatarAsset>
                  <AvatarAsset Name="ZOMBIEMASK" Id="6" />
                </AvatarAsset>
                <Console_Command Command="LOG: ZOMBIEMASK avatar award" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_TannerLakeside" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="10.0" TagPointFlag="" TagPointType="" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="Exploration">
      <OnNextDay>
        <Action ActionFlags="" ActionId="OfflineEvents" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Check InputAmount="10" InputFlags="" InputId="Status.DailySummary.TimePlayedToday" />
          </Inputs>
          <Outputs>
            <EventTrigger Event="fsEvent.Home_OfflineEvents" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="DailyResetIfPlayedYesterday" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts>
            <Alt AltId="IncrementDaysOffline" AltOdds="100.0" />
          </Alts>
          <Effects />
          <Inputs />
          <Outputs>
            <EventTrigger Event="fsEvent.Home_DailyReset" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="IncrementDaysOffline" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Check InputAmount="10" InputFlags="" InputId="!Status.DailySummary.TimePlayedToday" />
          </Inputs>
          <Outputs>
            <EventTrigger Event="fsEvent.Home_IncrementDaysOffline" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="UpdateAll" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
            <EventTrigger Event="fsEvent.UpdateReputation" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="NextDay (UnlockArc)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ch03Meds" ActionType="Action.Background" ExecuteTimeStandard="0.01s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="ch03Meds" RtsDataAbort="MissionPrimary_Done" RtsDataDecline="" RtsDataSuccess="MissionPrimary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="DelayRandomMissions" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="1m" OutputId="Status.RecentMission.Away" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AwayMission" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_AddAwayMission" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="MercyShot" ActionType="Action.Passive" ExecuteTimeStandard="30s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_MercyShot" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="WCScenes (init)" ActionType="Action.Passive" ExecuteTimeStandard="30s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_SetWCScenes" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, WaitForNoMission" ActionId="SpawnEnclaves" ActionType="Action.Passive" ExecuteTimeStandard="45m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="&lt;8" InputFlags="" InputId="Count.Enclaves" />
        </Inputs>
        <Outputs>
          <EventTrigger Event="faEvent.SpawnEnclave" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="CheckAchievements" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.CheckAchievements" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="ShowInfestations" ActionType="Action.Passive" ExecuteTimeStandard="12s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_ShowNearbyInfestations" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="MissionTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckMissionDone" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Mission" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Blackout.CheckMissionDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="ResetMissionTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.Player.Mission" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckMissionDone" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Blackout.CheckMissionDone" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="SceneTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckInSceneDone" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.InScene" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Blackout.CheckInSceneDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="ResetSceneTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckInSceneDone" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Blackout.CheckInSceneDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="UpdateBonuses" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.UpdateStaminaBonuses" />
          <EventTrigger Event="fsEvent.UpdateHealthBonuses" />
          <EventTrigger Event="fsEvent.UpdateOutpostRadius" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="FeedTheHungry" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.FeedTheHungry" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="UpdatePlayedToday" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.UpdatePlayedToday" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="CheckLimits" ActionType="Action.Passive" ExecuteTimeStandard="10s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.CheckLimits" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="SayGoodbyeBeforeLeaving" ActionType="Action.Passive" ExecuteTimeStandard="5s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Behavior.SayGoodbyeBeforeLeaving" FunctionTags="Npc" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Scene_ScenePlay Scene="chat_SayGoodbyeBeforeLeaving" SceneReason="Chatter" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="RecoverFromSick" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Mood.Sick_BlackFever, !Trait.Status.NewlySick, Trait.MoodType.Sick" FunctionTags="" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.RecoverFromSick" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="RecoverFromInjury" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Status.NewlyHurt, Trait.MoodType.Hurt" FunctionTags="" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.RecoverFromInjury" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="BroadcastSurvivors" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.BroadcastSurvivors" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AddRecoverMission" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="NoRecoverMission" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_AddRecoverMission" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRecoverMission" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckMissionCount Count="" EnclaveIndex="" Mission="Mission.Type.ComRecover" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings (init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.Buddy" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.StarterFemale" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_EvolveTraits ActorIndex="1" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
          <Actor_AddToFamily ActorIndex="1" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.RTS.NoBefriending" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.RTS.NoTradeMissions" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.RTS.NoEnclaveMissions" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.Radio_UnlockRunners" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.RTS.NoRunners" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.RTS.NoRadio" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.RTS.NoSupplyRuns" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.Radio_UnlockOutpost" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.ReachedRangerStation" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.ReadyForGunshots" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.HeardGunshots" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.MetStarterFemale" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.FirstBaseSlaughtered" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.CrossedTannerRiver" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryCH.ReachedChurch" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryCH.VetClinicSpotted" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryCH.TouredChurch" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Feral" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_HordeIntercepts" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="20" OutputDuration="" OutputId="Status.Enemy.ChallengeLevel" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="UnlockHicks (Brother done)" ActionType="Action.Passive" ExecuteTimeStandard="5m" OutputDelayTime="5m" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.StoryCH.MetJacob" Invert="" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryWI.UnlockArc" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="UnlockArmy (InGameTime)" ActionType="Action.Passive" ExecuteTimeStandard="1m" OutputDelayTime="20m" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryAR.UnlockArc" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="UnlockGrocery (InGameTime)" ActionType="Action.Passive" ExecuteTimeStandard="5m" OutputDelayTime="90m" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryGR.UnlockArc" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="UnlockPolice (InGameTime)" ActionType="Action.Passive" ExecuteTimeStandard="5m" OutputDelayTime="1h" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryPD.UnlockArc" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Subaction" ActionId="MakeSamPlayable (chMedsDone)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.ChurchSmartass" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.StoryCH.MedsAcquired" Invert="" />
        </Inputs>
        <Outputs>
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Behavior.NotPlayableYet" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="EdGotSicker (Time)" ActionType="Action.Passive" ExecuteTimeStandard="0" OutputDelayTime="1h" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryCH.EdGotSicker" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="LetEdDie (EdGotSicker)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="2h" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.SceneCH.EdGotSicker" Invert="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="NextDay" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.Player.Base" Invert="True" />
          <CheckBool InputFlags="" InputId="Game.StoryCH.GotDoc" Invert="True" />
          <CheckBool InputFlags="" InputId="Game.StoryWI.SiegeInProgress" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryCH.EdSuccumbed" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="KillEd (EdSuccumbed)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.Buddy" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.ChurchBully" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.OldDoctor" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.ChurchSmartass" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts>
          <Alt AltId="KillEd_Cancel (SiegeDoc)" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.StoryCH.EdSuccumbed" Invert="" />
        </Inputs>
        <Outputs>
          <Actor_InventoryWipe ActorIndex="0" />
          <Actor_Kill ActorIndex="0" Silent="" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="char_killed" IconId="76">
            <NameText Flags="" Notes="" Text="HOME: Ed Didn't Make It" />
            <TutorialText Flags="" Notes="" Text="Crises cannot be ignored." />
            <DescArgs>
              <EventDescArg Param="0" Type="PlayerName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="While I was away, Ed succumbed to his injuries. As promised, Alan immediately put a bullet in his brain, so there was no risk of him turning. - %1$s" />
                <SummaryText Flags="" Notes="" Text="He needed a doctor." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Wasn't treated in time." />
              </EventNpcEffect>
              <EventNpcEffect ActorIndex="1" Value="0">
                <DescriptionText Flags="" Notes="" Text="Did what was necessary." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryCH.EdsMaulingResolved" PauseWhenOffline="" />
          <Actor_GiveTrait ActorIndex="2" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Behavior.AlwaysAway" />
          <Actor_GiveTrait ActorIndex="1" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Immune.NonStoryContent" />
          <Actor_GiveTrait ActorIndex="3" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Immune.NonStoryContent" />
          <Actor_GiveTrait ActorIndex="3" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Behavior.NotPlayableYet" />
          <Enclave_MissionOpAbort EnclaveIndex="" Mission="ch03Meds" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="KillEd_Cancel (SiegeDoc)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.Buddy" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.ChurchBully" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.StoryCH.EdSuccumbed" Invert="" />
          <CheckBool InputFlags="" InputId="Game.StoryCH.GotDoc" Invert="" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.StoryCH.EdSuccumbed" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, WaitForNoMission" ActionId="ToSites (Pop)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="10" InputFlags="" InputId="Count.Population" />
          <CheckBool InputFlags="" InputId="Game.StoryAR.UnlockArc" Invert="" />
          <CheckBool InputFlags="" InputId="Game.StoryCH.MetJacob" Invert="" />
          <CheckBool InputFlags="" InputId="Game.StoryCH.MedsAcquired" Invert="" />
          <CheckBool InputFlags="" InputId="Game.StoryCH.EdsMaulingResolved" Invert="" />
          <CheckBool InputFlags="" InputId="Status.RecentMission.Any" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Sites" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, WaitForNoMission" ActionId="ToSites (InGameTime)" ActionType="Action.Passive" ExecuteTimeStandard="10m" OutputDelayTime="5h" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.StoryCH.MetJacob" Invert="" />
          <CheckBool InputFlags="" InputId="Game.StoryCH.MedsAcquired" Invert="" />
          <CheckBool InputFlags="" InputId="Game.StoryAR.MetArmy" Invert="" />
          <CheckBool InputFlags="" InputId="Status.RecentMission.Any" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
          <CheckBool InputFlags="" InputId="Game.StoryCH.EdsMaulingResolved" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Sites" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="Ch04Brother" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="15m" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="!Game.StoryCH.ch04Brother" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Story" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="ch04Brother" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="1" Flags="OnEnterBuilding, Repeats" Radius="40">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs>
                <CheckBool InputFlags="" InputId="Status.SceneCH.BlockLocScenes" Invert="True" />
                <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
              </Inputs>
              <Outputs>
                <Scene_ScenePlay Scene="chLocationEvents" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <Enclave ActorFlags="" ActorName="Enclave.Home" EnclaveStat="" HideWarnings="" Optional="" />
            <Building ActorFlags="AllowOwned, Closest" ActorName="" BuildingFlagsMask="" BuildingFlagsQuery="" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="0" SearchRangeMin="0.0" SiteTag="" />
          </Actors>
        </EnclaveLocationEvent>
        <EnclaveLocationEvent ActorIndex="0" Flags="" Radius="25">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <AvatarAsset>
                  <AvatarAsset Name="ZOMBIEMASK" Id="6" />
                </AvatarAsset>
                <Console_Command Command="LOG: ZOMBIEMASK avatar award" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_TannerLakeside" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="10.0" TagPointFlag="" TagPointType="" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="Sites">
      <OnNextDay>
        <Action ActionFlags="" ActionId="OfflineEvents" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Check InputAmount="10" InputFlags="" InputId="Status.DailySummary.TimePlayedToday" />
          </Inputs>
          <Outputs>
            <EventTrigger Event="fsEvent.Home_OfflineEvents" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="DailyResetIfPlayedYesterday" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts>
            <Alt AltId="IncrementDaysOffline" AltOdds="100.0" />
          </Alts>
          <Effects />
          <Inputs />
          <Outputs>
            <EventTrigger Event="fsEvent.Home_DailyReset" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="IncrementDaysOffline" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Check InputAmount="10" InputFlags="" InputId="!Status.DailySummary.TimePlayedToday" />
          </Inputs>
          <Outputs>
            <EventTrigger Event="fsEvent.Home_IncrementDaysOffline" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="UpdateAll" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
            <EventTrigger Event="fsEvent.UpdateReputation" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="" ActionId="DelayRandomMissions" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="1m" OutputId="Status.RecentMission.Away" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AwayMission" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_AddAwayMission" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="MercyShot" ActionType="Action.Passive" ExecuteTimeStandard="30s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_MercyShot" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="DelayPrimaryMission_Check" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="DelayPrimaryMission" AltOdds="0" />
        </Alts>
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="Alt" ActionId="DelayPrimaryMission" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="True" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="ch05Siblings" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Story" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.StoryOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="ch05Siblings" RtsDataAbort="MissionPrimary_Done" RtsDataDecline="MissionPrimary_Done" RtsDataSuccess="MissionPrimary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="ch05Sites" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysTrue" Invert="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="ch05Sites" RtsDataAbort="MissionSecondary_Done" RtsDataDecline="" RtsDataSuccess="MissionSecondary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToNextState" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionSecondary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionSecondary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="BlackFever" />
          <Console_Command Command="LOG: Home -- BlackFever" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="WCScenes (init)" ActionType="Action.Passive" ExecuteTimeStandard="30s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_SetWCScenes" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, WaitForNoMission" ActionId="SpawnEnclaves" ActionType="Action.Passive" ExecuteTimeStandard="45m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="&lt;8" InputFlags="" InputId="Count.Enclaves" />
        </Inputs>
        <Outputs>
          <EventTrigger Event="faEvent.SpawnEnclave" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="CheckAchievements" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.CheckAchievements" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="ShowInfestations" ActionType="Action.Passive" ExecuteTimeStandard="12s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_ShowNearbyInfestations" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="MissionTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckMissionDone" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Mission" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Blackout.CheckMissionDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="ResetMissionTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.Player.Mission" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckMissionDone" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Blackout.CheckMissionDone" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="SceneTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckInSceneDone" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.InScene" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Blackout.CheckInSceneDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="ResetSceneTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckInSceneDone" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Blackout.CheckInSceneDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="UpdateBonuses" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.UpdateStaminaBonuses" />
          <EventTrigger Event="fsEvent.UpdateHealthBonuses" />
          <EventTrigger Event="fsEvent.UpdateOutpostRadius" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="FeedTheHungry" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.FeedTheHungry" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="UpdatePlayedToday" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.UpdatePlayedToday" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="CheckLimits" ActionType="Action.Passive" ExecuteTimeStandard="10s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.CheckLimits" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="SayGoodbyeBeforeLeaving" ActionType="Action.Passive" ExecuteTimeStandard="5s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Behavior.SayGoodbyeBeforeLeaving" FunctionTags="Npc" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Scene_ScenePlay Scene="chat_SayGoodbyeBeforeLeaving" SceneReason="Chatter" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="RecoverFromSick" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Mood.Sick_BlackFever, !Trait.Status.NewlySick, Trait.MoodType.Sick" FunctionTags="" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.RecoverFromSick" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="RecoverFromInjury" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Status.NewlyHurt, Trait.MoodType.Hurt" FunctionTags="" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.RecoverFromInjury" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="BroadcastSurvivors" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.BroadcastSurvivors" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AddRecoverMission" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="NoRecoverMission" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_AddRecoverMission" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRecoverMission" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckMissionCount Count="" EnclaveIndex="" Mission="Mission.Type.ComRecover" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings (init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.ChurchSmartass" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.Buddy" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.StarterFemale" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.ChurchBully" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.RTS.NoRadio" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.RTS.NoBefriending" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.RTS.NoEnclaveMissions" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryAR.UnlockArc" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryGR.UnlockArc" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryWI.UnlockArc" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryPD.UnlockArc" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.ReachedRangerStation" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.ReadyForGunshots" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.HeardGunshots" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.MetStarterFemale" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.FirstBaseSlaughtered" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.CrossedTannerRiver" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryCH.ReachedChurch" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryCH.TouredChurch" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryCH.VetClinicSpotted" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryCH.MedsAcquired" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryCH.MetJacob" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_HordeIntercepts" PauseWhenOffline="" />
          <Console_Command Command="LOG: Unlocking Side Arcs as a Failsafe" />
          <Actor_GiveTrait ActorIndex="1" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="Trait.Mood.Scared_ShakenUp" />
          <Actor_AddToFamily ActorIndex="1" />
          <Actor_AddToFamily ActorIndex="2" />
          <Actor_EvolveTraits ActorIndex="0" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
          <Actor_EvolveTraits ActorIndex="1" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
          <Actor_EvolveTraits ActorIndex="2" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
          <Actor_EvolveTraits ActorIndex="3" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Feral" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Juggernaut" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="30" OutputDuration="" OutputId="Status.Enemy.ChallengeLevel" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="GuaranteeJacob (Missing)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.ChurchOutsider" FunctionTags="Missing" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_ReturnFromFlee ActorIndex="0" />
          <EventLog DisplayType="EventBanner" EventFlags="" Icon="House" IconId="10">
            <NameText Flags="" Notes="" Text="HOME: Ally Returned" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="CommandName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Jacob was MIA for a while, but he has returned. - %1$s" />
                <SummaryText Flags="" Notes="" Text="Jacob is back." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Back in business." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="GuaranteeJacob (Hurt)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Status.Injury, Trait.Story.ChurchOutsider" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="Trait.Mood.Neutral_Concerned" />
          <EventLog DisplayType="EventBanner" EventFlags="" Icon="House" IconId="10">
            <NameText Flags="" Notes="" Text="HOME: Recovery" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="CommandName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Jacob has healed up from his wounds. - %1$s" />
                <SummaryText Flags="" Notes="" Text="Jacob's doing much better." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Back in business." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="AddSwatZombie (init)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_SwatZombie" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToBlackFever (MovedHome)" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.Story.MovedHome" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="BlackFever" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToBlackFever (AltHomeRelocation)" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.SceneCH.HomeRelocationNote" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="BlackFever" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="UnlockAltHomeRelocation (JacobDied)" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="DoNothing (JacobStillAlive)" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.StoryCH.JacobDied" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryCH.JacobDied" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="DoNothing (JacobStillAlive)" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.ChurchOutsider" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="1" Flags="OnEnterBuilding, Repeats" Radius="40">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs>
                <CheckBool InputFlags="" InputId="Status.SceneCH.BlockLocScenes" Invert="True" />
                <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
              </Inputs>
              <Outputs>
                <Scene_ScenePlay Scene="chLocationEvents" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <Enclave ActorFlags="" ActorName="Enclave.Home" EnclaveStat="" HideWarnings="" Optional="" />
            <Building ActorFlags="AllowOwned, Closest" ActorName="" BuildingFlagsMask="" BuildingFlagsQuery="" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="0" SearchRangeMin="0.0" SiteTag="" />
          </Actors>
        </EnclaveLocationEvent>
        <EnclaveLocationEvent ActorIndex="0" Flags="" Radius="25">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <AvatarAsset>
                  <AvatarAsset Name="ZOMBIEMASK" Id="6" />
                </AvatarAsset>
                <Console_Command Command="LOG: ZOMBIEMASK avatar award" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_TannerLakeside" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="10.0" TagPointFlag="" TagPointType="" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="BlackFever">
      <OnNextDay>
        <Action ActionFlags="" ActionId="OfflineEvents" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Check InputAmount="10" InputFlags="" InputId="Status.DailySummary.TimePlayedToday" />
          </Inputs>
          <Outputs>
            <EventTrigger Event="fsEvent.Home_OfflineEvents" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="DailyResetIfPlayedYesterday" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts>
            <Alt AltId="IncrementDaysOffline" AltOdds="100.0" />
          </Alts>
          <Effects />
          <Inputs />
          <Outputs>
            <EventTrigger Event="fsEvent.Home_DailyReset" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="IncrementDaysOffline" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Check InputAmount="10" InputFlags="" InputId="!Status.DailySummary.TimePlayedToday" />
          </Inputs>
          <Outputs>
            <EventTrigger Event="fsEvent.Home_IncrementDaysOffline" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="UpdateAll" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
            <EventTrigger Event="fsEvent.UpdateReputation" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="DelayRandomMissions" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="1m" OutputId="Status.RecentMission.Away" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AwayMission" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_AddAwayMission" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="MercyShot" ActionType="Action.Passive" ExecuteTimeStandard="30s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_MercyShot" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="WCScenes (init)" ActionType="Action.Passive" ExecuteTimeStandard="30s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_SetWCScenes" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="CheckAchievements" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.CheckAchievements" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="ShowInfestations" ActionType="Action.Passive" ExecuteTimeStandard="12s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_ShowNearbyInfestations" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="MissionTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckMissionDone" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Mission" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Blackout.CheckMissionDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="ResetMissionTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.Player.Mission" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckMissionDone" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Blackout.CheckMissionDone" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="SceneTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckInSceneDone" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.InScene" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Blackout.CheckInSceneDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="ResetSceneTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckInSceneDone" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Blackout.CheckInSceneDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, WaitForNoMission" ActionId="SpawnEnclaves" ActionType="Action.Passive" ExecuteTimeStandard="45m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="&lt;8" InputFlags="" InputId="Count.Enclaves" />
        </Inputs>
        <Outputs>
          <EventTrigger Event="faEvent.SpawnEnclave" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="UpdateBonuses" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.UpdateStaminaBonuses" />
          <EventTrigger Event="fsEvent.UpdateHealthBonuses" />
          <EventTrigger Event="fsEvent.UpdateOutpostRadius" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="FeedTheHungry" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.FeedTheHungry" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="UpdatePlayedToday" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.UpdatePlayedToday" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="CheckLimits" ActionType="Action.Passive" ExecuteTimeStandard="10s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.CheckLimits" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="SayGoodbyeBeforeLeaving" ActionType="Action.Passive" ExecuteTimeStandard="5s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Behavior.SayGoodbyeBeforeLeaving" FunctionTags="Npc" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Scene_ScenePlay Scene="chat_SayGoodbyeBeforeLeaving" SceneReason="Chatter" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="RecoverFromSick" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Mood.Sick_BlackFever, !Trait.Status.NewlySick, Trait.MoodType.Sick" FunctionTags="" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.RecoverFromSick" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="RecoverFromInjury" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Status.NewlyHurt, Trait.MoodType.Hurt" FunctionTags="" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.RecoverFromInjury" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="BroadcastSurvivors" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.BroadcastSurvivors" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AddRecoverMission" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="NoRecoverMission" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_AddRecoverMission" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRecoverMission" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckMissionCount Count="" EnclaveIndex="" Mission="Mission.Type.ComRecover" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings (init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.Buddy" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.ChurchOutsider" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.StarterFemale" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.Story.BlackFever" PauseWhenOffline="" />
          <Console_Command Command="LOG: BlackFever Scenes Unlocked." />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryAR.UnlockArc" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryGR.UnlockArc" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryGR.UnlockArc" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.ReachedRangerStation" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.ReadyForGunshots" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.HeardGunshots" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.MetStarterFemale" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.FirstBaseSlaughtered" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.CrossedTannerRiver" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryCH.ReachedChurch" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryCH.TouredChurch" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryCH.VetClinicSpotted" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryCH.MedsAcquired" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryCH.MetJacob" PauseWhenOffline="" />
          <Console_Command Command="LOG: Unlocking Side Arcs as a Failsafe" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.RTS.NoEnclaveMissions" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.Radio_UnlockRunners" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.RTS.NoSupplyRuns" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.RTS.NoRunners" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.Radio_UnlockOutpost" />
          <EventTrigger Event="fsEvent.Note_HomeRelocation" />
          <EventTrigger Event="fsEvent.Radio_UnlockEnergy_Pastor" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Meta.CannotDie" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="Trait.Mood.Scared_ShakenUp" />
          <Actor_EvolveTraits ActorIndex="0" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
          <Actor_EvolveTraits ActorIndex="1" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
          <Actor_EvolveTraits ActorIndex="2" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
          <Actor_AddToFamily ActorIndex="0" />
          <Actor_AddToFamily ActorIndex="2" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_HordeIntercepts" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_SwatZombie" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Feral" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Bloater" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Juggernaut" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="40" OutputDuration="" OutputId="Status.Enemy.ChallengeLevel" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="PastorIsSick_TriggerNote" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="5h" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryCH.PastorIsSick_TriggerNote" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, WaitForNoMission" ActionId="ToPastor (ScenesDone)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.SceneCH.NeighborsWithBlackFever" Invert="" />
          <CheckBool InputFlags="" InputId="Status.SceneCH.AlanAsksAboutPastor" Invert="" />
          <CheckBool InputFlags="" InputId="Status.RecentMission.Any" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Pastor" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="WCScenes" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_WCSceneAdd EnclaveIndex="" Scene="eventRecent_StatusInjury" />
          <Enclave_WCSceneAdd EnclaveIndex="" Scene="eventRecent_StatusSick" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats, WaitForNoMission" ActionId="UnlockAltPastorDeath (AlanDied)" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="DoNothing (AlanStillAlive)" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.StoryCH.AlanDied" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryCH.AlanDied" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt, Hidden" ActionId="DoNothing (AlanStillAlive)" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.ChurchBully" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.StoryCH.AlanDied" Invert="True" />
        </Inputs>
        <Outputs />
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="1" Flags="OnEnterBuilding, Repeats" Radius="40">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs>
                <CheckBool InputFlags="" InputId="Status.SceneCH.BlockLocScenes" Invert="True" />
                <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
              </Inputs>
              <Outputs>
                <Scene_ScenePlay Scene="chLocationEvents" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <Enclave ActorFlags="" ActorName="Enclave.Home" EnclaveStat="" HideWarnings="" Optional="" />
            <Building ActorFlags="AllowOwned, Closest" ActorName="" BuildingFlagsMask="" BuildingFlagsQuery="" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="0" SearchRangeMin="0.0" SiteTag="" />
          </Actors>
        </EnclaveLocationEvent>
        <EnclaveLocationEvent ActorIndex="0" Flags="" Radius="25">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <AvatarAsset>
                  <AvatarAsset Name="ZOMBIEMASK" Id="6" />
                </AvatarAsset>
                <Console_Command Command="LOG: ZOMBIEMASK avatar award" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_TannerLakeside" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="10.0" TagPointFlag="" TagPointType="" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="Pastor">
      <OnNextDay>
        <Action ActionFlags="" ActionId="OfflineEvents" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Check InputAmount="10" InputFlags="" InputId="Status.DailySummary.TimePlayedToday" />
          </Inputs>
          <Outputs>
            <EventTrigger Event="fsEvent.Home_OfflineEvents" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="DailyResetIfPlayedYesterday" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts>
            <Alt AltId="IncrementDaysOffline" AltOdds="100.0" />
          </Alts>
          <Effects />
          <Inputs />
          <Outputs>
            <EventTrigger Event="fsEvent.Home_DailyReset" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="IncrementDaysOffline" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Check InputAmount="10" InputFlags="" InputId="!Status.DailySummary.TimePlayedToday" />
          </Inputs>
          <Outputs>
            <EventTrigger Event="fsEvent.Home_IncrementDaysOffline" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="UpdateAll" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
            <EventTrigger Event="fsEvent.UpdateReputation" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="DelayPrimaryMission_Check" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="DelayPrimaryMission" AltOdds="0" />
        </Alts>
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="Alt" ActionId="DelayPrimaryMission" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="True" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="ch06Pastor" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Story" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.StoryOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="ch06Pastor" RtsDataAbort="" RtsDataDecline="MissionPrimary_Done" RtsDataSuccess="MissionPrimary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="chX1Suicide" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="5m" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Status.SceneCH.AlanIsSick1" Invert="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="chX1Suicide" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="MissionSecondary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="DelayRandomMissions" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="1m" OutputId="Status.RecentMission.Away" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AwayMission" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_AddAwayMission" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="MercyShot" ActionType="Action.Passive" ExecuteTimeStandard="30s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_MercyShot" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="WCScenes (init)" ActionType="Action.Passive" ExecuteTimeStandard="30s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_SetWCScenes" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="CheckAchievements" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.CheckAchievements" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="ShowInfestations" ActionType="Action.Passive" ExecuteTimeStandard="12s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_ShowNearbyInfestations" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="MissionTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckMissionDone" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Mission" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Blackout.CheckMissionDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="ResetMissionTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.Player.Mission" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckMissionDone" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Blackout.CheckMissionDone" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="SceneTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckInSceneDone" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.InScene" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Blackout.CheckInSceneDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="ResetSceneTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckInSceneDone" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Blackout.CheckInSceneDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, WaitForNoMission" ActionId="SpawnEnclaves" ActionType="Action.Passive" ExecuteTimeStandard="45m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="&lt;8" InputFlags="" InputId="Count.Enclaves" />
        </Inputs>
        <Outputs>
          <EventTrigger Event="faEvent.SpawnEnclave" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="UpdateBonuses" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.UpdateStaminaBonuses" />
          <EventTrigger Event="fsEvent.UpdateHealthBonuses" />
          <EventTrigger Event="fsEvent.UpdateOutpostRadius" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="FeedTheHungry" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.FeedTheHungry" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="UpdatePlayedToday" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.UpdatePlayedToday" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="CheckLimits" ActionType="Action.Passive" ExecuteTimeStandard="10s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.CheckLimits" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="SayGoodbyeBeforeLeaving" ActionType="Action.Passive" ExecuteTimeStandard="5s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Behavior.SayGoodbyeBeforeLeaving" FunctionTags="Npc" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Scene_ScenePlay Scene="chat_SayGoodbyeBeforeLeaving" SceneReason="Chatter" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="RecoverFromSick" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Mood.Sick_BlackFever, !Trait.Status.NewlySick, Trait.MoodType.Sick" FunctionTags="" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.RecoverFromSick" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="RecoverFromInjury" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Status.NewlyHurt, Trait.MoodType.Hurt" FunctionTags="" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.RecoverFromInjury" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="BroadcastSurvivors" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.BroadcastSurvivors" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AddRecoverMission" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="NoRecoverMission" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_AddRecoverMission" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRecoverMission" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckMissionCount Count="" EnclaveIndex="" Mission="Mission.Type.ComRecover" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings (init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.Buddy" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.StarterFemale" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryAR.UnlockArc" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryGR.UnlockArc" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryGR.UnlockArc" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.ReachedRangerStation" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.ReadyForGunshots" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.HeardGunshots" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.MetStarterFemale" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.FirstBaseSlaughtered" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.CrossedTannerRiver" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryCH.ReachedChurch" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryCH.TouredChurch" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryCH.VetClinicSpotted" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryCH.MedsAcquired" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryCH.MetJacob" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.Story.BlackFever" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.SceneCH.NeighborsWithBlackFever" PauseWhenOffline="" />
          <Console_Command Command="LOG: Unlocking Side Arcs as a Failsafe" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.RTS.NoSupplyRuns" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.RTS.NoRunners" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.RTS.NoEnclaveMissions" PauseWhenOffline="" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="Trait.Mood.Scared_ShakenUp" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Meta.CannotDie" />
          <Actor_EvolveTraits ActorIndex="0" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
          <Actor_AddToFamily ActorIndex="0" />
          <Actor_EvolveTraits ActorIndex="1" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
          <Actor_AddToFamily ActorIndex="1" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_HordeIntercepts" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_SwatZombie" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Feral" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="40" OutputDuration="" OutputId="Status.Enemy.ChallengeLevel" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="GuaranteeAlan (Missing)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.ChurchBully" FunctionTags="Missing" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_ReturnFromFlee ActorIndex="0" />
          <EventLog DisplayType="EventBanner" EventFlags="" Icon="House" IconId="10">
            <NameText Flags="" Notes="" Text="HOME: Ally Returned" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="CommandName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Alan was MIA for a while, but he has returned. - %1$s" />
                <SummaryText Flags="" Notes="" Text="Alan is back." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Back in business." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="GuaranteeAlan (Hurt)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Status.Injury, Trait.Story.ChurchBully" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="Trait.Mood.Proud_Overbearing" />
          <EventLog DisplayType="EventBanner" EventFlags="" Icon="House" IconId="10">
            <NameText Flags="" Notes="" Text="HOME: Recovery" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="CommandName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Alan has healed up from his wounds. - %1$s" />
                <SummaryText Flags="" Notes="" Text="Alan's doing much better." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Back in business." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="UnlockAll (LategameCheat)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.chBlackFever" Invert="" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryWI.UnlockArc" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryAR.UnlockArc" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryGR.UnlockArc" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryPD.UnlockArc" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSWAT" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSniper_HicksHothead" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoAirstrike_ArmyArtillery" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoVehicle_PoliceSlick" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoBuildHelp_GroceryIdealist" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoHealHelp_OldDoctor" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoEnergyHelp_ChurchPastor" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoEnergyHelp_ChurchCommand" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoMoveHome" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoOutposts" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="WCScenes" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_WCSceneAdd EnclaveIndex="" Scene="eventRecent_StatusInjury" />
          <Enclave_WCSceneAdd EnclaveIndex="" Scene="eventRecent_StatusSick" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats, WaitForNoMission" ActionId="UnlockAltPastorDeath (AlanDied)" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="DoNothing (AlanStillAlive)" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.StoryCH.AlanDied" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryCH.AlanDied" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt, Hidden" ActionId="DoNothing (AlanStillAlive)" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.ChurchBully" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.StoryCH.AlanDied" Invert="True" />
        </Inputs>
        <Outputs />
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="1" Flags="OnEnterBuilding, Repeats" Radius="40">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs>
                <CheckBool InputFlags="" InputId="Status.SceneCH.BlockLocScenes" Invert="True" />
                <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
              </Inputs>
              <Outputs>
                <Scene_ScenePlay Scene="chLocationEvents" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <Enclave ActorFlags="" ActorName="Enclave.Home" EnclaveStat="" HideWarnings="" Optional="" />
            <Building ActorFlags="AllowOwned, Closest" ActorName="" BuildingFlagsMask="" BuildingFlagsQuery="" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="0" SearchRangeMin="0.0" SiteTag="" />
          </Actors>
        </EnclaveLocationEvent>
        <EnclaveLocationEvent ActorIndex="0" Flags="" Radius="25">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <AvatarAsset>
                  <AvatarAsset Name="ZOMBIEMASK" Id="6" />
                </AvatarAsset>
                <Console_Command Command="LOG: ZOMBIEMASK avatar award" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_TannerLakeside" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="10.0" TagPointFlag="" TagPointType="" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="ChurchSandbox">
      <OnNextDay>
        <Action ActionFlags="" ActionId="OfflineEvents" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Check InputAmount="10" InputFlags="" InputId="Status.DailySummary.TimePlayedToday" />
          </Inputs>
          <Outputs>
            <EventTrigger Event="fsEvent.Home_OfflineEvents" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="DailyResetIfPlayedYesterday" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts>
            <Alt AltId="IncrementDaysOffline" AltOdds="100.0" />
          </Alts>
          <Effects />
          <Inputs />
          <Outputs>
            <EventTrigger Event="fsEvent.Home_DailyReset" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="IncrementDaysOffline" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Check InputAmount="10" InputFlags="" InputId="!Status.DailySummary.TimePlayedToday" />
          </Inputs>
          <Outputs>
            <EventTrigger Event="fsEvent.Home_IncrementDaysOffline" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="UpdateAll" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
            <EventTrigger Event="fsEvent.UpdateReputation" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="" ActionId="SetupChurch (Init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.Command" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.ChurchPastor" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.ChurchBully" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.StarterFemale" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.Buddy" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.ChurchSmartass" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.ChurchOutsider" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.StarterMale" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="!Trait.Immune.NonStoryContent" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="!Trait.Immune.NonStoryContent" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Player HideWarnings="" Optional="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="1" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="2" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="3" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="4" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="5" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="6" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="7" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="8" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="9" EnclaveIndex="" />
          <Actor_AddToFamily ActorIndex="3" />
          <Actor_AddToFamily ActorIndex="4" />
          <Actor_AddToFamily ActorIndex="5" />
          <Actor_AddTrust ActorIndex="6" DisableBonus="false" Trust="15" />
          <Actor_AddToFamily ActorIndex="7" />
          <Actor_AddToFamily ActorIndex="8" />
          <RTSStat_Set DurationCancellable="" OutputAmount="40" OutputDuration="" OutputId="Stat.Morale" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="100" OutputDuration="" OutputId="Max.Morale" PauseWhenOffline="" />
          <Enclave_AddTrust DisableBonus="false" EnclaveIndex="" Trust="40" />
          <Actor_GiveTrait ActorIndex="6" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="Trait.Behavior.AlwaysAway" />
          <Actor_GiveTrait ActorIndex="6" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="Trait.Immune.NonStoryContent" />
          <Actor_AddTrust ActorIndex="2" DisableBonus="false" Trust="-30" />
          <EventLog DisplayType="None" EventFlags="None" Icon="House" IconId="10">
            <NameText Flags="" Notes="" Text="Spencer's Mill" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="10" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="The town of Spencer's Mill is almost completely overrun with the walking dead. Pastor Will has welcomed a group of survivors into the church, where they are doing what they can to survive. - %1$s" />
                <SummaryText Flags="" Notes="" Text="Survivors at the Church" />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="-1">
                <DescriptionText Flags="" Notes="" Text="The voice on the radio." />
              </EventNpcEffect>
              <EventNpcEffect ActorIndex="1" Value="-1">
                <DescriptionText Flags="" Notes="" Text="This is his church." />
              </EventNpcEffect>
              <EventNpcEffect ActorIndex="2" Value="-1">
                <DescriptionText Flags="" Notes="" Text="Seems like an asshole." />
              </EventNpcEffect>
              <EventNpcEffect ActorIndex="5" Value="-1">
                <DescriptionText Flags="" Notes="" Text="Haven't seen much of her yet." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="50" OutputDuration="" OutputStat="Determination" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="50" OutputDuration="" OutputStat="Skill" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="50" OutputDuration="" OutputStat="Survival" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="20" OutputDuration="" OutputStat="Wealth" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="OfflineEvents" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="10" InputFlags="" InputId="Status.DailySummary.TimePlayedToday" />
        </Inputs>
        <Outputs>
          <EventTrigger Event="fsEvent.Home_OfflineEvents" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="DailyResetIfPlayedYesterday" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="IncrementDaysOffline" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_DailyReset" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="IncrementDaysOffline" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="10" InputFlags="" InputId="!Status.DailySummary.TimePlayedToday" />
        </Inputs>
        <Outputs>
          <EventTrigger Event="fsEvent.Home_IncrementDaysOffline" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="UpdateAll" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
          <EventTrigger Event="fsEvent.UpdateReputation" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="SetStockpiles" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_Set DurationCancellable="" OutputAmount="4" OutputDuration="" OutputId="Stockpile.Medicine" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="15" OutputDuration="" OutputId="Stockpile.Food" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="10" OutputDuration="" OutputId="Stockpile.Ammo" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="22" OutputDuration="" OutputId="Stockpile.Materials" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="12" OutputDuration="" OutputId="Stockpile.Fuel" PauseWhenOffline="" />
          <Com_Give ActorIndex="" AmmoPercentage="100" Count="1" GiveFlags="" Name="BackpackSmall_v01" />
          <RTSStat_Set DurationCancellable="" OutputAmount="40" OutputDuration="" OutputId="Stat.Morale" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="100" OutputDuration="" OutputId="Max.Morale" PauseWhenOffline="" />
          <Console_Command Command="LOG: Initializing Stockpiles for Spencer's Mill community." />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="ToExploration (Cheat)" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.chExploration" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Exploration" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Library" PauseWhenOffline="" />
          <EventLog DisplayType="None" EventFlags="None" Icon="Build" IconId="29">
            <NameText Flags="" Notes="" Text="FACILITY UNLOCKED" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs />
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Because the MidgameCheat flag is set, the library has been unlocked." />
                <SummaryText Flags="" Notes="" Text="Library" />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSniper_HicksHothead" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSWAT" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoVehicle_PoliceSlick" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoBuildHelp_GroceryIdealist" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoHealHelp_OldDoctor" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoEnergyHelp_ChurchCommand" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="ToSites (cheat)" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.chSites" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Sites" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Library" PauseWhenOffline="" />
          <EventLog DisplayType="None" EventFlags="None" Icon="Build" IconId="29">
            <NameText Flags="" Notes="" Text="FACILITY UNLOCKED" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs />
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Because the MidgameCheat flag is set, the library has been unlocked." />
                <SummaryText Flags="" Notes="" Text="Library" />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSniper_HicksHothead" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSWAT" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoVehicle_PoliceSlick" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoBuildHelp_GroceryIdealist" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoHealHelp_OldDoctor" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoEnergyHelp_ChurchCommand" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="ToBlackFever (cheat)" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.chBlackFever" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="BlackFever" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Library" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Generator" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Storage" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_DiningArea" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Gardening" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Kitchen" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Grenade" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Landmine" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Incendiary" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Suppressor" PauseWhenOffline="" />
          <EventLog DisplayType="None" EventFlags="None" Icon="Build" IconId="29">
            <NameText Flags="" Notes="" Text="FACILITIES UNLOCKED" />
            <TutorialText Flags="" Notes="" Text="Many of these still require a WORKSHOP to build." />
            <DescArgs />
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Because the LategameCheat flag is set, all of these have been unlocked: Library, Generator, Storage, Dining Area, Garden, and Kitchen" />
                <SummaryText Flags="" Notes="" Text="Library, Generator, Storage, Dining Area, Garden, Kitchen" />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <EventLog DisplayType="None" EventFlags="None" Icon="Grenade" IconId="41">
            <NameText Flags="" Notes="" Text="ITEMS UNLOCKED" />
            <TutorialText Flags="" Notes="" Text="I'll still need a WORKSHOP to actually make them." />
            <DescArgs />
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Because the LategameCheat flag is set, all of these have been unlocked: Grenade, Landmine, Firebomb, Suppressor." />
                <SummaryText Flags="" Notes="" Text="Grenade, Landmine, Firebomb, Suppressor" />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSniper_HicksHothead" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSWAT" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoVehicle_PoliceSlick" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoBuildHelp_GroceryIdealist" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoHealHelp_OldDoctor" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoEnergyHelp_ChurchCommand" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="ToPastor (cheat)" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.chPastor" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Pastor" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Library" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Generator" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Storage" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_DiningArea" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Gardening" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Kitchen" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Grenade" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Landmine" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Incendiary" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Suppressor" PauseWhenOffline="" />
          <EventLog DisplayType="None" EventFlags="None" Icon="Build" IconId="29">
            <NameText Flags="" Notes="" Text="FACILITIES UNLOCKED" />
            <TutorialText Flags="" Notes="" Text="Many of these still require a WORKSHOP to build." />
            <DescArgs />
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Because the LategameCheat flag is set, all of these have been unlocked: Library, Generator, Storage, Dining Area, Garden, and Kitchen" />
                <SummaryText Flags="" Notes="" Text="Library, Generator, Storage, Dining Area, Garden, Kitchen" />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <EventLog DisplayType="None" EventFlags="None" Icon="Grenade" IconId="41">
            <NameText Flags="" Notes="" Text="ITEMS UNLOCKED" />
            <TutorialText Flags="" Notes="" Text="I'll still need a WORKSHOP to actually make them." />
            <DescArgs />
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Because the LategameCheat flag is set, all of these have been unlocked: Grenade, Landmine, Firebomb, Suppressor." />
                <SummaryText Flags="" Notes="" Text="Grenade, Landmine, Firebomb, Suppressor" />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSniper_HicksHothead" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSWAT" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoVehicle_PoliceSlick" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoBuildHelp_GroceryIdealist" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoHealHelp_OldDoctor" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoEnergyHelp_ChurchCommand" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="ToSpencersState (cheat)" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.chSpencers_Save" Invert="" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Demo" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="ToExplorationState (Cheat)" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.chExploration_Save" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Exploration" />
          <EventTrigger Event="faEvent.SpawnEnclave" />
          <EventTrigger Event="faEvent.SpawnEnclave" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Library" PauseWhenOffline="" />
          <EventLog DisplayType="None" EventFlags="None" Icon="Build" IconId="29">
            <NameText Flags="" Notes="" Text="FACILITY UNLOCKED" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs />
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Because the MidgameCheat flag is set, the library has been unlocked." />
                <SummaryText Flags="" Notes="" Text="Library" />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSniper_HicksHothead" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSWAT" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoVehicle_PoliceSlick" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoBuildHelp_GroceryIdealist" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoHealHelp_OldDoctor" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoEnergyHelp_ChurchCommand" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Demo" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Cheat.grRescue" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Cheat.pdCurfew" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="ToSitesState (cheat)" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.chSites_Save" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Sites" />
          <EventTrigger Event="faEvent.SpawnEnclave" />
          <EventTrigger Event="faEvent.SpawnEnclave" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Library" PauseWhenOffline="" />
          <EventLog DisplayType="None" EventFlags="None" Icon="Build" IconId="29">
            <NameText Flags="" Notes="" Text="FACILITY UNLOCKED" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs />
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Because the MidgameCheat flag is set, the library has been unlocked." />
                <SummaryText Flags="" Notes="" Text="Library" />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSniper_HicksHothead" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSWAT" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoVehicle_PoliceSlick" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoBuildHelp_GroceryIdealist" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoHealHelp_OldDoctor" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoEnergyHelp_ChurchCommand" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Demo" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Cheat.arMayday" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Cheat.wiCargo" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Cheat.grFortifications" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Cheat.pdVision" PauseWhenOffline="" />
          <ExecuteAction ActionId="AddTwoFamilyMembers" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="ToBlackFeverState (cheat)" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.chBlackFever_Save" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="BlackFever" />
          <EventTrigger Event="faEvent.SpawnEnclave" />
          <EventTrigger Event="faEvent.SpawnEnclave" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Library" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Generator" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Storage" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_DiningArea" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Gardening" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Kitchen" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Grenade" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Landmine" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Incendiary" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Tech.Unlock_Suppressor" PauseWhenOffline="" />
          <EventLog DisplayType="None" EventFlags="None" Icon="Build" IconId="29">
            <NameText Flags="" Notes="" Text="FACILITIES UNLOCKED" />
            <TutorialText Flags="" Notes="" Text="Many of these still require a WORKSHOP to build." />
            <DescArgs />
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Because the LategameCheat flag is set, all of these have been unlocked: Library, Generator, Storage, Dining Area, Garden, and Kitchen" />
                <SummaryText Flags="" Notes="" Text="Library, Generator, Storage, Dining Area, Garden, Kitchen" />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <EventLog DisplayType="None" EventFlags="None" Icon="Grenade" IconId="41">
            <NameText Flags="" Notes="" Text="ITEMS UNLOCKED" />
            <TutorialText Flags="" Notes="" Text="I'll still need a WORKSHOP to actually make them." />
            <DescArgs />
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Because the LategameCheat flag is set, all of these have been unlocked: Grenade, Landmine, Firebomb, Suppressor." />
                <SummaryText Flags="" Notes="" Text="Grenade, Landmine, Firebomb, Suppressor" />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSniper_HicksHothead" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoSWAT" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoVehicle_PoliceSlick" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoBuildHelp_GroceryIdealist" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoHealHelp_OldDoctor" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoEnergyHelp_ChurchCommand" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Demo" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Cheat.arWater" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Cheat.wiExchange" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Cheat.grFury" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Cheat.pdDestruction" PauseWhenOffline="" />
          <ExecuteAction ActionId="AddTwoFamilyMembers" />
        </Outputs>
      </Action>
      <Action ActionFlags="Subaction" ActionId="AddTwoFamilyMembers" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="!Trait.Immune.NonStoryContent" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="!Trait.Immune.NonStoryContent" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_AddToFamily ActorIndex="0" />
          <Actor_JoinEnclave ActorIndex="1" EnclaveIndex="" />
          <Actor_AddToFamily ActorIndex="1" />
          <Console_Command Command="LOG: AddTwoFamilyMembers" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="DelayRandomMissions" ActionType="Action.Background" ExecuteTimeStandard="0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="1m" OutputId="Status.RecentMission.Away" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AwayMission" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_AddAwayMission" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="MercyShot" ActionType="Action.Passive" ExecuteTimeStandard="30s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_MercyShot" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="WCScenes (init)" ActionType="Action.Passive" ExecuteTimeStandard="30s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_SetWCScenes" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="CheckAchievements" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.CheckAchievements" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="ShowInfestations" ActionType="Action.Passive" ExecuteTimeStandard="12s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_ShowNearbyInfestations" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="MissionTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckMissionDone" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Mission" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Blackout.CheckMissionDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="ResetMissionTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.Player.Mission" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckMissionDone" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Blackout.CheckMissionDone" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="SceneTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckInSceneDone" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.InScene" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Blackout.CheckInSceneDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="ResetSceneTrailer" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.CheckInSceneDone" Invert="True" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Blackout.CheckInSceneDone" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.BlackoutContent" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, WaitForNoMission" ActionId="SpawnEnclaves" ActionType="Action.Passive" ExecuteTimeStandard="45m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="&lt;8" InputFlags="" InputId="Count.Enclaves" />
        </Inputs>
        <Outputs>
          <EventTrigger Event="faEvent.SpawnEnclave" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="UpdateBonuses" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.UpdateStaminaBonuses" />
          <EventTrigger Event="fsEvent.UpdateHealthBonuses" />
          <EventTrigger Event="fsEvent.UpdateOutpostRadius" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="FeedTheHungry" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.FeedTheHungry" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="UpdatePlayedToday" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.UpdatePlayedToday" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="CheckLimits" ActionType="Action.Passive" ExecuteTimeStandard="10s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.CheckLimits" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="SayGoodbyeBeforeLeaving" ActionType="Action.Passive" ExecuteTimeStandard="5s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Behavior.SayGoodbyeBeforeLeaving" FunctionTags="Npc" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Scene_ScenePlay Scene="chat_SayGoodbyeBeforeLeaving" SceneReason="Chatter" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="RecoverFromSick" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Mood.Sick_BlackFever, !Trait.Status.NewlySick, Trait.MoodType.Sick" FunctionTags="" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.RecoverFromSick" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="RecoverFromInjury" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Status.NewlyHurt, Trait.MoodType.Hurt" FunctionTags="" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.RecoverFromInjury" />
        </Outputs>
      </Action>
      <Action ActionFlags="Hidden, Repeats" ActionId="BroadcastSurvivors" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.BroadcastSurvivors" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AddRecoverMission" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="NoRecoverMission" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.Home_AddRecoverMission" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRecoverMission" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckMissionCount Count="" EnclaveIndex="" Mission="Mission.Type.ComRecover" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.ChurchSmartass" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.ChurchOutsider" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.Buddy" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="!Trait.Immune.NonStoryContent" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="!Trait.Immune.NonStoryContent" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.Sandbox" Invert="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="com_addAllItems" />
          <Actor_EvolveTraits ActorIndex="0" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
          <Actor_EvolveTraits ActorIndex="1" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
          <Actor_EvolveTraits ActorIndex="2" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
          <Actor_JoinEnclave ActorIndex="3" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="4" EnclaveIndex="" />
          <Actor_AddToFamily ActorIndex="3" />
          <Actor_AddToFamily ActorIndex="4" />
          <Console_Command Command="LOG: Game.Sandbox; Adjust characters." />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="SetComInventory (Init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          <Com_Give ActorIndex="" AmmoPercentage="100" Count="2" GiveFlags="" Name="Molotov_Alcohol" />
          <Com_Give ActorIndex="" AmmoPercentage="100" Count="1" GiveFlags="" Name="Suppressor_Homemade_Durable" />
          <RTSStat_Set DurationCancellable="" OutputAmount="23" OutputDuration="" OutputId="Stockpile.Food" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="FreeRoamCheats" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Player HideWarnings="" Optional="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_Set DurationCancellable="" OutputAmount="999" OutputDuration="" OutputId="Family.Influence" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="999" OutputDuration="" OutputId="Family.Renown" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="999" OutputDuration="" OutputId="Stockpile.Food" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="999" OutputDuration="" OutputId="Stockpile.Medicine" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="999" OutputDuration="" OutputId="Stockpile.Ammo" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="999" OutputDuration="" OutputId="Stockpile.Materials" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="999" OutputDuration="" OutputId="Stockpile.Fuel" PauseWhenOffline="" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="Trait.Expert.Everything" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="GuaranteeWorldState" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.StarterFemale" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_EvolveTraits ActorIndex="0" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.ReachedRangerStation" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.ReadyForGunshots" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.HeardGunshots" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.MetStarterFemale" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.FirstBaseSlaughtered" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryTA.CrossedTannerRiver" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.RTS.NoEnclaveMissions" PauseWhenOffline="" />
          <RTSStat_Set DurationCancellable="" OutputAmount="30" OutputDuration="" OutputId="Status.Enemy.ChallengeLevel" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="SetRadioOptions" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoMoveHome" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.Radio.NoOutposts" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="Add One Enclave" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="faEvent.SpawnEnclave" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="Add A Second Enclave" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="faEvent.SpawnEnclave" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="UnlockAllZombies (init)" ActionType="Action.Passive" ExecuteTimeStandard="2s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.Buddy" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_SwatZombie" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Feral" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Juggernaut" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_ArmyZombie" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Screamer" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Bloater" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="" Radius="25">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <AvatarAsset>
                  <AvatarAsset Name="ZOMBIEMASK" Id="6" />
                </AvatarAsset>
                <Console_Command Command="LOG: ZOMBIEMASK avatar award" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_TannerLakeside" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="10.0" TagPointFlag="" TagPointType="" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
  </Enclave>
  <Enclave EnclaveId="Generic" Flags="">
    <OnNextDay />
    <Names>
      <NameText Flags="" Notes="" Text="Strangers" />
      <NameText Flags="" Notes="" Text="Survivors" />
      <NameText Flags="" Notes="" Text="Neighbors" />
    </Names>
    <State Alertness="Relax" Id="Arrive">
      <OnNextDay />
      <Action ActionFlags="" ActionId="Establish" ActionType="Action.Establish" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Enclave ActorFlags="" ActorName="Enclave.Home" EnclaveStat="" HideWarnings="" Optional="" />
          <Building ActorFlags="" ActorName="" BuildingFlagsMask="Outpost, Enclave, Outdoor, Tiny, MissionOp, Entered, SearchActivity, HasBarricades" BuildingFlagsQuery="HasBarricades" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="500.0" SearchRangeMin="0.0" SiteTag="">
            <Building ActorFlags="" ActorName="" BuildingFlagsMask="Outpost, Enclave, Outdoor, Tiny, MissionOp, Entered, SearchActivity, HasBarricades" BuildingFlagsQuery="HasBarricades" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="1000.0" SearchRangeMin="0.0" SiteTag="" />
          </Building>
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="!Trait.Immune.NonStoryContent" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="!Trait.Immune.NonStoryContent" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="!Trait.Immune.NonStoryContent" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_ClaimSite EnclaveIndex="" SiteIndex="1" />
          <Actor_JoinEnclave ActorIndex="2" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="3" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="4" EnclaveIndex="" />
          <Enclave_AddTrust DisableBonus="false" EnclaveIndex="" Trust="-100" />
          <Enclave_AddTrust DisableBonus="false" EnclaveIndex="" Trust="40" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          <BuildingGore ActorIndex="0" Enable="false" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="SetResources" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_SetResources EnclaveIndex="" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="SetEnclaveInventory" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="HasFood" AltOdds="100.0" />
          <Alt AltId="HasMedicine" AltOdds="100.0" />
          <Alt AltId="HasAmmo" AltOdds="100.0" />
          <Alt AltId="HasMaterials" AltOdds="100.0" />
          <Alt AltId="HasFuel" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
          <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
          <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Food" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="HasFood" PauseWhenOffline="" />
          <Console_Command Command="LOG: Setting Enclave Daily Inventory (Scraps)" />
          <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
          <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
          <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet40cal" />
          <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet44cal" />
          <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet357cal" />
          <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet556mm" />
          <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet762mm" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="HasFood" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFood" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_Give AmmoPercentage="100" Count="3" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
          <Enclave_Give AmmoPercentage="100" Count="5" EnclaveIndex="" GiveFlags="" Name="Food" />
          <Console_Command Command="LOG: Setting Enclave Daily Inventory (Food)" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="HasMedicine" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMedicine" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
          <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Painkiller_Codeine" />
          <Enclave_Give AmmoPercentage="100" Count="6" EnclaveIndex="" GiveFlags="" Name="HealthPack" />
          <Console_Command Command="LOG: Setting Enclave Daily Inventory (Medicine)" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="HasAmmo" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasAmmo" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_Give AmmoPercentage="100" Count="13" EnclaveIndex="" GiveFlags="" Name="AmmoShotgunShell" />
          <Console_Command Command="LOG: Setting Enclave Daily Inventory (Ammo)" />
          <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
          <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
          <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet40cal" />
          <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet44cal" />
          <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet357cal" />
          <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet556mm" />
          <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet762mm" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="HasMaterials" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMaterials" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
          <Enclave_Give AmmoPercentage="100" Count="3" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
          <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Suppressor_Homemade" />
          <Console_Command Command="LOG: Setting Enclave Daily Inventory (Materials)" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="HasFuel" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFuel" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_Give AmmoPercentage="100" Count="6" EnclaveIndex="" GiveFlags="" Name="Molotov_Fuel" />
          <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
          <Console_Command Command="LOG: Setting Enclave Daily Inventory (Fuel)" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="SetCostScalar" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="SetCostScalar_Friendly" AltOdds="100.0" />
          <Alt AltId="SetCostScalar_Neutral" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="SetCostScalar_Friendly" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="70" InputFlags="" InputId="Trust" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="1.2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="SetCostScalar_Neutral" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="30" InputFlags="" InputId="Trust" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="1.5" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="InitStats" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="30" OutputDuration="" OutputStat="Determination" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="30" OutputDuration="" OutputStat="Skill" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="30" OutputDuration="" OutputStat="Survival" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="20" OutputDuration="" OutputStat="Wealth" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <LocationEvents />
    </State>
    <State Alertness="Occupy" Id="Unfriendly">
      <OnNextDay>
        <Action ActionFlags="" ActionId="SetResources" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_SetResources EnclaveIndex="" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="SetEnclaveInventory" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts>
            <Alt AltId="HasFood" AltOdds="100.0" />
            <Alt AltId="HasMedicine" AltOdds="100.0" />
            <Alt AltId="HasAmmo" AltOdds="100.0" />
            <Alt AltId="HasMaterials" AltOdds="100.0" />
            <Alt AltId="HasFuel" AltOdds="100.0" />
          </Alts>
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Food" />
            <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="HasFood" PauseWhenOffline="" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Scraps)" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet40cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet44cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet357cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet556mm" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet762mm" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasFood" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFood" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="3" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="5" EnclaveIndex="" GiveFlags="" Name="Food" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Food)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasMedicine" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMedicine" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Painkiller_Codeine" />
            <Enclave_Give AmmoPercentage="100" Count="6" EnclaveIndex="" GiveFlags="" Name="HealthPack" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Medicine)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasAmmo" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasAmmo" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="13" EnclaveIndex="" GiveFlags="" Name="AmmoShotgunShell" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Ammo)" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet40cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet44cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet357cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet556mm" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet762mm" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasMaterials" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMaterials" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="3" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Suppressor_Homemade" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Materials)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasFuel" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFuel" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="6" EnclaveIndex="" GiveFlags="" Name="Molotov_Fuel" />
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Fuel)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="SetCostScalar" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts>
            <Alt AltId="SetCostScalar_Friendly" AltOdds="100.0" />
            <Alt AltId="SetCostScalar_Neutral" AltOdds="100.0" />
          </Alts>
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="SetCostScalar_Friendly" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_Check EnclaveIndex="" InputAmount="70" InputFlags="" InputId="Trust" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="1.2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="SetCostScalar_Neutral" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_Check EnclaveIndex="" InputAmount="30" InputFlags="" InputId="Trust" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="1.5" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          </Outputs>
        </Action>
        <Action ActionFlags="WaitForNoMission" ActionId="ResetDailyMissionOps" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="0" OutputDuration="" OutputStat="DailyMissionOpCount" PauseWhenOffline="" />
          </Outputs>
        </Action>
        <Action ActionFlags="WaitForNoMission" ActionId="ResetMissionCaps" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="3" OutputDuration="" OutputStat="Max_MissionOps_Random_Daily" PauseWhenOffline="" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="WaitForNoMission" ActionId="JoinGoodReputation" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Reputation.Good" Invert="" />
          <Check InputAmount="500" InputFlags="" InputId="Family.Renown" />
        </Inputs>
        <Outputs>
          <EventLog DisplayType="EventBanner" EventFlags="None" Icon="fame" IconId="65">
            <NameText Flags="" Notes="" Text="RUMORS: We Are Famous" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="CommandName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Word's getting around about us. I've heard from another group of survivors who'd like to join us. - %1$s" />
                <SummaryText Flags="" Notes="" Text="Other survivors want to join us." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <ChangeState ActorIndex="" State="State.Join" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="RecoveryMission(MissingPerson)" ActionType="Action.Passive" ExecuteTimeStandard="10m" OutputDelayTime="30s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Meta.Missing" FunctionTags="" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.RecentMission.Any" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encRescue" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, Repeats" ActionId="Relocate" ActionType="Action.Background" ExecuteTimeStandard="1d" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Building ActorFlags="" ActorName="" BuildingFlagsMask="Outdoor, Tiny, HasBarricades" BuildingFlagsQuery="HasBarricades" HideWarnings="" NearActorIdx="-1" Optional="" SearchRangeMax="500.0" SearchRangeMin="0.0" SiteTag="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_ClaimSite EnclaveIndex="" SiteIndex="0" />
          <Enclave_StatAdd DurationCancellable="" EnclaveIndex="" OutputAmount="1" OutputDuration="" OutputStat="DangerLevel" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="LoseMember" ActionType="Action.Background" ExecuteTimeStandard="12h" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Enclave.Leader" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts>
          <Alt AltId="Flee" AltOdds="50" />
          <Alt AltId="Survive" AltOdds="50" />
        </Alts>
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="2" InputFlags="" InputId="DangerLevel" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventRewardStat ExludeFromSummary="false" Icon="HappyFace" OutputAmount="-1" OutputId="Stat.Morale" RewardList="General" IconId="11">
            <DescriptionText Flags="" Notes="" Text="%+d Community Morale." />
          </EventRewardStat>
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Disarray" IconId="33">
            <NameText Flags="" Notes="" Text="RUMOR: Neighbor Dead" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
              <EventDescArg Param="-1" Type="CommandName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Sounds like our neighbors suffered a loss. - %2$s" />
                <SummaryText Flags="" Notes="" Text="%1$s died." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Did not survive." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
          <Actor_Kill ActorIndex="0" Silent="" />
          <ChangeState ActorIndex="" State="Endangered" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="5m" OutputStat="Blackout_TrustStateChange" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="Survive" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="Flee" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Enclave.Leader" FunctionTags="NotBusy" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="1" InputFlags="" InputId="DangerLevel" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventRewardStat ExludeFromSummary="false" Icon="HappyFace" OutputAmount="-1" OutputId="Stat.Morale" RewardList="General" IconId="11">
            <DescriptionText Flags="" Notes="" Text="%+d Community Morale." />
          </EventRewardStat>
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Disarray" IconId="33">
            <NameText Flags="" Notes="" Text="RUMOR: Neighbor Missing" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
              <EventDescArg Param="-1" Type="CommandName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Sounds like our neighbors suffered a loss. - %2$s" />
                <SummaryText Flags="" Notes="" Text="%1$s missing." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Is now missing." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
          <Actor_Flee ActorIndex="0" FleeReasonTrait="Trait.Mood.Fled_Lost" InstantMissing="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="NormalizeWorldPop" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="53" InputFlags="" InputId="Count.WorldPopulation" />
        </Inputs>
        <Outputs>
          <EventRewardStat ExludeFromSummary="false" Icon="HappyFace" OutputAmount="-1" OutputId="Stat.Morale" RewardList="General" IconId="11">
            <DescriptionText Flags="" Notes="" Text="%+d Community Morale." />
          </EventRewardStat>
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Disarray" IconId="33">
            <NameText Flags="" Notes="" Text="RUMOR: Neighbor Dead" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
              <EventDescArg Param="-1" Type="CommandName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Sounds like our neighbors suffered a loss. - %2$s" />
                <SummaryText Flags="" Notes="" Text="%1$s died." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Did not survive." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
          <Actor_Kill ActorIndex="0" Silent="" />
          <ChangeState ActorIndex="" State="Endangered" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="5m" OutputStat="Blackout_TrustStateChange" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="AddFirstFavorMission (init)" ActionType="Action.Passive" ExecuteTimeStandard="0" OutputDelayTime="0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="!FirstFavorMissionCreated" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encFavor" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="14h" OutputStat="FirstFavorMissionCreated" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AddRndMission" ActionType="Action.Passive" ExecuteTimeStandard="5s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="NoRndNeighborMission_Capped" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_2" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_1" AltOdds="80" />
          <Alt AltId="NoRndNeighborMission_0" AltOdds="10" />
          <Alt AltId="AddRndNeighborMission_3" AltOdds="10" />
          <Alt AltId="AddRndNeighborMission_2" AltOdds="25" />
        </Alts>
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.RTS.NoEnclaveMissions" Invert="True" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Neighbor" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.Mission" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Blackout.RandomMissions" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encInfestation" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission." />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_Capped" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="1" InputFlags="" InputId="!Count.MissionOps_Random_Allowed" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_Capped" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_0" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_0" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_1" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="1" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_1" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="2" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_2" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encTrade" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 2" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_3" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encSave" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 3" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="RecruitMissing" ActionType="Action.Passive" ExecuteTimeStandard="45m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.MoodType.Fled, Trait.Meta.Missing, !Trait.Immune.EnclaveRecruitment" FunctionTags="Npc, Missing, NotBusy" HideWarnings="True" Optional="" TargetEnclave="Enclave.Home" />
        </Actors>
        <Alts>
          <Alt AltId="RecruitMissing_Fail" AltOdds="70" />
          <Alt AltId="RecruitMissing_Expelled" AltOdds="100.0" />
          <Alt AltId="RecruitMissing_Fail" AltOdds="70" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_EvolveTraits ActorIndex="0" Event="RESETMOOD" EventLogOutput="None" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Meta.Missing" />
          <Console_Command Command="LOG: NpcEnclave recruited Missing community member" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: Safe and Sound" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Thought you'd want to know I made it. I met up with some good people. I have a new home now. - %1$s" />
                <SummaryText Flags="" Notes="" Text="%1$s joined some other survivors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has a new home." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="RecruitMissing_Expelled" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Mood.Fled_Expelled, Trait.Meta.Missing, !Trait.Immune.EnclaveRecruitment" FunctionTags="Npc, Missing, NotBusy" HideWarnings="True" Optional="" TargetEnclave="Enclave.Home" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_EvolveTraits ActorIndex="0" Event="RESETMOOD" EventLogOutput="None" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Meta.Missing" />
          <Enclave_AddTrust DisableBonus="false" EnclaveIndex="" Trust="-70" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          <Console_Command Command="LOG: NpcEnclave recruited Expelled community member" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: Hasta La Vista" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Thought you were hot shit kicking me out, right? Well, it turns out I don't need you assholes. - %1$s" />
                <SummaryText Flags="" Notes="" Text="%1$s joined some other survivors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has a new home." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="RecruitMissing_Loyal" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Mood.Fled_Expelled, Trait.Meta.Missing, !Trait.Immune.EnclaveRecruitment" FunctionTags="Npc, Missing, NotBusy" HideWarnings="True" Optional="" TargetEnclave="Enclave.Home" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_EvolveTraits ActorIndex="0" Event="RESETMOOD" EventLogOutput="None" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Meta.Missing" />
          <Enclave_AddTrust DisableBonus="false" EnclaveIndex="" Trust="10" />
          <Console_Command Command="LOG: NpcEnclave recruited Loyal community member" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: Safe and Sound" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Thought you'd want to know I made it. I met up with some good people. I have a new home now. - %1$s" />
                <SummaryText Flags="" Notes="" Text="%1$s joined some other survivors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has a new home." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="RecruitMissing_Fail" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="IncMissionCaps" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatAdd DurationCancellable="" EnclaveIndex="" OutputAmount="1" OutputDuration="" OutputStat="Max_MissionOps_Random_Daily" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="To Join (max trust)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="100" InputFlags="" InputId="Trust" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Blackout_TrustStateChange" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Join" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: You rock!" />
            <TutorialText Flags="" Notes="" Text="Your actions determine other groups' attitudes toward you." />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="We appreciate everything you've done for us. - Your neighbor, %1$s" />
                <SummaryText Flags="" Notes="" Text="Maximum trust!" />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has gained trust." />
              </EventNpcEffect>
              <EventEffect Icon="63 influence" Type="Stockpile" Value="-1" IconId="63">
                <DescriptionText Flags="" Notes="" Text="Taking things from their SUPPLY LOCKER will cost less INFLUENCE now." />
                <NameText Flags="" Notes="" Text="Influence Costs Decreased" />
              </EventEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="ToFriendly (Trust)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="100" InputFlags="" InputId="!Trust" UseMissionEnclave="" />
          <Enclave_Check EnclaveIndex="" InputAmount="70" InputFlags="" InputId="Trust" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Blackout_TrustStateChange" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: Good Neighbors" />
            <TutorialText Flags="" Notes="" Text="Your actions determine other groups' attitudes toward you." />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="I'm feeling pretty good about having you guys around. - Your neighbor, %1$s" />
                <SummaryText Flags="" Notes="" Text="Friendly attitude." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has gained trust." />
              </EventNpcEffect>
              <EventEffect Icon="63 influence" Type="Stockpile" Value="-1" IconId="63">
                <DescriptionText Flags="" Notes="" Text="Taking things from their SUPPLY LOCKER will cost less INFLUENCE now." />
                <NameText Flags="" Notes="" Text="Influence Costs Decreased" />
              </EventEffect>
            </NpcEffects>
          </EventLog>
          <ChangeState ActorIndex="" State="Friendly" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="5m" OutputStat="Blackout_TrustStateChange" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="ToNeutral (Trust)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="70" InputFlags="" InputId="!Trust" UseMissionEnclave="" />
          <Enclave_Check EnclaveIndex="" InputAmount="30" InputFlags="" InputId="Trust" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Blackout_TrustStateChange" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: Let's Cooperate" />
            <TutorialText Flags="" Notes="" Text="Your actions determine other groups' attitudes toward you." />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Seems like we can help each out, now and again. - Your neighbor, %1$s" />
                <SummaryText Flags="" Notes="" Text="Neutral attitude." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has gained trust." />
              </EventNpcEffect>
              <EventEffect Icon="63 influence" Type="Stockpile" Value="-1" IconId="63">
                <DescriptionText Flags="" Notes="" Text="Taking things from their SUPPLY LOCKER will cost less INFLUENCE now." />
                <NameText Flags="" Notes="" Text="Influence Costs Decreased" />
              </EventEffect>
            </NpcEffects>
          </EventLog>
          <ChangeState ActorIndex="" State="Neutral_Confident" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="5m" OutputStat="Blackout_TrustStateChange" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="Note_Discovered" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Discovered" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Note_Discovered" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="Note_Discovered" PauseWhenOffline="" />
          <ExecuteAction ActionId="Note_Discovered_AddResource" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Survivors" IconId="60">
            <NameText Flags="" Notes="" Text="DISCOVERED: Mistrustful Survivors" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="PlayerName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="I encountered a new group of survivors. They're pretty guarded. - %1$s" />
                <SummaryText Flags="" Notes="" Text="New neighbors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="New neighbor." />
              </EventNpcEffect>
              <EventNpcEffect ActorIndex="1" Value="0">
                <DescriptionText Flags="" Notes="" Text="New neighbor." />
              </EventNpcEffect>
              <EventNpcEffect ActorIndex="2" Value="0">
                <DescriptionText Flags="" Notes="" Text="New neighbor." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Subaction" ActionId="Note_Discovered_AddResource" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="Note_Discovered_AddResourceFood" AltOdds="100.0" />
          <Alt AltId="Note_Discovered_AddResourceMedicine" AltOdds="100.0" />
          <Alt AltId="Note_Discovered_AddResourceAmmo" AltOdds="100.0" />
          <Alt AltId="Note_Discovered_AddResourceMaterials" AltOdds="100.0" />
          <Alt AltId="Note_Discovered_AddResourceFuel" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceFood" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFood" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="37 Food" RewardList="General" Type="Stockpile" Value="-1" IconId="37">
            <DescriptionText Flags="" Notes="" Text="Good supply of FOOD in their location." />
            <NameText Flags="" Notes="" Text="Food Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceMedicine" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMedicine" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="8 Health" RewardList="General" Type="Stockpile" Value="-1" IconId="8">
            <DescriptionText Flags="" Notes="" Text="Good supply of MEDICINE in their location." />
            <NameText Flags="" Notes="" Text="Medicine Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceAmmo" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasAmmo" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="1 Ammo" RewardList="General" Type="Stockpile" Value="-1" IconId="1">
            <DescriptionText Flags="" Notes="" Text="Good supply of AMMO in their location." />
            <NameText Flags="" Notes="" Text="Ammo Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceMaterials" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMaterials" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="48 Materials" RewardList="General" Type="Stockpile" Value="-1" IconId="48">
            <DescriptionText Flags="" Notes="" Text="Good supply of MATERIALS in their location." />
            <NameText Flags="" Notes="" Text="Materials Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceFuel" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFuel" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="39 Fuel" RewardList="General" Type="Stockpile" Value="-1" IconId="39">
            <DescriptionText Flags="" Notes="" Text="Good supply of FUEL in their location." />
            <NameText Flags="" Notes="" Text="Fuel Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="SetCostScalar" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <LocationEvents />
    </State>
    <State Alertness="Occupy" Id="Neutral_Confident">
      <OnNextDay>
        <Action ActionFlags="" ActionId="SetResources" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_SetResources EnclaveIndex="" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="SetEnclaveInventory" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts>
            <Alt AltId="HasFood" AltOdds="100.0" />
            <Alt AltId="HasMedicine" AltOdds="100.0" />
            <Alt AltId="HasAmmo" AltOdds="100.0" />
            <Alt AltId="HasMaterials" AltOdds="100.0" />
            <Alt AltId="HasFuel" AltOdds="100.0" />
          </Alts>
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Food" />
            <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="HasFood" PauseWhenOffline="" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Scraps)" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet40cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet44cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet357cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet556mm" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet762mm" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasFood" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFood" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="3" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="5" EnclaveIndex="" GiveFlags="" Name="Food" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Food)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasMedicine" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMedicine" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Painkiller_Codeine" />
            <Enclave_Give AmmoPercentage="100" Count="6" EnclaveIndex="" GiveFlags="" Name="HealthPack" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Medicine)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasAmmo" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasAmmo" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="13" EnclaveIndex="" GiveFlags="" Name="AmmoShotgunShell" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Ammo)" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet40cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet44cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet357cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet556mm" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet762mm" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasMaterials" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMaterials" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="3" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Suppressor_Homemade" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Materials)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasFuel" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFuel" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="6" EnclaveIndex="" GiveFlags="" Name="Molotov_Fuel" />
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Fuel)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="SetCostScalar" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts>
            <Alt AltId="SetCostScalar_Friendly" AltOdds="100.0" />
            <Alt AltId="SetCostScalar_Neutral" AltOdds="100.0" />
          </Alts>
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="SetCostScalar_Friendly" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_Check EnclaveIndex="" InputAmount="70" InputFlags="" InputId="Trust" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="1.2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="SetCostScalar_Neutral" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_Check EnclaveIndex="" InputAmount="30" InputFlags="" InputId="Trust" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="1.5" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          </Outputs>
        </Action>
        <Action ActionFlags="WaitForNoMission" ActionId="ResetDailyMissionOps" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="0" OutputDuration="" OutputStat="DailyMissionOpCount" PauseWhenOffline="" />
          </Outputs>
        </Action>
        <Action ActionFlags="WaitForNoMission" ActionId="ResetMissionCaps" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="3" OutputDuration="" OutputStat="Max_MissionOps_Random_Daily" PauseWhenOffline="" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="WaitForNoMission" ActionId="JoinGoodReputation" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Reputation.Good" Invert="" />
          <Check InputAmount="500" InputFlags="" InputId="Family.Renown" />
        </Inputs>
        <Outputs>
          <EventLog DisplayType="EventBanner" EventFlags="None" Icon="fame" IconId="65">
            <NameText Flags="" Notes="" Text="RUMORS: We Are Famous" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="CommandName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Word's getting around about us. I've heard from another group of survivors who'd like to join us. - %1$s" />
                <SummaryText Flags="" Notes="" Text="Other survivors want to join us." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <ChangeState ActorIndex="" State="State.Join" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="RecoveryMission(MissingPerson)" ActionType="Action.Passive" ExecuteTimeStandard="10m" OutputDelayTime="30s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Meta.Missing" FunctionTags="" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.RecentMission.Any" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encRescue" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, Repeats" ActionId="Relocate" ActionType="Action.Background" ExecuteTimeStandard="1d" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Building ActorFlags="" ActorName="" BuildingFlagsMask="Outdoor, Tiny, HasBarricades" BuildingFlagsQuery="HasBarricades" HideWarnings="" NearActorIdx="-1" Optional="" SearchRangeMax="500.0" SearchRangeMin="0.0" SiteTag="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_ClaimSite EnclaveIndex="" SiteIndex="0" />
          <Enclave_StatAdd DurationCancellable="" EnclaveIndex="" OutputAmount="1" OutputDuration="" OutputStat="DangerLevel" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="LoseMember" ActionType="Action.Background" ExecuteTimeStandard="12h" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Enclave.Leader" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts>
          <Alt AltId="Flee" AltOdds="50" />
          <Alt AltId="Survive" AltOdds="50" />
        </Alts>
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="2" InputFlags="" InputId="DangerLevel" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventRewardStat ExludeFromSummary="false" Icon="HappyFace" OutputAmount="-1" OutputId="Stat.Morale" RewardList="General" IconId="11">
            <DescriptionText Flags="" Notes="" Text="%+d Community Morale." />
          </EventRewardStat>
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Disarray" IconId="33">
            <NameText Flags="" Notes="" Text="RUMOR: Neighbor Dead" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
              <EventDescArg Param="-1" Type="CommandName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Sounds like our neighbors suffered a loss. - %2$s" />
                <SummaryText Flags="" Notes="" Text="%1$s died." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Did not survive." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
          <Actor_Kill ActorIndex="0" Silent="" />
          <ChangeState ActorIndex="" State="Endangered" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="5m" OutputStat="Blackout_TrustStateChange" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="Survive" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="Flee" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Enclave.Leader" FunctionTags="NotBusy" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="1" InputFlags="" InputId="DangerLevel" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventRewardStat ExludeFromSummary="false" Icon="HappyFace" OutputAmount="-1" OutputId="Stat.Morale" RewardList="General" IconId="11">
            <DescriptionText Flags="" Notes="" Text="%+d Community Morale." />
          </EventRewardStat>
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Disarray" IconId="33">
            <NameText Flags="" Notes="" Text="RUMOR: Neighbor Missing" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
              <EventDescArg Param="-1" Type="CommandName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Sounds like our neighbors suffered a loss. - %2$s" />
                <SummaryText Flags="" Notes="" Text="%1$s missing." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Is now missing." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
          <Actor_Flee ActorIndex="0" FleeReasonTrait="Trait.Mood.Fled_Lost" InstantMissing="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="NormalizeWorldPop" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="53" InputFlags="" InputId="Count.WorldPopulation" />
        </Inputs>
        <Outputs>
          <EventRewardStat ExludeFromSummary="false" Icon="HappyFace" OutputAmount="-1" OutputId="Stat.Morale" RewardList="General" IconId="11">
            <DescriptionText Flags="" Notes="" Text="%+d Community Morale." />
          </EventRewardStat>
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Disarray" IconId="33">
            <NameText Flags="" Notes="" Text="RUMOR: Neighbor Dead" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
              <EventDescArg Param="-1" Type="CommandName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Sounds like our neighbors suffered a loss. - %2$s" />
                <SummaryText Flags="" Notes="" Text="%1$s died." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Did not survive." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
          <Actor_Kill ActorIndex="0" Silent="" />
          <ChangeState ActorIndex="" State="Endangered" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="5m" OutputStat="Blackout_TrustStateChange" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="AddFirstFavorMission (init)" ActionType="Action.Passive" ExecuteTimeStandard="0" OutputDelayTime="0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="!FirstFavorMissionCreated" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encFavor" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="14h" OutputStat="FirstFavorMissionCreated" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AddRndMission" ActionType="Action.Passive" ExecuteTimeStandard="5s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="NoRndNeighborMission_Capped" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_2" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_1" AltOdds="80" />
          <Alt AltId="NoRndNeighborMission_0" AltOdds="10" />
          <Alt AltId="AddRndNeighborMission_3" AltOdds="20" />
          <Alt AltId="AddRndNeighborMission_2" AltOdds="40" />
        </Alts>
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.RTS.NoEnclaveMissions" Invert="True" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Neighbor" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.Mission" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Blackout.RandomMissions" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encTrade" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission." />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_Capped" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="1" InputFlags="" InputId="!Count.MissionOps_Random_Allowed" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_Capped" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_0" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_0" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_1" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="1" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_1" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="2" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_2" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encSupplies" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 2" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_3" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encSupplies" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 3" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="RecruitMissing" ActionType="Action.Passive" ExecuteTimeStandard="45m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.MoodType.Fled, Trait.Meta.Missing, !Trait.Immune.EnclaveRecruitment" FunctionTags="Npc, Missing, NotBusy" HideWarnings="True" Optional="" TargetEnclave="Enclave.Home" />
        </Actors>
        <Alts>
          <Alt AltId="RecruitMissing_Fail" AltOdds="70" />
          <Alt AltId="RecruitMissing_Expelled" AltOdds="100.0" />
          <Alt AltId="RecruitMissing_Fail" AltOdds="70" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_EvolveTraits ActorIndex="0" Event="RESETMOOD" EventLogOutput="None" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Meta.Missing" />
          <Console_Command Command="LOG: NpcEnclave recruited Missing community member" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: Safe and Sound" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Thought you'd want to know I made it. I met up with some good people. I have a new home now. - %1$s" />
                <SummaryText Flags="" Notes="" Text="%1$s joined some other survivors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has a new home." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="RecruitMissing_Expelled" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Mood.Fled_Expelled, Trait.Meta.Missing, !Trait.Immune.EnclaveRecruitment" FunctionTags="Npc, Missing, NotBusy" HideWarnings="True" Optional="" TargetEnclave="Enclave.Home" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_EvolveTraits ActorIndex="0" Event="RESETMOOD" EventLogOutput="None" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Meta.Missing" />
          <Enclave_AddTrust DisableBonus="false" EnclaveIndex="" Trust="-70" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          <Console_Command Command="LOG: NpcEnclave recruited Expelled community member" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: Hasta La Vista" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Thought you were hot shit kicking me out, right? Well, it turns out I don't need you assholes. - %1$s" />
                <SummaryText Flags="" Notes="" Text="%1$s joined some other survivors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has a new home." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="RecruitMissing_Loyal" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Mood.Fled_Expelled, Trait.Meta.Missing, !Trait.Immune.EnclaveRecruitment" FunctionTags="Npc, Missing, NotBusy" HideWarnings="True" Optional="" TargetEnclave="Enclave.Home" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_EvolveTraits ActorIndex="0" Event="RESETMOOD" EventLogOutput="None" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Meta.Missing" />
          <Enclave_AddTrust DisableBonus="false" EnclaveIndex="" Trust="10" />
          <Console_Command Command="LOG: NpcEnclave recruited Loyal community member" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: Safe and Sound" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Thought you'd want to know I made it. I met up with some good people. I have a new home now. - %1$s" />
                <SummaryText Flags="" Notes="" Text="%1$s joined some other survivors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has a new home." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="RecruitMissing_Fail" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="IncMissionCaps" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatAdd DurationCancellable="" EnclaveIndex="" OutputAmount="1" OutputDuration="" OutputStat="Max_MissionOps_Random_Daily" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="To Join (max trust)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="100" InputFlags="" InputId="Trust" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Blackout_TrustStateChange" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Join" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: You rock!" />
            <TutorialText Flags="" Notes="" Text="Your actions determine other groups' attitudes toward you." />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="We appreciate everything you've done for us. - Your neighbor, %1$s" />
                <SummaryText Flags="" Notes="" Text="Maximum trust!" />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has gained trust." />
              </EventNpcEffect>
              <EventEffect Icon="63 influence" Type="Stockpile" Value="-1" IconId="63">
                <DescriptionText Flags="" Notes="" Text="Taking things from their SUPPLY LOCKER will cost less INFLUENCE now." />
                <NameText Flags="" Notes="" Text="Influence Costs Decreased" />
              </EventEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="ToFriendly (Trust)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="100" InputFlags="" InputId="!Trust" UseMissionEnclave="" />
          <Enclave_Check EnclaveIndex="" InputAmount="70" InputFlags="" InputId="Trust" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Blackout_TrustStateChange" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: Good Neighbors" />
            <TutorialText Flags="" Notes="" Text="Your actions determine other groups' attitudes toward you." />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="I'm feeling pretty good about having you guys around. - Your neighbor, %1$s" />
                <SummaryText Flags="" Notes="" Text="Friendly attitude." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has gained trust." />
              </EventNpcEffect>
              <EventEffect Icon="63 influence" Type="Stockpile" Value="-1" IconId="63">
                <DescriptionText Flags="" Notes="" Text="Taking things from their SUPPLY LOCKER will cost less INFLUENCE now." />
                <NameText Flags="" Notes="" Text="Influence Costs Decreased" />
              </EventEffect>
            </NpcEffects>
          </EventLog>
          <ChangeState ActorIndex="" State="Friendly" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="5m" OutputStat="Blackout_TrustStateChange" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="ToUnfriendly (Trust)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="30" InputFlags="" InputId="!Trust" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Blackout_TrustStateChange" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: You Suck!" />
            <TutorialText Flags="" Notes="" Text="Your actions determine other groups' attitudes toward you." />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="We were foolish to ever think you could be trusted. - Your reluctant neighbor, %1$s" />
                <SummaryText Flags="" Notes="" Text="Unfriendly attitude." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has lost trust." />
              </EventNpcEffect>
              <EventEffect Icon="63 influence" Type="Stockpile" Value="-1" IconId="63">
                <DescriptionText Flags="" Notes="" Text="Taking things from their SUPPLY LOCKER will cost more INFLUENCE now." />
                <NameText Flags="" Notes="" Text="Influence Costs Increased" />
              </EventEffect>
            </NpcEffects>
          </EventLog>
          <ChangeState ActorIndex="" State="Friendly" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="5m" OutputStat="Blackout_TrustStateChange" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="Note_Discovered" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Discovered" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Note_Discovered" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="Note_Discovered" PauseWhenOffline="" />
          <ExecuteAction ActionId="Note_Discovered_AddResource" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Survivors" IconId="60">
            <NameText Flags="" Notes="" Text="DISCOVERED: Confident Survivors" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="PlayerName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="I encountered a new group of survivors. They seem pretty sure of themselves. - %1$s" />
                <SummaryText Flags="" Notes="" Text="New neighbors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="New neighbor." />
              </EventNpcEffect>
              <EventNpcEffect ActorIndex="1" Value="0">
                <DescriptionText Flags="" Notes="" Text="New neighbor." />
              </EventNpcEffect>
              <EventNpcEffect ActorIndex="2" Value="0">
                <DescriptionText Flags="" Notes="" Text="New neighbor." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Subaction" ActionId="Note_Discovered_AddResource" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="Note_Discovered_AddResourceFood" AltOdds="100.0" />
          <Alt AltId="Note_Discovered_AddResourceMedicine" AltOdds="100.0" />
          <Alt AltId="Note_Discovered_AddResourceAmmo" AltOdds="100.0" />
          <Alt AltId="Note_Discovered_AddResourceMaterials" AltOdds="100.0" />
          <Alt AltId="Note_Discovered_AddResourceFuel" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceFood" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFood" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="37 Food" RewardList="General" Type="Stockpile" Value="-1" IconId="37">
            <DescriptionText Flags="" Notes="" Text="Good supply of FOOD in their location." />
            <NameText Flags="" Notes="" Text="Food Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceMedicine" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMedicine" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="8 Health" RewardList="General" Type="Stockpile" Value="-1" IconId="8">
            <DescriptionText Flags="" Notes="" Text="Good supply of MEDICINE in their location." />
            <NameText Flags="" Notes="" Text="Medicine Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceAmmo" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasAmmo" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="1 Ammo" RewardList="General" Type="Stockpile" Value="-1" IconId="1">
            <DescriptionText Flags="" Notes="" Text="Good supply of AMMO in their location." />
            <NameText Flags="" Notes="" Text="Ammo Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceMaterials" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMaterials" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="48 Materials" RewardList="General" Type="Stockpile" Value="-1" IconId="48">
            <DescriptionText Flags="" Notes="" Text="Good supply of MATERIALS in their location." />
            <NameText Flags="" Notes="" Text="Materials Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceFuel" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFuel" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="39 Fuel" RewardList="General" Type="Stockpile" Value="-1" IconId="39">
            <DescriptionText Flags="" Notes="" Text="Good supply of FUEL in their location." />
            <NameText Flags="" Notes="" Text="Fuel Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="SetCostScalar" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="1.2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="toNeutralScared (Skill)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="50" InputFlags="" InputId="!Skill" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Blackout_TrustStateChange" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Neutral_Scared" />
        </Outputs>
      </Action>
      <LocationEvents />
    </State>
    <State Alertness="Occupy" Id="Neutral_Scared">
      <OnNextDay>
        <Action ActionFlags="" ActionId="SetResources" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_SetResources EnclaveIndex="" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="SetEnclaveInventory" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts>
            <Alt AltId="HasFood" AltOdds="100.0" />
            <Alt AltId="HasMedicine" AltOdds="100.0" />
            <Alt AltId="HasAmmo" AltOdds="100.0" />
            <Alt AltId="HasMaterials" AltOdds="100.0" />
            <Alt AltId="HasFuel" AltOdds="100.0" />
          </Alts>
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Food" />
            <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="HasFood" PauseWhenOffline="" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Scraps)" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet40cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet44cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet357cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet556mm" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet762mm" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasFood" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFood" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="3" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="5" EnclaveIndex="" GiveFlags="" Name="Food" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Food)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasMedicine" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMedicine" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Painkiller_Codeine" />
            <Enclave_Give AmmoPercentage="100" Count="6" EnclaveIndex="" GiveFlags="" Name="HealthPack" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Medicine)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasAmmo" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasAmmo" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="13" EnclaveIndex="" GiveFlags="" Name="AmmoShotgunShell" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Ammo)" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet40cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet44cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet357cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet556mm" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet762mm" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasMaterials" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMaterials" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="3" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Suppressor_Homemade" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Materials)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasFuel" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFuel" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="6" EnclaveIndex="" GiveFlags="" Name="Molotov_Fuel" />
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Fuel)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="SetCostScalar" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts>
            <Alt AltId="SetCostScalar_Friendly" AltOdds="100.0" />
            <Alt AltId="SetCostScalar_Neutral" AltOdds="100.0" />
          </Alts>
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="SetCostScalar_Friendly" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_Check EnclaveIndex="" InputAmount="70" InputFlags="" InputId="Trust" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="1.2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="SetCostScalar_Neutral" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_Check EnclaveIndex="" InputAmount="30" InputFlags="" InputId="Trust" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="1.5" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          </Outputs>
        </Action>
        <Action ActionFlags="WaitForNoMission" ActionId="ResetDailyMissionOps" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="0" OutputDuration="" OutputStat="DailyMissionOpCount" PauseWhenOffline="" />
          </Outputs>
        </Action>
        <Action ActionFlags="WaitForNoMission" ActionId="ResetMissionCaps" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="3" OutputDuration="" OutputStat="Max_MissionOps_Random_Daily" PauseWhenOffline="" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="WaitForNoMission" ActionId="JoinGoodReputation" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Reputation.Good" Invert="" />
          <Check InputAmount="500" InputFlags="" InputId="Family.Renown" />
        </Inputs>
        <Outputs>
          <EventLog DisplayType="EventBanner" EventFlags="None" Icon="fame" IconId="65">
            <NameText Flags="" Notes="" Text="RUMORS: We Are Famous" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="CommandName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Word's getting around about us. I've heard from another group of survivors who'd like to join us. - %1$s" />
                <SummaryText Flags="" Notes="" Text="Other survivors want to join us." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <ChangeState ActorIndex="" State="State.Join" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="RecoveryMission(MissingPerson)" ActionType="Action.Passive" ExecuteTimeStandard="10m" OutputDelayTime="30s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Meta.Missing" FunctionTags="" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.RecentMission.Any" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encRescue" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, Repeats" ActionId="Relocate" ActionType="Action.Background" ExecuteTimeStandard="1d" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Building ActorFlags="" ActorName="" BuildingFlagsMask="Outdoor, Tiny, HasBarricades" BuildingFlagsQuery="HasBarricades" HideWarnings="" NearActorIdx="-1" Optional="" SearchRangeMax="500.0" SearchRangeMin="0.0" SiteTag="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_ClaimSite EnclaveIndex="" SiteIndex="0" />
          <Enclave_StatAdd DurationCancellable="" EnclaveIndex="" OutputAmount="1" OutputDuration="" OutputStat="DangerLevel" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="LoseMember" ActionType="Action.Background" ExecuteTimeStandard="12h" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Enclave.Leader" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts>
          <Alt AltId="Flee" AltOdds="50" />
          <Alt AltId="Survive" AltOdds="50" />
        </Alts>
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="2" InputFlags="" InputId="DangerLevel" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventRewardStat ExludeFromSummary="false" Icon="HappyFace" OutputAmount="-1" OutputId="Stat.Morale" RewardList="General" IconId="11">
            <DescriptionText Flags="" Notes="" Text="%+d Community Morale." />
          </EventRewardStat>
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Disarray" IconId="33">
            <NameText Flags="" Notes="" Text="RUMOR: Neighbor Dead" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
              <EventDescArg Param="-1" Type="CommandName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Sounds like our neighbors suffered a loss. - %2$s" />
                <SummaryText Flags="" Notes="" Text="%1$s died." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Did not survive." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
          <Actor_Kill ActorIndex="0" Silent="" />
          <ChangeState ActorIndex="" State="Endangered" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="5m" OutputStat="Blackout_TrustStateChange" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="Survive" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="Flee" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Enclave.Leader" FunctionTags="NotBusy" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="1" InputFlags="" InputId="DangerLevel" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventRewardStat ExludeFromSummary="false" Icon="HappyFace" OutputAmount="-1" OutputId="Stat.Morale" RewardList="General" IconId="11">
            <DescriptionText Flags="" Notes="" Text="%+d Community Morale." />
          </EventRewardStat>
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Disarray" IconId="33">
            <NameText Flags="" Notes="" Text="RUMOR: Neighbor Missing" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
              <EventDescArg Param="-1" Type="CommandName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Sounds like our neighbors suffered a loss. - %2$s" />
                <SummaryText Flags="" Notes="" Text="%1$s missing." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Is now missing." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
          <Actor_Flee ActorIndex="0" FleeReasonTrait="Trait.Mood.Fled_Lost" InstantMissing="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="NormalizeWorldPop" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="53" InputFlags="" InputId="Count.WorldPopulation" />
        </Inputs>
        <Outputs>
          <EventRewardStat ExludeFromSummary="false" Icon="HappyFace" OutputAmount="-1" OutputId="Stat.Morale" RewardList="General" IconId="11">
            <DescriptionText Flags="" Notes="" Text="%+d Community Morale." />
          </EventRewardStat>
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Disarray" IconId="33">
            <NameText Flags="" Notes="" Text="RUMOR: Neighbor Dead" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
              <EventDescArg Param="-1" Type="CommandName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Sounds like our neighbors suffered a loss. - %2$s" />
                <SummaryText Flags="" Notes="" Text="%1$s died." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Did not survive." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
          <Actor_Kill ActorIndex="0" Silent="" />
          <ChangeState ActorIndex="" State="Endangered" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="5m" OutputStat="Blackout_TrustStateChange" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="AddFirstFavorMission (init)" ActionType="Action.Passive" ExecuteTimeStandard="0" OutputDelayTime="0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="!FirstFavorMissionCreated" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encFavor" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="14h" OutputStat="FirstFavorMissionCreated" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AddRndMission" ActionType="Action.Passive" ExecuteTimeStandard="5s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="NoRndNeighborMission_Capped" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_2" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_1" AltOdds="80" />
          <Alt AltId="NoRndNeighborMission_0" AltOdds="10" />
          <Alt AltId="AddRndNeighborMission_3" AltOdds="33" />
          <Alt AltId="AddRndNeighborMission_2" AltOdds="50" />
        </Alts>
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.RTS.NoEnclaveMissions" Invert="True" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Neighbor" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.Mission" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Blackout.RandomMissions" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encTrade" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission." />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_Capped" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="1" InputFlags="" InputId="!Count.MissionOps_Random_Allowed" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_Capped" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_0" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_0" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_1" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="1" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_1" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="2" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_2" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encSave" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 2" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_3" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encSupplies" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 3" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="RecruitMissing" ActionType="Action.Passive" ExecuteTimeStandard="45m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.MoodType.Fled, Trait.Meta.Missing, !Trait.Immune.EnclaveRecruitment" FunctionTags="Npc, Missing, NotBusy" HideWarnings="True" Optional="" TargetEnclave="Enclave.Home" />
        </Actors>
        <Alts>
          <Alt AltId="RecruitMissing_Fail" AltOdds="70" />
          <Alt AltId="RecruitMissing_Expelled" AltOdds="100.0" />
          <Alt AltId="RecruitMissing_Fail" AltOdds="70" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_EvolveTraits ActorIndex="0" Event="RESETMOOD" EventLogOutput="None" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Meta.Missing" />
          <Console_Command Command="LOG: NpcEnclave recruited Missing community member" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: Safe and Sound" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Thought you'd want to know I made it. I met up with some good people. I have a new home now. - %1$s" />
                <SummaryText Flags="" Notes="" Text="%1$s joined some other survivors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has a new home." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="RecruitMissing_Expelled" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Mood.Fled_Expelled, Trait.Meta.Missing, !Trait.Immune.EnclaveRecruitment" FunctionTags="Npc, Missing, NotBusy" HideWarnings="True" Optional="" TargetEnclave="Enclave.Home" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_EvolveTraits ActorIndex="0" Event="RESETMOOD" EventLogOutput="None" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Meta.Missing" />
          <Enclave_AddTrust DisableBonus="false" EnclaveIndex="" Trust="-70" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          <Console_Command Command="LOG: NpcEnclave recruited Expelled community member" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: Hasta La Vista" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Thought you were hot shit kicking me out, right? Well, it turns out I don't need you assholes. - %1$s" />
                <SummaryText Flags="" Notes="" Text="%1$s joined some other survivors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has a new home." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="RecruitMissing_Loyal" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Mood.Fled_Expelled, Trait.Meta.Missing, !Trait.Immune.EnclaveRecruitment" FunctionTags="Npc, Missing, NotBusy" HideWarnings="True" Optional="" TargetEnclave="Enclave.Home" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_EvolveTraits ActorIndex="0" Event="RESETMOOD" EventLogOutput="None" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Meta.Missing" />
          <Enclave_AddTrust DisableBonus="false" EnclaveIndex="" Trust="10" />
          <Console_Command Command="LOG: NpcEnclave recruited Loyal community member" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: Safe and Sound" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Thought you'd want to know I made it. I met up with some good people. I have a new home now. - %1$s" />
                <SummaryText Flags="" Notes="" Text="%1$s joined some other survivors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has a new home." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="RecruitMissing_Fail" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="IncMissionCaps" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatAdd DurationCancellable="" EnclaveIndex="" OutputAmount="1" OutputDuration="" OutputStat="Max_MissionOps_Random_Daily" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="To Join (max trust)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="100" InputFlags="" InputId="Trust" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Blackout_TrustStateChange" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Join" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: You rock!" />
            <TutorialText Flags="" Notes="" Text="Your actions determine other groups' attitudes toward you." />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="We appreciate everything you've done for us. - Your neighbor, %1$s" />
                <SummaryText Flags="" Notes="" Text="Maximum trust!" />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has gained trust." />
              </EventNpcEffect>
              <EventEffect Icon="63 influence" Type="Stockpile" Value="-1" IconId="63">
                <DescriptionText Flags="" Notes="" Text="Taking things from their SUPPLY LOCKER will cost less INFLUENCE now." />
                <NameText Flags="" Notes="" Text="Influence Costs Decreased" />
              </EventEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="ToFriendly (Trust)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="100" InputFlags="" InputId="!Trust" UseMissionEnclave="" />
          <Enclave_Check EnclaveIndex="" InputAmount="70" InputFlags="" InputId="Trust" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Blackout_TrustStateChange" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: Good Neighbors" />
            <TutorialText Flags="" Notes="" Text="Your actions determine other groups' attitudes toward you." />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="I'm feeling pretty good about having you guys around. - Your neighbor, %1$s" />
                <SummaryText Flags="" Notes="" Text="Friendly attitude." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has gained trust." />
              </EventNpcEffect>
              <EventEffect Icon="63 influence" Type="Stockpile" Value="-1" IconId="63">
                <DescriptionText Flags="" Notes="" Text="Taking things from their SUPPLY LOCKER will cost less INFLUENCE now." />
                <NameText Flags="" Notes="" Text="Influence Costs Decreased" />
              </EventEffect>
            </NpcEffects>
          </EventLog>
          <ChangeState ActorIndex="" State="Friendly" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="5m" OutputStat="Blackout_TrustStateChange" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="ToUnfriendly (Trust)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="30" InputFlags="" InputId="!Trust" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Blackout_TrustStateChange" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: You Suck!" />
            <TutorialText Flags="" Notes="" Text="Your actions determine other groups' attitudes toward you." />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="We were foolish to ever think you could be trusted. - Your reluctant neighbor, %1$s" />
                <SummaryText Flags="" Notes="" Text="Unfriendly attitude." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has lost trust." />
              </EventNpcEffect>
              <EventEffect Icon="63 influence" Type="Stockpile" Value="-1" IconId="63">
                <DescriptionText Flags="" Notes="" Text="Taking things from their SUPPLY LOCKER will cost more INFLUENCE now." />
                <NameText Flags="" Notes="" Text="Influence Costs Increased" />
              </EventEffect>
            </NpcEffects>
          </EventLog>
          <ChangeState ActorIndex="" State="Friendly" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="5m" OutputStat="Blackout_TrustStateChange" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="Note_Discovered" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Discovered" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Note_Discovered" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="Note_Discovered" PauseWhenOffline="" />
          <ExecuteAction ActionId="Note_Discovered_AddResource" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Survivors" IconId="60">
            <NameText Flags="" Notes="" Text="DISCOVERED: Uncertain Survivors" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="PlayerName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="I encountered a new group of survivors. They're worried. Aren't we all, though? - %1$s" />
                <SummaryText Flags="" Notes="" Text="New neighbors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="New neighbor." />
              </EventNpcEffect>
              <EventNpcEffect ActorIndex="1" Value="0">
                <DescriptionText Flags="" Notes="" Text="New neighbor." />
              </EventNpcEffect>
              <EventNpcEffect ActorIndex="2" Value="0">
                <DescriptionText Flags="" Notes="" Text="New neighbor." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Subaction" ActionId="Note_Discovered_AddResource" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="Note_Discovered_AddResourceFood" AltOdds="100.0" />
          <Alt AltId="Note_Discovered_AddResourceMedicine" AltOdds="100.0" />
          <Alt AltId="Note_Discovered_AddResourceAmmo" AltOdds="100.0" />
          <Alt AltId="Note_Discovered_AddResourceMaterials" AltOdds="100.0" />
          <Alt AltId="Note_Discovered_AddResourceFuel" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceFood" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFood" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="37 Food" RewardList="General" Type="Stockpile" Value="-1" IconId="37">
            <DescriptionText Flags="" Notes="" Text="Good supply of FOOD in their location." />
            <NameText Flags="" Notes="" Text="Food Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceMedicine" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMedicine" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="8 Health" RewardList="General" Type="Stockpile" Value="-1" IconId="8">
            <DescriptionText Flags="" Notes="" Text="Good supply of MEDICINE in their location." />
            <NameText Flags="" Notes="" Text="Medicine Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceAmmo" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasAmmo" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="1 Ammo" RewardList="General" Type="Stockpile" Value="-1" IconId="1">
            <DescriptionText Flags="" Notes="" Text="Good supply of AMMO in their location." />
            <NameText Flags="" Notes="" Text="Ammo Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceMaterials" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMaterials" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="48 Materials" RewardList="General" Type="Stockpile" Value="-1" IconId="48">
            <DescriptionText Flags="" Notes="" Text="Good supply of MATERIALS in their location." />
            <NameText Flags="" Notes="" Text="Materials Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceFuel" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFuel" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="39 Fuel" RewardList="General" Type="Stockpile" Value="-1" IconId="39">
            <DescriptionText Flags="" Notes="" Text="Good supply of FUEL in their location." />
            <NameText Flags="" Notes="" Text="Fuel Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="SetCostScalar" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="1.5" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <LocationEvents />
    </State>
    <State Alertness="Occupy" Id="Friendly">
      <OnNextDay>
        <Action ActionFlags="" ActionId="SetResources" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_SetResources EnclaveIndex="" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="SetEnclaveInventory" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts>
            <Alt AltId="HasFood" AltOdds="100.0" />
            <Alt AltId="HasMedicine" AltOdds="100.0" />
            <Alt AltId="HasAmmo" AltOdds="100.0" />
            <Alt AltId="HasMaterials" AltOdds="100.0" />
            <Alt AltId="HasFuel" AltOdds="100.0" />
          </Alts>
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Food" />
            <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="HasFood" PauseWhenOffline="" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Scraps)" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet40cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet44cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet357cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet556mm" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet762mm" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasFood" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFood" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="3" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="5" EnclaveIndex="" GiveFlags="" Name="Food" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Food)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasMedicine" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMedicine" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Painkiller_Codeine" />
            <Enclave_Give AmmoPercentage="100" Count="6" EnclaveIndex="" GiveFlags="" Name="HealthPack" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Medicine)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasAmmo" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasAmmo" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="13" EnclaveIndex="" GiveFlags="" Name="AmmoShotgunShell" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Ammo)" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet40cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet44cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet357cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet556mm" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet762mm" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasMaterials" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMaterials" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="3" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Suppressor_Homemade" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Materials)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasFuel" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFuel" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="6" EnclaveIndex="" GiveFlags="" Name="Molotov_Fuel" />
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Fuel)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="SetCostScalar" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts>
            <Alt AltId="SetCostScalar_Friendly" AltOdds="100.0" />
            <Alt AltId="SetCostScalar_Neutral" AltOdds="100.0" />
          </Alts>
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="SetCostScalar_Friendly" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_Check EnclaveIndex="" InputAmount="70" InputFlags="" InputId="Trust" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="1.2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="SetCostScalar_Neutral" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_Check EnclaveIndex="" InputAmount="30" InputFlags="" InputId="Trust" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="1.5" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          </Outputs>
        </Action>
        <Action ActionFlags="WaitForNoMission" ActionId="ResetDailyMissionOps" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="0" OutputDuration="" OutputStat="DailyMissionOpCount" PauseWhenOffline="" />
          </Outputs>
        </Action>
        <Action ActionFlags="WaitForNoMission" ActionId="ResetMissionCaps" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="3" OutputDuration="" OutputStat="Max_MissionOps_Random_Daily" PauseWhenOffline="" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="WaitForNoMission" ActionId="JoinGoodReputation" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Reputation.Good" Invert="" />
          <Check InputAmount="500" InputFlags="" InputId="Family.Renown" />
        </Inputs>
        <Outputs>
          <EventLog DisplayType="EventBanner" EventFlags="None" Icon="fame" IconId="65">
            <NameText Flags="" Notes="" Text="RUMORS: We Are Famous" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="CommandName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Word's getting around about us. I've heard from another group of survivors who'd like to join us. - %1$s" />
                <SummaryText Flags="" Notes="" Text="Other survivors want to join us." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
          <ChangeState ActorIndex="" State="State.Join" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="RecoveryMission(MissingPerson)" ActionType="Action.Passive" ExecuteTimeStandard="10m" OutputDelayTime="30s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Meta.Missing" FunctionTags="" HideWarnings="True" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.RecentMission.Any" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encRescue" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, Repeats" ActionId="Relocate" ActionType="Action.Background" ExecuteTimeStandard="1d" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Building ActorFlags="" ActorName="" BuildingFlagsMask="Outdoor, Tiny, HasBarricades" BuildingFlagsQuery="HasBarricades" HideWarnings="" NearActorIdx="-1" Optional="" SearchRangeMax="500.0" SearchRangeMin="0.0" SiteTag="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_ClaimSite EnclaveIndex="" SiteIndex="0" />
          <Enclave_StatAdd DurationCancellable="" EnclaveIndex="" OutputAmount="1" OutputDuration="" OutputStat="DangerLevel" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="LoseMember" ActionType="Action.Background" ExecuteTimeStandard="12h" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Enclave.Leader" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts>
          <Alt AltId="Flee" AltOdds="50" />
          <Alt AltId="Survive" AltOdds="50" />
        </Alts>
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="2" InputFlags="" InputId="DangerLevel" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventRewardStat ExludeFromSummary="false" Icon="HappyFace" OutputAmount="-1" OutputId="Stat.Morale" RewardList="General" IconId="11">
            <DescriptionText Flags="" Notes="" Text="%+d Community Morale." />
          </EventRewardStat>
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Disarray" IconId="33">
            <NameText Flags="" Notes="" Text="RUMOR: Neighbor Dead" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
              <EventDescArg Param="-1" Type="CommandName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Sounds like our neighbors suffered a loss. - %2$s" />
                <SummaryText Flags="" Notes="" Text="%1$s died." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Did not survive." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
          <Actor_Kill ActorIndex="0" Silent="" />
          <ChangeState ActorIndex="" State="Endangered" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="5m" OutputStat="Blackout_TrustStateChange" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="Survive" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="Flee" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Enclave.Leader" FunctionTags="NotBusy" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="1" InputFlags="" InputId="DangerLevel" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventRewardStat ExludeFromSummary="false" Icon="HappyFace" OutputAmount="-1" OutputId="Stat.Morale" RewardList="General" IconId="11">
            <DescriptionText Flags="" Notes="" Text="%+d Community Morale." />
          </EventRewardStat>
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Disarray" IconId="33">
            <NameText Flags="" Notes="" Text="RUMOR: Neighbor Missing" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
              <EventDescArg Param="-1" Type="CommandName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Sounds like our neighbors suffered a loss. - %2$s" />
                <SummaryText Flags="" Notes="" Text="%1$s missing." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Is now missing." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
          <Actor_Flee ActorIndex="0" FleeReasonTrait="Trait.Mood.Fled_Lost" InstantMissing="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="NormalizeWorldPop" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="53" InputFlags="" InputId="Count.WorldPopulation" />
        </Inputs>
        <Outputs>
          <EventRewardStat ExludeFromSummary="false" Icon="HappyFace" OutputAmount="-1" OutputId="Stat.Morale" RewardList="General" IconId="11">
            <DescriptionText Flags="" Notes="" Text="%+d Community Morale." />
          </EventRewardStat>
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Disarray" IconId="33">
            <NameText Flags="" Notes="" Text="RUMOR: Neighbor Dead" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
              <EventDescArg Param="-1" Type="CommandName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Sounds like our neighbors suffered a loss. - %2$s" />
                <SummaryText Flags="" Notes="" Text="%1$s died." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Did not survive." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
          <Actor_Kill ActorIndex="0" Silent="" />
          <ChangeState ActorIndex="" State="Endangered" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="5m" OutputStat="Blackout_TrustStateChange" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="AddFirstFavorMission (init)" ActionType="Action.Passive" ExecuteTimeStandard="0" OutputDelayTime="0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="!FirstFavorMissionCreated" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encFavor" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="14h" OutputStat="FirstFavorMissionCreated" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AddRndMission" ActionType="Action.Passive" ExecuteTimeStandard="5s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="NoRndNeighborMission_Capped" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_2" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_1" AltOdds="80" />
          <Alt AltId="NoRndNeighborMission_0" AltOdds="10" />
          <Alt AltId="AddRndNeighborMission_3" AltOdds="10" />
          <Alt AltId="AddRndNeighborMission_2" AltOdds="50" />
        </Alts>
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.RTS.NoEnclaveMissions" Invert="True" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Neighbor" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.Mission" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Blackout.RandomMissions" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encTrade" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission." />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_Capped" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="1" InputFlags="" InputId="!Count.MissionOps_Random_Allowed" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_Capped" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_0" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_0" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_1" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="1" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_1" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="2" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_2" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encTraining" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 2" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_3" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encSupplies" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 3" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="RecruitMissing" ActionType="Action.Passive" ExecuteTimeStandard="45m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.MoodType.Fled, Trait.Meta.Missing, !Trait.Immune.EnclaveRecruitment" FunctionTags="Npc, Missing, NotBusy" HideWarnings="True" Optional="" TargetEnclave="Enclave.Home" />
        </Actors>
        <Alts>
          <Alt AltId="RecruitMissing_Fail" AltOdds="70" />
          <Alt AltId="RecruitMissing_Expelled" AltOdds="100.0" />
          <Alt AltId="RecruitMissing_Fail" AltOdds="70" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_EvolveTraits ActorIndex="0" Event="RESETMOOD" EventLogOutput="None" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Meta.Missing" />
          <Console_Command Command="LOG: NpcEnclave recruited Missing community member" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: Safe and Sound" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Thought you'd want to know I made it. I met up with some good people. I have a new home now. - %1$s" />
                <SummaryText Flags="" Notes="" Text="%1$s joined some other survivors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has a new home." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="RecruitMissing_Expelled" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Mood.Fled_Expelled, Trait.Meta.Missing, !Trait.Immune.EnclaveRecruitment" FunctionTags="Npc, Missing, NotBusy" HideWarnings="True" Optional="" TargetEnclave="Enclave.Home" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_EvolveTraits ActorIndex="0" Event="RESETMOOD" EventLogOutput="None" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Meta.Missing" />
          <Enclave_AddTrust DisableBonus="false" EnclaveIndex="" Trust="-70" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          <Console_Command Command="LOG: NpcEnclave recruited Expelled community member" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: Hasta La Vista" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Thought you were hot shit kicking me out, right? Well, it turns out I don't need you assholes. - %1$s" />
                <SummaryText Flags="" Notes="" Text="%1$s joined some other survivors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has a new home." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="RecruitMissing_Loyal" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Mood.Fled_Expelled, Trait.Meta.Missing, !Trait.Immune.EnclaveRecruitment" FunctionTags="Npc, Missing, NotBusy" HideWarnings="True" Optional="" TargetEnclave="Enclave.Home" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_EvolveTraits ActorIndex="0" Event="RESETMOOD" EventLogOutput="None" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Meta.Missing" />
          <Enclave_AddTrust DisableBonus="false" EnclaveIndex="" Trust="10" />
          <Console_Command Command="LOG: NpcEnclave recruited Loyal community member" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: Safe and Sound" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Thought you'd want to know I made it. I met up with some good people. I have a new home now. - %1$s" />
                <SummaryText Flags="" Notes="" Text="%1$s joined some other survivors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has a new home." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="RecruitMissing_Fail" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="IncMissionCaps" ActionType="Action.Passive" ExecuteTimeStandard="30m" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatAdd DurationCancellable="" EnclaveIndex="" OutputAmount="1" OutputDuration="" OutputStat="Max_MissionOps_Random_Daily" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="To Join (max trust)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="100" InputFlags="" InputId="Trust" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Blackout_TrustStateChange" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Join" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: You rock!" />
            <TutorialText Flags="" Notes="" Text="Your actions determine other groups' attitudes toward you." />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="We appreciate everything you've done for us. - Your neighbor, %1$s" />
                <SummaryText Flags="" Notes="" Text="Maximum trust!" />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has gained trust." />
              </EventNpcEffect>
              <EventEffect Icon="63 influence" Type="Stockpile" Value="-1" IconId="63">
                <DescriptionText Flags="" Notes="" Text="Taking things from their SUPPLY LOCKER will cost less INFLUENCE now." />
                <NameText Flags="" Notes="" Text="Influence Costs Decreased" />
              </EventEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="ToUnfriendly (Trust)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="30" InputFlags="" InputId="!Trust" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Blackout_TrustStateChange" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: You Suck!" />
            <TutorialText Flags="" Notes="" Text="Your actions determine other groups' attitudes toward you." />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="We were foolish to ever think you could be trusted. - Your reluctant neighbor, %1$s" />
                <SummaryText Flags="" Notes="" Text="Unfriendly attitude." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has lost trust." />
              </EventNpcEffect>
              <EventEffect Icon="63 influence" Type="Stockpile" Value="-1" IconId="63">
                <DescriptionText Flags="" Notes="" Text="Taking things from their SUPPLY LOCKER will cost more INFLUENCE now." />
                <NameText Flags="" Notes="" Text="Influence Costs Increased" />
              </EventEffect>
            </NpcEffects>
          </EventLog>
          <ChangeState ActorIndex="" State="Friendly" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="5m" OutputStat="Blackout_TrustStateChange" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="ToNeutral (Trust)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="30" InputFlags="" InputId="Trust" UseMissionEnclave="" />
          <Enclave_Check EnclaveIndex="" InputAmount="70" InputFlags="" InputId="!Trust" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Blackout_TrustStateChange" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: I'm Staying Vigilant" />
            <TutorialText Flags="" Notes="" Text="Your actions determine other groups' attitudes toward you." />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="I'm not entirely sure you people can be trusted. - Your watchful neighbor, %1$s" />
                <SummaryText Flags="" Notes="" Text="Neutral attitude." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has lost trust." />
              </EventNpcEffect>
              <EventEffect Icon="63 influence" Type="Stockpile" Value="-1" IconId="63">
                <DescriptionText Flags="" Notes="" Text="Taking things from their SUPPLY LOCKER will cost more INFLUENCE now." />
                <NameText Flags="" Notes="" Text="Influence Costs Increased" />
              </EventEffect>
            </NpcEffects>
          </EventLog>
          <ChangeState ActorIndex="" State="Neutral_Confident" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="5m" OutputStat="Blackout_TrustStateChange" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="Note_Discovered" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Discovered" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Note_Discovered" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="Note_Discovered" PauseWhenOffline="" />
          <ExecuteAction ActionId="Note_Discovered_AddResource" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Survivors" IconId="60">
            <NameText Flags="" Notes="" Text="DISCOVERED: Friendly Survivors" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="PlayerName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="I encountered a new group of survivors. So far they seem friendly. - %1$s" />
                <SummaryText Flags="" Notes="" Text="New neighbors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="New neighbor." />
              </EventNpcEffect>
              <EventNpcEffect ActorIndex="1" Value="0">
                <DescriptionText Flags="" Notes="" Text="New neighbor." />
              </EventNpcEffect>
              <EventNpcEffect ActorIndex="2" Value="0">
                <DescriptionText Flags="" Notes="" Text="New neighbor." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Subaction" ActionId="Note_Discovered_AddResource" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="Note_Discovered_AddResourceFood" AltOdds="100.0" />
          <Alt AltId="Note_Discovered_AddResourceMedicine" AltOdds="100.0" />
          <Alt AltId="Note_Discovered_AddResourceAmmo" AltOdds="100.0" />
          <Alt AltId="Note_Discovered_AddResourceMaterials" AltOdds="100.0" />
          <Alt AltId="Note_Discovered_AddResourceFuel" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceFood" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFood" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="37 Food" RewardList="General" Type="Stockpile" Value="-1" IconId="37">
            <DescriptionText Flags="" Notes="" Text="Good supply of FOOD in their location." />
            <NameText Flags="" Notes="" Text="Food Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceMedicine" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMedicine" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="8 Health" RewardList="General" Type="Stockpile" Value="-1" IconId="8">
            <DescriptionText Flags="" Notes="" Text="Good supply of MEDICINE in their location." />
            <NameText Flags="" Notes="" Text="Medicine Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceAmmo" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasAmmo" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="1 Ammo" RewardList="General" Type="Stockpile" Value="-1" IconId="1">
            <DescriptionText Flags="" Notes="" Text="Good supply of AMMO in their location." />
            <NameText Flags="" Notes="" Text="Ammo Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceMaterials" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMaterials" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="48 Materials" RewardList="General" Type="Stockpile" Value="-1" IconId="48">
            <DescriptionText Flags="" Notes="" Text="Good supply of MATERIALS in their location." />
            <NameText Flags="" Notes="" Text="Materials Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceFuel" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFuel" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="39 Fuel" RewardList="General" Type="Stockpile" Value="-1" IconId="39">
            <DescriptionText Flags="" Notes="" Text="Good supply of FUEL in their location." />
            <NameText Flags="" Notes="" Text="Fuel Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="SetCostScalar" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="1.2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <LocationEvents />
    </State>
    <State Alertness="Occupy" Id="Endangered">
      <OnNextDay>
        <Action ActionFlags="" ActionId="SetResources" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_SetResources EnclaveIndex="" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="SetEnclaveInventory" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts>
            <Alt AltId="HasFood" AltOdds="100.0" />
            <Alt AltId="HasMedicine" AltOdds="100.0" />
            <Alt AltId="HasAmmo" AltOdds="100.0" />
            <Alt AltId="HasMaterials" AltOdds="100.0" />
            <Alt AltId="HasFuel" AltOdds="100.0" />
          </Alts>
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Food" />
            <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="HasFood" PauseWhenOffline="" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Scraps)" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet40cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet44cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet357cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet556mm" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet762mm" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasFood" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFood" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="3" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="5" EnclaveIndex="" GiveFlags="" Name="Food" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Food)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasMedicine" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMedicine" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Painkiller_Codeine" />
            <Enclave_Give AmmoPercentage="100" Count="6" EnclaveIndex="" GiveFlags="" Name="HealthPack" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Medicine)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasAmmo" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasAmmo" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="13" EnclaveIndex="" GiveFlags="" Name="AmmoShotgunShell" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Ammo)" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet40cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet44cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet357cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet556mm" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet762mm" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasMaterials" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMaterials" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="3" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Suppressor_Homemade" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Materials)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasFuel" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFuel" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="6" EnclaveIndex="" GiveFlags="" Name="Molotov_Fuel" />
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Fuel)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="SetCostScalar" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts>
            <Alt AltId="SetCostScalar_Friendly" AltOdds="100.0" />
            <Alt AltId="SetCostScalar_Neutral" AltOdds="100.0" />
          </Alts>
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="SetCostScalar_Friendly" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_Check EnclaveIndex="" InputAmount="70" InputFlags="" InputId="Trust" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="1.2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="SetCostScalar_Neutral" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_Check EnclaveIndex="" InputAmount="30" InputFlags="" InputId="Trust" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="1.5" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="WaitForNoMission" ActionId="Breakup (Timer)" ActionType="Action.Background" ExecuteTimeStandard="1d" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="&lt;100" InputFlags="" InputId="Trust" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_Destroy EnclaveIndex="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="RecruitMissing" ActionType="Action.Passive" ExecuteTimeStandard="45m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.MoodType.Fled, Trait.Meta.Missing, !Trait.Immune.EnclaveRecruitment" FunctionTags="Npc, Missing, NotBusy" HideWarnings="True" Optional="" TargetEnclave="Enclave.Home" />
        </Actors>
        <Alts>
          <Alt AltId="RecruitMissing_Fail" AltOdds="70" />
          <Alt AltId="RecruitMissing_Expelled" AltOdds="100.0" />
          <Alt AltId="RecruitMissing_Fail" AltOdds="70" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_EvolveTraits ActorIndex="0" Event="RESETMOOD" EventLogOutput="None" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Meta.Missing" />
          <Console_Command Command="LOG: NpcEnclave recruited Missing community member" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: Safe and Sound" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Thought you'd want to know I made it. I met up with some good people. I have a new home now. - %1$s" />
                <SummaryText Flags="" Notes="" Text="%1$s joined some other survivors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has a new home." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="RecruitMissing_Expelled" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Mood.Fled_Expelled, Trait.Meta.Missing, !Trait.Immune.EnclaveRecruitment" FunctionTags="Npc, Missing, NotBusy" HideWarnings="True" Optional="" TargetEnclave="Enclave.Home" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_EvolveTraits ActorIndex="0" Event="RESETMOOD" EventLogOutput="None" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Meta.Missing" />
          <Enclave_AddTrust DisableBonus="false" EnclaveIndex="" Trust="-70" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          <Console_Command Command="LOG: NpcEnclave recruited Expelled community member" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: Hasta La Vista" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Thought you were hot shit kicking me out, right? Well, it turns out I don't need you assholes. - %1$s" />
                <SummaryText Flags="" Notes="" Text="%1$s joined some other survivors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has a new home." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="RecruitMissing_Loyal" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Mood.Fled_Expelled, Trait.Meta.Missing, !Trait.Immune.EnclaveRecruitment" FunctionTags="Npc, Missing, NotBusy" HideWarnings="True" Optional="" TargetEnclave="Enclave.Home" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_EvolveTraits ActorIndex="0" Event="RESETMOOD" EventLogOutput="None" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Meta.Missing" />
          <Enclave_AddTrust DisableBonus="false" EnclaveIndex="" Trust="10" />
          <Console_Command Command="LOG: NpcEnclave recruited Loyal community member" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: Safe and Sound" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Thought you'd want to know I made it. I met up with some good people. I have a new home now. - %1$s" />
                <SummaryText Flags="" Notes="" Text="%1$s joined some other survivors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has a new home." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="RecruitMissing_Fail" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="Note_Discovered" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Discovered" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Note_Discovered" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="Note_Discovered" PauseWhenOffline="" />
          <ExecuteAction ActionId="Note_Discovered_AddResource" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Survivors" IconId="60">
            <NameText Flags="" Notes="" Text="DISCOVERED: Desperate Survivors" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="PlayerName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="I encountered a new group of survivors. They're barely hanging on. - %1$s" />
                <SummaryText Flags="" Notes="" Text="New neighbors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="New neighbor." />
              </EventNpcEffect>
              <EventNpcEffect ActorIndex="1" Value="0">
                <DescriptionText Flags="" Notes="" Text="New neighbor." />
              </EventNpcEffect>
              <EventNpcEffect ActorIndex="2" Value="0">
                <DescriptionText Flags="" Notes="" Text="New neighbor." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Subaction" ActionId="Note_Discovered_AddResource" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="Note_Discovered_AddResourceFood" AltOdds="100.0" />
          <Alt AltId="Note_Discovered_AddResourceMedicine" AltOdds="100.0" />
          <Alt AltId="Note_Discovered_AddResourceAmmo" AltOdds="100.0" />
          <Alt AltId="Note_Discovered_AddResourceMaterials" AltOdds="100.0" />
          <Alt AltId="Note_Discovered_AddResourceFuel" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceFood" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFood" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="37 Food" RewardList="General" Type="Stockpile" Value="-1" IconId="37">
            <DescriptionText Flags="" Notes="" Text="Good supply of FOOD in their location." />
            <NameText Flags="" Notes="" Text="Food Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceMedicine" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMedicine" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="8 Health" RewardList="General" Type="Stockpile" Value="-1" IconId="8">
            <DescriptionText Flags="" Notes="" Text="Good supply of MEDICINE in their location." />
            <NameText Flags="" Notes="" Text="Medicine Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceAmmo" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasAmmo" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="1 Ammo" RewardList="General" Type="Stockpile" Value="-1" IconId="1">
            <DescriptionText Flags="" Notes="" Text="Good supply of AMMO in their location." />
            <NameText Flags="" Notes="" Text="Ammo Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceMaterials" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMaterials" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="48 Materials" RewardList="General" Type="Stockpile" Value="-1" IconId="48">
            <DescriptionText Flags="" Notes="" Text="Good supply of MATERIALS in their location." />
            <NameText Flags="" Notes="" Text="Materials Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceFuel" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFuel" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="39 Fuel" RewardList="General" Type="Stockpile" Value="-1" IconId="39">
            <DescriptionText Flags="" Notes="" Text="Good supply of FUEL in their location." />
            <NameText Flags="" Notes="" Text="Fuel Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AddRndMission" ActionType="Action.Passive" ExecuteTimeStandard="5s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="NoRndNeighborMission_Capped" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_2" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_1" AltOdds="80" />
          <Alt AltId="NoRndNeighborMission_0" AltOdds="10" />
          <Alt AltId="AddRndNeighborMission_3" AltOdds="0" />
          <Alt AltId="AddRndNeighborMission_2" AltOdds="50" />
        </Alts>
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.RTS.NoEnclaveMissions" Invert="True" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Neighbor" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.Mission" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Blackout.RandomMissions" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.NeighborSiege" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission." />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_Capped" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="1" InputFlags="" InputId="!Count.MissionOps_Random_Allowed" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_Capped" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_0" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_0" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_1" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="1" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_1" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="2" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_2" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encTraining" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 2" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_3" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encSave" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 3" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="EndangeredSetupNoCollision" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <Action ActionFlags="Repeats" ActionId="To Join (max trust)" ActionType="Action.Passive" ExecuteTimeStandard="5m" OutputDelayTime="5m" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="100" InputFlags="" InputId="Trust" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Join" />
        </Outputs>
      </Action>
      <LocationEvents />
    </State>
    <State Alertness="Occupy" Id="Join">
      <OnNextDay>
        <Action ActionFlags="" ActionId="SetResources" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_SetResources EnclaveIndex="" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="SetEnclaveInventory" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts>
            <Alt AltId="HasFood" AltOdds="100.0" />
            <Alt AltId="HasMedicine" AltOdds="100.0" />
            <Alt AltId="HasAmmo" AltOdds="100.0" />
            <Alt AltId="HasMaterials" AltOdds="100.0" />
            <Alt AltId="HasFuel" AltOdds="100.0" />
          </Alts>
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Food" />
            <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="HasFood" PauseWhenOffline="" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Scraps)" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet40cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet44cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet357cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet556mm" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet762mm" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasFood" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFood" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="3" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="5" EnclaveIndex="" GiveFlags="" Name="Food" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Food)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasMedicine" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMedicine" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Painkiller_Codeine" />
            <Enclave_Give AmmoPercentage="100" Count="6" EnclaveIndex="" GiveFlags="" Name="HealthPack" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Medicine)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasAmmo" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasAmmo" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="13" EnclaveIndex="" GiveFlags="" Name="AmmoShotgunShell" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Ammo)" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet40cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet44cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet357cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet556mm" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet762mm" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasMaterials" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMaterials" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="3" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Suppressor_Homemade" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Materials)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasFuel" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFuel" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="6" EnclaveIndex="" GiveFlags="" Name="Molotov_Fuel" />
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Fuel)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="SetCostScalar" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts>
            <Alt AltId="SetCostScalar_Friendly" AltOdds="100.0" />
            <Alt AltId="SetCostScalar_Neutral" AltOdds="100.0" />
          </Alts>
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="SetCostScalar_Friendly" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_Check EnclaveIndex="" InputAmount="70" InputFlags="" InputId="Trust" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="1.2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="SetCostScalar_Neutral" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_Check EnclaveIndex="" InputAmount="30" InputFlags="" InputId="Trust" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="1.5" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="WaitForNoMission" ActionId="Breakup (Timer)" ActionType="Action.Background" ExecuteTimeStandard="1d" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="&lt;100" InputFlags="" InputId="Trust" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_Destroy EnclaveIndex="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="Note_Discovered" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Discovered" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Note_Discovered" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="Note_Discovered" PauseWhenOffline="" />
          <ExecuteAction ActionId="Note_Discovered_AddResource" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Survivors" IconId="60">
            <NameText Flags="" Notes="" Text="DISCOVERED: Eager Survivors" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="PlayerName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="I encountered a new group of survivors. I think they'll join us if we ask. - %1$s" />
                <SummaryText Flags="" Notes="" Text="New neighbors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="New neighbor." />
              </EventNpcEffect>
              <EventNpcEffect ActorIndex="1" Value="0">
                <DescriptionText Flags="" Notes="" Text="New neighbor." />
              </EventNpcEffect>
              <EventNpcEffect ActorIndex="2" Value="0">
                <DescriptionText Flags="" Notes="" Text="New neighbor." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Subaction" ActionId="Note_Discovered_AddResource" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="Note_Discovered_AddResourceFood" AltOdds="100.0" />
          <Alt AltId="Note_Discovered_AddResourceMedicine" AltOdds="100.0" />
          <Alt AltId="Note_Discovered_AddResourceAmmo" AltOdds="100.0" />
          <Alt AltId="Note_Discovered_AddResourceMaterials" AltOdds="100.0" />
          <Alt AltId="Note_Discovered_AddResourceFuel" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceFood" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFood" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="37 Food" RewardList="General" Type="Stockpile" Value="-1" IconId="37">
            <DescriptionText Flags="" Notes="" Text="Good supply of FOOD in their location." />
            <NameText Flags="" Notes="" Text="Food Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceMedicine" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMedicine" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="8 Health" RewardList="General" Type="Stockpile" Value="-1" IconId="8">
            <DescriptionText Flags="" Notes="" Text="Good supply of MEDICINE in their location." />
            <NameText Flags="" Notes="" Text="Medicine Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceAmmo" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasAmmo" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="1 Ammo" RewardList="General" Type="Stockpile" Value="-1" IconId="1">
            <DescriptionText Flags="" Notes="" Text="Good supply of AMMO in their location." />
            <NameText Flags="" Notes="" Text="Ammo Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceMaterials" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMaterials" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="48 Materials" RewardList="General" Type="Stockpile" Value="-1" IconId="48">
            <DescriptionText Flags="" Notes="" Text="Good supply of MATERIALS in their location." />
            <NameText Flags="" Notes="" Text="Materials Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceFuel" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFuel" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="39 Fuel" RewardList="General" Type="Stockpile" Value="-1" IconId="39">
            <DescriptionText Flags="" Notes="" Text="Good supply of FUEL in their location." />
            <NameText Flags="" Notes="" Text="Fuel Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="AddMission (init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="encJoinEscort" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="Join" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionJoin_Done" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_Destroy EnclaveIndex="" />
        </Outputs>
      </Action>
      <LocationEvents />
    </State>
  </Enclave>
  <Enclave EnclaveId="Test" Flags="Mission">
    <OnNextDay />
    <Names>
      <NameText Flags="" Notes="" Text="Test Enclave" />
    </Names>
    <State Alertness="Relax" Id="Arrive">
      <OnNextDay />
      <Action ActionFlags="" ActionId="Establish" ActionType="Action.Establish" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Enclave ActorFlags="" ActorName="Enclave.Home" EnclaveStat="" HideWarnings="" Optional="" />
          <Building ActorFlags="" ActorName="" BuildingFlagsMask="Outpost, Enclave, Outdoor, Tiny, MissionOp, Entered, SearchActivity, HasBarricades" BuildingFlagsQuery="HasBarricades" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="500.0" SearchRangeMin="0.0" SiteTag="">
            <Building ActorFlags="" ActorName="" BuildingFlagsMask="Outpost, Enclave, Outdoor, Tiny, MissionOp, Entered, SearchActivity, HasBarricades" BuildingFlagsQuery="HasBarricades" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="1000.0" SearchRangeMin="0.0" SiteTag="" />
          </Building>
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="!Trait.Immune.NonStoryContent" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="!Trait.Immune.NonStoryContent" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="!Trait.Immune.NonStoryContent" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_ClaimSite EnclaveIndex="" SiteIndex="1" />
          <Actor_JoinEnclave ActorIndex="2" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="3" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="4" EnclaveIndex="" />
          <Enclave_AddTrust DisableBonus="false" EnclaveIndex="" Trust="-100" />
          <Enclave_AddTrust DisableBonus="false" EnclaveIndex="" Trust="45" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          <BuildingGore ActorIndex="0" Enable="false" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="InitStats" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="50" OutputDuration="" OutputStat="Determination" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="50" OutputDuration="" OutputStat="Skill" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="50" OutputDuration="" OutputStat="Survival" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="30" OutputDuration="" OutputStat="Wealth" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="ToBasic" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <ChangeState ActorIndex="" State="Basic" />
        </Outputs>
      </Action>
      <LocationEvents />
    </State>
    <State Alertness="Relax" Id="Basic">
      <OnNextDay>
        <Action ActionFlags="" ActionId="SetResources" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_SetResources EnclaveIndex="" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="SetEnclaveInventory" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts>
            <Alt AltId="HasFood" AltOdds="100.0" />
            <Alt AltId="HasMedicine" AltOdds="100.0" />
            <Alt AltId="HasAmmo" AltOdds="100.0" />
            <Alt AltId="HasMaterials" AltOdds="100.0" />
            <Alt AltId="HasFuel" AltOdds="100.0" />
          </Alts>
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Food" />
            <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="HasFood" PauseWhenOffline="" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Scraps)" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet40cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet44cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet357cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet556mm" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet762mm" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasFood" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFood" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="3" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="5" EnclaveIndex="" GiveFlags="" Name="Food" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Food)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasMedicine" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMedicine" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Painkiller_Codeine" />
            <Enclave_Give AmmoPercentage="100" Count="6" EnclaveIndex="" GiveFlags="" Name="HealthPack" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Medicine)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasAmmo" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasAmmo" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="13" EnclaveIndex="" GiveFlags="" Name="AmmoShotgunShell" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Ammo)" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet40cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet44cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet357cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet556mm" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet762mm" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasMaterials" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMaterials" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="3" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Suppressor_Homemade" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Materials)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasFuel" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFuel" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="6" EnclaveIndex="" GiveFlags="" Name="Molotov_Fuel" />
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Fuel)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="SetCostScalar" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts>
            <Alt AltId="SetCostScalar_Friendly" AltOdds="100.0" />
            <Alt AltId="SetCostScalar_Neutral" AltOdds="100.0" />
          </Alts>
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="SetCostScalar_Friendly" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_Check EnclaveIndex="" InputAmount="70" InputFlags="" InputId="Trust" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="1.2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="SetCostScalar_Neutral" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_Check EnclaveIndex="" InputAmount="30" InputFlags="" InputId="Trust" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="1.5" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="WaitForNoMission" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_Flee ActorIndex="0" FleeReasonTrait="Trait.Mood.Fled_Lost" InstantMissing="True" />
        </Outputs>
      </Action>
      <LocationEvents />
    </State>
  </Enclave>
  <Enclave EnclaveId="Hicks" Flags="Mission">
    <OnNextDay />
    <Names>
      <NameText Flags="" Notes="" Text="The Wilkersons" />
    </Names>
    <State Alertness="Relax" Id="Arrive">
      <OnNextDay />
      <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.SetInventoryWI" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="InitStats" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="50" OutputDuration="" OutputStat="Determination" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="50" OutputDuration="" OutputStat="Skill" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="50" OutputDuration="" OutputStat="Survival" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="30" OutputDuration="" OutputStat="Wealth" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, WaitForNoMission" ActionId="Establish" ActionType="Action.Establish" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <TagPoint ActorName="WCPoint_OldFarm_MedicalStaff" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="10.0" TagPointFlag="" TagPointType="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.HicksSchemer" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.HicksHothead" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Building ActorFlags="" ActorName="" BuildingFlagsMask="" BuildingFlagsQuery="" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="100.0" SearchRangeMin="0.0" SiteTag="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_ClaimSite EnclaveIndex="" SiteIndex="3" />
          <Actor_JoinEnclave ActorIndex="1" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="2" EnclaveIndex="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="HasAmmo" PauseWhenOffline="" />
          <ChangeState ActorIndex="" State="Hidden" />
        </Outputs>
      </Action>
      <LocationEvents />
    </State>
    <State Alertness="Relax" Id="Hidden">
      <OnNextDay />
      <Action ActionFlags="ActivateOnce, Repeats" ActionId="ToExchange(LategameCheat)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.chBlackFever" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Exchange" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="SetupSiege" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.StoryWI.UnlockArc" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Cheat.wiSiege" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Cheat.wiDenial" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Cheat.wiCargo" Invert="True" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Siege" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats" ActionId="ToSiege (Cheat)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.wiSiege" Invert="" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Cheat.wiSiege" PauseWhenOffline="" />
          <ChangeState ActorIndex="" State="Siege" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats" ActionId="ToDenial (Cheat)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.wiDenial" Invert="" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Cheat.wiDenial" PauseWhenOffline="" />
          <ExecuteAction ActionId="GrowEnclave" />
          <ChangeState ActorIndex="" State="Denial" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats" ActionId="ToCargo (Cheat)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.wiCargo" Invert="" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Cheat.wiCargo" PauseWhenOffline="" />
          <ExecuteAction ActionId="GrowEnclave" />
          <ChangeState ActorIndex="" State="Cargo" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats" ActionId="ToExchange (Cheat)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.wiExchange" Invert="" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Cheat.wiExchange" PauseWhenOffline="" />
          <ExecuteAction ActionId="GrowEnclave" />
          <ChangeState ActorIndex="" State="Exchange" />
        </Outputs>
      </Action>
      <Action ActionFlags="Subaction" ActionId="GrowEnclave" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Enclave ActorFlags="" ActorName="Hicks" EnclaveStat="" HideWarnings="" Optional="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.Thug" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.Thug" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_JoinEnclave ActorIndex="1" EnclaveIndex="0" />
          <Actor_JoinEnclave ActorIndex="2" EnclaveIndex="0" />
        </Outputs>
      </Action>
      <LocationEvents />
    </State>
    <State Alertness="Relax" Id="Siege">
      <OnNextDay>
        <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <EventTrigger Event="fsEvent.SetInventoryWI" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="wi00Siege" ActionType="Action.Background" ExecuteTimeStandard="0.01s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="wi00Siege" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="MissionPrimary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToNextState" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="PreDenial" />
          <Console_Command Command="LOG: Hicks -- PreDenial" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="Note_Discovered" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.HicksHothead" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.HicksSchemer" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Discovered" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Note_Discovered" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="Note_Discovered" PauseWhenOffline="" />
          <EventAddEffect Icon="1 Ammo" RewardList="General" Type="Stockpile" Value="-1" IconId="1">
            <DescriptionText Flags="" Notes="" Text="Good supply of AMMO in their location." />
            <NameText Flags="" Notes="" Text="Ammo Supply" />
          </EventAddEffect>
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Survivors" IconId="60">
            <NameText Flags="" Notes="" Text="DISCOVERED: The Wilkersons" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="PlayerName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="The Wilkersons seem like a dangerous and volatile bunch. - %1$s" />
                <SummaryText Flags="" Notes="" Text="New neighbors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="One nasty son of a bitch." />
              </EventNpcEffect>
              <EventNpcEffect ActorIndex="1" Value="0">
                <DescriptionText Flags="" Notes="" Text="His manners are better than his older brother's, but his intentions aren't." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="SwitchEli" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.HicksDying" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_InventoryWipe ActorIndex="0" />
          <Actor_Kill ActorIndex="0" Silent="True" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="SkipSiege (EdSuccumbed)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.HicksDead" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.StoryCH.EdSuccumbed" Invert="" />
        </Inputs>
        <Outputs>
          <Actor_InventoryWipe ActorIndex="0" />
          <Actor_Kill ActorIndex="0" Silent="True" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryWI.EliDied" PauseWhenOffline="" />
          <ChangeState ActorIndex="" State="PreDenial" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mission" IconId="93">
            <NameText Flags="" Notes="" Text="The Old Farmhouse" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs />
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Now that Ed is dead, we no longer have a reason to fetch the Doc." />
                <SummaryText Flags="" Notes="" Text="Mission Aborted" />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects />
          </EventLog>
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="1" Flags="" Radius="275">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="wi00Siege_TravelLE" SceneReason="MissionOp" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <Enclave ActorFlags="" ActorName="Enclave.Hicks" EnclaveStat="" HideWarnings="" Optional="" />
            <Building ActorFlags="AllowOwned, Closest" ActorName="" BuildingFlagsMask="" BuildingFlagsQuery="" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="0" SearchRangeMin="0.0" SiteTag="" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="PreDenial">
      <OnNextDay>
        <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <EventTrigger Event="fsEvent.SetInventoryWI" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="WaitForNoMission" ActionId="WCScenes" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_WCSceneAdd EnclaveIndex="" Scene="wiWC_General" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AddRndMission" ActionType="Action.Passive" ExecuteTimeStandard="5s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="NoRndNeighborMission_Capped" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_2" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_1" AltOdds="80" />
          <Alt AltId="NoRndNeighborMission_0" AltOdds="10" />
          <Alt AltId="AddRndNeighborMission_3" AltOdds="33.3" />
          <Alt AltId="AddRndNeighborMission_2" AltOdds="50.0" />
        </Alts>
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.RTS.NoEnclaveMissions" Invert="True" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Neighbor" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.Mission" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Blackout.RandomMissions" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="encInfestation" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission." />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_Capped" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="1" InputFlags="" InputId="!Count.MissionOps_Random_Allowed" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_Capped" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_0" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_0" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_1" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="1" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_1" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="2" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_2" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="bagDoc" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 2" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_3" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="encTrade" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 3" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="Note_Discovered" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.GroceryRealist" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.GroceryIdealist" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Discovered" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Note_Discovered" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="Note_Discovered" PauseWhenOffline="" />
          <EventAddEffect Icon="37 Food" RewardList="General" Type="Stockpile" Value="-1" IconId="37">
            <DescriptionText Flags="" Notes="" Text="Good supply of FOOD in their location." />
            <NameText Flags="" Notes="" Text="Food Supply" />
          </EventAddEffect>
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Survivors" IconId="60">
            <NameText Flags="" Notes="" Text="DISCOVERED: The Grange" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="PlayerName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="The survivors at the Grange seem like an interesting group. - %1$s" />
                <SummaryText Flags="" Notes="" Text="New neighbors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Doesn't seem to trust anyone." />
              </EventNpcEffect>
              <EventNpcEffect ActorIndex="1" Value="0">
                <DescriptionText Flags="" Notes="" Text="Wants to think the best of everyone." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.OldDoctor" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="Trait.Behavior.AlwaysAway" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Juggernaut" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="Init" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Enclave ActorFlags="" ActorName="Hicks" EnclaveStat="" HideWarnings="" Optional="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.Thug" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.Thug" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_JoinEnclave ActorIndex="1" EnclaveIndex="0" />
          <Actor_JoinEnclave ActorIndex="2" EnclaveIndex="0" />
          <Display_Text Flags="" Notes="" Text="NEW ZOMBIE TYPE: Big Bastard" Type="Banner - Secondary" />
          <Actor_EvolveTraits ActorIndex="1" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
          <Actor_EvolveTraits ActorIndex="2" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Juggernaut" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, WaitForNoMission" ActionId="To Denial" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.SceneWI.HicksDangerous" Invert="" />
          <CheckBool InputFlags="" InputId="Status.SceneWI.HicksDangerous2" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Denial" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="500">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.NearSource_Juggernaut" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Enemy.NearSource_Juggernaut" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </LeaveActions>
          <Actors>
            <TagPoint ActorName="RTSPoint_bldg_FarmlandCrossroads" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="130" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="Denial">
      <OnNextDay>
        <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <EventTrigger Event="fsEvent.SetInventoryWI" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="WaitForNoMission" ActionId="WCScenes" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_WCSceneAdd EnclaveIndex="" Scene="wiWC_General" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="DelayPrimaryMission_Check" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="DelayPrimaryMission" AltOdds="0" />
        </Alts>
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="Alt" ActionId="DelayPrimaryMission" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="True" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="wi01Denial" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Story" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.StoryOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="wi01Denial" RtsDataAbort="MissionPrimary_Done" RtsDataDecline="MissionPrimary_Done" RtsDataSuccess="MissionPrimary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToNextState" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="PreCargo" />
          <Console_Command Command="LOG: Hicks -- PreCargo" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="Note_Discovered" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.GroceryRealist" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.GroceryIdealist" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Discovered" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Note_Discovered" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="Note_Discovered" PauseWhenOffline="" />
          <EventAddEffect Icon="37 Food" RewardList="General" Type="Stockpile" Value="-1" IconId="37">
            <DescriptionText Flags="" Notes="" Text="Good supply of FOOD in their location." />
            <NameText Flags="" Notes="" Text="Food Supply" />
          </EventAddEffect>
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Survivors" IconId="60">
            <NameText Flags="" Notes="" Text="DISCOVERED: The Grange" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="PlayerName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="The survivors at the Grange seem like an interesting group. - %1$s" />
                <SummaryText Flags="" Notes="" Text="New neighbors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Doesn't seem to trust anyone." />
              </EventNpcEffect>
              <EventNpcEffect ActorIndex="1" Value="0">
                <DescriptionText Flags="" Notes="" Text="Wants to think the best of everyone." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.OldDoctor" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Juggernaut" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Behavior.AlwaysAway" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="GrowEnclave" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Enclave ActorFlags="" ActorName="Hicks" EnclaveStat="" HideWarnings="" Optional="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="500">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.NearSource_Juggernaut" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Enemy.NearSource_Juggernaut" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </LeaveActions>
          <Actors>
            <TagPoint ActorName="RTSPoint_bldg_FarmlandCrossroads" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="130" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="PreCargo">
      <OnNextDay>
        <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <EventTrigger Event="fsEvent.SetInventoryWI" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="WaitForNoMission" ActionId="WCScenes" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_WCSceneAdd EnclaveIndex="" Scene="wiWC_General" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AddRndMission" ActionType="Action.Passive" ExecuteTimeStandard="5s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="NoRndNeighborMission_Capped" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_2" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_1" AltOdds="80" />
          <Alt AltId="NoRndNeighborMission_0" AltOdds="10" />
          <Alt AltId="AddRndNeighborMission_3" AltOdds="33.3" />
          <Alt AltId="AddRndNeighborMission_2" AltOdds="50.0" />
        </Alts>
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.RTS.NoEnclaveMissions" Invert="True" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Neighbor" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.Mission" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Blackout.RandomMissions" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="encInfestation" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission." />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_Capped" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="1" InputFlags="" InputId="!Count.MissionOps_Random_Allowed" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_Capped" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_0" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_0" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_1" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="1" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_1" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="2" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_2" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="bagDoc" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 2" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_3" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="encTrade" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 3" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryWI.UnlockArc" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryWI.EliDied" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.SceneWI.HicksDangerous" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.SceneWI.HicksDangerous2" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Juggernaut" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryWI.completed_wi01Denial" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="GrowEnclave" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="To Cargo (Trust)" ActionType="Action.Background" ExecuteTimeStandard="10s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="50" InputFlags="" InputId="Trust" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Cargo" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="To Cargo (InGameTime)" ActionType="Action.Background" ExecuteTimeStandard="15m" OutputDelayTime="1.5h" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <ChangeState ActorIndex="" State="Cargo" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="500">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.NearSource_Juggernaut" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Enemy.NearSource_Juggernaut" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </LeaveActions>
          <Actors>
            <TagPoint ActorName="RTSPoint_bldg_FarmlandCrossroads" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="130" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="Cargo">
      <OnNextDay>
        <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <EventTrigger Event="fsEvent.SetInventoryWI" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="WaitForNoMission" ActionId="WCScenes" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_WCSceneAdd EnclaveIndex="" Scene="wiWC_General" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="DelayPrimaryMission_Check" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="DelayPrimaryMission" AltOdds="0" />
        </Alts>
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="Alt" ActionId="DelayPrimaryMission" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="True" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="wi02Cargo" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Story" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.StoryOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="wi02Cargo" RtsDataAbort="MissionPrimary_Done" RtsDataDecline="MissionPrimary_Done" RtsDataSuccess="MissionPrimary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToNextState" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="PreExchange" />
          <Console_Command Command="LOG: Hicks -- Cargo" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AddRndMission" ActionType="Action.Passive" ExecuteTimeStandard="5s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="NoRndNeighborMission_Capped" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_2" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_1" AltOdds="80" />
          <Alt AltId="NoRndNeighborMission_0" AltOdds="10" />
          <Alt AltId="AddRndNeighborMission_3" AltOdds="33.3" />
          <Alt AltId="AddRndNeighborMission_2" AltOdds="50.0" />
        </Alts>
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.RTS.NoEnclaveMissions" Invert="True" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Neighbor" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.Mission" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Blackout.RandomMissions" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="encInfestation" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission." />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_Capped" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="1" InputFlags="" InputId="!Count.MissionOps_Random_Allowed" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_Capped" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_0" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_0" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_1" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="1" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_1" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="2" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_2" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="encInfestation" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 2" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_3" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="encTrade" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 3" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryWI.UnlockArc" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryWI.EliDied" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.SceneWI.HicksDangerous" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.SceneWI.HicksDangerous2" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Juggernaut" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="AddRepeatbles (Init)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="500">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.NearSource_Juggernaut" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Enemy.NearSource_Juggernaut" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </LeaveActions>
          <Actors>
            <TagPoint ActorName="RTSPoint_bldg_FarmlandCrossroads" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="130" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="PreExchange">
      <OnNextDay>
        <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <EventTrigger Event="fsEvent.SetInventoryWI" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="SetNextDay" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="WaitForNoMission" ActionId="WCScenes" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_WCSceneAdd EnclaveIndex="" Scene="wiWC_General" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AddRndMission" ActionType="Action.Passive" ExecuteTimeStandard="5s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="NoRndNeighborMission_Capped" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_2" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_1" AltOdds="80" />
          <Alt AltId="NoRndNeighborMission_0" AltOdds="10" />
          <Alt AltId="AddRndNeighborMission_3" AltOdds="33.3" />
          <Alt AltId="AddRndNeighborMission_2" AltOdds="50.0" />
        </Alts>
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.RTS.NoEnclaveMissions" Invert="True" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Neighbor" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.Mission" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Blackout.RandomMissions" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="encInfestation" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission." />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_Capped" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="1" InputFlags="" InputId="!Count.MissionOps_Random_Allowed" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_Capped" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_0" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_0" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_1" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="1" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_1" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="2" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_2" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="bagDoc" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 2" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_3" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="encTrade" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 3" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="DelayPrimaryMission_Check" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="DelayPrimaryMission" AltOdds="80" />
        </Alts>
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="Alt" ActionId="DelayPrimaryMission" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="5m" OutputStat="DelayMissionCreation" PauseWhenOffline="True" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="wiX1Samaritan" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Story" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.StoryOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="wiX1Samaritan" RtsDataAbort="" RtsDataDecline="MissionPrimary_Done" RtsDataSuccess="MissionPrimary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryWI.UnlockArc" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryWI.EliDied" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.SceneWI.HicksDangerous" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.SceneWI.HicksDangerous2" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Juggernaut" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryWI.completed_wi02Cargo" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="DelayStateChange (time)" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="2h" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToExchange (time)" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionSecondary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Exchange" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="500">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.NearSource_Juggernaut" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Enemy.NearSource_Juggernaut" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </LeaveActions>
          <Actors>
            <TagPoint ActorName="RTSPoint_bldg_FarmlandCrossroads" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="130" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="Exchange">
      <OnNextDay>
        <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <EventTrigger Event="fsEvent.SetInventoryWI" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="WaitForNoMission" ActionId="WCScenes" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_WCSceneAdd EnclaveIndex="" Scene="wiWC_General" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="DelayPrimaryMission_Check" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="DelayPrimaryMission" AltOdds="0" />
        </Alts>
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="Alt" ActionId="DelayPrimaryMission" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="True" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="wi03Pitch" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Story" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.StoryOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="wi03Pitch" RtsDataAbort="MissionPrimary_Done" RtsDataDecline="" RtsDataSuccess="MissionPrimary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="wi03Exchange" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysTrue" Invert="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="wi03Exchange" RtsDataAbort="MissionSecondary_Done" RtsDataDecline="" RtsDataSuccess="MissionSecondary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToNextState" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionSecondary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Aftermath" />
          <Console_Command Command="LOG: Hicks -- Aftermath" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryWI.UnlockArc" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryWI.EliDied" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.SceneWI.HicksDangerous" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.SceneWI.HicksDangerous2" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Juggernaut" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="500">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.NearSource_Juggernaut" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Enemy.NearSource_Juggernaut" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </LeaveActions>
          <Actors>
            <TagPoint ActorName="RTSPoint_bldg_FarmlandCrossroads" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="130" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="Aftermath">
      <OnNextDay />
      <Action ActionFlags="ActivateOnce" ActionId="Cheevo" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Achievement>
            <Achievement Title="ENCLAVE_WILKERSON" Id="13" />
          </Achievement>
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="500">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.NearSource_Juggernaut" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Enemy.NearSource_Juggernaut" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </LeaveActions>
          <Actors>
            <TagPoint ActorName="RTSPoint_bldg_FarmlandCrossroads" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="130" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
  </Enclave>
  <Enclave EnclaveId="Police" Flags="Mission">
    <OnNextDay />
    <Names>
      <NameText Flags="" Notes="" Text="The Law" />
    </Names>
    <State Alertness="Relax" Id="Arrive">
      <OnNextDay />
      <Action ActionFlags="ActivateOnce" ActionId="InitStats" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="50" OutputDuration="" OutputStat="Determination" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="50" OutputDuration="" OutputStat="Skill" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="50" OutputDuration="" OutputStat="Survival" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="30" OutputDuration="" OutputStat="Wealth" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.SetInventoryPD" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, WaitForNoMission" ActionId="Establish" ActionType="Action.Establish" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <TagPoint ActorName="RTSPoint_bldg_Courthouse" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="10.0" TagPointFlag="" TagPointType="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.PoliceJudge" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.PoliceCop" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.PoliceSlick" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Building ActorFlags="" ActorName="" BuildingFlagsMask="" BuildingFlagsQuery="" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="0" SearchRangeMin="0.0" SiteTag="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.PoliceLoyal" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_ClaimSite EnclaveIndex="" SiteIndex="4" />
          <Actor_JoinEnclave ActorIndex="1" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="2" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="3" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="5" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="6" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="7" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="8" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="9" EnclaveIndex="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="HasAmmo" PauseWhenOffline="" />
          <ChangeState ActorIndex="" State="Hidden" />
        </Outputs>
      </Action>
      <LocationEvents />
    </State>
    <State Alertness="Relax" Id="Hidden">
      <OnNextDay>
        <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <EventTrigger Event="fsEvent.SetInventoryPD" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="ActivateOnce, Repeats" ActionId="ToEscalation(LategameCheat)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.chBlackFever" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Escalation" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToCurfew (Discovered)" ActionType="Action.Passive" ExecuteTimeStandard="5m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Discovered" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="!Game.Tutorial" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Curfew" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToCurfew (Unlocked)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="!Game.Tutorial" Invert="" />
          <CheckBool InputFlags="" InputId="Game.StoryPD.UnlockArc" Invert="" />
          <CheckBool InputFlags="" InputId="Status.ScenePD.BroadcastHeard" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Cheat.pdDestruction" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Cheat.pdVision" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Cheat.pdCurfew" Invert="True" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Curfew" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats" ActionId="ToCurfew (Cheat)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.pdCurfew" Invert="" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Cheat.pdCurfew" PauseWhenOffline="" />
          <ChangeState ActorIndex="" State="Curfew" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats" ActionId="ToVision (Cheat)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.pdVision" Invert="" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Cheat.pdVision" PauseWhenOffline="" />
          <ChangeState ActorIndex="" State="Vision" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats" ActionId="ToDestruction (Cheat)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.pdDestruction" Invert="" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Cheat.pdDestruction" PauseWhenOffline="" />
          <ChangeState ActorIndex="" State="Destruction" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats" ActionId="ToJoin (Cheat)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.pdJoin" Invert="" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Cheat.pdJoin" PauseWhenOffline="" />
          <ChangeState ActorIndex="" State="Join" />
        </Outputs>
      </Action>
      <LocationEvents />
    </State>
    <State Alertness="Relax" Id="Curfew">
      <OnNextDay>
        <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <EventTrigger Event="fsEvent.SetInventoryPD" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="DelayPrimaryMission_Check" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="DelayPrimaryMission" AltOdds="0" />
        </Alts>
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="Alt" ActionId="DelayPrimaryMission" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="True" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="pd01Curfew" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Story" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.StoryOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="pd01Curfew" RtsDataAbort="MissionPrimary_Done" RtsDataDecline="" RtsDataSuccess="MissionPrimary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="pd01Purge" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysTrue" Invert="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="pd01Purge" RtsDataAbort="MissionSecondary_Done" RtsDataDecline="MissionSecondary_Done" RtsDataSuccess="MissionSecondary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToNextState" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionSecondary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="PreVision" />
          <Console_Command Command="LOG: Police -- PreVision" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="Note_Discovered" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.PoliceJudge" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.PoliceCop" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Discovered" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Note_Discovered" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="Note_Discovered" PauseWhenOffline="" />
          <EventAddEffect Icon="1 Ammo" RewardList="General" Type="Stockpile" Value="-1" IconId="1">
            <DescriptionText Flags="" Notes="" Text="Good supply of AMMO in their location." />
            <NameText Flags="" Notes="" Text="Ammo Supply" />
          </EventAddEffect>
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Survivors" IconId="60">
            <NameText Flags="" Notes="" Text="DISCOVERED: The Courthouse" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="PlayerName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="There's a lot of firepower here, but it looks like they're barely holding on. Same as the rest of us. - %1$s" />
                <SummaryText Flags="" Notes="" Text="New neighbors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="New neighbor." />
              </EventNpcEffect>
              <EventNpcEffect ActorIndex="1" Value="0">
                <DescriptionText Flags="" Notes="" Text="New neighbor." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="1" Flags="OnEnterBuilding, Repeats" Radius="40">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="pdLocationEvents" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <Enclave ActorFlags="" ActorName="Enclave.Police" EnclaveStat="" HideWarnings="" Optional="" />
            <Building ActorFlags="AllowOwned, Closest" ActorName="" BuildingFlagsMask="" BuildingFlagsQuery="" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="0" SearchRangeMin="0.0" SiteTag="" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="PreVision">
      <OnNextDay />
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="WCScenes" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings (init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Display_Text Flags="" Notes="" Text="NEW ZOMBIE TYPE: Feral" Type="Banner - Secondary" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Feral" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_SwatZombie" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToVision (InGameTime)" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="30m" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <ChangeState ActorIndex="" State="Vision" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="1" Flags="OnEnterBuilding, Repeats" Radius="40">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="pdLocationEvents" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <Enclave ActorFlags="" ActorName="Enclave.Police" EnclaveStat="" HideWarnings="" Optional="" />
            <Building ActorFlags="AllowOwned, Closest" ActorName="" BuildingFlagsMask="" BuildingFlagsQuery="" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="0" SearchRangeMin="0.0" SiteTag="" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="Vision">
      <OnNextDay>
        <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <EventTrigger Event="fsEvent.SetInventoryPD" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="WaitForNoMission" ActionId="WCScenes" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="DelayPrimaryMission_Check" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="DelayPrimaryMission" AltOdds="0" />
        </Alts>
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="Alt" ActionId="DelayPrimaryMission" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="True" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="pd02Vision" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Story" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.StoryOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="pd02Vision" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="MissionPrimary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="pd02Drive" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysTrue" Invert="" />
          <CheckBool InputFlags="" InputId="Status.RecentMission.Any" Invert="True" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="pd02Drive" RtsDataAbort="MissionSecondary_Done" RtsDataDecline="MissionSecondary_Done" RtsDataSuccess="MissionSecondary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToNextState" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionSecondary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="PreDestruction" />
          <Console_Command Command="LOG: Police -- PreDestruction" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AddRndMission" ActionType="Action.Passive" ExecuteTimeStandard="5s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="NoRndNeighborMission_Capped" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_2" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_1" AltOdds="80" />
          <Alt AltId="NoRndNeighborMission_0" AltOdds="10" />
          <Alt AltId="AddRndNeighborMission_3" AltOdds="33.3" />
          <Alt AltId="AddRndNeighborMission_2" AltOdds="50.0" />
        </Alts>
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.RTS.NoEnclaveMissions" Invert="True" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Neighbor" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.Mission" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Blackout.RandomMissions" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encTrade" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission." />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_Capped" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="1" InputFlags="" InputId="!Count.MissionOps_Random_Allowed" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_Capped" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_0" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_0" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_1" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="1" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_1" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="2" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_2" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encInfestation" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 2" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_3" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encSupplies" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 3" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.Radio.NoVehicle_PoliceSlick" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Feral" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_SwatZombie" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="1" Flags="OnEnterBuilding, Repeats" Radius="40">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="pdLocationEvents" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <Enclave ActorFlags="" ActorName="Enclave.Police" EnclaveStat="" HideWarnings="" Optional="" />
            <Building ActorFlags="AllowOwned, Closest" ActorName="" BuildingFlagsMask="" BuildingFlagsQuery="" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="0" SearchRangeMin="0.0" SiteTag="" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="PreDestruction">
      <OnNextDay>
        <Action ActionFlags="" ActionId="SetNextDay" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <CheckBool InputFlags="" InputId="Game.StoryGR.AlexQuestionResolved" Invert="" />
          </Inputs>
          <Outputs>
            <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="WaitForNoMission" ActionId="WCScenes" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AddRndMission" ActionType="Action.Passive" ExecuteTimeStandard="5s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="NoRndNeighborMission_Capped" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_2" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_1" AltOdds="80" />
          <Alt AltId="NoRndNeighborMission_0" AltOdds="10" />
          <Alt AltId="AddRndNeighborMission_3" AltOdds="33.3" />
          <Alt AltId="AddRndNeighborMission_2" AltOdds="50.0" />
        </Alts>
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.RTS.NoEnclaveMissions" Invert="True" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Neighbor" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.Mission" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Blackout.RandomMissions" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="pdR1Business" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission." />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_Capped" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="1" InputFlags="" InputId="!Count.MissionOps_Random_Allowed" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_Capped" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_0" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_0" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_1" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="1" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_1" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="2" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_2" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encInfestation" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 2" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_3" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encSupplies" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 3" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Feral" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_SwatZombie" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryPD.completed_pd02Drive" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="ToDestruction (InGameTime)" ActionType="Action.Background" ExecuteTimeStandard="3s" OutputDelayTime="3h" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.StoryGR.AlexQuestionResolved" Invert="" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryPD.ToDestruction" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="ToDestruction (todolist)" ActionType="Action.Background" ExecuteTimeStandard="3s" OutputDelayTime="0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.StoryGR.AlexQuestionResolved" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.TodoListEmpty" Invert="" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryPD.ToDestruction" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToDestruction" ActionType="Action.Background" ExecuteTimeStandard="3s" OutputDelayTime="0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.StoryPD.ToDestruction" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Destruction" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="1" Flags="OnEnterBuilding, Repeats" Radius="40">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="pdLocationEvents" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <Enclave ActorFlags="" ActorName="Enclave.Police" EnclaveStat="" HideWarnings="" Optional="" />
            <Building ActorFlags="AllowOwned, Closest" ActorName="" BuildingFlagsMask="" BuildingFlagsQuery="" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="0" SearchRangeMin="0.0" SiteTag="" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="Destruction">
      <OnNextDay />
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="DelayPrimaryMission_Check" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="DelayPrimaryMission" AltOdds="0" />
        </Alts>
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="Alt" ActionId="DelayPrimaryMission" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="True" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="pd03Destruction" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Story" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.StoryOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="pd03Destruction" RtsDataAbort="MissionSecondary_Done" RtsDataDecline="" RtsDataSuccess="MissionPrimary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToNextState" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Join" />
          <Console_Command Command="LOG: Police -- Join" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Feral" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_SwatZombie" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="Wipeout" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionSecondary_Done" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_Destroy EnclaveIndex="" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="250">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.NearSource_SwatZombie" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Enemy.NearSource_SwatZombie" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </LeaveActions>
          <Actors>
            <TagPoint ActorName="RTSPoint_bldg_MarshalCourthouse" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="130" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="Join">
      <OnNextDay />
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="DelayPrimaryMission_Check" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="DelayPrimaryMission" AltOdds="0" />
        </Alts>
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="Alt" ActionId="DelayPrimaryMission" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="True" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="encJoinEscort_Now" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Story" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.StoryOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="encJoinEscort_Now" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="MissionPrimary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.PurgeSOS" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.PoliceLoyal" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Feral" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_SwatZombie" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
          <Actor_EvolveTraits ActorIndex="0" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
          <Actor_EvolveTraits ActorIndex="1" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="Cheevo" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Achievement>
            <Achievement Title="ENCLAVE_POLICE" Id="11" />
          </Achievement>
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="250">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.NearSource_SwatZombie" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Enemy.NearSource_SwatZombie" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </LeaveActions>
          <Actors>
            <TagPoint ActorName="RTSPoint_bldg_MarshalCourthouse" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="130" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="Aftermath">
      <OnNextDay />
      <Action ActionFlags="WaitForNoMission" ActionId="WCScenes" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="250">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.NearSource_SwatZombie" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Enemy.NearSource_SwatZombie" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </LeaveActions>
          <Actors>
            <TagPoint ActorName="RTSPoint_bldg_MarshalCourthouse" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="130" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
  </Enclave>
  <Enclave EnclaveId="Grocery" Flags="Mission">
    <OnNextDay />
    <Names>
      <NameText Flags="" Notes="" Text="The Grange" />
    </Names>
    <State Alertness="Relax" Id="Arrive">
      <OnNextDay />
      <Action ActionFlags="ActivateOnce" ActionId="InitStats" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="50" OutputDuration="" OutputStat="Determination" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="30" OutputDuration="" OutputStat="Skill" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="30" OutputDuration="" OutputStat="Survival" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="10" OutputDuration="" OutputStat="Wealth" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <EventTrigger Event="fsEvent.SetInventoryGR" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, WaitForNoMission" ActionId="Establish" ActionType="Action.Establish" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <TagPoint ActorName="RTSPoint_bldg_Grange" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="10.0" TagPointFlag="" TagPointType="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.GroceryRealist" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.GroceryIdealist" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Building ActorFlags="" ActorName="" BuildingFlagsMask="" BuildingFlagsQuery="" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="0" SearchRangeMin="0.0" SiteTag="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_ClaimSite EnclaveIndex="" SiteIndex="3" />
          <Actor_JoinEnclave ActorIndex="1" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="2" EnclaveIndex="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="HasFood" PauseWhenOffline="" />
          <ChangeState ActorIndex="" State="Hidden" />
        </Outputs>
      </Action>
      <LocationEvents />
    </State>
    <State Alertness="Relax" Id="Hidden">
      <OnNextDay>
        <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <EventTrigger Event="fsEvent.SetInventoryGR" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="ActivateOnce, Repeats" ActionId="ToFury(LategameCheat)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.chBlackFever" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Fury" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats" ActionId="ToRescue (Discovered)" ActionType="Action.Passive" ExecuteTimeStandard="10m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Discovered" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="!Game.Tutorial" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Rescue" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="ToRescue (Unlocked)" ActionType="Action.Passive" ExecuteTimeStandard="15m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="!Game.Tutorial" Invert="" />
          <CheckBool InputFlags="" InputId="Game.StoryGR.UnlockArc" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Cheat.grFury" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Cheat.grBackground" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Cheat.grFortifications" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Cheat.grRescue" Invert="True" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Rescue" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats" ActionId="ToRescue (Cheat)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.grRescue" Invert="" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Cheat.grRescue" PauseWhenOffline="" />
          <ChangeState ActorIndex="" State="Rescue" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats" ActionId="ToFortifications (Cheat)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.grFortifications" Invert="" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Cheat.grFortifications" PauseWhenOffline="" />
          <ChangeState ActorIndex="" State="Fortifications" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats" ActionId="ToBackground (Cheat)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.grBackground" Invert="" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Cheat.grBackground" PauseWhenOffline="" />
          <ChangeState ActorIndex="" State="Background" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats" ActionId="ToFury (Cheat)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.grFury" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Fury" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Cheat.grFury" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <LocationEvents />
    </State>
    <State Alertness="Relax" Id="Rescue">
      <OnNextDay>
        <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <EventTrigger Event="fsEvent.SetInventoryGR" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="DelayPrimaryMission_Check" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="DelayPrimaryMission" AltOdds="0" />
        </Alts>
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="Alt" ActionId="DelayPrimaryMission" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="True" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="gr01Rescue" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Story" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.StoryOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="gr01Rescue" RtsDataAbort="MissionPrimary_Done" RtsDataDecline="MissionPrimary_Done" RtsDataSuccess="MissionPrimary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToNextState" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="PreFortifications" />
          <Console_Command Command="LOG: Grocery -- PreFortifications" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.Radio.NoBuildHelp_GroceryIdealist" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="1" Flags="OnEnterBuilding, Repeats" Radius="40">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs>
                <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
              </Inputs>
              <Outputs>
                <Scene_ScenePlay Scene="grLocationEvents" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <Enclave ActorFlags="" ActorName="Enclave.Grocery" EnclaveStat="" HideWarnings="" Optional="" />
            <Building ActorFlags="AllowOwned, Closest" ActorName="" BuildingFlagsMask="" BuildingFlagsQuery="" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="0" SearchRangeMin="0.0" SiteTag="" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="PreFortifications">
      <OnNextDay />
      <Action ActionFlags="WaitForNoMission" ActionId="WCScenes" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_WCSceneAdd EnclaveIndex="" Scene="grWC_General" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AddRndMission" ActionType="Action.Passive" ExecuteTimeStandard="5s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="NoRndNeighborMission_Capped" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_2" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_1" AltOdds="80" />
          <Alt AltId="NoRndNeighborMission_0" AltOdds="10" />
          <Alt AltId="AddRndNeighborMission_3" AltOdds="33.3" />
          <Alt AltId="AddRndNeighborMission_2" AltOdds="50.0" />
        </Alts>
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.RTS.NoEnclaveMissions" Invert="True" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Neighbor" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.Mission" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Blackout.RandomMissions" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encTrade" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission." />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_Capped" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="1" InputFlags="" InputId="!Count.MissionOps_Random_Allowed" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_Capped" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_0" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_0" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_1" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="1" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_1" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="2" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_2" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encTraining" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 2" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_3" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encSupplies" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 3" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToNextState" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="30m" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.SceneGR.AttackForeshadowed" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysTrue" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Fortifications" />
          <Console_Command Command="LOG: Enclave - New State" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="Note_Discovered" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.GroceryRealist" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.GroceryIdealist" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Discovered" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Note_Discovered" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="Note_Discovered" PauseWhenOffline="" />
          <EventAddEffect Icon="37 Food" RewardList="General" Type="Stockpile" Value="-1" IconId="37">
            <DescriptionText Flags="" Notes="" Text="Good supply of FOOD in their location." />
            <NameText Flags="" Notes="" Text="Food Supply" />
          </EventAddEffect>
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Survivors" IconId="60">
            <NameText Flags="" Notes="" Text="DISCOVERED: The Grange" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="PlayerName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="The survivors at the Grange seem like an interesting group. - %1$s" />
                <SummaryText Flags="" Notes="" Text="New neighbors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Doesn't seem to trust anyone." />
              </EventNpcEffect>
              <EventNpcEffect ActorIndex="1" Value="0">
                <DescriptionText Flags="" Notes="" Text="Wants to think the best of everyone." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="GuaranteeWorldState" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.GroceryComplainer" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.GroceryMissing" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_EvolveTraits ActorIndex="0" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
          <Actor_EvolveTraits ActorIndex="1" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="TimeoutState (init)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="3h" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryGR.Fortifications_NoteAllowed" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="1" Flags="OnEnterBuilding, Repeats" Radius="40">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs>
                <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
              </Inputs>
              <Outputs>
                <Scene_ScenePlay Scene="grLocationEvents" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <Enclave ActorFlags="" ActorName="Enclave.Grocery" EnclaveStat="" HideWarnings="" Optional="" />
            <Building ActorFlags="AllowOwned, Closest" ActorName="" BuildingFlagsMask="" BuildingFlagsQuery="" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="0" SearchRangeMin="0.0" SiteTag="" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="Fortifications">
      <OnNextDay>
        <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <EventTrigger Event="fsEvent.SetInventoryGR" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="WaitForNoMission" ActionId="WCScenes" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_WCSceneAdd EnclaveIndex="" Scene="grWC_General" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AddRndMission" ActionType="Action.Passive" ExecuteTimeStandard="5s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="NoRndNeighborMission_Capped" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_2" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_1" AltOdds="80" />
          <Alt AltId="NoRndNeighborMission_0" AltOdds="10" />
          <Alt AltId="AddRndNeighborMission_3" AltOdds="33.3" />
          <Alt AltId="AddRndNeighborMission_2" AltOdds="50.0" />
        </Alts>
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.RTS.NoEnclaveMissions" Invert="True" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Neighbor" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.Mission" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Blackout.RandomMissions" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encTrade" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission." />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_Capped" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="1" InputFlags="" InputId="!Count.MissionOps_Random_Allowed" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_Capped" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_0" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_0" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_1" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="1" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_1" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="2" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_2" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encInfestation" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 2" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_3" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encSupplies" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 3" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="DelayPrimaryMission_Check" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="DelayPrimaryMission" AltOdds="0" />
        </Alts>
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="Alt" ActionId="DelayPrimaryMission" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="True" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="gr02Fortifications" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Story" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.StoryOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="gr02Fortifications" RtsDataAbort="MissionPrimary_Done" RtsDataDecline="MissionPrimary_Done" RtsDataSuccess="MissionPrimary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToNextState" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="PreBackground" />
          <Console_Command Command="LOG: Grocery -- PreBackground" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="Note_Discovered" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.GroceryRealist" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.GroceryIdealist" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Discovered" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Note_Discovered" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="Note_Discovered" PauseWhenOffline="" />
          <EventAddEffect Icon="37 Food" RewardList="General" Type="Stockpile" Value="-1" IconId="37">
            <DescriptionText Flags="" Notes="" Text="Good supply of FOOD in their location." />
            <NameText Flags="" Notes="" Text="Food Supply" />
          </EventAddEffect>
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Survivors" IconId="60">
            <NameText Flags="" Notes="" Text="DISCOVERED: The Grange" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="PlayerName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="The survivors at the Grange seem like an interesting group. - %1$s" />
                <SummaryText Flags="" Notes="" Text="New neighbors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Doesn't seem to trust anyone." />
              </EventNpcEffect>
              <EventNpcEffect ActorIndex="1" Value="0">
                <DescriptionText Flags="" Notes="" Text="Wants to think the best of everyone." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.GroceryComplainer" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.GroceryMissing" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.SceneGR.VisitedGrangeAgain" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryGR.RescuedJack" PauseWhenOffline="" />
          <Actor_EvolveTraits ActorIndex="0" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
          <Actor_EvolveTraits ActorIndex="1" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="1" Flags="OnEnterBuilding, Repeats" Radius="40">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs>
                <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
              </Inputs>
              <Outputs>
                <Scene_ScenePlay Scene="grLocationEvents" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <Enclave ActorFlags="" ActorName="Enclave.Grocery" EnclaveStat="" HideWarnings="" Optional="" />
            <Building ActorFlags="AllowOwned, Closest" ActorName="" BuildingFlagsMask="" BuildingFlagsQuery="" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="0" SearchRangeMin="0.0" SiteTag="" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="PreBackground">
      <OnNextDay />
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AddRndMission" ActionType="Action.Passive" ExecuteTimeStandard="5s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="NoRndNeighborMission_Capped" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_2" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_1" AltOdds="80" />
          <Alt AltId="NoRndNeighborMission_0" AltOdds="10" />
          <Alt AltId="AddRndNeighborMission_3" AltOdds="33.3" />
          <Alt AltId="AddRndNeighborMission_2" AltOdds="50.0" />
        </Alts>
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.RTS.NoEnclaveMissions" Invert="True" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Neighbor" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.Mission" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Blackout.RandomMissions" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encTrade" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission." />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_Capped" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="1" InputFlags="" InputId="!Count.MissionOps_Random_Allowed" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_Capped" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_0" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_0" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_1" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="1" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_1" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="2" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_2" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encTraining" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 2" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_3" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encSupplies" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 3" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="WCScenes" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_WCSceneAdd EnclaveIndex="" Scene="grWC_General" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToNextState" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="30m" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.SceneGR.AttackForeshadowed" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="Game.StoryPD.MetJudge" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Background" />
          <Console_Command Command="LOG: Grocery - Background" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.GroceryComplainer" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.GroceryMissing" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.SceneGR.VisitedGrangeAgain" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryGR.RescuedJack" PauseWhenOffline="" />
          <Actor_EvolveTraits ActorIndex="0" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
          <Actor_EvolveTraits ActorIndex="1" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryGR.completed_gr02Fortifications" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="1" Flags="OnEnterBuilding, Repeats" Radius="40">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs>
                <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
              </Inputs>
              <Outputs>
                <Scene_ScenePlay Scene="grLocationEvents" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <Enclave ActorFlags="" ActorName="Enclave.Grocery" EnclaveStat="" HideWarnings="" Optional="" />
            <Building ActorFlags="AllowOwned, Closest" ActorName="" BuildingFlagsMask="" BuildingFlagsQuery="" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="0" SearchRangeMin="0.0" SiteTag="" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="Background">
      <OnNextDay>
        <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <EventTrigger Event="fsEvent.SetInventoryGR" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="WaitForNoMission" ActionId="WCScenes" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_WCSceneAdd EnclaveIndex="" Scene="grWC_General" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="DelayPrimaryMission_Check" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="DelayPrimaryMission" AltOdds="0" />
        </Alts>
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="Alt" ActionId="DelayPrimaryMission" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="True" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="gr03Question" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Story" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.StoryOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="gr03Question" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="MissionPrimary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="gr03Background" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysTrue" Invert="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="gr03Background" RtsDataAbort="MissionSecondary_Done" RtsDataDecline="" RtsDataSuccess="MissionSecondary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="gr03Answer" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionSecondary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysTrue" Invert="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="gr03Answer" RtsDataAbort="MissionTertiary_Done" RtsDataDecline="MissionTertiary_Done" RtsDataSuccess="MissionTertiary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToNextState" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionSecondary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionTertiary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="PreFury" />
          <Console_Command Command="LOG: Grocery -- PreFury" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.GroceryComplainer" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.GroceryMissing" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.SceneGR.VisitedGrangeAgain" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.SceneGR.AttackForeshadowed" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryGR.RescuedJack" PauseWhenOffline="" />
          <Actor_EvolveTraits ActorIndex="0" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
          <Actor_EvolveTraits ActorIndex="1" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="1" Flags="OnEnterBuilding, Repeats" Radius="40">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs>
                <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
              </Inputs>
              <Outputs>
                <Scene_ScenePlay Scene="grLocationEvents" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <Enclave ActorFlags="" ActorName="Enclave.Grocery" EnclaveStat="" HideWarnings="" Optional="" />
            <Building ActorFlags="AllowOwned, Closest" ActorName="" BuildingFlagsMask="" BuildingFlagsQuery="" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="0" SearchRangeMin="0.0" SiteTag="" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="PreFury">
      <OnNextDay />
      <Action ActionFlags="WaitForNoMission" ActionId="WCScenes" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_WCSceneAdd EnclaveIndex="" Scene="grWC_General" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="Init" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.GroceryComplainer" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.GroceryMissing" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.SceneGR.VisitedGrangeAgain" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.SceneGR.AttackForeshadowed" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryGR.RescuedJack" PauseWhenOffline="" />
          <Actor_EvolveTraits ActorIndex="0" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
          <Actor_EvolveTraits ActorIndex="1" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryGR.completed_gr03Question" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="to Fury (todolist)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="30m" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.SceneGR.QuentinConfrontedBecca" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.Blackout.Content" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.TodoListEmpty" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Fury" />
          <Console_Command Command="LOG: Grocery - Fury" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="to Fury (nextday)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="30m" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.SceneGR.QuentinConfrontedBecca" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.Blackout.Content" Invert="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="NextDay" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Fury" />
          <Console_Command Command="LOG: Grocery - Fury" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="1" Flags="OnEnterBuilding, Repeats" Radius="40">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs>
                <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
              </Inputs>
              <Outputs>
                <Scene_ScenePlay Scene="grLocationEvents" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <Enclave ActorFlags="" ActorName="Enclave.Grocery" EnclaveStat="" HideWarnings="" Optional="" />
            <Building ActorFlags="AllowOwned, Closest" ActorName="" BuildingFlagsMask="" BuildingFlagsQuery="" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="0" SearchRangeMin="0.0" SiteTag="" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="Fury">
      <OnNextDay>
        <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <EventTrigger Event="fsEvent.SetInventoryGR" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="WaitForNoMission" ActionId="WCScenes" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_WCSceneAdd EnclaveIndex="" Scene="grWC_General" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="DelayPrimaryMission_Check" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="DelayPrimaryMission" AltOdds="0" />
        </Alts>
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="Alt" ActionId="DelayPrimaryMission" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="True" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="gr04Fury" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Story" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.StoryOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="gr04Fury" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="MissionPrimary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToNextState" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Aftermath" />
          <Console_Command Command="LOG: Grocery -- Aftermath" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.GroceryComplainer" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Story.GroceryMissing" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.SceneGR.VisitedGrangeAgain" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.SceneGR.QuentinConfrontedBecca" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryGR.ToldQuentin" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.SceneGR.AttackForeshadowed" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryGR.RescuedJack" PauseWhenOffline="" />
          <Actor_EvolveTraits ActorIndex="0" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
          <Actor_EvolveTraits ActorIndex="1" Event="REMOVE_CONTENT_RESTRICTIONS" EventLogOutput="None" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="ScatterNpcs (init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Story.GroceryIdealist, !Trait.Story.GroceryRealist" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Story.GroceryIdealist, !Trait.Story.GroceryRealist" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Story.GroceryIdealist, !Trait.Story.GroceryRealist" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Story.GroceryIdealist, !Trait.Story.GroceryRealist" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Story.GroceryIdealist, !Trait.Story.GroceryRealist" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Story.GroceryIdealist, !Trait.Story.GroceryRealist" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Story.GroceryIdealist, !Trait.Story.GroceryRealist" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_Flee ActorIndex="0" FleeReasonTrait="" InstantMissing="" />
          <Actor_Flee ActorIndex="1" FleeReasonTrait="" InstantMissing="" />
          <Actor_Flee ActorIndex="2" FleeReasonTrait="" InstantMissing="" />
          <Actor_Flee ActorIndex="3" FleeReasonTrait="" InstantMissing="" />
          <Actor_Flee ActorIndex="4" FleeReasonTrait="" InstantMissing="" />
          <Actor_Flee ActorIndex="5" FleeReasonTrait="" InstantMissing="" />
          <Actor_Flee ActorIndex="6" FleeReasonTrait="" InstantMissing="" />
        </Outputs>
      </Action>
      <LocationEvents />
    </State>
    <State Alertness="Relax" Id="Aftermath">
      <OnNextDay />
      <Action ActionFlags="ActivateOnce" ActionId="Cheevo" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Achievement>
            <Achievement Title="ENCLAVE_GROCERY" Id="10" />
          </Achievement>
        </Outputs>
      </Action>
      <LocationEvents />
    </State>
  </Enclave>
  <Enclave EnclaveId="Army" Flags="Mission">
    <OnNextDay />
    <Names>
      <NameText Flags="" Notes="" Text="Army" />
    </Names>
    <State Alertness="Relax" Id="Arrive">
      <OnNextDay />
      <Action ActionFlags="ActivateOnce" ActionId="InitStats" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="100" OutputDuration="" OutputStat="Determination" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="100" OutputDuration="" OutputStat="Skill" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="100" OutputDuration="" OutputStat="Survival" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="100" OutputDuration="" OutputStat="Wealth" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, WaitForNoMission" ActionId="Establish" ActionType="Action.Establish" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <TagPoint ActorName="RTSPoint_bldg_Fairgrounds" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="10.0" TagPointFlag="" TagPointType="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.ArmyTaskmaster" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.ArmyMaverick" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Building ActorFlags="" ActorName="" BuildingFlagsMask="" BuildingFlagsQuery="" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="0" SearchRangeMin="0.0" SiteTag="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.TrumbullCampaign" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="Spawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.TrumbullCampaign" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_ClaimSite EnclaveIndex="" SiteIndex="3" />
          <Actor_JoinEnclave ActorIndex="1" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="2" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="4" EnclaveIndex="" />
          <Actor_JoinEnclave ActorIndex="5" EnclaveIndex="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="HasAmmo" PauseWhenOffline="" />
          <ChangeState ActorIndex="" State="Hidden" />
        </Outputs>
      </Action>
      <LocationEvents />
    </State>
    <State Alertness="Relax" Id="Hidden">
      <OnNextDay />
      <Action ActionFlags="Repeats" ActionId="ToBridges (LategameCheat)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.chBlackFever" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Bridges" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, WaitForNoMission" ActionId="ToRequest (Unlocked)" ActionType="Action.Passive" ExecuteTimeStandard="5m" OutputDelayTime="5m" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="!Game.Tutorial" Invert="" />
          <CheckBool InputFlags="" InputId="Game.StoryAR.UnlockArc" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Cheat.arFinale" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Cheat.arObstacles" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Cheat.arWater" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Cheat.arBridges" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Cheat.arMayday" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Cheat.arQuarantine" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Cheat.arRequest" Invert="True" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Request" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats" ActionId="ToRequest (Cheat)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.arRequest" Invert="" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Cheat.arRequest" PauseWhenOffline="" />
          <ChangeState ActorIndex="" State="Request" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats" ActionId="ToQuarantine (Cheat)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.arQuarantine" Invert="" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Cheat.arQuarantine" PauseWhenOffline="" />
          <ChangeState ActorIndex="" State="Quarantine" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats" ActionId="ToMayday (Cheat)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.arMayday" Invert="" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Cheat.arMayday" PauseWhenOffline="" />
          <ChangeState ActorIndex="" State="Mayday" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats" ActionId="ToBridges (Cheat)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.arBridges" Invert="" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Cheat.arBridges" PauseWhenOffline="" />
          <ChangeState ActorIndex="" State="Bridges" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats" ActionId="ToWater (Cheat)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.arWater" Invert="" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Cheat.arWater" PauseWhenOffline="" />
          <ChangeState ActorIndex="" State="Water" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats" ActionId="ToObstacles (Cheat)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.arObstacles" Invert="" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Cheat.arObstacles" PauseWhenOffline="" />
          <ChangeState ActorIndex="" State="Obstacles" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats" ActionId="ToFinale (Cheat)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Status.Cheat.arFinale" Invert="" />
        </Inputs>
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Cheat.arFinale" PauseWhenOffline="" />
          <ChangeState ActorIndex="" State="Finale" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="23">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="preBridgesGTFO_South" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_RiverCrossing_South" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="23" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="34">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="preBridgesGTFO_Mid" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_RiverCrossing_Mid" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="36" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="130">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="preBridgesGTFO_North" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_RiverCrossing_North" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="130" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="Request">
      <OnNextDay />
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="DelayPrimaryMission_Check" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="DelayPrimaryMission" AltOdds="0" />
        </Alts>
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="Alt" ActionId="DelayPrimaryMission" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="True" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="ar01Request" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Story" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.StoryOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="ar01Request" RtsDataAbort="MissionPrimary_Done" RtsDataDecline="" RtsDataSuccess="MissionPrimary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToNextState" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="PreQuarantine" />
          <Console_Command Command="LOG: Army -- PreQuarantine" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings (init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="23">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="preBridgesGTFO_South" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_RiverCrossing_South" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="23" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="34">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="preBridgesGTFO_Mid" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_RiverCrossing_Mid" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="36" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="130">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="preBridgesGTFO_North" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_RiverCrossing_North" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="130" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="PreQuarantine">
      <OnNextDay>
        <Action ActionFlags="" ActionId="SetNextDay" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
            <Console_Command Command="LOG: PreQuarantine - SetNextDay DONE" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, WaitForNoMission" ActionId="DelayStateChange (init)" ActionType="Action.Passive" ExecuteTimeStandard="0" OutputDelayTime="1h" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Console_Command Command="LOG: PreQuarantine - DelayStateChange DONE" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="to Quarantine (todolist)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.Player.TodoListEmpty" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Quarantine" />
          <Console_Command Command="LOG: PreQuarantine - To Quarantine DONE" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="to Quarantine (NextDay)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="NextDay" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Quarantine" />
          <Console_Command Command="LOG: PreQuarantine - To Quarantine DONE" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="23">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="preBridgesGTFO_South" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_RiverCrossing_South" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="23" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="34">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="preBridgesGTFO_Mid" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_RiverCrossing_Mid" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="36" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="130">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="preBridgesGTFO_North" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_RiverCrossing_North" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="130" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="Quarantine">
      <OnNextDay />
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="DelayPrimaryMission_Check" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="DelayPrimaryMission" AltOdds="0" />
        </Alts>
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="Alt" ActionId="DelayPrimaryMission" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="True" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="ar02Quarantine" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Story" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.StoryOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="ar02Quarantine" RtsDataAbort="MissionPrimary_Done" RtsDataDecline="" RtsDataSuccess="MissionPrimary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToNextState" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="PreMayday" />
          <Console_Command Command="LOG: Army -- PreMayday" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings (init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryAR.MetArmy" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="23">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="preBridgesGTFO_South" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_RiverCrossing_South" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="23" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="34">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="preBridgesGTFO_Mid" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_RiverCrossing_Mid" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="36" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="130">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="preBridgesGTFO_North" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_RiverCrossing_North" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="130" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="PreMayday">
      <OnNextDay>
        <Action ActionFlags="" ActionId="SetNextDay" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AddRndMission" ActionType="Action.Passive" ExecuteTimeStandard="5s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="NoRndNeighborMission_Capped" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_2" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_1" AltOdds="80" />
          <Alt AltId="NoRndNeighborMission_0" AltOdds="10" />
          <Alt AltId="AddRndNeighborMission_3" AltOdds="0" />
          <Alt AltId="AddRndNeighborMission_2" AltOdds="0" />
        </Alts>
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.RTS.NoEnclaveMissions" Invert="True" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Neighbor" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.Mission" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Blackout.RandomMissions" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="arR1Spotter" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission." />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_Capped" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="1" InputFlags="" InputId="!Count.MissionOps_Random_Allowed" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_Capped" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_0" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_0" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_1" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="1" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_1" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="2" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_2" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 2" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_3" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 3" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="DelayStateChange (init)" ActionType="Action.Passive" ExecuteTimeStandard="0s" OutputDelayTime="1h" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="to Mayday (todolist)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="15m" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.Player.TodoListEmpty" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Mayday" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="to Mayday (nextday)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="15m" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="NextDay" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Mayday" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="23">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="preBridgesGTFO_South" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_RiverCrossing_South" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="23" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="34">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="preBridgesGTFO_Mid" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_RiverCrossing_Mid" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="36" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="130">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="preBridgesGTFO_North" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_RiverCrossing_North" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="130" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="Mayday">
      <OnNextDay />
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="DelayPrimaryMission_Check" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="DelayPrimaryMission" AltOdds="0" />
        </Alts>
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="Alt" ActionId="DelayPrimaryMission" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="True" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="ar03Mayday" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Story" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.StoryOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="ar03Mayday" RtsDataAbort="MissionPrimary_Done" RtsDataDecline="" RtsDataSuccess="MissionPrimary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToNextState" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="PreBridges" />
          <Console_Command Command="LOG: Army -- PreBridges" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings (init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.Radio.NoAirstrike_ArmyArtillery" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="23">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="preBridgesGTFO_South" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_RiverCrossing_South" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="23" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="34">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="preBridgesGTFO_Mid" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_RiverCrossing_Mid" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="36" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="130">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="preBridgesGTFO_North" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_RiverCrossing_North" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="130" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="PreBridges">
      <OnNextDay>
        <Action ActionFlags="" ActionId="SetNextDay" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AddRndMission" ActionType="Action.Passive" ExecuteTimeStandard="5s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="NoRndNeighborMission_Capped" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_2" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_1" AltOdds="80" />
          <Alt AltId="NoRndNeighborMission_0" AltOdds="10" />
          <Alt AltId="AddRndNeighborMission_3" AltOdds="0" />
          <Alt AltId="AddRndNeighborMission_2" AltOdds="0" />
        </Alts>
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.RTS.NoEnclaveMissions" Invert="True" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Neighbor" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.Mission" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Blackout.RandomMissions" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="arR1Spotter" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission." />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_Capped" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="1" InputFlags="" InputId="!Count.MissionOps_Random_Allowed" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_Capped" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_0" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_0" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_1" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="1" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_1" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="2" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_2" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 2" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_3" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 3" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings (init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Bloater" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryAR.UnlockSpotter" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="StartTheSilence" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="2h" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryAR.Silence" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="Silence_TriggerNote" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="3h" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryAR.Silence_TriggerNote" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="to Bridges (todolist)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="30m" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.StoryAR.Silence" Invert="" />
          <CheckBool InputFlags="" InputId="Status.SceneAR.SilenceChatter" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.TodoListEmpty" Invert="" />
          <CheckBool InputFlags="" InputId="Game.StoryWI.completed_wi01Denial" Invert="" />
          <CheckBool InputFlags="" InputId="Game.StoryPD.completed_pd02Drive" Invert="" />
          <CheckBool InputFlags="" InputId="Game.StoryGR.completed_gr02Fortifications" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Bridges" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="to Bridges (nextday)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="30m" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.StoryAR.Silence" Invert="" />
          <CheckBool InputFlags="" InputId="Status.SceneAR.SilenceChatter" Invert="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="NextDay" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.StoryWI.completed_wi01Denial" Invert="" />
          <CheckBool InputFlags="" InputId="Game.StoryPD.completed_pd02Drive" Invert="" />
          <CheckBool InputFlags="" InputId="Game.StoryGR.completed_gr02Fortifications" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Bridges" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="RemoveTaskmaster" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="FindOrSpawn" ActorName="" ActorTask="" ActorTraits="Trait.Story.ArmyTaskmaster" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_InventoryWipe ActorIndex="0" />
          <Actor_Kill ActorIndex="0" Silent="True" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="23">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="preBridgesGTFO_South" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_RiverCrossing_South" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="23" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="34">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="preBridgesGTFO_Mid" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_RiverCrossing_Mid" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="36" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="130">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="preBridgesGTFO_North" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_RiverCrossing_North" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="130" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="Bridges">
      <OnNextDay />
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="DelayPrimaryMission_Check" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="DelayPrimaryMission" AltOdds="0" />
        </Alts>
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="Alt" ActionId="DelayPrimaryMission" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="True" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="ar04Bridges" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Story" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.StoryOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="ar04Bridges" RtsDataAbort="MissionPrimary_Done" RtsDataDecline="" RtsDataSuccess="MissionPrimary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="ar04Fairgrounds" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysTrue" Invert="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="ar04Fairgrounds" RtsDataAbort="MissionSecondary_Done" RtsDataDecline="" RtsDataSuccess="MissionSecondary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToNextState" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionSecondary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="PreWater" />
          <Console_Command Command="LOG: Army -- PreWater" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings (init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryAR.Silence" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.SceneAR.SilenceChatter" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Bloater" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="23">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="preBridgesGTFO_South" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_RiverCrossing_South" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="23" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="34">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="preBridgesGTFO_Mid" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_RiverCrossing_Mid" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="36" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="130">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <Scene_ScenePlay Scene="preBridgesGTFO_North" SceneReason="MissionActive" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions />
          <Actors>
            <TagPoint ActorName="RTSPoint_RiverCrossing_North" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="130" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="130">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.NearSource_ArmyZombie" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Enemy.NearSource_ArmyZombie" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </LeaveActions>
          <Actors>
            <TagPoint ActorName="RTSPoint_bldg_Fairgrounds" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="130" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="PreWater">
      <OnNextDay />
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings (init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTS_DestroyProp DestroyablePropId="destroyableBridgeBarricade_North" />
          <RTS_DestroyProp DestroyablePropId="destroyableBridgeBarricade_South" />
          <Achievement>
            <Achievement Title="ENCLAVE_ARMY" Id="7" />
          </Achievement>
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.SceneAR.SilenceChatter" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryAR.Silence" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryAR.BridgesOpened" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Bloater" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="to Water" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="30m" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <ChangeState ActorIndex="" State="Water" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="130">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.NearSource_ArmyZombie" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Enemy.NearSource_ArmyZombie" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </LeaveActions>
          <Actors>
            <TagPoint ActorName="RTSPoint_bldg_Fairgrounds" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="130" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="Water">
      <OnNextDay />
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="DelayPrimaryMission_Check" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="DelayPrimaryMission" AltOdds="0" />
        </Alts>
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="Alt" ActionId="DelayPrimaryMission" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="True" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="ar05Water" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Story" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.StoryOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="ar05Water" RtsDataAbort="MissionPrimary_Done" RtsDataDecline="" RtsDataSuccess="MissionPrimary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToNextState" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="PreObstacles" />
          <Console_Command Command="LOG: Army -- PreObstacles" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings (init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTS_DestroyProp DestroyablePropId="destroyableBridgeBarricade_North" />
          <RTS_DestroyProp DestroyablePropId="destroyableBridgeBarricade_South" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.Radio.NoAirstrike_ArmyArtillery" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.SceneAR.SilenceChatter" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryAR.Silence" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryAR.BridgesOpened" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_ArmyZombie" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Bloater" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="130">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.NearSource_ArmyZombie" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Enemy.NearSource_ArmyZombie" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </LeaveActions>
          <Actors>
            <TagPoint ActorName="RTSPoint_bldg_Fairgrounds" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="130" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="PreObstacles">
      <OnNextDay />
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings (init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTS_DestroyProp DestroyablePropId="destroyableBridgeBarricade_North" />
          <RTS_DestroyProp DestroyablePropId="destroyableBridgeBarricade_South" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.SceneAR.SilenceChatter" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryAR.Silence" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryAR.BridgesOpened" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Bloater" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="to Obstacles" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="30m" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.StoryWI.completed_wi02Cargo" Invert="" />
          <CheckBool InputFlags="" InputId="Game.StoryPD.completed_pd02Drive" Invert="" />
          <CheckBool InputFlags="" InputId="Game.StoryGR.completed_gr03Question" Invert="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Obstacles" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="130">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.NearSource_ArmyZombie" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Enemy.NearSource_ArmyZombie" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </LeaveActions>
          <Actors>
            <TagPoint ActorName="RTSPoint_bldg_Fairgrounds" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="130" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="Obstacles">
      <OnNextDay />
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="DelayPrimaryMission_Check" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="DelayPrimaryMission" AltOdds="0" />
        </Alts>
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="Alt" ActionId="DelayPrimaryMission" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="True" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="ar06Obstacles" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Story" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.StoryOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="ar06Obstacles" RtsDataAbort="MissionPrimary_Done" RtsDataDecline="" RtsDataSuccess="MissionPrimary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="ar06Explosives" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysTrue" Invert="" />
          <CheckBool InputFlags="" InputId="Status.RecentMission.Story" Invert="True" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="ar06Explosives" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="MissionSecondary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToNextState" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionSecondary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Finale" />
          <Console_Command Command="LOG: Army -- Finale" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings (init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTS_DestroyProp DestroyablePropId="destroyableBridgeBarricade_North" />
          <RTS_DestroyProp DestroyablePropId="destroyableBridgeBarricade_South" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryAR.Silence" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.SceneAR.SilenceChatter" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryAR.BridgesOpened" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Bloater" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="130">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.NearSource_ArmyZombie" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Enemy.NearSource_ArmyZombie" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </LeaveActions>
          <Actors>
            <TagPoint ActorName="RTSPoint_bldg_Fairgrounds" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="130" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="Finale">
      <OnNextDay />
      <Action ActionFlags="" ActionId="ResetBools" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionPrimary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionSecondary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="MissionTertiary_Done" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="NextDay" PauseWhenOffline="" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="false" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="DelayPrimaryMission_Check" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="DelayPrimaryMission" AltOdds="0" />
        </Alts>
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs />
      </Action>
      <Action ActionFlags="Alt" ActionId="DelayPrimaryMission" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="DelayMissionCreation" PauseWhenOffline="True" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission, ActivateOnce" ActionId="ar07Barrier" ActionType="Action.Background" ExecuteTimeStandard="1s" OutputDelayTime="0s" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="DelayMissionCreation" Invert="True" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Story" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.StoryOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.InScene" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="True" Mission="ar07Barrier" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="MissionPrimary_Done" TargetEnclave="" UseEnclaveStats="True" />
          <EventTrigger Event="fsEvent.BlackoutRandomMissions" />
          <EventTrigger Event="fsEvent.RecentMission_Story" />
          <EventTrigger Event="fsEvent.RecentMission_Any" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce, Repeats, WaitForNoMission" ActionId="ToNextState" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionPrimary_Done" Invert="" UseMissionEnclave="" />
          <CheckBool InputFlags="" InputId="Game.RTS.AlwaysFalse" Invert="True" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Aftermath" />
          <Console_Command Command="LOG: Army -- Aftermath" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="GuaranteeWorldSettings (init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <RTS_DestroyProp DestroyablePropId="destroyableBridgeBarricade_North" />
          <RTS_DestroyProp DestroyablePropId="destroyableBridgeBarricade_South" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryAR.Silence" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.SceneAR.SilenceChatter" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.StoryAR.BridgesOpened" PauseWhenOffline="" />
          <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.Unlock_Bloater" PauseWhenOffline="" />
          <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="130">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.NearSource_ArmyZombie" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Enemy.NearSource_ArmyZombie" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </LeaveActions>
          <Actors>
            <TagPoint ActorName="RTSPoint_bldg_Fairgrounds" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="130" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
    <State Alertness="Relax" Id="Aftermath">
      <OnNextDay />
      <Action ActionFlags="ActivateOnce" ActionId="Cheevo" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Achievement>
            <Achievement Title="ENCLAVE_MAIN" Id="6" />
          </Achievement>
        </Outputs>
      </Action>
      <LocationEvents>
        <EnclaveLocationEvent ActorIndex="0" Flags="Repeats" Radius="130">
          <EnterActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Status.Enemy.NearSource_ArmyZombie" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </EnterActions>
          <LeaveActions>
            <Action ActionFlags="" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
              <RTSActionIcon Name="" Id="" />
              <NameText Flags="" Notes="" Text="" />
              <Actors />
              <Alts />
              <Effects />
              <Inputs />
              <Outputs>
                <RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Status.Enemy.NearSource_ArmyZombie" PauseWhenOffline="" />
                <EventTrigger Event="fsEvent.UpdateZombiePercentages" />
              </Outputs>
            </Action>
          </LeaveActions>
          <Actors>
            <TagPoint ActorName="RTSPoint_bldg_Fairgrounds" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="130" TagPointFlag="" TagPointType="RTS" />
          </Actors>
        </EnclaveLocationEvent>
      </LocationEvents>
    </State>
  </Enclave>
  <Enclave EnclaveId="MissionSpawned" Flags="">
    <OnNextDay />
    <Names>
      <NameText Flags="" Notes="" Text="Desperate Strangers" />
      <NameText Flags="" Notes="" Text="Desperate Survivors" />
      <NameText Flags="" Notes="" Text="Desperate People" />
    </Names>
    <State Alertness="Relax" Id="Arrive">
      <OnNextDay />
      <Action ActionFlags="" ActionId="Establish" ActionType="Action.Establish" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Enclave ActorFlags="" ActorName="Enclave.Home" EnclaveStat="" HideWarnings="" Optional="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          <Console_Command Command="LOG: Establishing Enclave Shell" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="ToBasic (MissionDone)" ActionType="Action.Passive" ExecuteTimeStandard="3s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionArrive_Done" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Basic" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="SetResources" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_SetResources EnclaveIndex="" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="SetEnclaveInventory" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="HasFood" AltOdds="100.0" />
          <Alt AltId="HasMedicine" AltOdds="100.0" />
          <Alt AltId="HasAmmo" AltOdds="100.0" />
          <Alt AltId="HasMaterials" AltOdds="100.0" />
          <Alt AltId="HasFuel" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
          <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
          <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Food" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="HasFood" PauseWhenOffline="" />
          <Console_Command Command="LOG: Setting Enclave Daily Inventory (Scraps)" />
          <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
          <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
          <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet40cal" />
          <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet44cal" />
          <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet357cal" />
          <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet556mm" />
          <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet762mm" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="HasFood" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFood" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_Give AmmoPercentage="100" Count="3" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
          <Enclave_Give AmmoPercentage="100" Count="5" EnclaveIndex="" GiveFlags="" Name="Food" />
          <Console_Command Command="LOG: Setting Enclave Daily Inventory (Food)" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="HasMedicine" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMedicine" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
          <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Painkiller_Codeine" />
          <Enclave_Give AmmoPercentage="100" Count="6" EnclaveIndex="" GiveFlags="" Name="HealthPack" />
          <Console_Command Command="LOG: Setting Enclave Daily Inventory (Medicine)" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="HasAmmo" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasAmmo" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_Give AmmoPercentage="100" Count="13" EnclaveIndex="" GiveFlags="" Name="AmmoShotgunShell" />
          <Console_Command Command="LOG: Setting Enclave Daily Inventory (Ammo)" />
          <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
          <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
          <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet40cal" />
          <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet44cal" />
          <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet357cal" />
          <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet556mm" />
          <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet762mm" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="HasMaterials" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMaterials" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
          <Enclave_Give AmmoPercentage="100" Count="3" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
          <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Suppressor_Homemade" />
          <Console_Command Command="LOG: Setting Enclave Daily Inventory (Materials)" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="HasFuel" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFuel" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_Give AmmoPercentage="100" Count="6" EnclaveIndex="" GiveFlags="" Name="Molotov_Fuel" />
          <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
          <Console_Command Command="LOG: Setting Enclave Daily Inventory (Fuel)" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="SetCostScalar" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="SetCostScalar_Friendly" AltOdds="100.0" />
          <Alt AltId="SetCostScalar_Neutral" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="SetCostScalar_Friendly" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="70" InputFlags="" InputId="Trust" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="1.2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="SetCostScalar_Neutral" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="30" InputFlags="" InputId="Trust" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="1.5" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="InitStats" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="10" OutputDuration="" OutputStat="Determination" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="10" OutputDuration="" OutputStat="Skill" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="10" OutputDuration="" OutputStat="Survival" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="10" OutputDuration="" OutputStat="Wealth" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <LocationEvents />
    </State>
    <State Alertness="Relax" Id="Basic">
      <OnNextDay />
      <Action ActionFlags="Repeats" ActionId="ToJoin (JoinSetup_Done)" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="1s" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <TagPoint ActorName="RTSPoint_wi03Exchange_Rubes" HideWarnings="" NearActorIdx="-1" Optional="" PickRandom="" SearchRange="10.0" TagPointFlag="" TagPointType="" />
          <Building ActorFlags="Closest" ActorName="" BuildingFlagsMask="" BuildingFlagsQuery="" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="0" SearchRangeMin="0.0" SiteTag="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionJoinSetup_Done" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Join" />
          <Enclave_ClaimSite EnclaveIndex="" SiteIndex="1" />
        </Outputs>
      </Action>
      <LocationEvents />
    </State>
    <State Alertness="Relax" Id="Join">
      <OnNextDay />
      <Action ActionFlags="WaitForNoMission" ActionId="Breakup (Timer)" ActionType="Action.Background" ExecuteTimeStandard="1d" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="&lt;100" InputFlags="" InputId="Trust" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_Destroy EnclaveIndex="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="ClaimSite" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Building ActorFlags="" ActorName="" BuildingFlagsMask="Enclosed, Tiny" BuildingFlagsQuery="Enclosed" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="0" SearchRangeMin="0.0" SiteTag="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_ClaimSite EnclaveIndex="" SiteIndex="1" />
        </Outputs>
      </Action>
      <Action ActionFlags="WaitForNoMission" ActionId="AddMission (init)" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="encJoinEscort" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="Join" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="MissionJoin_Done" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_Destroy EnclaveIndex="" />
        </Outputs>
      </Action>
      <LocationEvents />
    </State>
  </Enclave>
  <Enclave EnclaveId="Expelled" Flags="">
    <OnNextDay />
    <Names>
      <NameText Flags="" Notes="" Text="Expelled Member" />
    </Names>
    <State Alertness="Relax" Id="Arrive">
      <OnNextDay />
      <Action ActionFlags="" ActionId="SetResources" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_SetResources EnclaveIndex="" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="SetEnclaveInventory" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="HasFood" AltOdds="100.0" />
          <Alt AltId="HasMedicine" AltOdds="100.0" />
          <Alt AltId="HasAmmo" AltOdds="100.0" />
          <Alt AltId="HasMaterials" AltOdds="100.0" />
          <Alt AltId="HasFuel" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
          <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
          <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Food" />
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="HasFood" PauseWhenOffline="" />
          <Console_Command Command="LOG: Setting Enclave Daily Inventory (Scraps)" />
          <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
          <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
          <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet40cal" />
          <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet44cal" />
          <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet357cal" />
          <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet556mm" />
          <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet762mm" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="HasFood" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFood" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_Give AmmoPercentage="100" Count="3" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
          <Enclave_Give AmmoPercentage="100" Count="5" EnclaveIndex="" GiveFlags="" Name="Food" />
          <Console_Command Command="LOG: Setting Enclave Daily Inventory (Food)" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="HasMedicine" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMedicine" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
          <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Painkiller_Codeine" />
          <Enclave_Give AmmoPercentage="100" Count="6" EnclaveIndex="" GiveFlags="" Name="HealthPack" />
          <Console_Command Command="LOG: Setting Enclave Daily Inventory (Medicine)" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="HasAmmo" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasAmmo" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_Give AmmoPercentage="100" Count="13" EnclaveIndex="" GiveFlags="" Name="AmmoShotgunShell" />
          <Console_Command Command="LOG: Setting Enclave Daily Inventory (Ammo)" />
          <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
          <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
          <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet40cal" />
          <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet44cal" />
          <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet357cal" />
          <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet556mm" />
          <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet762mm" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="HasMaterials" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMaterials" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
          <Enclave_Give AmmoPercentage="100" Count="3" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
          <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Suppressor_Homemade" />
          <Console_Command Command="LOG: Setting Enclave Daily Inventory (Materials)" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="HasFuel" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFuel" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_Give AmmoPercentage="100" Count="6" EnclaveIndex="" GiveFlags="" Name="Molotov_Fuel" />
          <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
          <Console_Command Command="LOG: Setting Enclave Daily Inventory (Fuel)" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
          <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="SetCostScalar" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="SetCostScalar_Friendly" AltOdds="100.0" />
          <Alt AltId="SetCostScalar_Neutral" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="SetCostScalar_Friendly" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="70" InputFlags="" InputId="Trust" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="1.2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="SetCostScalar_Neutral" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="30" InputFlags="" InputId="Trust" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="1.5" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="ActivateOnce" ActionId="InitStats" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="10" OutputDuration="" OutputStat="Determination" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="10" OutputDuration="" OutputStat="Skill" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="10" OutputDuration="" OutputStat="Survival" PauseWhenOffline="" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="10" OutputDuration="" OutputStat="Wealth" PauseWhenOffline="" />
        </Outputs>
      </Action>
      <Action ActionFlags="" ActionId="GetOut" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Enclave ActorFlags="" ActorName="Enclave.Home" EnclaveStat="" HideWarnings="" Optional="" />
          <Building ActorFlags="" ActorName="" BuildingFlagsMask="Outpost, Enclave, Outdoor, Tiny, MissionOp, Entered, SearchActivity, HasBarricades" BuildingFlagsQuery="HasBarricades" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="500.0" SearchRangeMin="0.0" SiteTag="">
            <Building ActorFlags="" ActorName="" BuildingFlagsMask="Outpost, Enclave, Outdoor, Tiny, MissionOp, Entered, SearchActivity, HasBarricades" BuildingFlagsQuery="HasBarricades" HideWarnings="" NearActorIdx="0" Optional="" SearchRangeMax="1000.0" SearchRangeMin="0.0" SiteTag="" />
          </Building>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.MoodType.Fled" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="Enclave.Home" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Enclave_ClaimSite EnclaveIndex="" SiteIndex="1" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="0" OutputDuration="" OutputStat="Trust" PauseWhenOffline="" />
          <Actor_JoinEnclave ActorIndex="2" EnclaveIndex="" />
          <ChangeState ActorIndex="" State="Travel" />
        </Outputs>
      </Action>
      <LocationEvents />
    </State>
    <State Alertness="Relax" Id="Travel">
      <OnNextDay />
      <Action ActionFlags="WaitForNoMission" ActionId="Default" ActionType="Action.Passive" ExecuteTimeStandard="5m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <ChangeState ActorIndex="" State="Endangered" />
        </Outputs>
      </Action>
      <LocationEvents />
    </State>
    <State Alertness="Relax" Id="Endangered">
      <OnNextDay>
        <Action ActionFlags="" ActionId="SetResources" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_SetResources EnclaveIndex="" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="SetEnclaveInventory" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts>
            <Alt AltId="HasFood" AltOdds="100.0" />
            <Alt AltId="HasMedicine" AltOdds="100.0" />
            <Alt AltId="HasAmmo" AltOdds="100.0" />
            <Alt AltId="HasMaterials" AltOdds="100.0" />
            <Alt AltId="HasFuel" AltOdds="100.0" />
          </Alts>
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Food" />
            <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="HasFood" PauseWhenOffline="" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Scraps)" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet40cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet44cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet357cal" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet556mm" />
            <Enclave_Give AmmoPercentage="100" Count="30" EnclaveIndex="" GiveFlags="" Name="AmmoBullet762mm" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasFood" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFood" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="3" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="5" EnclaveIndex="" GiveFlags="" Name="Food" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Food)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasMedicine" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMedicine" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="2" EnclaveIndex="" GiveFlags="" Name="Painkiller_Codeine" />
            <Enclave_Give AmmoPercentage="100" Count="6" EnclaveIndex="" GiveFlags="" Name="HealthPack" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Medicine)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasAmmo" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasAmmo" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="13" EnclaveIndex="" GiveFlags="" Name="AmmoShotgunShell" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Ammo)" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet40cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet44cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet357cal" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet556mm" />
            <Enclave_Give AmmoPercentage="100" Count="60" EnclaveIndex="" GiveFlags="" Name="AmmoBullet762mm" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasMaterials" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMaterials" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Molotov_Alcohol" />
            <Enclave_Give AmmoPercentage="100" Count="3" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Suppressor_Homemade" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Materials)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="HasFuel" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFuel" Invert="" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_Give AmmoPercentage="100" Count="6" EnclaveIndex="" GiveFlags="" Name="Molotov_Fuel" />
            <Enclave_Give AmmoPercentage="100" Count="1" EnclaveIndex="" GiveFlags="" Name="Firecracker" />
            <Console_Command Command="LOG: Setting Enclave Daily Inventory (Fuel)" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet9mm" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet45cal" />
            <Enclave_Give AmmoPercentage="100" Count="28" EnclaveIndex="" GiveFlags="" Name="AmmoBullet22cal" />
          </Outputs>
        </Action>
        <Action ActionFlags="" ActionId="SetCostScalar" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts>
            <Alt AltId="SetCostScalar_Friendly" AltOdds="100.0" />
            <Alt AltId="SetCostScalar_Neutral" AltOdds="100.0" />
          </Alts>
          <Effects />
          <Inputs />
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="SetCostScalar_Friendly" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_Check EnclaveIndex="" InputAmount="70" InputFlags="" InputId="Trust" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="1.2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          </Outputs>
        </Action>
        <Action ActionFlags="Alt" ActionId="SetCostScalar_Neutral" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
          <RTSActionIcon Name="" Id="" />
          <NameText Flags="" Notes="" Text="" />
          <Actors />
          <Alts />
          <Effects />
          <Inputs>
            <Enclave_Check EnclaveIndex="" InputAmount="30" InputFlags="" InputId="Trust" UseMissionEnclave="" />
          </Inputs>
          <Outputs>
            <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="1.5" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          </Outputs>
        </Action>
      </OnNextDay>
      <Action ActionFlags="WaitForNoMission" ActionId="Breakup (Timer)" ActionType="Action.Background" ExecuteTimeStandard="1d" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="&lt;100" InputFlags="" InputId="Trust" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_Destroy EnclaveIndex="" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="RecruitMissing" ActionType="Action.Passive" ExecuteTimeStandard="45m" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.MoodType.Fled, Trait.Meta.Missing, !Trait.Immune.EnclaveRecruitment" FunctionTags="Npc, Missing, NotBusy" HideWarnings="True" Optional="" TargetEnclave="Enclave.Home" />
        </Actors>
        <Alts>
          <Alt AltId="RecruitMissing_Fail" AltOdds="70" />
          <Alt AltId="RecruitMissing_Expelled" AltOdds="100.0" />
          <Alt AltId="RecruitMissing_Fail" AltOdds="70" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_EvolveTraits ActorIndex="0" Event="RESETMOOD" EventLogOutput="None" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Meta.Missing" />
          <Console_Command Command="LOG: NpcEnclave recruited Missing community member" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: Safe and Sound" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Thought you'd want to know I made it. I met up with some good people. I have a new home now. - %1$s" />
                <SummaryText Flags="" Notes="" Text="%1$s joined some other survivors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has a new home." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="RecruitMissing_Expelled" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Mood.Fled_Expelled, Trait.Meta.Missing, !Trait.Immune.EnclaveRecruitment" FunctionTags="Npc, Missing, NotBusy" HideWarnings="True" Optional="" TargetEnclave="Enclave.Home" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_EvolveTraits ActorIndex="0" Event="RESETMOOD" EventLogOutput="None" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Meta.Missing" />
          <Enclave_AddTrust DisableBonus="false" EnclaveIndex="" Trust="-70" />
          <Enclave_StatSet DurationCancellable="" EnclaveIndex="" OutputAmount="2" OutputDuration="" OutputStat="CostScalar" PauseWhenOffline="" />
          <Console_Command Command="LOG: NpcEnclave recruited Expelled community member" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: Hasta La Vista" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Thought you were hot shit kicking me out, right? Well, it turns out I don't need you assholes. - %1$s" />
                <SummaryText Flags="" Notes="" Text="%1$s joined some other survivors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has a new home." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="RecruitMissing_Loyal" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="Trait.Mood.Fled_Expelled, Trait.Meta.Missing, !Trait.Immune.EnclaveRecruitment" FunctionTags="Npc, Missing, NotBusy" HideWarnings="True" Optional="" TargetEnclave="Enclave.Home" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Actor_JoinEnclave ActorIndex="0" EnclaveIndex="" />
          <Actor_EvolveTraits ActorIndex="0" Event="RESETMOOD" EventLogOutput="None" />
          <Actor_GiveTrait ActorIndex="0" DuringMission="" OutputDuration="" PauseWhenOffline="" Trait="!Trait.Meta.Missing" />
          <Enclave_AddTrust DisableBonus="false" EnclaveIndex="" Trust="10" />
          <Console_Command Command="LOG: NpcEnclave recruited Loyal community member" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Mail" IconId="105">
            <NameText Flags="" Notes="" Text="NOTE: Safe and Sound" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="ActorName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="Thought you'd want to know I made it. I met up with some good people. I have a new home now. - %1$s" />
                <SummaryText Flags="" Notes="" Text="%1$s joined some other survivors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="Has a new home." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="RecruitMissing_Fail" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="Note_Discovered" ActionType="Action.Passive" ExecuteTimeStandard="1s" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors>
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
          <Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="" FunctionTags="" HideWarnings="" Optional="True" TargetEnclave="" />
        </Actors>
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Discovered" Invert="" UseMissionEnclave="" />
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="Note_Discovered" Invert="True" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Enclave_StatSetBool DurationCancellable="" EnclaveIndex="" OutputAmount="true" OutputDuration="" OutputStat="Note_Discovered" PauseWhenOffline="" />
          <ExecuteAction ActionId="Note_Discovered_AddResource" />
          <EventLog DisplayType="EventBanner" EventFlags="General" Icon="Survivors" IconId="60">
            <NameText Flags="" Notes="" Text="DISCOVERED: Desperate Survivors" />
            <TutorialText Flags="" Notes="" Text="" />
            <DescArgs>
              <EventDescArg Param="0" Type="PlayerName" />
            </DescArgs>
            <Descriptions>
              <EventLogDesc>
                <DescriptionText Flags="" Notes="" Text="I encountered a new group of survivors. They're barely hanging on. - %1$s" />
                <SummaryText Flags="" Notes="" Text="New neighbors." />
              </EventLogDesc>
            </Descriptions>
            <NpcEffects>
              <EventNpcEffect ActorIndex="0" Value="0">
                <DescriptionText Flags="" Notes="" Text="New neighbor." />
              </EventNpcEffect>
              <EventNpcEffect ActorIndex="1" Value="0">
                <DescriptionText Flags="" Notes="" Text="New neighbor." />
              </EventNpcEffect>
              <EventNpcEffect ActorIndex="2" Value="0">
                <DescriptionText Flags="" Notes="" Text="New neighbor." />
              </EventNpcEffect>
            </NpcEffects>
          </EventLog>
        </Outputs>
      </Action>
      <Action ActionFlags="Subaction" ActionId="Note_Discovered_AddResource" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="Note_Discovered_AddResourceFood" AltOdds="100.0" />
          <Alt AltId="Note_Discovered_AddResourceMedicine" AltOdds="100.0" />
          <Alt AltId="Note_Discovered_AddResourceAmmo" AltOdds="100.0" />
          <Alt AltId="Note_Discovered_AddResourceMaterials" AltOdds="100.0" />
          <Alt AltId="Note_Discovered_AddResourceFuel" AltOdds="100.0" />
        </Alts>
        <Effects />
        <Inputs />
        <Outputs />
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceFood" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFood" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="37 Food" RewardList="General" Type="Stockpile" Value="-1" IconId="37">
            <DescriptionText Flags="" Notes="" Text="Good supply of FOOD in their location." />
            <NameText Flags="" Notes="" Text="Food Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceMedicine" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMedicine" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="8 Health" RewardList="General" Type="Stockpile" Value="-1" IconId="8">
            <DescriptionText Flags="" Notes="" Text="Good supply of MEDICINE in their location." />
            <NameText Flags="" Notes="" Text="Medicine Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceAmmo" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasAmmo" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="1 Ammo" RewardList="General" Type="Stockpile" Value="-1" IconId="1">
            <DescriptionText Flags="" Notes="" Text="Good supply of AMMO in their location." />
            <NameText Flags="" Notes="" Text="Ammo Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceMaterials" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasMaterials" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="48 Materials" RewardList="General" Type="Stockpile" Value="-1" IconId="48">
            <DescriptionText Flags="" Notes="" Text="Good supply of MATERIALS in their location." />
            <NameText Flags="" Notes="" Text="Materials Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="Note_Discovered_AddResourceFuel" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_CheckBool EnclaveIndex="" InputFlags="" InputId="HasFuel" Invert="" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <EventAddEffect Icon="39 Fuel" RewardList="General" Type="Stockpile" Value="-1" IconId="39">
            <DescriptionText Flags="" Notes="" Text="Good supply of FUEL in their location." />
            <NameText Flags="" Notes="" Text="Fuel Supply" />
          </EventAddEffect>
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats, WaitForNoMission" ActionId="AddRndMission" ActionType="Action.Passive" ExecuteTimeStandard="5s" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts>
          <Alt AltId="NoRndNeighborMission_Capped" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_2" AltOdds="100" />
          <Alt AltId="NoRndNeighborMission_1" AltOdds="80" />
          <Alt AltId="NoRndNeighborMission_0" AltOdds="10" />
          <Alt AltId="AddRndNeighborMission_3" AltOdds="0" />
          <Alt AltId="AddRndNeighborMission_2" AltOdds="50" />
        </Alts>
        <Effects />
        <Inputs>
          <CheckBool InputFlags="" InputId="Game.RTS.NoEnclaveMissions" Invert="True" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Neighbor" Invert="" />
          <CheckBool InputFlags="" InputId="!Status.RecentMission.Any" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.NearMissionOp" Invert="" />
          <CheckBool InputFlags="" InputId="!Game.Player.Mission" Invert="" />
          <CheckBool InputFlags="" InputId="Game.Player.Lull" Invert="" />
          <CheckBool InputFlags="" InputId="Status.Blackout.Content" Invert="True" />
          <CheckBool InputFlags="" InputId="Status.Blackout.RandomMissions" Invert="True" />
        </Inputs>
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.NeighborSiege" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission." />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_Capped" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Check InputAmount="1" InputFlags="" InputId="!Count.MissionOps_Random_Allowed" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_Capped" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_0" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_0" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_1" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="1" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_1" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="NoRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="2" InputFlags="" InputId="DailyMissionOpCount" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <Console_Command Command="LOG: NoRndNeighborMission_2" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_2" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encTraining" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 2" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Alt" ActionId="AddRndNeighborMission_3" ActionType="Action.Passive" ExecuteTimeStandard="0.0" OutputDelayTime="0.0" PauseWhenOffline="True">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs />
        <Outputs>
          <Mission_Create CreatedEventTrigger="" KeepTrying="" Mission="Mission.Type.encSave" RtsDataAbort="" RtsDataDecline="" RtsDataSuccess="" TargetEnclave="" UseEnclaveStats="" />
          <Console_Command Command="LOG: Attempting to create random mission 3" />
          <EventTrigger Event="fsEvent.RecentMission_Neighbor" />
        </Outputs>
      </Action>
      <Action ActionFlags="Repeats" ActionId="To Join (max trust)" ActionType="Action.Passive" ExecuteTimeStandard="5m" OutputDelayTime="5m" PauseWhenOffline="">
        <RTSActionIcon Name="" Id="" />
        <NameText Flags="" Notes="" Text="" />
        <Actors />
        <Alts />
        <Effects />
        <Inputs>
          <Enclave_Check EnclaveIndex="" InputAmount="100" InputFlags="" InputId="Trust" UseMissionEnclave="" />
        </Inputs>
        <Outputs>
          <ChangeState ActorIndex="" State="Join" />
        </Outputs>
      </Action>
      <LocationEvents />
    </State>
  </Enclave>
</Enclaves>