Skip to content

Commit

Permalink
Add echoes items (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
Miepee authored Jan 8, 2024
1 parent 62c83b4 commit c8eab8f
Show file tree
Hide file tree
Showing 168 changed files with 24 additions and 2 deletions.
25 changes: 23 additions & 2 deletions YAMS-LIB/Program.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System.Globalization;
using System.Reflection;
using System.Text.Json;
using NaturalSort.Extension;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Formats.Png;
using SixLabors.ImageSharp.PixelFormats;
Expand Down Expand Up @@ -155,7 +156,7 @@ void AddAllSpritesFromDir(string dirPath)
UndertaleSimpleList<UndertaleSprite.TextureEntry> GetTexturePageItemsForSpriteName(string name)
{
var list = new UndertaleSimpleList<UndertaleSprite.TextureEntry>();
foreach (string key in nameToPageItemDict.Keys.OrderBy(k => k))
foreach (string key in nameToPageItemDict.Keys.OrderBy(k => k, StringComparison.OrdinalIgnoreCase.WithNaturalSort()))
{
if (key.StartsWith(name)) list.Add(new UndertaleSprite.TextureEntry { Texture = gmData.TexturePageItems[nameToPageItemDict[key]] });
}
Expand Down Expand Up @@ -479,7 +480,27 @@ void CreateAndAddItemSprite(string name)
CreateAndAddItemSprite("sItemWaveBusterPrime");
CreateAndAddItemSprite("sItemXrayVisorPrime");
#endregion
CreateAndAddItemSprite("");
#region Prime 2 Echoes
CreateAndAddItemSprite("sItemAmberEchoes");
CreateAndAddItemSprite("sItemAnnihilatorEchoes");
CreateAndAddItemSprite("sItemBeamAmmoEchoes");
CreateAndAddItemSprite("sItemCobaltEchoes");
CreateAndAddItemSprite("sItemDarkAgonKeyEchoes");
CreateAndAddItemSprite("sItemDarkAmmoEchoes");
CreateAndAddItemSprite("sItemDarkSuitEchoes");
CreateAndAddItemSprite("sItemDarkTorvusKeyEchoes");
CreateAndAddItemSprite("sItemDarkVisorEchoes");
CreateAndAddItemSprite("sItemDarkburstEchoes");
CreateAndAddItemSprite("sItemEchoVisorEchoes");
CreateAndAddItemSprite("sItemEmeraldEchoes");
CreateAndAddItemSprite("sItemIngHiveKeyEchoes");
CreateAndAddItemSprite("sItemLightAmmoEchoes");
CreateAndAddItemSprite("sItemLightBeamEchoes");
CreateAndAddItemSprite("sItemLightSuitEchoes");
CreateAndAddItemSprite("sItemProgressiveSuitEchoes");
CreateAndAddItemSprite("sItemSkyTempleKeyEchoes");
CreateAndAddItemSprite("sItemVioletEchoes");
#endregion
#endregion

void RotateTextureAndSaveToTexturePage(int rotation, UndertaleTexturePageItem texture)
Expand Down
1 change: 1 addition & 0 deletions YAMS-LIB/YAMS-LIB.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<ItemGroup>
<PackageReference Include="Macross.Json.Extensions" Version="3.0.0"/>
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.2"/>
<PackageReference Include="NaturalSort.Extension" Version="4.2.0" />
</ItemGroup>

</Project>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c8eab8f

Please sign in to comment.