Fallout New Vegas
0 of 0

File information

Last updated

Original upload

Created by

Ludark

Uploaded by

mysteriousman121

Virus scan

Safe to use

Tags for this mod

About this mod

This mod does 2 things. First of all it fixes addiction removal so that it will take in account mod added addictions. Secondly it fixes the vanilla respec options, being when you leave goodsprings and the trait respec option in OWB. By making them account for mod added perks and traits.

Requirements
Permissions and credits
Changelogs
Known issues/quirks:
  • May not work if mod authors failed to properly flag their addictions and/or perks respectively. Can be avoided and fixed by using vanilla perks and addictions as a template to base your own stuff of.
  • Temporary addiction suppression by way of fixer is not covered by this mod, this mod does addiction removal not suppression. However I did recently write a guide on how one can make YUP's fix for fixer work for mod added addiction effects. Also neither YUP's fix nor that guide conflict with this mod.
  • Fixed Addiction removal may not affect mod added doctors and autodocs. It depends on whether they directly link back to vanilla methods of addiction removal, which will work. Or if they use their own scripts for addiction removal, which won't be affected by this mod.


    Known Incompatibilities:


    • TTW- TTW version 3.3 comes with everything the Fixed vanilla respec options portion of this mod offers. Also I made a TTW specific version of Fixed Addiction Removal. Using this mod with older versions of TTW, may also break things and I will not be offering support if it does.
    • Better Character Creation by Qolore - Comes with an incomplete of Improved vanilla respec options(it only does traits) and will break Improved Addiction removal for OWB's sink autodoc. Due to altering the NVDLC03SinkAutoDocSCRIPT and not including that fix. To be fair this mod didn't exist when Qolore made that mod, but it's incompatible nonetheless. Can be fixed by removing any conflicting (vanilla) scripts from that mod or putting this below it in your load order.


    boring technical rambly stuff that I have decided to put below a spoiler to save everyone some time:

    Spoiler:  
    Show

    Fixed addiction Removal
    Basically by default the game uses a hardcoded in script lists of vanilla addiction effects and whenever you go to remove an addiction either by a doctor(or an auto-doc) or fixer(because it's bugged by default, YUP fixes it though). The game will simply attempt to remove every single addiction on that listed from the player 1 by 1 and nothing else. Because this all in script it's very difficult if not impossible for mod authors to add their addiction effects to this list in a manner that won't conflict with other mods.
    This mod fixes that by changing the vanilla scripts. So that rather than going through a dumb hardcoded list. It instead checks for every single addiction effect in the game regardless of their source and removes those 1 by 1. I tried only removing the addiction effects, actually active on the player. But there were some issues with detecting all addiction effects under certain circumstances. So this method was chosen instead for being more reliable.
    This mod does not make fixer work as proper temporary removal or suppression of mod added addiction effects. However I recently wrote a guide on how one can make YUP's fix for fixer work with mod added addiction effects, without risk for compatibility issues. So please refer to that. Please note that I did try to make a one size fits all scripted approach to do this. I even got that to work however it also introduced a number of issues. While the guide doesn't introduce issues. So not wanting to ship a half-assed fix, I decided to just cut the feature all together and wrote the guide I just referred to instead.


    Fixed vanilla respec options]
    The game offers 2 points where the player can respec, being a full respec when leaving goodsprings and a partial respec for traits by way of the OWB sink-autodoc. To do so the game removes a number of perks and/or traits if the player chooses to use this option. Unfortunately much like addiction removal it uses hardcoded, in script lists that can't be safely edited by mod makers for this.
    This mod fixes that by checking the perks the player has(traits are still treated as perks internally but have a specific flag), then checking the perk flags on each of these perks and removing the appropriate perks regardless of their source.
    For regular (non trait) perks that means anything that can be gained through leveling up(flagged as playable) and not flagged as either a trait or hidden (won't show up in the pipboy).
    For traits that means perks flagged as traits, that aren't marked as hidden. The playable flag is ignored here.
    The reason anything marked as hidden is excluded is to avoid issues. Since some mod may use hidden perks for specific effects that may break upon their removal(YUP comes with such a perk for example) and we obviously want to avoid that. We also don't want to remove mods not gained through level ups, which is why the playable flag is enforced on regular perks.
    Why I combined these seemingly unrelated fixes into a single esp
    Basically OWB's sink auto-doc offers both addiction removal(as part of it's general healing option) and the partial respec for traits. This is done through a single script being NVDLC03SinkAutoDocSCRIPT. This means that to offer both fixes I'd have to make a combined esp anyway. So in the interest of saving time and because both tweaks are really just bugfixes anyway. I decided to go with this.