diff --git a/.gitignore b/.gitignore
index 4507fc7..21a6253 100644
--- a/.gitignore
+++ b/.gitignore
@@ -399,4 +399,7 @@ FodyWeavers.xsd
# JetBrains Rider
*.sln.iml
-# End of https://www.toptal.com/developers/gitignore/api/csharp
\ No newline at end of file
+# End of https://www.toptal.com/developers/gitignore/api/csharpmodFiles/PolyScriptTemplate.dll
+*.polymod
+
+*.dll
diff --git a/Main.cs b/Main.cs
index 5e6180f..14c36c1 100644
--- a/Main.cs
+++ b/Main.cs
@@ -1,10 +1,14 @@
using BepInEx.Logging;
+using PolyMod;
namespace PolyScriptTemplate;
-public static class Main
+public class Main : PolyScriptMod
{
- public static void Load(ManualLogSource logger)
+ public override void Load()
+ {
+ this.Logger.LogMessage("Here we go!");
+ }
+ public override void UnLoad()
{
- logger.LogMessage("Here we go!");
}
}
diff --git a/PolyScriptTemplate.csproj b/PolyScriptTemplate.csproj
index c8c211d..bf1bf77 100644
--- a/PolyScriptTemplate.csproj
+++ b/PolyScriptTemplate.csproj
@@ -12,6 +12,41 @@
-
+
+
+
+
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+ all
+
+
+
+
+ $(ProjectDir)..\modFiles\
+ $(ProjectDir)..\template.polymod
+
+ $(SteamDir)
+ C:\Program Files (x86)\Steam
+ $(HOME)/.steam/steam
+ $(HOME)/Library/Application Support/Steam
+
+ $(SteamDir)/steamapps/common/The Battle of Polytopia/Mods
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/modFiles/manifest.json b/modFiles/manifest.json
new file mode 100644
index 0000000..c77f03f
--- /dev/null
+++ b/modFiles/manifest.json
@@ -0,0 +1,5 @@
+{
+ "id": "template",
+ "version": "1.0.0",
+ "authors": ["your_name_here"]
+}