Closed shekurika closed 3 months ago
"Entries": { //One of "Standard", "Beach", "FourCorners", "Forest", "HillTop", "Riverland", "Wilderness" for vanilla //or key of FarmType in Data/AdditionalFarms "Standard": { "Buildings": [ { "Id": "Default Coop", "Type": "Coop", "Position": "47, 11", "Animals": { "Paxton": "Brown Chicken", "KFC": "White Chicken", } } ], "Fences": [ { "Id": "Example", "FenceId": "322", "Area": { "X": 46, "Y": 13, "Width": 1, "Height": 7 }, "IsGate": false, }, { "Id": "Example", "FenceId": "322", "Area": { "X": 53, "Y": 13, "Width": 2, "Height": 1 }, "IsGate": false, }, { "Id": "Example", "FenceId": "322", "Area": { "X": 54, "Y": 14, "Width": 1, "Height": 6 }, "IsGate": false, }, { "Id": "Example", "FenceId": "322", "Area": { "X": 47, "Y": 19, "Width": 7, "Height": 1 }, "IsGate": false, }, ] } }
example patch for adding coop + fence area to Farm (might be easier than the example you link in the gist that requires a custom farm mod)
Fixes a typo in the fencecoords, making it ignore the Y coordinate of the area and adds fallback to also allow adding buildings to vanilla farms (with the same names as CP's {{FarmType}} token)