RimWorld

RimWorld

Not enough ratings
Android Tiers - Altered Carbon - Patch
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.3
File Size
Posted
Updated
106.677 KB
Jul 12, 2022 @ 2:12pm
Jul 18, 2022 @ 11:15am
2 Change Notes ( view )

Subscribe to download
Android Tiers - Altered Carbon - Patch

Description
Patches the Androids correctly so that they can't be grown in sleeve incubators. There's already a patch for this in the Altered Carbon mod, but it doesn't work. This fixes it.

I don't know why the original doesn't work for me; it works for the TX androids, but whatever. This changes it from an add to a replace, so if you have anything that messes with the androids race mod extensions, load this first; I don't know of anything that does.

Strike that! Replace doesn't work either!

I don't know why!

So, I'm going to overwrite everyting, with new copies of all the race defs, but including the required altered carbon extensions!

It's destructive, and I shouldn't do it this way, but it's the only way I've found to get it working, and as I said, I don't know why!

To be clear; the way this fixes the issue won't become a problem unless Android Tiers gets an update. If Android Tiers does get an update that changes the race defs, then this will break things.
11 Comments
Netzach Sloth  [author] Aug 14, 2022 @ 7:37pm 
Ah, PatchOperationAddModExtension, I didn't know that was a thing; thanks.

I wonder why the PatchOperationAdd works for the TX mods, but not the base mod. Weird.
Victor Aug 14, 2022 @ 5:47pm 
I encountered perhaps the same problem in another patch I'm working on, and my solution was to completely delete a node and add it again with the extra stuff...

Also, I only used XML Extensions for making a settings menu, I had it working just with a PatchOperationAddModExtension so there's that.
Netzach Sloth  [author] Aug 14, 2022 @ 5:22pm 
Nice. I didn't even think of using XML Extensions. Looking at how simple it was in your patch, I'll probably start using that for other mods. Looks super convenient.

Still, I'm super confused why the original add and replace didn't work.
Victor Aug 14, 2022 @ 4:16pm 
Well, I was able to patch Android Tiers, and a couple other races, using patch operations, it seems to be working fine to me, check this out: https://steamcommunity.com/sharedfiles/filedetails/?id=2849175042
Victor Jul 25, 2022 @ 11:29am 
Computica Jul 18, 2022 @ 1:24pm 
Thanks Netzach for the stack fix!
Netzach Sloth  [author] Jul 18, 2022 @ 11:16am 
@JetStream Scam, Forgot about that, I just added that in. Let me know if it works, I haven't tested it.

This should remove the missing stack debuff from androids.

Only the regular ones, not the TX ones, if I have time, I'll see if I can get a patch working for those.
BALL BUSTER Jul 17, 2022 @ 11:27pm 
Another issue, albeit, an absolutely minuscule one, If ideology is enabled, and stacks are a preference for colonists, androids also get the "i dont have a stack" mood debuff, despite inability to have them installed. Good mod btw. Keep up the good work.
#6 Jul 14, 2022 @ 3:13am 
Fair enough
Netzach Sloth  [author] Jul 13, 2022 @ 1:08pm 
It's not an altered carbon issue, it's not an android tiers issue; I don't know what the issue is, because the included patches in Altered Carbon work perfectly fine for the TX androids mod.

I don't know why it doesn't work the base androids.

Going nuclear is a bit of an overstatement; overwriting the race defs won't be an issue, unless Android Tiers gets an update that changes the race defs, and if that happens, and this is still an issue, and patching still isn't working, then maybe I'll update this.

Either way, this fixes a very very minor issue; if you have the self control to just not grow an android in a sleeve incubator, then you can just not use this.