About this mod
This tiny file will just automatically drop/destroy useless items that you pick up on accident.
Fully configurable.
- Requirements
- Permissions and credits
- Donations
You ever accidentally pick up a burned book, or shot glass, or some other junk you don't plan to actually use, cause it's right next to something you did want?
This file will automatically drop or destroy that item for you, so that you don't have to go rooting around in your inventory to ditch stuff that you don't actually want. Items will be dropped whether they're added by script or by picking them up from the world.
Simply holding the grab key when you pick up an item will bypass this system, letting you pick up something that would normally be dropped if you actually want it.
There are two versions of this file.
PLUGIN VERSION:
The plugin version can display a corner message when an item is dropped by the system, and when an item is added to the AutoDrop system.
You can also both add and remove items to the drop list in game, by holding grab and pressing your Aim/Block key while looking at an item. This will add the item to the config ini if it's not there, or remove it if it is.
Simply put the Editor ID (Weap10mmPistol for a 10mm, for example) in front of an empty entry in the DroppedItems section of the config .ini inside of the Config folder to add it.
Each ID must be on a unique number:
1=BurnedBook01, 2=BurnedBook02, etc.
If you're out of numbers, just add a new one.
Simply remove the ID of any item you don't want in the list to remove it.
You can also turn on and off messages saying that the drop/discard occurred, and change the system from dropping the item in world, to just removing the item from you completely.
SCRIPTRUNNER VERSION:
This version cannot display any text messages when an item is dropped, or when one is added to the system. The scriptrunner simply refuses to accept and display the message string the way that the normal compiler in the GECK does, and I can't figure out why, no matter how many roundabout methods that I try.
Items also cannot be removed from the system in-game. This is due to the lack of a command to do so at the moment - if a command is created that allows me to remove a keyword at runtime, I can resolve this.
To manually add an item to the AutoDrop system, add another entry with the next number at the bottom of the AutoDrop.ini in the KEYWORDS folder.
Example:
1=BurnedBook01
2=BurnedBook02
Add:
3=Weap10mmPistol
Items which are added to the system in game will be added to the AutoDropCustom.ini in the KEYWORDS folder instead. To remove items from this, or the standard KEYWORD ini, simply cut/paste the EID for the last entry in that .ini over the one you don't want, and delete the final numbered key.
Example:
1=BurnedBook01
2=BurnedBook02
3=Weap10mmPistol
To Remove BurnedBook02:
1=BurnedBook01
2=Weap10mmPistol
3=
1=BurnedBook01
2=Weap10mmPistol
Requirements:
JIP LN, xNVSE, Johnny, the usual stuff.
The scriptrunner version requires KEYWORDS.
Installation:
Regular installation.
If transitioning from the plugin version to the scriptrunner version or vice versa, replace your installation rather than merging it.
Please endorse and vote if you appreciate the mod!
Limitations:
The command that drops items can sometimes result in the dropped item falling under the world. However, this is a possibility when dropping items with the pipboy as well, it's just how dropping items works in the game.
Questions:
This sure is a lot of work for you to set up just to save time dropping items?
You're tellin' me, buddy.
Credits:
Big thanks to Demorome for helping me out in figuring out why the items wouldn't drop initially!
Permissions:
Do whatever.
Support:
If you'd like to support my modding work or say thanks, feel free to donate via the Nexus or here at Ko-Fi.