Tl Dr Fatty harems are best harems and glad to see Rimworld get a wg mod While i would love some integration with mods like Misc Robots (Feeder bots to keep the blobs fed while colonists do other tasks) and RJW(Fatty sex ftw), i understand that can be complicated, so this is my general wants for such a mod I also think that at higher levels it would be fun if the blobs could be the same as a luxury bed to give them some other use(And Feeder pawns get a mood boost from sleeping on blobs)similar to sleep accelerators with transhumanists. Such as a feeder meme, which gives mood boosts to other pawns for the amount of immobile blob pawns in the colony (I could imagine it like the Slaver meme with the Honorable Slavery precept), feast rituals around the fattening of the feedee pawns (Which, hat’s off for adding a feedee trait already) and the ability to use prisoners as those blobs (So you can get the mood boost from both useless pawns and prisoners if you don’t want to do that to your own pawns). Harmony.I am very glad there is an actual mod now for this, I will repeat here what I said in that thread, If the mod fairy gave me my perfect wg mod, it would be one where you can have pawns grow to immobility and care for/use them/whatever and have the colony revolve around such activities. in general, add null checks here (new HarmonyMethod() does it for you too) Var mPostfix = SymbolExtensions.GetMethodInfo(() => MyPostfix()) Var mPrefix = SymbolExtensions.GetMethodInfo(() => MyPrefix()) Var mOriginal = AccessTools.Method(typeof(SomeGameClass), "DoSomething") // if possible use nameof() here Static bool Prefix(SomeGameClass _instance, ref int _counter)Īlternatively, manual patching with reflection: // your code, most likely in your own dll Static AccessTools.FieldRef isRunningRef = make sure DoPatching() is called at start either by Patching with Harmony annotations: // your code, most likely in your own dll Original game code: public class SomeGameClass Patching generic methods or methods in generic classes is tricky and might not work as expected. You cannot add fields to classes and you cannot extend enums (they get compiled into ints). Methods that are too small might get inlined and your patches will not run. You can only work with methods that have an actual IL code body, which means that they appear in a dissassembler like dnSpy. This includes constructors and getters/setters. With Harmony, you only manipulate methods.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |