Fixes the DNAgent perk so that it correctly applies to all Night Stalkers.
Requirements
DLC requirements
DLC name
Old World Blues
Permissions and credits
Credits and distribution permission
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou can upload this file to other sites but you must credit me as the creator of the file
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features so long as you credit me as the original creator
Conversion permissionYou can convert this file to work with other games as long as you credit me as the creator of the file
Asset use permissionYou are allowed to use the assets in this file without permission as long as you credit me
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are not allowed to earn Donation Points for your mods if they use my assets
Author notes
Be sure to credit Miguick, Sandbox6, and Yukichigai.
File credits
Miguick - Work on YUP patch, particularly the creature data this fix uses. Sandbox6 - Work on YUP patch, particularly the creature data this fix uses. Also came up with the idea to add a "Not Equal to" condition check for Cyberdogs that version 1.2 uses. Yukichigai - Work on YUP patch.
Donation Points system
This mod is not opted-in to receive Donation Points
Changelogs
Version 1.2
Final release - Removed 1.1's new faction and undid 1.1's changes to the Night Stalker faction. -Night Stalkers missing from the Night Stalker faction have been edited directly (uses data from YUP) to be part of the Night Stalker faction. There was an Old World Blues Night Stalker constantly used as a template that YUP missed out on that was not in the Night Stalker faction, it has been corrected. - Cyber Dogs have been changed back to using the Night Stalker faction. - 2 New "Not Equal To" Condition checks have been added to DNAgent perk; DogFaction and NVDLC03CyberDogFaction. This will prevent Cyberdogs (including most modded ones that use CyberdogTEST as a template) and Dogs that are in the Night Stalker faction from receiving damage from DNAgent.
Version 1.1
- Added the Night Stalker faction back to the DNAgent perk as an additional condition check for much greater compatibility with mods. - Created a new Dog Faction that contains the same data as the Night Stalker Faction. - Edited the Night Stalker Faction to have this new dog faction to be set as "Ally." - Removed several dogs from the Night Stalker Faction and put them in this new faction; this prevents them from being affected by DNAgent.
Version 1.0
Initial release. - Changed the DNAgent perk to use a new form list which contains every base game and Old World Blues Night Stalker creature (and spawns). - DNAgent no longer has a condition check for the Night Stalker faction.
The DNAgent Perk is suppose to give a +10% Damage Increase to all Night Stalkers. However, it just gives +10% Damage to anything in the Night Stalker faction. There is a problem with this, not all Night Stalkers are in the Night Stalker faction (a couple Night Stalker spawns don't even have the "Use Factions" flag enabled), and Cyberdogs are in the Night Stalker faction for AI/Ally purposes.
I created a solution; I made the perk use a form list and put every single Night Stalker (and spawn) in that form list.
UPDATE 1.1 Info:
I updated the perk to have an additional condition check for the Night Stalker Faction to allow more compatibility with mods! A new Faction was created just for dogs which contains the same data as the Night Stalker Faction and the Night Stalker faction was edited to have a new Ally relation with this dog faction. Dogs were removed from the Night Stalker faction so they won't be affected by DNAgent.
UPDATE 1.2 Info:
This should be the final update. I removed the new faction from the previous update, also removed the Night Stalker faction changes. Night Stalkers missing from the correct factions have been edited directly using some data from YUP patch. A particular Night Stalker from Old World Blues that YUP patch missed out on that was constantly referenced as a template but was not in the Night Stalker faction was changed to now be in it. Added 2 conditional "Not Equal to" checks to the DNAgent perk, for the DogFaction and NVDLC03CyberDogFaction; this should prevent Cyberdogs and modded dogs in the Night Stalker faction from taking bonus damage.