From bda97f3c269a8007f67cc7d22791f708a8367f3c Mon Sep 17 00:00:00 2001 From: Arvkus Date: Fri, 11 Sep 2020 17:03:06 +0300 Subject: [PATCH] v1.2 --- .gitignore | 4 ++-- .vscode/build.bat | 2 +- .vscode/mod.csproj | 4 ++-- .vscode/tasks.json | 4 ++-- 1.2/Assemblies/Template.dll | Bin 3584 -> 3584 bytes About/About.xml | 16 +++++++++++++++- README.md | 1 + Source/Main.cs | 4 ++-- 8 files changed, 25 insertions(+), 10 deletions(-) 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 34ff51bb5e49ee78a183bb1b71d52dae87f7062f..4ec49e9057222b09c0c31847f04fa33a3c9168ca 100644 GIT binary patch delta 171 zcmZpWX^@%F!NNY-_4mY{HLMHN85m?HH*(rcu4EKv+%tJ1V>J^4`(!?*Yf=#m3=GPl z!3Qzmw#j@<*Q8V!7#Ng8 zgBcF6GB5~$*zTd8E*jw<{;bM^z6|*cDGUk>nGAVATmqE(%lH22RF=n1J?AcH Yo;lZfYx5G0EXK(PI88S5aeZP20P_?k$p8QV 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!"); } }