diff --git a/.gitignore b/.gitignore index ae518e9..7c62ffc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ -/Source/obj /.vscode/obj # /*/Assemblies -# /Source +# /*/Assemblies/*.pdb # /.vscode +# /Source \ No newline at end of file diff --git a/.vscode/build.bat b/.vscode/build.bat index 3b6dd17..cb21c5f 100644 --- a/.vscode/build.bat +++ b/.vscode/build.bat @@ -1,7 +1,7 @@ echo off REM remove unnecessary assemblies -REM DEL .\*\Assemblies\*.* +DEL .\*\Assemblies\*.* REM build dll dotnet build .vscode \ No newline at end of file diff --git a/.vscode/mod.csproj b/.vscode/mod.csproj index c2d0f83..8aee984 100644 --- a/.vscode/mod.csproj +++ b/.vscode/mod.csproj @@ -10,7 +10,7 @@ ../1.2/Assemblies 1.0.0.0 - + none false @@ -19,7 +19,7 @@ - + diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 1241df7..2c3b56d 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -8,8 +8,8 @@ "kind": "build", "isDefault": true }, - // "command": ".vscode/build.bat", - "command": "dotnet build .vscode" + "command": ".vscode/build.bat", + // "command": "dotnet build .vscode" }, ] } \ No newline at end of file diff --git a/1.2/Assemblies/Template.dll b/1.2/Assemblies/Template.dll index 34ff51b..4ec49e9 100644 Binary files a/1.2/Assemblies/Template.dll and b/1.2/Assemblies/Template.dll differ diff --git a/About/About.xml b/About/About.xml index 7eeed31..6de7801 100644 --- a/About/About.xml +++ b/About/About.xml @@ -1,10 +1,24 @@ + arvkus.template Arvkus Mod Template Arvkus
  • 1.2
  • - Arvkus.Rimworld.ModTemplate2 + + + + + + + + + Template
    \ No newline at end of file diff --git a/README.md b/README.md index 614ed03..bcfc94f 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ This template is created for Rimworld moders who use [Visual Studio Code](https: 1. Download and install [.NET Core SDK](https://dotnet.microsoft.com/download/dotnet-core) and [.Net Framework 4.7.2 Developer Pack]( https://dotnet.microsoft.com/download/dotnet-framework/net472). This step can be skipped if you already have required C# packages from Visual Studio IDE. 2. Instal [C# extension](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp). 3. Clone, pull or download this template into your Rimworld `Mods` folder. +4. Modify `.vscode/mod.scproj` and `About/About.xml` files. ## Additional notes * By pressing `F5` key VS Code will perform 2 operations: build assembly file and launch Rimworld executable. diff --git a/Source/Main.cs b/Source/Main.cs index 918be50..5d5fb98 100644 --- a/Source/Main.cs +++ b/Source/Main.cs @@ -38,9 +38,9 @@ namespace Template [StaticConstructorOnStartup] public static class Start { - static Start() // quick debug + static Start() { - Log.Message("Mod init"); + Log.Message("Mod template loaded successfully!"); } }