The Forge is currently under construction. Data is synchronized with the hub every 30 minutes. Help report issues!

Mod Details

Enhanced Loot Bags API

Enhanced Loot Bags API 1.0.1+aki-37x

Created by JustNU

3.9K Downloads

Unknown SPT Version

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 1.0.1+aki-36x
Download Mod Version

SPT 3.7.6

Latest Compatible SPT Version

748 Downloads

Created Aug 8th, 2023

Updated Aug 8th, 2023

Virus Total Results

- Updated codebase to work with 3.6.X

Version 1.0.1+aki-37x
Download Mod Version

Unknown SPT Version

Latest Compatible SPT Version

1.3K Downloads

Created Oct 11th, 2023

Updated Oct 11th, 2023

Virus Total Results

- Updated akiVersion to 3.7.X

Version 1.0.0+aki-34x
Download Mod Version

Unknown SPT Version

Latest Compatible SPT Version

226 Downloads

Created Feb 10th, 6:03 AM

Updated Feb 10th, 6:03 AM

Virus Total Results
Version 1.0.0+aki-35x
Download Mod Version

Unknown SPT Version

Latest Compatible SPT Version

1.6K Downloads

Created Feb 13th, 7:42 AM

Updated Feb 13th, 7:42 AM

Virus Total Results

- Updated akiVersion to 3.5.X

Not quite yet...