Fallout New Vegas
0 of 0

File information

Last updated

Original upload

Created by

Yukichigai

Uploaded by

Yukichigai

Virus scan

Safe to use

Tags for this mod

About this mod

Fixes script issues relating to the cut Sentry Bot Toy, for mods that restore it. That\'s right, I\'m bugfixing things that aren\'t even properly in the game, what of it?

Requirements
Permissions and credits
This bug fix is included in Yukichigai's Unofficial Patch (YUP)
If you're looking for a single file that fixes all your bugs, why not give YUP a shot?

----------
A few mods have tried their hand at restoring the cut (and adorable) Sentry Bot Toy, for example, New Vegas Uncut #5. The problem all of these mods seem to run into is the likely reason that the Sentry Bot Toy was cut from the game: no matter how you get rid of it from your inventory, even if you put it in another container, the damn thing will keep following you around if you aren't holding onto it.

The problem stems from the way the game tracks when the player drops the toy. The block it uses is called ''OnDrop'', which seems right until you realize it's called anytime the item is removed from the player's inventory, even if it's removed by placing it in another container (or giving it to one of your companions). This is what causes the problem.

All this fix does is add a simple check to the script block to see if the item is still in someone's inventory or inside a container. If it is, the Sentry Bot Toy remains unseen and in inventory. If not, it follows you around as normal.


NOTE

This bugfix does NOT re-enable the Sentry Bot Toy or place it anywhere in the game. It merely fixes a bug in the existing code. If you wish to re-enable the Sentry Bot Toy you will need to use another mod.