Ради вашего удобства наш сайт использует cookies! Узнать больше! Мы используем cookies

[LC]AutoPatcher

Modding tool for automatically patching.

Overview

Automatic patching is defined via a PatchTree and various PatchNodes, containing the logic of the patchs and instructions respectively. Pre-made nodes:

  • List all Defs and Drivers.
  • Type searcher: search in all methods for calls to DefOfs.
  • Toil searcher: search in all methods for called actions.
  • Patch Defs and Types: from simple stat replacing (accessible entirely via XML) to user-defined Harmony patches.
  • Patch Toils: patch any particular Toil, and insert Toils in arbitrary positions.
  • Stat-Injector: Uses MathParser.org formula structure to inject stats to ThingDefs. (accessible entirely via XML)

Check [LC]ToolsFramework for an example implementation.

Compatibility

Please report compatibility issues on Github or Discord.

Acknowledgements

The Rimworld modding community, and a special thank you to Brainz, for developing the Harmony methods needed for this mod.

Various links

Github for posting issues, comments and contributing to the mod.
[github.com]
Discord server for chatting.
[discord.gg]
Kofi to support me monetaraly.
[ko-fi.com]

Additional Info

This mod contains assembly for MathParser.org. The code is poorly documented at the moment, if you can help with the documentation please contact me on Github or Discord.

Рейтинг

Войдите, чтобы голосовать.
🏅 Нет оценок

Базовые теги:

Зависимости мода

Логотип мода

Harmony

Логотип мода

HugsLib

Загрузить 514.1 KB