You've already forked stardew-valley-mods-devcontainer
Added sample project files to make it easier for people to get started.
This commit is contained in:
20
src/ModEntry.cs
Normal file
20
src/ModEntry.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using StardewModdingAPI;
|
||||
|
||||
namespace jibsaramnim.sdv.mods.SampleProject
|
||||
{
|
||||
/// <summary>The mod entry point.</summary>
|
||||
internal class ModEntry : Mod
|
||||
{
|
||||
|
||||
/*********
|
||||
** Public methods
|
||||
*********/
|
||||
/// <summary>The mod entry point, called after the mod is first loaded.</summary>
|
||||
/// <param name="helper">Provides simplified APIs for writing mods.</param>
|
||||
public override void Entry(IModHelper helper)
|
||||
{
|
||||
this.Monitor.Log("Hello, World! :-)");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
24
src/SampleMod.csproj
Normal file
24
src/SampleMod.csproj
Normal file
@@ -0,0 +1,24 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<AssemblyName>SampleMod</AssemblyName>
|
||||
<RootNamespace>jibsaramnim.sdv.mods.SampleMod</RootNamespace>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<Version>1.0.0</Version>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
<EnableHarmony>false</EnableHarmony>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" Version="4.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="MonoGame.Framework" HintPath="$(GamePath)\MonoGame.Framework.dll" Private="False" />
|
||||
<Reference Include="Stardew Valley" HintPath="$(GamePath)\Stardew Valley.dll" Private="False" />
|
||||
<Reference Include="StardewValley.GameData" HintPath="$(GamePath)\StardewValley.GameData.dll" Private="False" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Update="manifest.json" CopyToOutputDirectory="PreserveNewest" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
10
src/manifest.json
Normal file
10
src/manifest.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"Name": "SampleMod",
|
||||
"Author": "jibsaramnim",
|
||||
"Version": "1.0.0",
|
||||
"MinimumApiVersion": "3.0.0",
|
||||
"Description": "A sample mod project to get you started. Enjoy! :-)",
|
||||
"UniqueID": "jibsaramnim.sdv.mods.SampleMod",
|
||||
"EntryDll": "SampleMod.dll",
|
||||
"UpdateKeys": []
|
||||
}
|
||||
Reference in New Issue
Block a user