I just want to let you know that I created an updated plugin for CF that does the same thing. I completely moved away from scripted injection because it didn't work as intended.
Neat idea. Maybe this can be done via an injector script. That way you'd prevent mod conflicts. I have to do some research. I'll let you know if I find something useful.
I am almost certain you can do this via injection. I have absolute 0 knowledge on injection scripting creation, but if you do make one, or wish to just take this mod verbatim and implement it in the default LCF mod, feel free. If you do either I'll remove this mod as well. Ended up making this mod as the mod I used to use to add legendaries in general to these chests ( https://www.nexusmods.com/fallout4/mods/10928 ) seems to have periodic issues on my load orders so, I figure adding the component directly to the loot table requires less troubleshooting.
On one hand, it would be useful to incorporate those mechanics directly into LCF. It could be optional and toggled from within the game via holotape or MCM. On the other hand, I don't want to "steal" your idea. In any case, I'll send you a message in case I find a way of doing that via script. Then we can decide whether you use that script in your own mod or we add it to LCF.
Sounds good! I wouldn't worry too much about "Stealing" my idea. I give you express consent to incorporate it directly into the mod if you feel it fits, or find a better way to implement it! Less work for me, and can reduce the ESPs I need to in my load order as well.
Looks like there's no Papyrus function for injecting items into containers. Adding items via script to a specific container reference is easy but it would only affect a single container. I'd need to reference every single placed trunk in the game. Too bad. I'll probably include your approach in the next release and extend on it a bit further. Unfortunately, I can't make it optional that way.
It's done. I incorporated it into the successor of LCF: Crafting Framework I did it a bit different, by scripted injection. It isn't possible to inject items directly into containers but you can inject them into the leveled lists referenced by those containers. Works quite well and leaves the option to additionally use mods like Boss Chests Contain Legendaries.
8 comments
I just want to let you know that I created an updated plugin for CF that does the same thing. I completely moved away from scripted injection because it didn't work as intended.
Cheers
Ended up making this mod as the mod I used to use to add legendaries in general to these chests ( https://www.nexusmods.com/fallout4/mods/10928 ) seems to have periodic issues on my load orders so, I figure adding the component directly to the loot table requires less troubleshooting.
I'll probably include your approach in the next release and extend on it a bit further. Unfortunately, I can't make it optional that way.
I did it a bit different, by scripted injection. It isn't possible to inject items directly into containers but you can inject them into the leveled lists referenced by those containers. Works quite well and leaves the option to additionally use mods like Boss Chests Contain Legendaries.