The Elder Scrolls V: Skyrim

The Elder Scrolls V: Skyrim

106 ratings
Bag of Trash (tw edition)
 
Rate  
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
0.257 MB
2 Jan, 2013 @ 12:08am
3 Jan, 2013 @ 5:16pm
4 Change Notes ( view )

Subscribe to download
Bag of Trash (tw edition)

Subscribed
Unsubscribe
In 1 collection by Team Vladof
Convenience Tweaks
22 items
Description
Serial kleptomaniac's rejoice!

Mod adds a Bag of Trash to your inventory that you can open & toss unwanted junk away in. You can also adjust the bag's settings to pay you a % of the junk value. Items get removed cleanly from the game world (and your save file), and you make some coin on the side. Hurrah!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Usage

1) When you first use the mod, your Bag of Trash will be immediately added to your armor inventory with a quest-like fanfare

2) Drop the bag from your inventory

3) Activate the bag to change payout settings (ie: % of item values you want to get paid when trashing them in Bag of Trash)

4) Pick up bag again

5) Equip it in your armor inventory, then close your inventory; the Bag's inventory will open up for you to toss items into it

6) Once done tossing items into it, close the Bag's inventory; it'll scrap everything and pay you the % gold based on your settings

You can toss the bag into a storage container or drop it on the ground and move it around as you see fit. You only get one bag, though, so if you put it in a container that resets or you lose it, simply uninstall the mod then reactivate it to have a new one added.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Notes

This is a fork/update/revision of zBobg's original (which itself was based on JustinOther's Bag of Holding). I made quite a few changes under-the-hood, but main ones are getting the gold payout working (and giving player feedback on how much was paid), plus giving player settings to adjust bag's % item value payout (0-100%).

I had it in mind to make a Dwemer Clutter Bug for the longest time. The idea was to open its inventory, and add junk to it that you wanted it to eat from your inventory. EG: a basket. After closing it, you'd walk around around, it would periodically scan your inventory for any items that matched what was in its inventory, and if it found them, it'd remove them from your inventory and pay you for them. The idea behind this was that you could then run around grabbing all those worthless baskets, lanterns and other garbage littering places, and automatically get a little gold for them without even having to jack around with your inventory or going to a merchant; the clutter bug would just "eat" them automatically and poop gold in return.

I found zBobg's Bag of Trash, and decided to download and look at it to get an idea of how to do the inventory swappings and such. However, I quickly trashed my idea after jacking around with papyrus to try to use Form Lists like arrays, loading and removing clutter bug items from it that it would search for. I couldn't get ♥♥♥♥ to load in the form lists even though I could get them to pull back other values (like the gold amount of the item).

So, I gave up on that.

But, I noticed zBobg didn't update his mod since Feb 2012, and folks were complaining about the bag eating items w/o returning gold. So, I started tweaking stuff.

I basically stripped out a lot of script, and moved things around so they're not in the OnUpdate event being called all the time when not needed. (For some strange reason, Skyrim was still processing OnUpdates even when I forced them to unregister OnLoad and only gave them a RegisterForSingleUpdate(1) command... it just keep running the update on the container script. So, shuffling things into functions that only ran when called fixed it.)

The main difference in his vs. mine is that his would add/remove gold from you as you added/removed each item from the bag. I think it was doing it silently, and since players didn't get any feedback they thought it wasn't adding gold. Mine streamlines the process by simply tracking the net sum of gold as a variable as you add/remove items from the bag. When you finally close the bag, it gives you a single, grand total pay out.

Likewise, zBobg had different versions of his mod for folks that didn't want to get paid, wanted to get paid a little, or wanted to get paid full value of trashed items. I liked the idea, but decided to make a "settings" option that lets you set how much the bag pays out. This way one mod covers all of that.

A final change is that the dropped bag is no longer a container you can open. When the bag is dropped, it's just an item you can activate to take, leave or adjust settings. To open and use the bag, you must add it to your inventory first.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Oddities

Because papyrus only has a function to GetGoldValue on the form (base item), but not the object ref (current item instance), you will only get gold based on the item's base value. Sounds confusing, let's explain...

EG:

Ysgramir's shield has a base value of 1000g. If I work it over at the forge to be super-leet and worth > 1000g, the Bag of Trash will still only pay me based on the base 1000g when I trash it.

I don't like this, but I can only work within the confines of Beth's scripting language.

~~~

Also, if you equip Bag of Trash multiple times real fast and/or equip it then drop it real fast and close your inventory (ie: basically, you screw around), you may end up with more than 1 in your inventory. (I think I ended up with 1 on the ground and 1 in my inventory, which made 2 when I picked the other up).

