General Workflow

  1. Event Trigger: An in-game event occurs (for example, a player captures a Pokémon).
  2. Find Matching Droppers: The system searches for droppers that are triggered by this event type and checks if their conditions are met. Droppers that pass all conditions are added to a processing list.
  3. Determine Drop Targets: Each dropper is checked for a custom drop target. If it has one, items drop there. If not, the dropper is added to a list that will use the default drop targets configured for that event type.
  4. Preserve Base Drops: If the event normally has drops from Cobblemon itself, and one of the matching droppers is set to preserve base drops, those original drops are included in the final drop list.
  5. Execute Drops: All items are dropped to their designated targets in the configured order.
  6. Finish Up: Any additional actions are performed (such as playing sounds for ticked droppers), and the process completes.