The Forge is currently under heavy construction. Expect nothing to work. Data is reset every hour.

Mod Details

Enhanced Loot Bags API

Enhanced Loot Bags API 0.0.0

Created by JustNU

3.8K Downloads

SPT 3.7.6 Compatible

API for mods that want more in depth options for loot bags.

THIS (AND MY OTHER MODS) WILL NOT GET UPDATED ANYMORE ON ACCOUNT ME (JustNU) LEAVING THE SPT-AKI COMMUNITY

ALL OF MY MODS ARE UNLICENCE AKA PUBLIC DOMAIN, SO ANYONE WHO WISHES TO UPDATE/IMPROVE/TAKE OVER THE DEVELOPMENT IS FREE TO DO SO

I HAVE ALSO UPDATED SOURCE ENTRY FOR EVERY MOD OF MINE, IN CASE YOU WANT THE GITHUB REPOS

Replaces default "openRandomLootContainer" function to allow for more in depth customization of loot bag/container loot and its amount. For an example of this mod in action, take a look at this mod.

You need to load your loot bag loot info into AKI's inventory config under randomLootContainer, DO IT VIA MODS ONLY, TAKE A LOOK AT MOD EXAMPLES IF YOU DON'T KNOW HOW
Don't forget to make sure your loot bag item has random container parent ID in the item database

customReward entry is required and should always be true

You can have multiple loot pools with different set of loot that you can receive in a single loot bag

nValue is a rarity system, with 1 being fully random and values higher making valuable loot rarer
it also has a demo you can play around with

kvzMmpi.png

In the image showed above, opening the loot bag will give

0-2 of items from loot pool 1,
1-2 of items from loot pool 2,
2-10 items from loot pool 3

at the same time, resulting in 3-14 items total

Version 0.0.0

222 Downloads

Created Feb 10th, 2023 Updated Jan 4th, 2:50 AM
Version 0.0.0

1.6K Downloads

Created Feb 13th, 2023 Updated Feb 13th, 2023

- Updated akiVersion to 3.5.X

Version 0.0.0

736 Downloads

Created Aug 8th, 2023 Updated Aug 8th, 2023

- Updated codebase to work with 3.6.X

Version 0.0.0

1.3K Downloads

Created Oct 11th, 2023 Updated Oct 11th, 2023

- Updated akiVersion to 3.7.X

Not quite yet...