The name says it all. Lets you disassemble all items at once
Done super naive and janky, enjoy watching items literally vanishing from inventory in real time while disassembliying. Though in the end it should work fine and properly disassemble all items you chosen.
Powered by custom_functor_autoinject script introduced in Perk Based Artefacts (Moddb.com), don't worry about conflicts, its the same file.
Also includes Prefer Best Dissasembly Tool (Moddb.com) mod of mine in it, don't worry about that also.
In addition , the mod also adds 50% chance to get a faction patch upon choosing the option to get rid of it from an outfit. To disable it, remove lines 269-284 in disassemble_all_items.script
TIPS:
- If you play with option to disassemble item only when holding Left Alt, then i suggest to hold it all the time until all items are disassembled, otherwise not all of them would be. If you skilled enough you can play with button and disassemble partial amount.
If you like my work and wanna support further creations, i will be very glad and appreciate your donation ;)
Streamlabs
CHANGELOG:
- UPDATE 6.1: Fixed non-working "disassemble all junk" option
- UPDATE 6: Updated for Anomaly 1.5.2, thanks to aorushome for feedback
- UPDATE 5: The Ammo Maker patch is now optional and can be disabled in MCM, fixed bug on crashing when disassemble junk items without parts
- UPDATE 4: Integration with Sorting Plus mod. You can choose "disassemble all junk" entry to disassemble all junk items at once, demonstration below
- UPDATE 3: Bugfixes, compatibility patch with Arti's Ammo Maker mod, if you use that mod, use "Batch Disassemble" option for ammo
- UPDATE 2: Added 50% chance to get a faction patch upon choosing the option of an outift to get rid of it
- UPDATE 1: Removed option for currently equiped items or items on belt, it could cause some unnecessary bugs and there is default disassemble option already, now it works only from backpack
The long awaited feature that will change the gameplay!
Thank you
Quality-of-life!
Long awaited relief, no more disassemble ammo one by one. Bless ya`
Man, this is good, goes instantly to my mod set - but where strong need in Unload All command. This can be done?
its already done, just press U
now that i think about it, are there anyway to unload all from loot inventory ?
The mod for that is here Moddb.com
Does the multiple disassembly worns out the tool accordingly? Ex: 1 backpack worns tool by -4%, so 3 would be -12% and so on.
Yes, it uses same functions for disassembly, just for multiple items
Thanks. Rating a 10/10 and using it.
999/10
your a godsent
can it work with the EFP ?////////////
yes
The priority of choosing tools for disassembly breaks. If your inventory contains a multitool, a haircutting kit or a Swiss knife, then when you disassemble things, the multitool first wears out, but it should be the other way around. Because of this, you have to throw out the multitool for a while when you disassemble things.
That's the intended way, please refer to prefer best disassembly tool mod description. If you don't like it, delete appropriate files in mod folder
I thought this was a bug, so I reported it, but you are offended. The description does not say anything about this.
i'm not offended, its just that you need to read description carefully, its written in its own paragraph
"Also includes Prefer Best Dissasembly Tool (Moddb.com) mod of mine in it, don't worry about that also."
Now everything is clear, excuse my stupidity.
Is it possible to make that if you remove a patch from armor it will actually add this patch to your inventory? Or maybe there is a mod for this already? Yes, I actually thought it would work that way and always removed patches from trophy armors. Dumb me.
if it isn't already done, i'll might look into it, sounds not that hard
are there anyway to make the inventory not close when disassemble item without pressing turn off animation ?
Moddb.com here is a mod for that
that mod didn't work for me.
This comment is currently awaiting admin approval, join now to view.
A great idea about the patches, I've been thinking about it for a long time. Is it possible to make sure that the corresponding patch is also added to the inventory when the outfit is disassembled?
Great that we can actually remove patches. Awesome job on this!!
Is there any functional difference between using this vs. the "batch disassemble" option added for ammos by Arti's Ammo Maker Moddb.com ?
If not, would it be possible to get a patch to remove one or the other context options from ammos?
i dont use that mod, so tell me what you see and what it does
It reworks the ammo crafting, basically categorizing all ammo materials into 4 part types that get disassembled to. This makes it more worthwhile to scrap ammos that you have 0 intent of using, as they can be turned into other ammo types.
Alongside that, it adds a context option to "batch disassemble" on ammos that presumably functions similar to this mod. However, assuming they are identical, it leaves two redundant disassembly options (your "disassemble all", and Ammo Maker's "batch disassemble")
I got rid of the minor annoyance for myself by just adding a `not IsAmmo(obj)` check to your script. I'm also not 100% sure the options actually function identically, but I figure favoring his (since it's built around his ammo rework) should be safe.
PS. You're the most responsive mod author on ModDB, I've left posts on two of your mods now (I was the one troubleshooting Fanatic with Artefact Variations), and you reply so fast!
Alright, glad you fixed it. It should be doing same thing anyways since my mod calls vanilla disassembly function or whatever it's patched by other mods like that one
Ps: thanks, I appreciate it
Hey, I first thought that this would let me mark multiple items that can be disassembled then altogether. But it "only" processes stacked items, right?
But I think it would be a nice option to mark items for disassembling.
So ravenascendant's "Sorting Plus" let's us mark items as junk or favorite, then either preventing them from selling or moving them into the selling window automatically as soon as going into trading with an NPC. I thought I'd use this as a base to create a new function that disassembles all marked items. But I'm not sure if that works as a one-time-job or as stacked jobs only? If so then the same problem with ALT key option would apply to this as well?
+10
For which version of the patch "Ammo Maker"? I'm using an older simpler version of "Ammo Maker" and your mod used to disassemble ammo just fine.
If you have the mod enabled, the disassemble all entry won't appear, regardless of whatever version you have
All this is strange!
The mod "AMMO MAKER VERSION 1.5.1 BOXES" and "Disassemble_All_Items.7" has been installed for a long time. I disassemble packs of cartridges of 1000 pieces or more in 1 click, because I have the inscription "disassemble all" !!!
If it wasn't, I would have complained to you a long time ago.
Godsend mod, thank you!
Only ways i can see it improved is:
Disassemble items via hovering over them with modifier keys pressed.
or
Disassemble all junk keybind.
Thank you once again!
Hi, your mod conflicts with Moddb.com (Weapon Parts Overhaul) as they both modify the same script: custom_functor_autoinject.script
Do you plan to create a patch for this?
this script is written by me, no patch is needed
yes, but I mean "Weapon Parts Overhaul" also modify the same file (custom_functor_autoinject.script), and I see some differences between your file and the others'.
Сделайте пожалуйста, чтобы при разборке брони, также срывались нашивки с них с 50% шансом, а то перед разборкой постоянно приходится вручную их срывать, что замедляет сам процесс.
FATAL ERROR
[error]Expression : <no expression>
[error]Function : CScriptEngine::lua_error
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 191
[error]Description : fatal error
[error]Arguments : LUA error: d:/games/anomaly\gamedata\scripts\item_parts.script:279: bad argument #1 to 'pairs' (table expected, got nil)
I believe it happens when the script tries to process an item that doesn't have its parts defined in parts.ltx. Probably, some weapon from BaS is to blame, since there are some guns in the pack that cannot be disassembled. I've clicked "disassemble all junk" option accidentally packed up with looted stuff :)
When I sold all unnecessary weapons and armor, the option worked just fine.
Great update! Thank you!
But may i ask why ammo got excluded?
ho sweet qol, thank you !
Doesn't work well with ARMR ARTI AND RAVENASCENDANTS MAGS REDUX (latest release from Github.) Can disassemble all armor and junk but only some, maybe half, for weapons when I use the mags redux addon.
I am still playing 1.5.1 will it work?
how did you mark items ?
1.Yes
2.its sorting plus mod that does it
thanks