Skip to content

A place to browse and share code for common tasks in Rimworld modding.

Notifications You must be signed in to change notification settings

RimWorldMod/CodeSnippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Rimworld Code Snippets

If you are looking for a bit of code to do a common task in a Rimworld mod, this is the place to find it. If something you are looking for is not here, please ask on the modder's Discord channel- your problem may have already been solved.

Please feel free to contribute code that others may find useful- this includes, but is not limited to:

  • Injection code
  • Custom defs
  • Debugging utilities
  • Harmony patches

All newly added items must be tagged with the Rimworld version they were written for. E.g.: Inject Designator (A17).cs Please include a description, and a few words on how to use the provided code. If your snippet has any dependencies other than the stock game, please list them and their versions.

It is recommended not to publish entire mods in this repository- snippets should be easy to browse and have a specific use case.

If you have multiple files, please put them in a separate folder.

About

A place to browse and share code for common tasks in Rimworld modding.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages