rimworld-mod-template/README.md

20 lines
1 KiB
Markdown
Raw Normal View History

2024-02-11 17:28:50 +01:00
# RimWorld Mod Template
2020-06-20 10:23:14 +02:00
2024-02-11 17:28:50 +01:00
This template is created for creating RimWorld mods in [VSCodium/Visual Studio Code](https://vscodium.com/)
2020-07-27 22:00:37 +02:00
2020-07-28 09:47:48 +02:00
## Setup
2024-02-11 17:28:50 +01:00
1. Ensure the extension `ms-dotnettools.csharp` (a.k.a. [C#](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp)) is installed
1. 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.
1. Run the task `build mod` to compile assemblies and About.xml
1. 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.
2020-07-28 12:10:47 +02:00
## Additional notes
2024-02-11 17:28:50 +01:00
- 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