SigmondDroid Posted June 23, 2018 Share Posted June 23, 2018 This is for my Prospector's Tool mod: https://www.nexusmods.com/newvegas/mods/65121 I'm wanting to be able to "scrap" items from my inventory that I've collected from containers, after getting 6 of an item it becomes tedious to keep opening the "how many do you want to drop" menu to drop 1 at a time. So, I want to drop all of them, scrap them and get the appropriate amount of crafting components from the stack. However, I can't seem to find any function that will return the quantity of a stack under the crosshair. For instance, scrapping a single coffee mug should yield 2 wonder glues and 3 empty syringes (Muggy values). So If I scrapped a stack of 6 it should be 6 times as much, 12 wonder glues and 18 empty syringes. Also, another issues I would like to resolve is the length of time the "item has been added" message that pops up. Is there a way to shorten these specific messages or silently add items to a player's inventory? Link to comment Share on other sites More sharing options...
dubiousintent Posted June 23, 2018 Share Posted June 23, 2018 If you don't get a response in a day or two, PM a moderator to move this thread to the "GECK and Modders" sub-forum. Different eyeballs. -Duboius- Link to comment Share on other sites More sharing options...
SigmondDroid Posted June 23, 2018 Author Share Posted June 23, 2018 I found a solution on the 4th page of a Google search. Yeah, I went past the first page on a Google search. Anyway, it's a GetRefCount. Found it on a nice doc site for NVSE functions.http://www.gribbleshnibit.com/projects/NVSEDocs/#GetRefCount Thought it would be worth the share. Link to comment Share on other sites More sharing options...
Recommended Posts