From 126ce53618719f6734125669e1466f681be49a78 Mon Sep 17 00:00:00 2001 From: ClxS Date: Sun, 6 Mar 2016 18:01:52 +0000 Subject: Updated readme. Small change to prevent trainermod using copy-local --- TrainerMod/TrainerMod.csproj | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TrainerMod') diff --git a/TrainerMod/TrainerMod.csproj b/TrainerMod/TrainerMod.csproj index c7dbe94f..8753bc1b 100644 --- a/TrainerMod/TrainerMod.csproj +++ b/TrainerMod/TrainerMod.csproj @@ -42,6 +42,7 @@ $(SteamInstallPath)\steamapps\common\Stardew Valley\Stardew Valley.exe + False @@ -53,6 +54,7 @@ $(SteamInstallPath)\steamapps\common\Stardew Valley\xTile.dll + False @@ -63,6 +65,7 @@ {f1a573b0-f436-472c-ae29-0b91ea6b9f8f} StardewModdingAPI + False -- cgit From 49090c98fcdc11ca536de42875f50b763e83ce63 Mon Sep 17 00:00:00 2001 From: ClxS Date: Sun, 6 Mar 2016 23:28:32 +0000 Subject: Fixed mod content path not being set correctly. Fixed object draw code. Custom objects can now be placed and show up correctly. --- TrainerMod/TrainerMod.cs | 4 +--- TrainerMod/TrainerMod.csproj | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'TrainerMod') diff --git a/TrainerMod/TrainerMod.cs b/TrainerMod/TrainerMod.cs index 9f918ce4..e2482c5d 100644 --- a/TrainerMod/TrainerMod.cs +++ b/TrainerMod/TrainerMod.cs @@ -762,12 +762,10 @@ namespace TrainerMod static void RegisterNewItem(object sender, EventArgsCommand e) { #if DEBUG - Log.Error("Experimental code cannot be run in user mode."); - return; -#endif SObject s = SGame.PullModItemFromDict(0, true); s.Stack = 999; Game1.player.addItemToInventory(s); +#endif } } } diff --git a/TrainerMod/TrainerMod.csproj b/TrainerMod/TrainerMod.csproj index 8753bc1b..3cd42786 100644 --- a/TrainerMod/TrainerMod.csproj +++ b/TrainerMod/TrainerMod.csproj @@ -17,7 +17,7 @@ true full false - bin\Debug\ + ..\StardewModdingAPI\bin\x86\Debug\Mods\ DEBUG;TRACE prompt 4 @@ -41,7 +41,7 @@ False - $(SteamInstallPath)\steamapps\common\Stardew Valley\Stardew Valley.exe + ..\..\..\..\Games\SteamLibrary\steamapps\common\Stardew Valley\Stardew Valley.exe False @@ -53,7 +53,7 @@ - $(SteamInstallPath)\steamapps\common\Stardew Valley\xTile.dll + ..\..\..\..\Games\SteamLibrary\steamapps\common\Stardew Valley\xTile.dll False -- cgit From eebbab0e1e955824128ff117351048913014a952 Mon Sep 17 00:00:00 2001 From: ClxS Date: Mon, 7 Mar 2016 17:37:08 +0000 Subject: Updated version, and stopped TrainerMod spamming the window with "Cyan" --- TrainerMod/TrainerMod.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TrainerMod') diff --git a/TrainerMod/TrainerMod.csproj b/TrainerMod/TrainerMod.csproj index 3cd42786..9c2f10a4 100644 --- a/TrainerMod/TrainerMod.csproj +++ b/TrainerMod/TrainerMod.csproj @@ -18,7 +18,7 @@ full false ..\StardewModdingAPI\bin\x86\Debug\Mods\ - DEBUG;TRACE + TRACE prompt 4 x86 -- cgit From dbe648486d8253d9c3785ebcb9c2b8935ea55d8b Mon Sep 17 00:00:00 2001 From: James Finlay Date: Mon, 7 Mar 2016 19:02:53 -0800 Subject: Use choose to select build location - Supports by reference & env var --- TrainerMod/TrainerMod.csproj | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'TrainerMod') diff --git a/TrainerMod/TrainerMod.csproj b/TrainerMod/TrainerMod.csproj index 9c2f10a4..ddf1b317 100644 --- a/TrainerMod/TrainerMod.csproj +++ b/TrainerMod/TrainerMod.csproj @@ -33,6 +33,18 @@ 4 false + + + + $(SteamInstallPath) + + + + + ..\..\..\..\Games\SteamLibrary + + + False @@ -41,7 +53,7 @@ False - ..\..\..\..\Games\SteamLibrary\steamapps\common\Stardew Valley\Stardew Valley.exe + $(SteamPath)\steamapps\common\Stardew Valley\Stardew Valley.exe False @@ -53,7 +65,7 @@ - ..\..\..\..\Games\SteamLibrary\steamapps\common\Stardew Valley\xTile.dll + $(SteamPath)\steamapps\common\Stardew Valley\xTile.dll False -- cgit