Fixed TileInfo.cs bug -
Added unimplemented code for ladders, shaft and mine elevatormaster
parent
0e1f9d0cab
commit
09001807cb
|
@ -1,13 +1,8 @@
|
|||
using Microsoft.Xna.Framework;
|
||||
using Netcode;
|
||||
using StardewValley;
|
||||
using StardewValley.Buildings;
|
||||
using StardewValley.Locations;
|
||||
using StardewValley.Objects;
|
||||
using StardewValley.TerrainFeatures;
|
||||
using static stardew_access.Features.Utils;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text.Json;
|
||||
|
||||
namespace stardew_access.Features
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using Microsoft.Xna.Framework;
|
||||
using StardewValley;
|
||||
using StardewValley.Objects;
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
using System.IO;
|
||||
using System.Text.Json;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using StardewValley;
|
||||
using static stardew_access.Features.Utils;
|
||||
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
using Microsoft.Xna.Framework;
|
||||
using Netcode;
|
||||
using StardewValley;
|
||||
using StardewValley.Buildings;
|
||||
using StardewValley.Locations;
|
||||
using StardewValley.Objects;
|
||||
using StardewValley.TerrainFeatures;
|
||||
|
@ -116,6 +114,26 @@ namespace stardew_access.Features
|
|||
return (warp ?? door, CATEGORY.Doors);
|
||||
}
|
||||
|
||||
if (isMineDownLadderAtTile(currentLocation, x, y))
|
||||
{
|
||||
return ("Ladder", CATEGORY.Doors);
|
||||
}
|
||||
|
||||
if (isShaftAtTile(currentLocation, x, y))
|
||||
{
|
||||
return ("Shaft", CATEGORY.Doors);
|
||||
}
|
||||
|
||||
if (isMineUpLadderAtTile(currentLocation, x, y))
|
||||
{
|
||||
return ("Up Ladder", CATEGORY.Doors);
|
||||
}
|
||||
|
||||
if (isElevatorAtTile(currentLocation, x, y))
|
||||
{
|
||||
return ("Elevator", CATEGORY.Doors);
|
||||
}
|
||||
|
||||
string? junimoBundle = GetJunimoBundleAt(currentLocation, x, y);
|
||||
if (junimoBundle != null)
|
||||
{
|
||||
|
|
|
@ -6,8 +6,6 @@ using HarmonyLib;
|
|||
using stardew_access.Patches;
|
||||
using stardew_access.ScreenReader;
|
||||
using Microsoft.Xna.Framework;
|
||||
using StardewValley.Menus;
|
||||
using Microsoft.Xna.Framework.Input;
|
||||
|
||||
namespace stardew_access
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue