Renamed chest category to container

master
Mohammad Shoaib Khan 2022-10-29 14:48:13 +05:30
parent 8aac4499fc
commit f5db6eb655
No known key found for this signature in database
GPG Key ID: 3EE32C9DFF520699
4 changed files with 8 additions and 8 deletions

View File

@ -57,7 +57,7 @@ namespace stardew_access.Features
* exclusions.Add("building"); * exclusions.Add("building");
* exclusions.Add("resource clump"); * exclusions.Add("resource clump");
* exclusions.Add("mine item"); * exclusions.Add("mine item");
* exclusions.Add("chest"); * exclusions.Add("container");
* exclusions.Add("bundle"); * exclusions.Add("bundle");
* exclusions.Add("door"); * exclusions.Add("door");
* exclusions.Add("machine"); * exclusions.Add("machine");
@ -362,7 +362,7 @@ namespace stardew_access.Features
soundName = $"obj{soundName}"; soundName = $"obj{soundName}";
else if (category == CATEGORY.MineItems) // Mine items else if (category == CATEGORY.MineItems) // Mine items
soundName = $"obj{soundName}"; soundName = $"obj{soundName}";
else if (category == CATEGORY.Chests) // Chests else if (category == CATEGORY.Containers) // Chests
soundName = $"obj{soundName}"; soundName = $"obj{soundName}";
else if (category == CATEGORY.Debris) // Grass and debris else if (category == CATEGORY.Debris) // Grass and debris
soundName = $"obj{soundName}"; soundName = $"obj{soundName}";

View File

@ -467,7 +467,7 @@ namespace stardew_access.Features
else if (Game1.currentLocation is CommunityCenter communityCenter) else if (Game1.currentLocation is CommunityCenter communityCenter)
{ {
if (communityCenter.missedRewardsChestVisible.Value && x == 22 && y == 10) if (communityCenter.missedRewardsChestVisible.Value && x == 22 && y == 10)
return (CATEGORY.Chests, "Missed Rewards Chest"); return (CATEGORY.Containers, "Missed Rewards Chest");
} }
else if (Game1.currentLocation is BoatTunnel) else if (Game1.currentLocation is BoatTunnel)
{ {
@ -840,7 +840,7 @@ namespace stardew_access.Features
if (obj is Chest) if (obj is Chest)
{ {
Chest chest = (Chest)obj; Chest chest = (Chest)obj;
toReturn = (chest.DisplayName, CATEGORY.Chests); toReturn = (chest.DisplayName, CATEGORY.Containers);
} }
else if (obj is IndoorPot indoorPot) else if (obj is IndoorPot indoorPot)
{ {

View File

@ -43,8 +43,8 @@ namespace stardew_access.Features
return CATEGORY.MineItems; return CATEGORY.MineItems;
else if (name == "resource clump") else if (name == "resource clump")
return CATEGORY.ResourceClumps; return CATEGORY.ResourceClumps;
else if (name == "chest") else if (name == "container")
return CATEGORY.Chests; return CATEGORY.Containers;
else if (name == "bundle") else if (name == "bundle")
return CATEGORY.JunimoBundle; return CATEGORY.JunimoBundle;
else if (name == "door") else if (name == "door")
@ -79,7 +79,7 @@ namespace stardew_access.Features
public static CATEGORY Buildings = new CATEGORY("building"); public static CATEGORY Buildings = new CATEGORY("building");
public static CATEGORY MineItems = new CATEGORY("mine item"); public static CATEGORY MineItems = new CATEGORY("mine item");
public static CATEGORY ResourceClumps = new CATEGORY("resource clump"); public static CATEGORY ResourceClumps = new CATEGORY("resource clump");
public static CATEGORY Chests = new CATEGORY("chest"); public static CATEGORY Containers = new CATEGORY("container");
public static CATEGORY JunimoBundle = new CATEGORY("bundle"); public static CATEGORY JunimoBundle = new CATEGORY("bundle");
public static CATEGORY Doors = new CATEGORY("door"); // Also includes ladders and elevators public static CATEGORY Doors = new CATEGORY("door"); // Also includes ladders and elevators
public static CATEGORY WaterTiles = new CATEGORY("water"); public static CATEGORY WaterTiles = new CATEGORY("water");

View File

@ -589,7 +589,7 @@
"Rare Chest": { "Rare Chest": {
"x": [25], "x": [25],
"y": [28], "y": [28],
"type": "chest" "type": "container"
}, },
"Forge": { "Forge": {
"x": [23], "x": [23],