{
  "Changes": [
    //GIL NPC 
    {
      "Action": "Load", "Priority": "Low", //16x32
      "Target": "Characters/GilSprite",
      "FromFile": "Assets/CharacterFiles/OverworldSprites/Miscellaneous/GilSprite.png"
    },
    //Gil Dialogue Patches
    {
      "Action": "EditData",
      "Target": "Characters/Dialogue/Gil",
      "Entries": {
        "ComeBackLater": "{{i18n:Gil.DialoguePatch.01}}",
        "Snoring": "{{i18n:Gil.DialoguePatch.01}}",
      },
      "When": {
        "Day": "1, 3, 9, 11, 13, 15, 19, 21, 25, 27",
      }
    },
    {
      "Action": "EditData",
      "Target": "Characters/Dialogue/Gil",
      "Entries": {
        "ComeBackLater": "{{i18n:Gil.DialoguePatch.02}}",
        "Snoring": "{{i18n:Gil.DialoguePatch.02}}",
      },
      "When": {
        "Day": "2, 6, 10, 14, 18, 22, 26",
      }
    },
    {
      "Action": "EditData",
      "Target": "Characters/Dialogue/Gil",
      "Entries": {
        "ComeBackLater": "{{i18n:Gil.DialoguePatch.03}}",
        "Snoring": "{{i18n:Gil.DialoguePatch.03}}",
      },
      "When": {
        "Day": "3, 8, 11, 14, 21, 23, 25",
        "HasWalletItem": "SkullKey",
      }
    },
    {
      "Action": "EditData",
      "Target": "Characters/Dialogue/Gil",
      "Entries": {
        "ComeBackLater": "{{i18n:Gil.DialoguePatch.04}}",
        "Snoring": "{{i18n:Gil.DialoguePatch.04}}",
      },
      "When": {
        "Day": "2, 4, 5, 10, 12, 13, 24, 26, 27",
        "HasWalletItem": "SkullKey",
      }
    },
    {
      "Action": "EditData",
      "Target": "Characters/Dialogue/Gil",
      "Entries": {
        "ComeBackLater": "{{i18n:Gil.DialoguePatch.05}}",
        "Snoring": "{{i18n:Gil.DialoguePatch.05}}",
      },
      "When": {
        "Day": "1, 5, 7, 9, 11, 25",
        "HasFlag |contains=Gil_Mummes": true,
        "HasFlag |contains=Gil_DustSpirits": true,
        "HasFlag |contains=Gil_Crabs": true,
        "HasFlag |contains=Gil_Hard Ring": true,
        "HasFlag |contains=Gil_Insects": true,
        "HasFlag |contains=Gil_Dinos": true,
        "HasFlag |contains=Gil_Serpents": true,
        "HasFlag |contains=Gil_Shadows": true,
        "HasFlag |contains=Gil_Skeletons": true,
        "HasFlag |contains=Gil_Slimes": true,
        "HasFlag |contains=Gil_FlameSpirits": true,
        "HasFlag |contains=Gil_Bats": true
      }
    },
    {
      "Action": "EditData",
      "Target": "Characters/Dialogue/Gil",
      "Entries": {
        "ComeBackLater": "{{i18n:Gil.DialoguePatch.06}}",
        "Snoring": "{{i18n:Gil.DialoguePatch.06}}",
      },
      "When": {
        "Day": " 15, 17, 19, 21, 27",
        "Season|contains=Spring, Summer": true,
        "HasFlag |contains=Gil_Mummes": true,
        "HasFlag |contains=Gil_Crabs": true,
        "HasFlag |contains=Gil_Hard Ring": true,
        "HasFlag |contains=Gil_Insects": true,
        "HasFlag |contains=Gil_Serpents": true,
        "HasFlag |contains=Gil_Skeletons": true,
      }
    },
    {
      "Action": "EditData",
      "Target": "Characters/Dialogue/Gil",
      "Entries": {
        "ComeBackLater": "{{i18n:Gil.DialoguePatch.07}}",
        "Snoring": "{{i18n:Gil.DialoguePatch.07}}",
      },
      "When": {
        "Day": "13, 15, 17, 19, 21, 23, 25, 27",
        "Season |contains=Spring, Summer": false,
        "HasFlag |contains=Gil_Mummes": true,
        "HasFlag |contains=Gil_DustSpirits": true,
        "HasFlag |contains=Gil_Crabs": true,
        "HasFlag |contains=Gil_Hard Ring": true,
        "HasFlag |contains=Gil_Insects": true,
        "HasFlag |contains=Gil_Dinos": true,
        "HasFlag |contains=Gil_Serpents": true,
        "HasFlag |contains=Gil_Shadows": true,
        "HasFlag |contains=Gil_Skeletons": true,
        "HasFlag |contains=Gil_Slimes": true,
        "HasFlag |contains=Gil_FlameSpirits": true,
        "HasFlag |contains=Gil_Bats": true
      }
    },
    {
      "Action": "EditData",
      "Target": "Characters/Dialogue/Gil",
      "Entries": {
        "ComeBackLater": "{{i18n:Gil.DialoguePatch.08}}",
        "Snoring": "{{i18n:Gil.DialoguePatch.08}}",
      },
      "When": {
        "Day": "26, 27, 28",
        "HasFlag |contains=Gil_Mummes": true,
        "HasFlag |contains=Gil_DustSpirits": true,
        "HasFlag |contains=Gil_Crabs": true,
        "HasFlag |contains=Gil_Hard Ring": true,
        "HasFlag |contains=Gil_Insects": true,
        "HasFlag |contains=Gil_Dinos": true,
        "HasFlag |contains=Gil_Serpents": true,
        "HasFlag |contains=Gil_Shadows": true,
        "HasFlag |contains=Gil_Skeletons": true,
        "HasFlag |contains=Gil_Slimes": true,
        "HasFlag |contains=Gil_FlameSpirits": true,
        "HasFlag |contains=Gil_Bats": true
      }
    },
    {
      "Action": "EditData",
      "Target": "Characters/Dialogue/Gil",
      "Entries": {
        "ComeBackLater": "{{i18n:Gil.DialoguePatch.09}}",
        "Snoring": "{{i18n:Gil.DialoguePatch.09}}",
      },
      "When": {
        "Day": "2",
        "HasFlag |contains=Gil_Mummes": true,
      }
    },
    {
      "Action": "EditData",
      "Target": "Characters/Dialogue/Gil",
      "Entries": {
        "ComeBackLater": "{{i18n:Gil.DialoguePatch.10}}",
        "Snoring": "{{i18n:Gil.DialoguePatch.10}}",
      },
      "When": {
        "Day": "4",
        "HasFlag |contains=Gil_DustSpirits": true,
      }
    },
    {
      "Action": "EditData",
      "Target": "Characters/Dialogue/Gil",
      "Entries": {
        "ComeBackLater": "{{i18n:Gil.DialoguePatch.11}}",
        "Snoring": "{{i18n:Gil.DialoguePatch.11}}",
      },
      "When": {
        "Day": "6",
        "HasFlag |contains=Gil_Hard Ring": true,
      }
    },
    {
      "Action": "EditData",
      "Target": "Characters/Dialogue/Gil",
      "Entries": {
        "ComeBackLater": "{{i18n:Gil.DialoguePatch.12}}",
        "Snoring": "{{i18n:Gil.DialoguePatch.12}}",
      },
      "When": {
        "Day": "8",
        "HasFlag |contains=Gil_Insects": true,
      }
    },
    {
      "Action": "EditData",
      "Target": "Characters/Dialogue/Gil",
      "Entries": {
        "ComeBackLater": "{{i18n:Gil.DialoguePatch.13}}",
        "Snoring": "{{i18n:Gil.DialoguePatch.13}}",
      },
      "When": {
        "Day": "10",
        "HasFlag |contains=Gil_Dinos": true,
      }
    },
    {
      "Action": "EditData",
      "Target": "Characters/Dialogue/Gil",
      "Entries": {
        "ComeBackLater": "{{i18n:Gil.DialoguePatch.14}}",
        "Snoring": "{{i18n:Gil.DialoguePatch.14}}",
      },
      "When": {
        "Day": "12",
        "HasFlag |contains=Gil_Crabs": true,
      }
    },
    {
      "Action": "EditData",
      "Target": "Characters/Dialogue/Gil",
      "Entries": {
        "ComeBackLater": "{{i18n:Gil.DialoguePatch.15}}",
        "Snoring": "{{i18n:Gil.DialoguePatch.15}}",
      },
      "When": {
        "Day": "14",
        "HasFlag |contains=Gil_Serpents": true,
      }
    },
    {
      "Action": "EditData",
      "Target": "Characters/Dialogue/Gil",
      "Entries": {
        "ComeBackLater": "{{i18n:Gil.DialoguePatch.16}}",
        "Snoring": "{{i18n:Gil.DialoguePatch.16}}",
      },
      "When": {
        "Day": "16",
        "HasFlag |contains=Gil_Shadows": true,
      }
    },
    {
      "Action": "EditData",
      "Target": "Characters/Dialogue/Gil",
      "Entries": {
        "ComeBackLater": "{{i18n:Gil.DialoguePatch.17}}",
        "Snoring": "{{i18n:Gil.DialoguePatch.17}}",
      },
      "When": {
        "Day": "18",
        "HasFlag |contains=Gil_Skeletons": true,
      }
    },
    {
      "Action": "EditData",
      "Target": "Characters/Dialogue/Gil",
      "Entries": {
        "ComeBackLater": "{{i18n:Gil.DialoguePatch.18}}",
        "Snoring": "{{i18n:Gil.DialoguePatch.18}}",
      },
      "When": {
        "Day": "20",
        "HasFlag |contains=Gil_Slimes": true,
      }
    },
    {
      "Action": "EditData",
      "Target": "Characters/Dialogue/Gil",
      "Entries": {
        "ComeBackLater": "{{i18n:Gil.DialoguePatch.19}}",
        "Snoring": "{{i18n:Gil.DialoguePatch.19}}",
      },
      "When": {
        "Day": "22",
        "HasFlag |contains=Gil_FlameSpirits": true,
      }
    },
    {
      "Action": "EditData",
      "Target": "Characters/Dialogue/Gil",
      "Entries": {
        "ComeBackLater": "{{i18n:Gil.DialoguePatch.20}}",
        "Snoring": "{{i18n:Gil.DialoguePatch.20}}",
      },
      "When": {
        "Day": "24",
        "HasFlag |contains=Gil_Bats": true
      }
    },
  ]
}