Skip to content

Config Load Order

ASharpPen edited this page Sep 8, 2026 · 1 revision

Config Load Order

Configurations for Drop That is loaded every time a world is entered, in the order

  1. API (using Drop That through code)
    • API itself is loaded in order of when the mod registers its configuration action.
  2. Custom configs
    • The customly named configurations like drop_that.character_drop.some_random_name.cfg.
    • Loaded in the order they are found in folder structure.
  3. Default config
    • The auto-generated configs like drop_that.character_drop.cfg.

Configurations that overlap can get overridden by the last loaded config. For instance, if you have two configurations for Boar.0, the later can override the settings of the first config. Note the can. The configurations get merged as they are loaded, so only those settings that overlap are overridden. For instance, if there are two Boar.0 and both sets PrefabName but one sets AmounMin and the other ChanceToDrop, PrefabName gets set by the last loaded but AmountMin and ChanceToDrop will both be kept.

The default configs are intended for letting users having the final say. Mods that add their own drop_that configs should use the custom config file names, so that the files don't end up conflicting and so they can be overridden by the user.

Clone this wiki locally