Fallout New Vegas
0 of 0

File information

Last updated

Original upload

Created by

Jokerine

Uploaded by

Jokerine

Virus scan

Safe to use

About this mod

Adds a scripted mailbox to Goodsprings to showcase use of GetContainerInventoryCount. ESP and ESM versions available.

Permissions and credits
Donations

Hello everybody! This is a quick little playable modder's resource that adds a scripted mailbox to Goodsprings.

The file requires no DLC and has been cleaned with FNVEDIT, so it should be safe for everybody to use. Still, you should always make a backup save before installing ANY mod, in case something goes wrong.


>WHAT
A mailbox has been placed outside Chet's store. You can sell items through it (but not purchase anything, unless you want to buyback) if you want to get rid of junk quickly, and reset its contents manually.

This is something I put together for my own playthrough just to see if it was possible, based on some experimenting I did while researching the rather obscure GetContainerInventoryCount function that is only used in the vanilla vMojaveExpressControlBoxSCRIPTInformation is so scarce that I actually wrote the wiki entry myself...

As this was something I made for a personal mod and figured I'd share separately, I WILL NOT MAKE ANY CHANGES. I will not add to it or subtract from this mod. This is offered as-is. It's a modder's resource for a reason! If you want to change how these work, or want to add them to more locations, do it yourself with the GECK or FNVEDIT.


>HOW DOES IT WORK?
This mailbox is set as an activator in the GECK. When used a message will pop up asking the player what to do. Depending on whether the mailbox is full or empty, the red flag will move up or down.

If they select to open the mailbox, a merchant menu will appear so they can sell things off. There will be nothing to buy. The player can sell anything they want until money runs out, and buy back their items. Really useful as a way to unload loot while at a remote player houses or buildings.

If they select to send items away, the mailbox will be emptied and the merchant money restored so they can start again. Please note that, once this option is selected, the items cannot be recovered. Nice and simple~

I first used  GetContainerInventoryCount here as a way to move a flag up or down, and have used it occasionally in other mods. It's a fun little function with many possibilities, but it's so rarely used and so very undocumented that it's not even available in the drop-down menus in the GECK, even though it's fully functional. You can only script with it -- so it requires a bit of creativity.



>DID I HEAR "RESOURCE"?
Yes! Feel free to add this to your mods by either copying the ESP records into your own mod, or using the ESM version as a master, but please give credit AND add a link to this page.

Search for Jokerine in the GECK with this mod loaded if you want to take a look under the hood. I took the time to annotate the script as much as I could to explain how it works.

Both versions are exactly the same but with one flag changed, so if you feel more comfortable making the ESM a requirement instead of implementing these machines into your own mod, you won't be missing anything.


>WHERE
Outside Chet's shop in Goodsprings. Feel free to move it around with the GECK or place it in more places if you want.


>INSTALL
To install, extract the contents of your downloaded file to your "Steam/SteamApps/Common/Fallout New Vegas/Data" folder. Then activate the mod through your preferred launcher by ticking the checkbox next to the esp. Or you can use your mod manager of choice to download the mod automatically. To uninstall, simply delete the files from your Data folder, and you're good to go. Have fun!