General Workflow
- Event Trigger: An in-game event occurs (for example, a player captures a Pokémon).
- 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.
- 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.
- 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.
- Execute Drops: All items are dropped to their designated targets in the configured order.
- Finish Up: Any additional actions are performed (such as playing sounds for ticked droppers), and the process completes.