{
"Changes": [
	// Custom Companions - Content Patcher
	{
		"LogName": "Ridgeside Village Custom Companions",
		"Action": "EditMap",
		"Target": "Maps/Custom_Ridgeside_RidgesideVillage",
		"MapTiles": [
            {
               "Position": { "X": 21, "Y": 36 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.BrownChicken"
               }
            },
            {
               "Position": { "X": 23, "Y": 38 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.BrownChicken"
               }
            },
            {
               "Position": { "X": 30, "Y": 38 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.BrownChicken"
               }
            },
            {
               "Position": { "X": 37, "Y": 38 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.BrownChicken"
               }
            },
            {
               "Position": { "X": 37, "Y": 41 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.BrownChicken"
               }
            },
            {
               "Position": { "X": 26, "Y": 40 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.WhiteChicken"
               }
            },
            {
               "Position": { "X": 30, "Y": 36 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.WhiteChicken"
               }
            },
            {
               "Position": { "X": 39, "Y": 42 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.WhiteChicken"
               }
            },
            {
               "Position": { "X": 40, "Y": 38 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.WhiteChicken"
               }
            },
            {
               "Position": { "X": 32, "Y": 99 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.BrownCow"
               }
            },
            {
               "Position": { "X": 37, "Y": 100 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.BrownCow"
               }
            },
            {
               "Position": { "X": 35, "Y": 105 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.BrownCow"
               }
            },
            {
               "Position": { "X": 43, "Y": 106 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.BrownCow"
               }
            },
            {
               "Position": { "X": 32, "Y": 103 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.WhiteCow"
               }
            },
            {
               "Position": { "X": 34, "Y": 107 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.WhiteCow"
               }
            },
            {
               "Position": { "X": 49, "Y": 106 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.WhiteCow"
               }
            },
            {
               "Position": { "X": 22, "Y": 27 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.WanderingChicken"
               }
            },
         ],
		"When": {
			"Weather": "Sun, Wind",
			},
		"Update": "OnDayStart"
	},
	{
		"LogName": "Ridgeside Village Custom Companions",
		"Action": "EditMap",
		"Target": "Maps/RidgesideVillage",
		"MapTiles": [
            {
               "Position": { "X": 21, "Y": 36 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": null
               }
            },
            {
               "Position": { "X": 23, "Y": 38 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": null
               }
            },
            {
               "Position": { "X": 30, "Y": 38 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": null
               }
            },
            {
               "Position": { "X": 37, "Y": 38 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": null
               }
            },
            {
               "Position": { "X": 37, "Y": 41 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": null
               }
            },
            {
               "Position": { "X": 26, "Y": 40 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": null
               }
            },
            {
               "Position": { "X": 30, "Y": 36 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": null
               }
            },
            {
               "Position": { "X": 39, "Y": 42 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": null
               }
            },
            {
               "Position": { "X": 40, "Y": 38 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": null
               }
            },
            {
               "Position": { "X": 32, "Y": 99 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": null
               }
            },
            {
               "Position": { "X": 37, "Y": 100 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": null
               }
            },
            {
               "Position": { "X": 35, "Y": 105 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": null
               }
            },
            {
               "Position": { "X": 43, "Y": 106 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": null
               }
            },
            {
               "Position": { "X": 32, "Y": 103 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": null
               }
            },
            {
               "Position": { "X": 34, "Y": 107 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": null
               }
            },
            {
               "Position": { "X": 49, "Y": 106 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": null
               }
            },
            {
               "Position": { "X": 22, "Y": 27 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": null
               }
            },
            {
               "Position": { "X": 57, "Y": 53 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "null"
               }
            },
         ],
		"When": {
			"Weather|contains=Sun,Wind": false,
			},
		"Update": "OnDayStart"
	},
   {
      "LogName": "Ridgeside Village Custom Companions",
      "Action": "EditData",
      "Target": "{{PeacefulEnd.CustomCompanions/Companions:Rafseazz.RSVCC.WhiteCow}}",
      "Entries": {
        "Companion": {
          "DespawnOnTile": [ 44, 105, 0 ],
          "IdleBehavior": "Simple_Path",
          "IdleArguments": [ 44, 105, 0 ]
        }
      },
      "When": {
         "Time": "{{Range: 2000, 2600}}",
      },
      "Update": "OnLocationChange, OnTimeChange"
   },
   {
      "LogName": "Ridgeside Village Custom Companions",
      "Action": "EditData",
      "Target": "{{PeacefulEnd.CustomCompanions/Companions:Rafseazz.RSVCC.BrownCow}}",
      "Entries": {
        "Companion": {
          "Respawn": false,
          "DespawnOnTile": [ 37, 98, 100 ],
          "IdleBehavior": "Simple_Path",
          "IdleArguments": [ 37, 98, 100 ]
        }
      },
      "When": {
         "Time": "{{Range: 2000, 2600}}",
      },
      "Update": "OnLocationChange, OnTimeChange"
   },
   {
      "LogName": "Ridgeside Village Custom Companions",
      "Action": "EditData",
      "Target": "{{PeacefulEnd.CustomCompanions/Companions:Rafseazz.RSVCC.WhiteChicken}}",
      "Entries": {
        "Companion": {
          "Respawn": false,
          "DespawnOnTile": [ 26, 38, 100 ],
          "IdleBehavior": "Simple_Path",
          "IdleArguments": [ 26, 38, 100 ]
        }
      },
      "When": {
         "Time": "{{Range: 2000, 2600}}",
      },
      "Update": "OnLocationChange, OnTimeChange"
   },
   {
      "LogName": "Ridgeside Village Custom Companions",
      "Action": "EditData",
      "Target": "{{PeacefulEnd.CustomCompanions/Companions:Rafseazz.RSVCC.BrownChicken}}",
      "Entries": {
        "Companion": {
          "Respawn": false,
          "DespawnOnTile": [ 35, 38, 100 ],
          "IdleBehavior": "Simple_Path",
          "IdleArguments": [ 35, 38, 100 ]
        }
      },
      "When": {
         "Time": "{{Range: 2000, 2600}}",
      },
      "Update": "OnLocationChange, OnTimeChange"
   },

   {
      "LogName": "Howdy random dialogue",
      "Action": "EditData",
      "Target": "{{PeacefulEnd.CustomCompanions/Companions:Rafseazz.RSVCC.Howdy}}",
      "Entries": {
         "Companion": {
            "InspectionDialogue": "{{i18n:Howdy.{{Random: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}}}"
         }
      }
   },

   {
      "LogName": "Spirit Realm Custom Companions",
      "Action": "EditMap",
      "Target": "Maps/Custom_Ridgeside_RSVSpiritRealm",
      "MapTiles": [
            {
               "Position": { "X": 28, "Y": 58 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.Spirit1"
               }
            },
            {
               "Position": { "X": 28, "Y": 58 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.Spirit2"
               }
            },
            {
               "Position": { "X": 28, "Y": 58 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.Spirit3"
               }
            },
            {
               "Position": { "X": 28, "Y": 58 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.Spirit4"
               }
            },
            {
               "Position": { "X": 60, "Y": 43 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.Spirit1"
               }
            },
            {
               "Position": { "X": 60, "Y": 43 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.Spirit2"
               }
            },
            {
               "Position": { "X": 60, "Y": 43 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.Spirit3"
               }
            },
            {
               "Position": { "X": 60, "Y": 43 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.Spirit4"
               }
            },
            {
               "Position": { "X": 60, "Y": 70 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.Spirit1"
               }
            },
            {
               "Position": { "X": 60, "Y": 70 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.Spirit2"
               }
            },
            {
               "Position": { "X": 60, "Y": 70 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.Spirit3"
               }
            },
            {
               "Position": { "X": 60, "Y": 70 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.Spirit4"
               }
            },
            {
               "Position": { "X": 31, "Y": 76 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.Spirit1"
               }
            },
            {
               "Position": { "X": 31, "Y": 76 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.Spirit2"
               }
            },
            {
               "Position": { "X": 31, "Y": 76 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.Spirit3"
               }
            },
            {
               "Position": { "X": 31, "Y": 76 },
               "Layer": "Back",
               "SetProperties": {
                  "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.Spirit4"
               }
            },
         ],
      "Update": "OnDayStart"
   },

   //Howdy follow Kenneth
   {
      "Action": "EditData",
      "Target": "{{PeacefulEnd.CustomCompanions/Companions:Rafseazz.RSVCC.Howdy}}",
      "When": { "RandomNumber": "{{Range: 7,8}}" },
      "Entries": {
         "Companion": {
            "TargetNpcName": "Kenneth"
         }
      }
   },

   //Howdy spawn
   {
      "Action": "EditMap",
      "Target": "Maps/Custom_Ridgeside_RSVCliff",
      "MapTiles": [
         {
            "Position": { "X": 43, "Y": 30 },
            "Layer": "Back",
            "SetProperties": {
               "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.Howdy"
            }
         }
      ],
      "When": { "RandomNumber": "{{Range: 1,2}}" }
   },
   {
      "Action": "EditMap",
      "Target": "Maps/Custom_Ridgeside_KennethHouse",
      "MapTiles": [
         {
            "Position": { "X": 7, "Y": 4 },
            "Layer": "Back",
            "SetProperties": {
               "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.Howdy"
            }
         }
      ],
      "When": { "RandomNumber": "{{Range: 3,4}}" }
   },
   {
      "Action": "EditMap",
      "Target": "Maps/Custom_Ridgeside_RidgesideVillage",
      "MapTiles": [
         {
            "Position": { "X": 74, "Y": 37 },
            "Layer": "Back",
            "SetProperties": {
               "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.Howdy"
            }
         }
      ],
      "When": { "RandomNumber": "{{Range: 5,6}}" }
   },
   {
      "Action": "EditMap",
      "Target": "Maps/Custom_Ridgeside_RSVCliff",
      "MapTiles": [
         {
            "Position": { "X": 43, "Y": 30 },
            "Layer": "Back",
            "SetProperties": {
               "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.Howdy"
            }
         }
      ],
      "When": { "RandomNumber": "{{Range: 7,8}}" }
   },
   {
      "Action": "EditMap",
      "Target": "Maps/Custom_Ridgeside_RSVCableCar",
      "MapTiles": [
         {
            "Position": { "X": 24, "Y": 11 },
            "Layer": "Back",
            "SetProperties": {
               "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.Howdy"
            }
         }
      ],
      "When": { "RandomNumber": "9, 10" }
   },


 // KIWI COMPANION ON FARM
    {
       "LogName": "Farm Kiwi Map Spawn (Jio Spouse)",
       "Action": "EditMap",
       "Target": "Maps/Farm, Maps/Farm_Island, Maps/Farm_FourCorners, Maps/Farm_Foraging, Maps/Farm_Mining, Maps/Farm_Fishing, Maps/Farm_Combat",
       "MapTiles": [
          {
             "Position": { "X": 72, "Y": 16 },
             "Layer": "Back",
             "SetProperties": {
                "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.FarmKiwi",
             }
          }
       ],
       "When":
			 {
				 "Query: '{{RandomNumber}}' >= 6 OR '{{DayOfWeek}}' = 'Saturday'": true,
				 "Relationship:Jio": "Married",
 		  	 "Hearts:Kiwi": "{{Range: 6,10}}",
 		     "Weather |contains= sun, wind": true,
			 }
    },
    {
       "LogName": "Farm Kiwi Map Spawn (Daia Spouse or Kiwi Friendship)",
       "Action": "EditMap",
       "Target": "Maps/Farm, Maps/Farm_Island, Maps/Farm_FourCorners, Maps/Farm_Foraging, Maps/Farm_Mining, Maps/Farm_Fishing, Maps/Farm_Combat",
       "MapTiles": [
          {
             "Position": { "X": 72, "Y": 16 },
             "Layer": "Back",
             "SetProperties": {
                "CustomCompanions": "Spawn 1 Rafseazz.RSVCC.FarmKiwi",
             }
          }
       ],
       "When":
			 {
				 "HasSeenEvent": 75160265,
				 "RandomNumber": "{{Range: 1,3}}",
				 "Relationship:Jio |contains= Married": false,
				 "Query: ('{{Relationship:Daia}}' = 'Married' AND '{{Hearts:Kiwi}}' >= 8) OR '{{Hearts:Kiwi}}' = 10": true,
 		     "Weather |contains= sun, wind": true,
			 }
    },
    {
       "LogName": "Farm Kiwi Random Dialogue",
       "Action": "EditData",
       "Target": "{{PeacefulEnd.CustomCompanions/Companions:Rafseazz.RSVCC.FarmKiwi}}",
       "Entries": {
          "Companion": {
             "InspectionDialogue": "{{i18n:FarmKiwi.{{Random: {{Range: 1,10}} }} }}",
          }
       }
    },
		{
       "LogName": "Farm Kiwi Random Jio Dialogue",
       "Action": "EditData",
       "Target": "{{PeacefulEnd.CustomCompanions/Companions:Rafseazz.RSVCC.FarmKiwi}}",
			 "When":
			 {
				 "RandomNumber": 1,
				 "Relationship:Jio": "Married",
			 },
       "Entries": {
          "Companion": {
             "InspectionDialogue": "{{i18n:FarmKiwi.Jio.{{Random: {{Range: 1,1}} }} }}",
          }
       }
    },
		{
       "LogName": "Farm Kiwi Random Daia Dialogue",
       "Action": "EditData",
       "Target": "{{PeacefulEnd.CustomCompanions/Companions:Rafseazz.RSVCC.FarmKiwi}}",
			 "When":
			 {
				 "RandomNumber": 1,
				 "Relationship:Daia": "Married",
			 },
       "Entries": {
          "Companion": {
             "InspectionDialogue": "{{i18n:FarmKiwi.Daia.{{Random: {{Range: 1,1}} }} }}",
          }
       }
    },


	 // Foxbloom foxes
	 {
		 "LogName": "RSV Foxbloom foxes spawn (invisible)",
      "Action": "EditMap",
      "Target": "Maps/Custom_Ridgeside_RidgeForest",
      "MapTiles": [
         {
            "Position": { "X": 35, "Y": 98 },
            "Layer": "Back",
            "SetProperties": {
               "CustomCompanions": "Spawn 3 Rafseazz.RSVCC.SpiritFox"
            }
         },
				 {
            "Position": { "X": 86, "Y": 127 },
            "Layer": "Back",
            "SetProperties": {
               "CustomCompanions": "Spawn 3 Rafseazz.RSVCC.SpiritFox"
            }
         },
				 {
            "Position": { "X": 143, "Y": 97 },
            "Layer": "Back",
            "SetProperties": {
               "CustomCompanions": "Spawn 3 Rafseazz.RSVCC.SpiritFox"
            }
         },
				 {
            "Position": { "X": 110, "Y": 57 },
            "Layer": "Back",
            "SetProperties": {
               "CustomCompanions": "Spawn 3 Rafseazz.RSVCC.SpiritFox"
            }
         },
				 {
            "Position": { "X": 16, "Y": 74 },
            "Layer": "Back",
            "SetProperties": {
               "CustomCompanions": "Spawn 3 Rafseazz.RSVCC.SpiritFox"
            }
         },
				 {
            "Position": { "X": 57, "Y": 8 },
            "Layer": "Back",
            "SetProperties": {
               "CustomCompanions": "Spawn 3 Rafseazz.RSVCC.SpiritFox"
            }
         },
				 {
            "Position": { "X": 120, "Y": 43 },
            "Layer": "Back",
            "SetProperties": {
               "CustomCompanions": "Spawn 3 Rafseazz.RSVCC.SpiritFox"
            }
         },
      ],
			"When": {
				"Query: '{{Rafseazz.RidgesideVillage/FoxbloomDay}}' = '{{Day}}'": true,
				"Weather": "Sun, Wind",
			},
   },
	 //Foxbloom fox edit to become visible
	 {
		 "LogName": "RSV Foxbloom foxes appear",
		 "Action": "EditData",
		 "Target": "{{PeacefulEnd.CustomCompanions/Companions:Rafseazz.RSVCC.SpiritFox}}",
		 "Update": "OnLocationChange",
		 "When": {
			 "Query: '{{Rafseazz.RidgesideVillage/FoxbloomSpawned}}' = 'true'": true
		 },
		 "Entries":
		 {
			 "Companion":
					 {
					   "Name": "SpiritFox",
					   "Type": "Walking",
					   "EnableFarmerCollision": false,
					   "EnablePeriodicPatchCheck": true,
					   "Light": {
					     "Color": [ 255, 255, 255, 255 ],
					     "Radius": 1.5,
					     "OffsetX": 32,
					     "OffsetY": 16,
					   },
					   "TravelSpeed": 2,
					   "SpawnDirection": 2,
					   "SpawnOffsetX": 0,
					   "SpawnOffsetY": 0,
					   "MaxHaltTime": 2000,
					   "MaxIdleDistance": -1,
					   "MaxDistanceBeforeTeleport": -1,
					   "IdleBehavior": "Wander",
					   "FrameSizeWidth": 16,
					   "FrameSizeHeight": 32,
						 "Portrait": {
							 "FrameSizeWidth": 64,
							 "FrameSizeHeight": 64,
						 },
						 "DialogueSequence": [
					     {
					       "Text": "{{i18n:spiritfox.inspection.dialogue}} [Rafseazz.RSVCP_Old_Lucky_Foxtail_Charm]",
								 "PortraitIndex": 0,
					       "DisplayOnce": true,
					     },
					   ],
					   "DownAnimation": {
					     "StartingFrame": 0,
					     "NumberOfFrames": 4,
					     "Duration": 200,

					     "IdleAnimation": {
					       "StartingFrame": 16,
					       "NumberOfFrames": 3,
					       "Duration": 200
					     }
					   },

					   "RightAnimation": {
					     "StartingFrame": 4,
					     "NumberOfFrames": 4,
					     "Duration": 200,

					     "IdleAnimation": {
					       "StartingFrame": 20,
					       "NumberOfFrames": 4,
					       "Duration": 200
					     }
					   },

					   "UpAnimation": {
					     "StartingFrame": 8,
					     "NumberOfFrames": 4,
					     "Duration": 200,

					     "IdleAnimation": {
					       "StartingFrame": 24,
					       "NumberOfFrames": 4,
					       "Duration": 200
					     }
					   },

					   "LeftAnimation": {
					     "StartingFrame": 12,
					     "NumberOfFrames": 4,
					     "Duration": 200,

					     "IdleAnimation": {
					       "StartingFrame": 28,
					       "NumberOfFrames": 4,
					       "Duration": 200
					     }
					   },
				 },
			 },
		 },

	 // Mistbloom foxes
	 {
		 "LogName": "RSV Mistbloom foxes",
      "Action": "EditMap",
      "Target": "Maps/Custom_Ridgeside_RidgeForest",
      "MapTiles": [
         {
            "Position": { "X": 35, "Y": 98 },
            "Layer": "Back",
            "SetProperties": {
               "CustomCompanions": "Spawn 3 Rafseazz.RSVCC.MistFox"
            }
         },
				 {
            "Position": { "X": 86, "Y": 127 },
            "Layer": "Back",
            "SetProperties": {
               "CustomCompanions": "Spawn 3 Rafseazz.RSVCC.MistFox"
            }
         },
				 {
            "Position": { "X": 143, "Y": 97 },
            "Layer": "Back",
            "SetProperties": {
               "CustomCompanions": "Spawn 3 Rafseazz.RSVCC.MistFox"
            }
         },
				 {
            "Position": { "X": 110, "Y": 57 },
            "Layer": "Back",
            "SetProperties": {
               "CustomCompanions": "Spawn 3 Rafseazz.RSVCC.MistFox"
            }
         },
				 {
            "Position": { "X": 16, "Y": 74 },
            "Layer": "Back",
            "SetProperties": {
               "CustomCompanions": "Spawn 3 Rafseazz.RSVCC.MistFox"
            }
         },
				 {
            "Position": { "X": 57, "Y": 8 },
            "Layer": "Back",
            "SetProperties": {
               "CustomCompanions": "Spawn 3 Rafseazz.RSVCC.MistFox"
            }
         },
				 {
            "Position": { "X": 120, "Y": 43 },
            "Layer": "Back",
            "SetProperties": {
               "CustomCompanions": "Spawn 3 Rafseazz.RSVCC.MistFox"
            }
         },
      ],
			"When": {
				"Weather": "Rain, Storm",
			},
   },

	 // Ring spirit stuff
	 	// Load
		{
       "Action": "Load",
       "Target": "Characters/RSVSpirits/RingSpirit0",
       "FromFile": "Assets/EventFiles/RSVSpirit{{Random:1, 2, 3, 4}}.png"
    },
	 {
	    "Action": "Load",
	    "Target": "Characters/RSVSpirits/RingSpirit1",
	    "FromFile": "Assets/EventFiles/RSVSpirit1.png"
	 },
	 {
	    "Action": "Load",
	    "Target": "Characters/RSVSpirits/RingSpirit2",
	    "FromFile": "Assets/EventFiles/RSVSpirit2.png"
	 },
	 {
	    "Action": "Load",
	    "Target": "Characters/RSVSpirits/RingSpirit3",
	    "FromFile": "Assets/EventFiles/RSVSpirit3.png"
	 },
	 {
	    "Action": "Load",
	    "Target": "Characters/RSVSpirits/RingSpirit4",
	    "FromFile": "Assets/EventFiles/RSVSpirit4.png"
	 },
	 	// Replace (have to repost whole file which kind of sucks but oh well)
   {
      "Action": "EditData",
      "Target": "{{PeacefulEnd.CustomCompanions/Companions:Rafseazz.RSVCC.RingSpirit}}",
			"Update": "OnLocationChange",
			"Entries":
			{
				"Companion":
				{
				  "Name": "RingSpirit",
				  "Type": "Flying",
				  "TileSheetPath": "Characters\\RSVSpirits\\RingSpirit{{Random:1, 2, 3, 4 |key={{LocationName}} }}",
				  "FrameSizeWidth": 16,
				  "FrameSizeHeight": 32,
				  "TravelSpeed": 1,

				  "IdleBehavior": "Hover",
				  "IdleArguments": [ -1 ],
				  "MaxDistanceBeforeTeleport": -1,
				  "MaxIdleDistance": 2,

				  "EnableBreathing": false,
				  "EnableFarmerCollision": false,
				  "EnableShadow": true,
				  "Shadow": {
				    "OffsetX": 0,
				    "OffsetY": 8,
				    "Scale": 1,
				    "Alpha": 255
				  },

				  "DownAnimation": {
				    "StartingFrame": 0,
				    "NumberOfFrames": 4,
				    "Duration": 500,

				    "IdleAnimation": {
				      "StartingFrame": 0,
				      "NumberOfFrames": 4,
				      "Duration": 800
				    }
				  },

				  "RightAnimation": {
				    "StartingFrame": 12,
				    "NumberOfFrames": 4,
				    "Duration": 500,

				    "IdleAnimation": {
				      "StartingFrame": 12,
				      "NumberOfFrames": 4,
				      "Duration": 800
				    }
				  },

				  "UpAnimation": {
				    "StartingFrame": 8,
				    "NumberOfFrames": 4,
				    "Duration": 500,

				    "IdleAnimation": {
				      "StartingFrame": 8,
				      "NumberOfFrames": 4,
				      "Duration": 800
				    }
				  },

				  "LeftAnimation": {
				    "StartingFrame": 4,
				    "NumberOfFrames": 4,
				    "Duration": 500,

				    "IdleAnimation": {
				      "StartingFrame": 4,
				      "NumberOfFrames": 4,
				      "Duration": 800
				    }
				  },
				}
			},
   },
]
}
