Skip to content

Commit

Permalink
swim
Browse files Browse the repository at this point in the history
  • Loading branch information
aedenthorn committed Jun 21, 2020
1 parent dc1748a commit c1df1b4
Show file tree
Hide file tree
Showing 8 changed files with 1,548 additions and 0 deletions.
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions StardewValleyMods.sln
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RealNames", "RealNames\Real
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OutdoorButterflyHutch", "OutdoorButterflyHutch\OutdoorButterflyHutch.csproj", "{6F0A031A-4FCC-4629-BC5F-4915C7395E3C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Swim", "Swim\Swim.csproj", "{D06D6A79-D6AA-45E4-9E39-9D150F8A5365}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -171,6 +173,14 @@ Global
{6F0A031A-4FCC-4629-BC5F-4915C7395E3C}.Release|Any CPU.Build.0 = Release|Any CPU
{6F0A031A-4FCC-4629-BC5F-4915C7395E3C}.Release|x86.ActiveCfg = Release|Any CPU
{6F0A031A-4FCC-4629-BC5F-4915C7395E3C}.Release|x86.Build.0 = Release|Any CPU
{D06D6A79-D6AA-45E4-9E39-9D150F8A5365}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D06D6A79-D6AA-45E4-9E39-9D150F8A5365}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D06D6A79-D6AA-45E4-9E39-9D150F8A5365}.Debug|x86.ActiveCfg = Debug|Any CPU
{D06D6A79-D6AA-45E4-9E39-9D150F8A5365}.Debug|x86.Build.0 = Debug|Any CPU
{D06D6A79-D6AA-45E4-9E39-9D150F8A5365}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D06D6A79-D6AA-45E4-9E39-9D150F8A5365}.Release|Any CPU.Build.0 = Release|Any CPU
{D06D6A79-D6AA-45E4-9E39-9D150F8A5365}.Release|x86.ActiveCfg = Release|Any CPU
{D06D6A79-D6AA-45E4-9E39-9D150F8A5365}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
27 changes: 27 additions & 0 deletions Swim/ModConfig.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
using Microsoft.Xna.Framework.Input;
using StardewModdingAPI;

namespace Swim
{
public class ModConfig
{
public bool EnableMod{ get; set; }
public bool SwimByDefault { get; set; }
public int JumpTimeInMilliseconds { get; set; }
public SButton SwimKey{ get; set; }
public SButton SwimSuitKey { get; set; }
public SButton DiveKey { get; set; }
public float ChanceTreasure { get; set; }

public ModConfig()
{
SwimKey = SButton.J;
SwimSuitKey = SButton.K;
DiveKey = SButton.H;
EnableMod = true;
SwimByDefault = false;
JumpTimeInMilliseconds = 500;
ChanceTreasure = 0.9f;
}
}
}
Loading

0 comments on commit c1df1b4

Please sign in to comment.