If this happens, just get all of them in your inventory, then equip Bag of Trash once (like a normal person), toss the extras in it, and close it ... *poof* gone. I reduced Bag's value to 0g (instead of zBobg's 10,000g), so you won't get gold for glitching this.

I could work-around this by making the bag a "potion" or "food" that you consume, thus only letting you click it once in your menu and it disappearing immediately while setting a flag to open the container. But, some folks (me included), like to keep a very small inventory. Some of us don't use potions or carry food, so constantly seeing the potion/food option show up in the inventory just for the bag is annoying. Almost everyone does use armor (or some kind of clothing). So, bag can hide out there w/o the inventory menu getting cluttery.

~~~

And finally, if you ever lose or misplace the bag, just uninstall and reactivate the mod per instructions below.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Conflicts

This will def conflict with any Bag of Trash version from zBobg, since I basically kept his objects and script names intact (just tweaked the scripts themselves mostly).

Either use his, or use this, but don't use both.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Uninstalling

1) Close game
2) Deselect mod on next start-up
3) Make new save w/o bag mod
4) Close game
5) (optional) re-activate mod to get bag added again
6) Restart game

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Change Log

1.2
* Tundro's fork of zBobg's original Bag of Trash

1.2.1
* Per Adura's suggestion, modified script to use %'s properly to calc gold returns

1.2.2
* Optmized gold & payout tracking / calculations to be more memory efficient (ie: tracked as ints instead of floats)
* Upgraded Settings menu for more robust player control of payout setting

1.2.3
* Huzzah! .. finally fixed bag to only add once, never bugging you again about adding itself when you restart the game. Bag also remembers it payout setting now. (Basically, zbobg was using a quest to auto-run the bag add script, but the "complete quest" flag wasn't checked. So, it kept running the quest initialization on every game startup. It was a minor tweak, and problem is solved.)
< >
57 Comments
bmben29 24 Dec, 2015 @ 4:42pm 
I love this mod, and agree about the inventory space. I do have a suggestion though. A spell. It would take no space and you couldn't get multiples. Just a thought.
Mr.Peanutz 24 Aug, 2015 @ 5:06pm 
Doesn't show in my inventory and no quest like thing appears. How exacty can i get this to work in the game? Is there a console code to add it to inventory?
abestm8 19 Jul, 2015 @ 3:28am 
Team Vladof, thanks for sorting this mod. Greatly appreciated. I left your $100 in the bag ok lol. Seriously good job & thanks for sharing.
MACHINESofGOD777 12 May, 2015 @ 10:09am 
Just wanted to say thank you! This has been my favorite mod since I got a PC to play Skyrim with mods in January 2014. I would love to make something as cool as this. I'm sure I'm in the comments somewhere here from sometime ago. I just thought I would come back and give another thanks to you. So thank you!
Team Vladof  [author] 24 Apr, 2015 @ 2:59am 
I decided to start charging you all to use this mod. So, if you'll all kindly give me $100 each, I'll keep ignoring bug-fix requests and hand over $75 of that to Valve and Bethesda for doing absolutely nothing other than hosting this mod I made (which was based on another mod makers work that I'm not going to share profits with). I expect everyone to be totally accepting of this decision and not bitch in any way shape or form. Thanks for understanding!

/sarcasm
Gol Zin Viing 10 Mar, 2015 @ 9:20pm 
A most useful and needed mod to keep ones inventory clean.
doe 1 Mar, 2015 @ 10:07pm 
Begging ... pleading here ... Any possibility of enabling this essential item to be hotkeyed on the Favorites menu? (like the bag of holding.) Use BoT so frequently, being able to put it on a hotkey would be a blessing.

If you can think of any method that allows BoT to be hotkeyed permanently, Please let us know!
DeadpoolVII 1 Feb, 2015 @ 9:27am 
Amazing. Small enough of a 'cheat' that it doesn't break the game and saves TONS of time and nonsense of over-encumberance. Love it. Will never play Skyrim without it.
Lumin 9 Jan, 2015 @ 3:07am 
+2 Internets for the word Wonkiness. Yeah. I actually did that afterward. I kind of wonder how it happens. I just wish I could get dawnguard to work in the cairn. It always crashes in that place or after going there. I just want my level 81 OP bow man.
Team Vladof  [author] 8 Jan, 2015 @ 2:33pm 
@Lumin ... I'd recommend uninstalling the mod, going into the game again, making a new save (to clean things out), then closing game, adding mod back in, then have another go. It sounds like you may have stumbled across some kind of weird bug where the BoT is in an "active" mode or something but not working right. I'm not sure. Uninstalling and reinstalling the mod tends to fix all kinds of wonkiness.