Template for RimWorld mods
Find a file Use this template
2024-04-04 22:10:14 +02:00
.config feat: apply things learned in better autocasting mod 2024-04-04 21:36:32 +02:00
.vscode feat: use .NET 8 2024-04-04 22:10:14 +02:00
1.4 feat: use .NET 8 2024-04-04 22:10:14 +02:00
About feat: apply things learned in better autocasting mod 2024-04-04 21:36:32 +02:00
Source feat: use .NET 8 2024-04-04 22:10:14 +02:00
.envrc feat: update template for nixos 2024-02-11 17:28:50 +01:00
.gitignore feat: update template for nixos 2024-02-11 17:28:50 +01:00
flake.lock feat: apply things learned in better autocasting mod 2024-04-04 21:36:32 +02:00
flake.nix feat: use .NET 8 2024-04-04 22:10:14 +02:00
LICENSE feat: apply things learned in better autocasting mod 2024-04-04 21:36:32 +02:00
README feat: apply things learned in better autocasting mod 2024-04-04 21:36:32 +02:00
README.md feat: update template for nixos 2024-02-11 17:28:50 +01:00

RimWorld Mod Template

This template is created for creating RimWorld mods in VSCodium/Visual Studio Code

Setup

  1. Ensure the extension ms-dotnettools.csharp (a.k.a. C#) is installed
  2. Run the task link mod directory.
    • This should symlink the mod directory to RimWorld's mod folder.
    • The script won't work if you have installed RimWorld anywhere else than the default steam install.
  3. Run the task build mod to compile assemblies and About.xml
  4. Run the task run game to launch the game
    • The script won't work if you have installed RimWorld anywhere else than the default steam install.

Additional notes

  • All attributes for About.xml are kept in .vscode/mod.csproj, About.xml will get overriden each build.
  • You can run nix fmt to format all code in the repository.
  • While this template is designed for VSCodium, it works just as well with any other editor, simply launch the scripts manually