Template for RimWorld mods
Find a file Use this template
2024-02-13 11:14:56 +01:00
.vscode chore: format and slightly fix xml/xslt 2024-02-13 11:14:56 +01:00
1.4 feat: update template for nixos 2024-02-11 17:28:50 +01:00
About chore: format and slightly fix xml/xslt 2024-02-13 11:14:56 +01:00
Source feat: update template for nixos 2024-02-11 17:28:50 +01: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: update template for nixos 2024-02-11 17:28:50 +01:00
flake.nix feat: update template for nixos 2024-02-11 17:28:50 +01:00
LICENSE feat: update template for nixos 2024-02-11 17:28:50 +01: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