Drop That! is a mod that enables changing existing loot tables through configuration files. It can either add or replace existing drops.
See the Jötunn item data to get a list of item names which can be used.
A full list of prefabs can also be found at Jotunn prefab data.
Documentation can be found on the Drop That! wiki.
Valheim uses multiple types of loot tables, which each works very differently. Until now, Drop That has only supported the most used type for creatures, CharacterDrop. With v2.0.0, there will now be support for the much more complicated and generally used loot system DropTable.
This table is used for a variety of scenarios. Amongst them are:
All default loot tables supported can be printed as usual, so that all the defaults can be explored, copy-pasted and modified.
So whats not supported yet?
A feature that has been requested often, is the ability to make a list of drops and then re-use that list multiple times, without having to copy-paste everything.
With v2.0.0, a new format and setting have been added for making named lists, that can be referenced by each entity (both mobs and objects) to work as a default.
The new support for additional drop tables resulted in some issues with regards to naming. The newly supported tables have a completely different structure and way of behaving. Due to this, Drop That need to use different config formats for each type of drop table. Therefore, while it may be somewhat confusing to the user, configs will now be named according to the internal type they provide configuration options for.
File name and pattern changes:
drop_that.tables.cfg
=> drop_that.character_drop.cfg
drop_that.supplemental.*
=> drop_that.character_drop.*.cfg
From the beginning, Drop That had a bit of a confusing naming schemes for its settings. Some of the names were simply the original setting names, while in other cases a more clear or standardized name was assigned.
This will be the first time existing settings changes name, and hopefully it can be avoided again in the future. In general, Drop That will (or at least, should) continue only changing existing setting names for major patches like this.
Setting changes in drop_that.character_drop.cfg
:
ItemName
=> PrefabName
Enabled
=> EnableConfig
AmountMin
=> SetAmountMin
AmountMax
=> SetAmountMax
Chance
=> SetChanceToDrop
OnePerPlayer
=> SetDropOnePerPlayer
LevelMultiplier
=> SetScaleByLevel
Chance
/ SetChanceToDrop
to be in range 0 to 100 instead of 0 to 1. 1 is now 1% chance.Setting changes in drop_that.cg
:
[DropTables]
To [CharacterDrop]
. [DropTables] will now contain the settings for, well... DropTable configurations.[General] EnableDebug
moved to [Debug] EnableDebugLogging
WriteDefaultDropTableToFile
=> WriteCharacterDropsToFile
ApplyConditionsOnDeath
. Conditions are being applied when it makes the most sense, instead of arbitrarily picking which one behaves according to this setting and which doesn't.If you feel like it