Moved sounds to assets folder
parent
0942eec32e
commit
fcd6c8ecb3
|
@ -57,7 +57,7 @@ namespace stardew_access
|
||||||
}
|
}
|
||||||
|
|
||||||
SoundEffect effect;
|
SoundEffect effect;
|
||||||
string filePath = Path.Combine(MainClass.ModHelper.DirectoryPath, "sounds", $"{soundEffect.Key}.wav");
|
string filePath = Path.Combine(MainClass.ModHelper.DirectoryPath, "assets", "sounds", $"{soundEffect.Key}.wav");
|
||||||
using (FileStream stream = new(filePath, FileMode.Open))
|
using (FileStream stream = new(filePath, FileMode.Open))
|
||||||
{
|
{
|
||||||
effect = SoundEffect.FromStream(stream);
|
effect = SoundEffect.FromStream(stream);
|
||||||
|
|
|
@ -300,7 +300,7 @@ namespace stardew_access.Features
|
||||||
/// <br/>name: This is the name of the tile. Default to null if the tile tile has nothing on it.</returns>
|
/// <br/>name: This is the name of the tile. Default to null if the tile tile has nothing on it.</returns>
|
||||||
public static (CATEGORY? category, string? name) getDynamicTilesInfo(int x, int y, bool lessInfo = false)
|
public static (CATEGORY? category, string? name) getDynamicTilesInfo(int x, int y, bool lessInfo = false)
|
||||||
{
|
{
|
||||||
if (Game1.currentLocation.orePanPoint != Point.Zero && Game1.currentLocation.orePanPoint == new Point(x, y))
|
if (Game1.currentLocation.orePanPoint.Value != Point.Zero && Game1.currentLocation.orePanPoint.Value == new Point(x, y))
|
||||||
{
|
{
|
||||||
return (CATEGORY.Interactables, "panning spot");
|
return (CATEGORY.Interactables, "panning spot");
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue