Patch Notes v2.0.0 - ASharpPen/Valheim.DropThat GitHub Wiki
New loot tables supported:
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:
- Seagals
- Treasure chest loot
- Drops on destroyed objects
- Tree logs
- Rocks
- Beehives
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 lot of objects and creatures are customly configured to drop items on death/destruction, these are not covered by any of the loot table systems.
- Pickable objects, like mushrooms
Drop Lists:
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.
Breaking changes:
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
- Rescaled
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
:
- Moved old settings from
[DropTables]
To[CharacterDrop]
. [DropTables] will now contain the settings for, well... DropTable configurations. [General] EnableDebug
moved to[Debug] EnableDebugLogging
WriteDefaultDropTableToFile
=>WriteCharacterDropsToFile
- Removed
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.