RimWorld
Μη επαρκής αριθμός βαθμολογιών
Android Tiers - Altered Carbon - Patch
   
Βραβείο
Αγαπημένο
Αγαπημένο
Μη αγαπημένο
Mod, 1.3
Μέγεθος αρχείου
Αναρτήθηκε
Ενημερώθηκε
106.677 KB
12 Ιουλ 2022, 14:12
18 Ιουλ 2022, 11:15
2 σημειώσεις αλλαγών ( προβολή )

Συνδρομή για λήψη
Android Tiers - Altered Carbon - Patch

ΠΕΡΙΓΡΑΦΗ
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 σχόλια
Netzach Sloth  [Δημιουργός] 14 Αυγ 2022, 19:37 
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 14 Αυγ 2022, 17:47 
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  [Δημιουργός] 14 Αυγ 2022, 17:22 
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 14 Αυγ 2022, 16:16 
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 25 Ιουλ 2022, 11:29 
Computica 18 Ιουλ 2022, 13:24 
Thanks Netzach for the stack fix!
Netzach Sloth  [Δημιουργός] 18 Ιουλ 2022, 11:16 
@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.
Gustavo Fridge 17 Ιουλ 2022, 23:27 
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 14 Ιουλ 2022, 3:13 
Fair enough
Netzach Sloth  [Δημιουργός] 13 Ιουλ 2022, 13:08 
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.