diff options
Diffstat (limited to 'TrainerMod')
-rw-r--r-- | TrainerMod/FodyWeavers.xml | 4 | ||||
-rw-r--r-- | TrainerMod/TrainerMod.cs | 2 | ||||
-rw-r--r-- | TrainerMod/TrainerMod.csproj | 31 | ||||
-rw-r--r-- | TrainerMod/manifest.json | 7 | ||||
-rw-r--r-- | TrainerMod/packages.config | 4 |
5 files changed, 38 insertions, 10 deletions
diff --git a/TrainerMod/FodyWeavers.xml b/TrainerMod/FodyWeavers.xml new file mode 100644 index 00000000..52e39c5e --- /dev/null +++ b/TrainerMod/FodyWeavers.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<Weavers> + +</Weavers>
\ No newline at end of file diff --git a/TrainerMod/TrainerMod.cs b/TrainerMod/TrainerMod.cs index e2482c5d..bed66b21 100644 --- a/TrainerMod/TrainerMod.cs +++ b/TrainerMod/TrainerMod.cs @@ -16,6 +16,7 @@ namespace TrainerMod {
public class TrainerMod : Mod
{
+ /*
public override string Name
{
get { return "Trainer Mod"; }
@@ -35,6 +36,7 @@ namespace TrainerMod {
get { return "Registers several commands to use. Most commands are trainer-like in that they offer forms of cheating."; }
}
+ */
public static int frozenTime;
public static bool infHealth, infStamina, infMoney, freezeTime;
diff --git a/TrainerMod/TrainerMod.csproj b/TrainerMod/TrainerMod.csproj index ddf1b317..1638a3c8 100644 --- a/TrainerMod/TrainerMod.csproj +++ b/TrainerMod/TrainerMod.csproj @@ -12,12 +12,14 @@ <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
+ <NuGetPackageImportStamp>
+ </NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
- <OutputPath>..\StardewModdingAPI\bin\x86\Debug\Mods\</OutputPath>
+ <OutputPath>..\StardewModdingAPI\bin\x86\Debug\Mods\TrainerMod\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
@@ -34,16 +36,16 @@ <Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<Choose>
- <When Condition="'$(SteamInstallPath)' != ''">
- <PropertyGroup>
- <SteamPath>$(SteamInstallPath)</SteamPath>
+ <When Condition="'$(SteamInstallPath)' != ''">
+ <PropertyGroup>
+ <SteamPath>$(SteamInstallPath)</SteamPath>
</PropertyGroup>
- </When>
- <Otherwise>
- <PropertyGroup>
- <SteamPath>..\..\..\..\Games\SteamLibrary</SteamPath>
- </PropertyGroup>
- </Otherwise>
+ </When>
+ <Otherwise>
+ <PropertyGroup>
+ <SteamPath>..\</SteamPath>
+ </PropertyGroup>
+ </Otherwise>
</Choose>
<ItemGroup>
<Reference Include="Microsoft.Xna.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86">
@@ -80,6 +82,15 @@ <Private>False</Private>
</ProjectReference>
</ItemGroup>
+ <ItemGroup>
+ <None Include="manifest.json">
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </None>
+ <None Include="packages.config" />
+ </ItemGroup>
+ <ItemGroup>
+ <Content Include="FodyWeavers.xml" />
+ </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>
diff --git a/TrainerMod/manifest.json b/TrainerMod/manifest.json new file mode 100644 index 00000000..a85f8dc3 --- /dev/null +++ b/TrainerMod/manifest.json @@ -0,0 +1,7 @@ +{ + "Name": "Trainer Mod", + "Authour": "Zoryn", + "Version": "1.0", + "Description": "Registers several commands to use. Most commands are trainer-like in that they offer forms of cheating.", + "EntryDll": "TrainerMod.dll" +}
\ No newline at end of file diff --git a/TrainerMod/packages.config b/TrainerMod/packages.config new file mode 100644 index 00000000..583acbdf --- /dev/null +++ b/TrainerMod/packages.config @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<packages> + <package id="Newtonsoft.Json" version="8.0.3" targetFramework="net45" /> +</packages>
\ No newline at end of file |