RimWorld

RimWorld

Not enough ratings
VPWE Ultratech Compatibility
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4
File Size
Posted
Updated
328.012 KB
30 Nov, 2023 @ 6:45pm
2 Dec, 2023 @ 8:24pm
2 Change Notes ( view )

Subscribe to download
VPWE Ultratech Compatibility

Description
Fixes repeating offers for persona weapons caused by having Ultratech Altered Carbon and Vanilla Persona Weapons Expanded installed together.
9 Comments
Matsay 27 Jan @ 8:03am 
Did a bit of testing, your mod seems to completely prevent the weapon from being generated. Nothing in the logs, I do receive the highmate and also the techprint from Imperial Functionality. Tested promoting a pawn straight to Duke, I receive all rewards except the weapon. Same goes for lower titles btw.
Removing the mod allows to receive the weapon as expected; as long as the titled pawn doesn't have a cortical stack you only get it once.
For now I'll just steer clear of these devilish contraptions; God never intended for us to live forever anyway.
V 25 Jan @ 3:22pm 
i was wondering what was causing the recurring persona weapon offer lol
Dizzy Ioeuy 21 Dec, 2023 @ 11:57am 
Ty for the info
Netzach Sloth  [author] 21 Dec, 2023 @ 11:51am 
Probably caused by something else then. The way VPWE is written makes it hard for other mods to do anything with titles without triggering the free weapon.

This mod fixes that for ultratech by remaking the VPWE method to be more compatible.

You can try this mod, it might fix the issue, even without ultratech, it might also throw errors. Can't hurt to try.
Dizzy Ioeuy 21 Dec, 2023 @ 10:52am 
i get repeated offers of baron level weapon even tyhough i don't have the ultratech mod installed.
Netzach Sloth  [author] 2 Dec, 2023 @ 8:25pm 
Updated with that change. I did it in a bit of a hacky way though, so let me know if it causes any issues. In particular, the issues would be related to bonded things.

From a quick test of the backup mechanic though, the problem with AlteredCarbon unbonding things on backup is fixed, but again, as I said, this means things are bonded by sleeve, rather than by stack.
Netzach Sloth  [author] 2 Dec, 2023 @ 7:50pm 
Found the spot in code that's causing the issue, I think. Calling PersonaData.AssignRoyaltyData for RegisterStack is assigning any bonded weapons to the backup pawn, rather than the actual pawn. Not correct. So. I'm probably just going to remove that with a patch.

It'll mean that persona weapons are bonded by sleeve, rather than stack, but I think that's better than the current bug.
Netzach Sloth  [author] 30 Nov, 2023 @ 7:18pm 
Easy work around though is to use character editor to force equip the now unbonded weapon, and it'll correct until the next backup.
Netzach Sloth  [author] 30 Nov, 2023 @ 7:17pm 
Note. This is only a partial fix. This will stop the constant messages and free Persona weapons, but it won't fix the issue of Altered Carbon unbonding weapons when you do a backup.

I might add that later if I have time.