Blade & Sorcery
0 of 0

File information

Last updated

Original upload

Created by

SwordFisherL42

Uploaded by

SwordFisherL42

Virus scan

Safe to use

About this mod

Each time you reach into the bag, you pull out a random weapon!(Includes any modded weapons installed) Always be prepared by carrying your entire arsenal into battle! You can also specify items/categories which you don't want in the bag.

Requirements
Permissions and credits
Changelogs
Donations

If you find my mods fun/cool, please consider supporting me on Patreon
www.patreon.com/Fisher42


This will help me in continuing to make free, fun mods for everyone.
I use all donations for buying 3D models and assets for future mods and conversions :)

"HoldingBags" aka Infinite Bag of Random Weapons



Not exactly a bag of holding, but close enough. Place it on your shoulder/hips and it will give you a new random weapon each time you grab from it! You can find it under the "HoldingBag" category.

Note, this bag will dynamically pull from your item catalog, meaning that all modded weapons you have installed have a possibility of being spawned by the bag ;)

(I've also included a smaller leather pouch version if you don't like the bulky aesthetic of the Survival Backpack)


To Remove the bag from your player: Hover over the item and Press Trigger Once. Then Grab to remove the bag. (this works for all quivers, hovering over and pressing Trigger toggles the selection mode)

Update v1.5.0: U8.4 BETA 7 - Bug Fixes and 'Vanilla Only' Bags
RE-compiled the mod due to the recently updated public U8.4 BETA 7 and fixed issues with the small holding bag causing the bag to become stuck on the player.
You will need the updated version of this mod if want to use it on U8.4 Beta 7. 

Changelog:
  • Added "Vanilla Weapons Only" bags which will not spawn any modded weapons.
  • Fixed a bug with the "Medieval Holding Bag" that caused it crash and become stuck on the player

Please use the older version of the mod (1.2.0) if you are not on the latest game BETA.


Update v1.4.0: U8.4 BETA 6 Compatible Now!
RE-compiled the mod due to the recently updated public U8.4 BETA 6 (released December 19th).
You will need the updated version of this mod if want to use it on U8.4 Beta 6. 

Please use the older version of the mod (1.2.0) if you are not on the latest game BETA.



Update v1.3.0: U8.4 BETA Compatible Now!

I needed to re-work the code for this mod due to the recently public U8.4 BETA. Since item spawning is vastly different in the U8.4 BETA and onwards, you will need the updated version of this mod if want to use it on U8.4.

Please use the older version of the mod if you are not on the latest game BETA.


Update v1.2.0: U8.2 Compatible Now!

Minor update which updates the code and assets to work with U8.2. You might get a temporary lag spike when spawning the bag, but should go away after a second.

If you spawn too many bags, or spawn weapons too fast, you might still get occasional lag.

U8 Customization Options

itemCategory - "Item Type" derived from Blade and Sorcery (weapons = 1)
capacity - If 0, bag has infinite capacity. Othwerise, this sets how many items the bag holds.
despawnBagOnEmpty - If capacity is greater than zero, this option will despawn the bag once it is empty.
excludedCategories - Don't include any items which contain these strings in their category name. Ignored if overrideMode is set to true.
excludedItems - Don't include any items which contain these strings in their item name. Ignored if overrideMode is set to true.
overrideMode - If "true", only include items from the specified overrideCategory and/or overrideitems list.
overrideCategory - Only used if overrideMode is true
overrideItems - Only used if overrideMode is true


Below: Example of setting up a bag which contains six (6) random weapons from the "Daggers" category, which will despawn once the bag is empty



Note to modders: You can list this mod as a dependency, then simply include this module to start creating your own custom holding bags

You can find the source-code for this mod here: https://github.com/SwordFisherL42/BAS-HoldingBag

Additional Note for Making Custom Bags:

These are the number values possible (1-6) for "itemCategory":

Misc = 0
Weapon = 1
Quiver = 2
Potion = 3
Prop = 4
Body = 5
Shield = 6


==========================================================================================

Update v1.1.0

  • Improved grabbing of items from bags
  • Added customization options which allow both users and modders to extend this mod (see below)
  • minor bug fixes and optimization



New Customization Options:

If you want to play around with custom bag examples, you can download the optional file "Custom Bag Examples" under downloads.

itemCategory - "master item list" derived from Blade and Sorcery (weapons = 2)
capacity - If 0, bag has infinite capacity. Othwerise, this sets how many items the bag holds.
despawnBagOnEmpty - If capacity is greater than zero, this option will despawn the bag once it is empty.
excludedCategories - Don't include any items which contain these strings in their category name. Ignored if overrideMode is set to true.
excludedItems - Don't include any items which contain these strings in their item name. Ignored if overrideMode is set to true.
overrideMode - If "true", only include items from the specified overrideCategory and/or overrideitems list.
overrideCategory - Only used if overrideMode is true
overrideItems - Only used if overrideMode is true


Below: Example of setting up a bag which contains six (6) random weapons from the "Daggers" category, which will despawn once the bag is empty


Note to modders: You can list this mod as a dependency, then simply include this module to start creating your own custom holding bags

You can find the source-code for this mod here: https://github.com/SwordFisherL42/BAS-HoldingBag
==================================================================



Some mods pair well with this item (optional):





My U8 Mods:


My Mod Releases