Skip to content

Commit

Permalink
Update To 1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ApryllForever committed Dec 11, 2023
1 parent a774dc6 commit 4ea5363
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion BedTweaks/BedTweaks.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Version>1.0.0</Version>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<EnableHarmony>true</EnableHarmony>
<Platforms>AnyCPU;x64</Platforms>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion CustomLightSource/CustomLightSource.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" Version="4.0.2" />
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" Version="4.1.1" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions PlaygroundMod/CodePatches.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public static bool Prefix(FarmerRenderer __instance, SpriteBatch b, ref float sc
if (skip || !Context.IsPlayerFree)
return true;

var n = who.getTileLocationPoint();
var n = who.TilePoint;
int ticks;
if (who.IsSitting() && (n == new Point(15, 12) || n == new Point(17, 12)))
{
Expand Down Expand Up @@ -309,7 +309,7 @@ public static void Postfix(GameLocation __instance, SpriteBatch b)
var scale = 1 + factor * 0.1f;
if (factor > 0)
factor *= 0.5f;
int offset = (f.getTileLocationPoint() == new Point(17, 12)) ? 128 : 0;
int offset = (f.TilePoint == new Point(17, 12)) ? 128 : 0;
b.Draw(swingTexture, Game1.GlobalToLocal(new Vector2(15 * 64 - 4 + offset, 10 * 64 - 8)), new Rectangle(Game1.currentSeason == "winter" ? 34 : 0, 5, 17, 61), Color.White, 0, Vector2.Zero, 4, SpriteEffects.None, f.getDrawLayer() + 0.0000001f);

var y = 10 * 64 + factor * 4 * 4 - 8;
Expand Down
2 changes: 1 addition & 1 deletion PlaygroundMod/PlaygroundMod.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Version>1.0.0</Version>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<EnableHarmony>true</EnableHarmony>
<Platforms>AnyCPU;x64</Platforms>
</PropertyGroup>
Expand Down
8 changes: 8 additions & 0 deletions StardewValleyMods.sln
Original file line number Diff line number Diff line change
Expand Up @@ -1183,6 +1183,14 @@ Global
{7630DF7B-9D5D-4CF9-8F64-9D98990D5546}.Release|Any CPU.Build.0 = Release|Any CPU
{7630DF7B-9D5D-4CF9-8F64-9D98990D5546}.Release|x64.ActiveCfg = Release|x64
{7630DF7B-9D5D-4CF9-8F64-9D98990D5546}.Release|x64.Build.0 = Release|x64
{ADDEB184-D7CF-467C-B9BB-E989FB0A6AA5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{ADDEB184-D7CF-467C-B9BB-E989FB0A6AA5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{ADDEB184-D7CF-467C-B9BB-E989FB0A6AA5}.Debug|x64.ActiveCfg = Debug|Any CPU
{ADDEB184-D7CF-467C-B9BB-E989FB0A6AA5}.Debug|x64.Build.0 = Debug|Any CPU
{ADDEB184-D7CF-467C-B9BB-E989FB0A6AA5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{ADDEB184-D7CF-467C-B9BB-E989FB0A6AA5}.Release|Any CPU.Build.0 = Release|Any CPU
{ADDEB184-D7CF-467C-B9BB-E989FB0A6AA5}.Release|x64.ActiveCfg = Release|Any CPU
{ADDEB184-D7CF-467C-B9BB-E989FB0A6AA5}.Release|x64.Build.0 = Release|Any CPU
{9A912B3A-946D-4D9F-8144-031A5B7669EC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9A912B3A-946D-4D9F-8144-031A5B7669EC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9A912B3A-946D-4D9F-8144-031A5B7669EC}.Debug|x64.ActiveCfg = Debug|x64
Expand Down

0 comments on commit 4ea5363

Please sign in to comment.