AlphaLoot

AlphaLoot 3.1.29

Use Rusts LootContainer.GenerateScrap method so the LootContainer.scrapDef reference is assigned from the start so that scrap bonuses are applied
When populating loot, set loot container scrap amount variable to the amount generated by AL so that scrap bonuses are applied to the modified amount
Fixed NPC loot profiles not checking if the profile is disabled
  • Like
Reactions: Nicholas Woodhead
Added auto updater for new items when they are added to the game;
- For advanced definitions, since it is possible that the hierarchy the new item belongs to no longer exists in a customized loot table new items will be added as a individual loot definition containing just that item, however the probability set for that advanced loot definition is a calculated score of the item being chosen from the default loot table. This probability score is calculated using the weight of the item and all its parent subspawn definitions, the probability and number of loops of the loot definition multiplied by the number of times it appears in a loot profile all the way back to the start of the hierarchy chain.
- For simple definitions, the probability score is calculated the same way as an advanced score, however since simple definitions use a weight system the weight of the item is calculated by the sum of the weight of all other items in that loot profile multiplied by the calculated probability score of receiving it in the default loot table.
Each new item added to the loot table will be printed in console with the name of the item, the container it was added to and the probability/weight score assigned to it

Added console command "al.search <shortname>" to list all containers the specified item is in and how many times it is in it
Delay skin retrieval on server start until steamworks has been initialized
Fixed non-stackables being stacked with config option false
Added console command al.generatetable <filename> that allows you to generate the default loot table to a new file
Added config option "Apply global and individual loot multipliers to un-stackable items" which when disabled prevents unstackable/items with condition from being subject to any multipliers applied whether that is the global multiplier in the config or the individual multiplier on the specific loot profile
** Requires AlphaLootEditor 1.0.5

Added container capacity limits to advanced profiles
Added the hammer-preview function from the previous version
Clamp minimum item amount to 1
Added config option to use skins from SkinBox
Added config option to use skins from the approved skin list
Null check definitions before populating from them just incase
  • Like
Reactions: VinylFresh
Resize containers to allow additional scrap to spawn
Added API for FancyDrop so it stops clearing containers after AL populates them