It's worth adding that while this command only does 2 carry weight and can't increase (i.e. changing 1 to 100 makes no difference), you can actually put the command in multiple times in the same line to speed things up, meaning if you input Game.AddToInventory("Items.AirdropPermaReward", 1)Game.AddToInventory("Items.AirdropPermaReward", 1) to the console you increase carry weight by 4, and if you copy + paste a few times you can get quickly hundreds at a time.
idk how this reply thing works, but to both OP and the person who suggested pasting it multiple times, you are awesome. I have a lot of mods with cool clothes and s#*! and I was using a lot of my base carrying capacity. This mod may have worked but when I saw the comments I just deleted the file bc its so much simpler.
So I was unable to get this working, until I added a + sign to fk< StatModifier >[] statModifiers +=, not sure if that's necessarily needed or what, but at least for me it was. Thanks for your work regardless and this gave me some insight into how to structure a script for basic player stat changes.
I figured out the issue... And damn, it's gonna be a pain to go through all my TweakDB mods and check for plus signs...lol... But I'm gonna do it... Thank you very much for bringing this to my attention...
Basically, though, you must have another mod installed that also edits those same stat modifiers... It apparently needs the plus sign to add things from multiple files/mods, otherwise they conflict and I'd guess whichever loads first is used (though I haven't tested to see for sure there, but that's most likely)...
I ended up making my own yaml version of what I was trying to do, which apparently is meant to be better with less problems compared to the normal tweaks way of doing it. https://pastebin.com/7JcZWCsN Feel free to reuse it for yours if you ever end up using yaml as well. :D
28 comments
Game.AddToInventory("Items.AirdropPermaReward", 1)
It only does it 2 at a time but it works.
EDIT: nvm its alr in there im a dumbass
Basically, though, you must have another mod installed that also edits those same stat modifiers... It apparently needs the plus sign to add things from multiple files/mods, otherwise they conflict and I'd guess whichever loads first is used (though I haven't tested to see for sure there, but that's most likely)...
Edit: Updated this mod
Feel free to reuse it for yours if you ever end up using yaml as well. :D