Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
EnemyDrops
Monsters drop items when they die. Fully configurable. Only the host needs it; clients with the mod also see the glow on drops. Native BepInEx.
| Date uploaded | a month ago |
| Version | 2.2.0 |
| Download link | OsmarBriones-EnemyDrops-2.2.0.zip |
| Downloads | 309 |
| Dependency string | OsmarBriones-EnemyDrops-2.2.0 |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2304README
Enemy Drops
Make monsters drop items when they die — fully configurable and host-only.
Native BepInEx mod.
👥 Multiplayer: Only Host Needed (Clients Optional)
Your friends do NOT need to install this mod to join and play!
- For Clients WITHOUT the mod (Vanilla):
- ✅ 100% full gameplay (enemy drops, item pickup, and item preservation between levels).
- ℹ️ Dropped items look like regular items, without the dark tint or reddish glow.
- For Clients WITH the mod (Enhanced):
- ✅ Full gameplay + the dark tint and pulsating reddish glow on enemy drops.
Inspired by the original REPO Enemy Drops mod by ImVertro.
This version is a fully native BepInEx implementation for users who prefer not to use MelonLoader, with additional usability improvements.
What's new
- New items: Human Gun, Human Adventure Cable and Recharge Orb from the Sunstone update can now drop.
- Balanced by shop price: cheap items drop from easy monsters, expensive ones from hard monsters.
- Live weights: drop weights changed in-game apply to the very next drop.
- New switches:
Enabled,ResetWeightsToDefaultandZeroAllWeights. - Glow for clients with the mod: players who also have the mod see the glow on drops.
Features
- Monsters drop items upon death based on their danger level.
- Configure drop chances and weights for every item per monster difficulty tier.
- Set a maximum limit on item drops per level.
- Visual Distinction (Color Modification): Optional color tinting and multipliers on enemy-dropped items while keeping all original surface textures, screen displays, labels, and details intact (disabled by default).
- Centered Light Aura: A soft, pulsating reddish point light aura centered directly inside enemy-dropped items that automatically dims or switches off when held or equipped (enabled by default).
- Item Preservation: Option to keep items secured in the truck or inventory across subsequent levels.
- Preservation Limit: Configurable cap on the maximum number of enemy-dropped items that can be preserved simultaneously (default: 10).
- Only the host needs to have the mod installed. Clients with the mod also see the tint and glow on drops.
- 100% native BepInEx implementation.
Requirements
Installation
- Install the latest BepInEx Pack.
- Place
EnemyDrops.dllinto yourBepInEx/pluginsfolder. - Launch the game once — the configuration file will be generated automatically inside
BepInEx/config.
How to Use
- Install the mod on the host (friends do not need it).
- Play. Monsters drop items when they die; stronger monsters drop pricier items.
- Tune the weights in the in-game config menu or in
osmarbriones.EnemyDrops.cfg. Items are listed by their game names (e.g.Item Gun Revolveris the Human Gun).
Configuration
All settings are controlled through the generated file: osmarbriones.EnemyDrops.cfg
located in BepInEx/config.
General Settings
Enabled(Default:true): Turns the mod off entirely. Whenfalse, enemies drop nothing.ResetWeightsToDefault(Default:false): Set totrue(e.g. from the in-game config menu) to restore every drop weight, for all three monster tiers, to its default. The switch turns itself off afterwards.ZeroAllWeights(Default:false): Set totrueto set every drop weight to0, so you can then enable only the items you want. The switch turns itself off afterwards.MaxDropsPerLevel(Default:200): Maximum number of items that can drop in a single level.PreserveItemsBetweenLevels(Default:false): When enabled (true), enemy-dropped items that players carry to safety inside the truck or keep in their inventory will persist into future levels and be saved with your run.MaxPreservedItems(Default:10): Maximum number of enemy-dropped items that can be preserved simultaneously. Standard shop-purchased items do not count toward this limit.
How Item Preservation Works
When PreserveItemsBetweenLevels is enabled (true), you can save enemy drops across levels and into your saved game:
- Securing items: An item is considered secured if it is inside the truck room, held/grabbed by any player, stored in a player's inventory slot, or placed near the truck entrance (within 8 meters).
- Preservation cap (
MaxPreservedItems): You can keep up to the configured limit (default: 10) of enemy drops active at the same time. If more secured enemy drops are brought than the cap allows, items up to the limit are preserved and any surplus is discarded. - Shop items are exempt: Items purchased from the shop do not count toward this limit.
- Dynamic slot recycling: When you consume (e.g. syringe, medkit) or lose a preserved item, its slot is freed up automatically so new enemy drops can take its place.
- Host-authoritative: Only the host needs this enabled. Items secured by any player (host or connected clients) are properly evaluated and saved.
Difficulty-Based Drop Tables
The .cfg file includes three difficulty sections:
[Easy Monsters (Elsa for example)]
[Med. Monsters (Chef for example)]
[Hard Monsters (Robe for example)]
Each section contains entries like:
## Weight for "Item Gun Shotgun" on medium monsters. (range 0..12)
# Setting type: Int32
# Default value: 2
# Acceptable value range: From 0 to 12
Item Gun Shotgun = 2
How weights work
- A value of 0 means the item will not drop for that monster difficulty.
- Higher numbers increase the probability of the item being selected when a monster dies.
- You have full control over which items appear for each difficulty tier.
Visual Settings
EnableColorModification(Default:false): Enables custom color tinting and multipliers on enemy-dropped items while preserving original textures and displays.ColorMultiplierR(Default:0.55): Red multiplier applied to the material colors (0.0 to 2.0).ColorMultiplierG(Default:0.55): Green multiplier applied to the material colors (0.0 to 2.0).ColorMultiplierB(Default:0.55): Blue multiplier applied to the material colors (0.0 to 2.0).ColorAdd(Default:0.05): Additive offset applied to the material colors (-1.0 to 1.0).EnableDropAura(Default:true): Enables a soft, pulsating reddish light aura centered inside dropped items.AuraIntensity(Default:0.8): Controls the brightness and intensity of the reddish drop aura.AuraRange(Default:3.5): Controls how far the light aura reaches in meters.
Issues & Bug Reports
Please report any bugs or suggest features on GitHub:
https://github.com/OsmarBriones/EnemyDrops/issues
Credits
- Based on the original concept from REPO Enemy Drops by ImVertro.
- Developed by Osmar Briones.
- Special thanks to Rucio for the REPO 0.4.0+ compatibility fix and weapon item additions.
CHANGELOG
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[2.2.1] - 2026-10-30
Added
- Gameplay preview GIF in the README (
assets/preview.gif).
Changed
- New mod thumbnail: a horse piñata hit by a colorful piñata bat, painted in the Sunstone update art style, with the "Ready for the Sunstone Update (v0.5.0)" banner.
[2.2.0] - 2026-10-30
Added
- New items from the Sunstone update are now in the drop tables and config: Human Gun (
Item Gun Revolver) and Recharge Orb (Item Orb Battery) on hard monsters, and Human Adventure Cable (Item Melee Whip) on medium monsters. Enabledsetting (General) to turn the mod off entirely; when disabled, enemies drop nothing.ResetWeightsToDefaultswitch (General): set it to true to restore every drop table weight, for all three monster tiers, to its default. It turns itself off afterwards.ZeroAllWeightsswitch (General): set it to true to set every drop table weight to 0, handy to enable only the items you want. It turns itself off afterwards.- Items that the running game does not have (or has disabled) are skipped when picking a drop, with a one-time warning in the log, so they never waste a drop.
- Clients that have the mod installed now see the drop visuals (tint and reddish aura) on enemy drops. The host sends a lightweight Photon event (code 142) with the item's view id; clients without the mod ignore it and see the vanilla item, so the mod remains host-only for gameplay.
Changed
- The
Visualssection now comes after the three weight tables in the config file and in-game config menus. - Default drop tables now follow the shop price of each item: Easy up to ~$12K, Medium $14K-$20K, Hard $22K and up (weight 2 for the cheaper half of each tier, 1 for the more expensive). Moved Rubber Duck and Frying Pan to Medium monsters; Feather Drone and Recharge Drone to Medium; Prodzap (stun baton), Roll Staff, Void Staff, Semibot Walkies Box and Human Gun to Hard. Player upgrades keep their previous placement. Existing config files keep their saved weights; delete the entries (or the
.cfg) to pick up the new defaults. - Drop table weights are now read live from the config entries on every drop, so changes made in-game (e.g. with REPOConfig) apply immediately instead of waiting for the next level.
- Replaced the deprecated
Object.FindObjectsOfTypecall withFindObjectsByTypewhen collecting dropped items on scene switch (Unity 6 / Sunstone update).
Fixed
- Fixed Unity errors ("doesn't have a color property '_Color'") when tinting dropped items whose shaders lack
_Color; color modification now only touches_Color/_BaseColorwhen the material has them. - Removed a stale
Assembly-CSharpproject reference fromEnemyDrops.slnsodotnet buildworks on the solution.
[2.1.1] - 2026-10-02
Changed
- Item visual color modification (
EnableColorModification) is now disabled by default, keeping original item textures and colors untouched while leaving the reddish light aura enabled. - Integrated cross-level item preservation and tracking with
RepoAPI.Items.ItemPreservationfor streamlined and reliable inventory persistence.
Documentation
- Added detailed "How Item Preservation Works" guide in README.md explaining secured item conditions, capacity caps, dynamic slot recycling, and shop item exemption.
[2.1.0] - 2026-09-30
Added
- Material color modification (
EnemyDropVisuals) applied to all renderers of monster-dropped items, tinting and darkening colors via RGB multipliers and additive offset while preserving original textures, displays, and surface details. - Pulsating reddish light aura (
EnableDropAura) dynamically centered directly inside dropped items via combined renderer bounds, with automatic dimming and deactivation when grabbed or equipped. - Dedicated
[Visuals]configuration section inosmarbriones.EnemyDrops.cfg(EnableColorModification,ColorMultiplierR,ColorMultiplierG,ColorMultiplierB,ColorAdd,EnableDropAura,AuraIntensity,AuraRange).
Changed
- Rebalanced default drop table distributions according to in-game shop item values: moved budget grenades (
GrenadeHuman,GrenadeDuctTaped) to Easy monsters, high-value tech/weapons (OrbZeroGravity,DroneZeroGravity,BaseballBat) to Hard monsters, and repositionedSwordandUpgradePlayerEnergyto Medium monsters.
[2.0.3] - 2026-09-29
Changed
- Enlarged announcement banner text on mod thumbnail ("NEW: NOW KEEP YOUR DROPS") for maximum legibility at small scale across Thunderstore and mod managers.
[2.0.2] - 2026-09-29
Changed
- Updated mod thumbnail with a new announcement banner highlighting the item persistence feature ("New: Now keep your drops").
- Added "What's new in v2.0" section to README.md detailing item preservation, configuration caps, and telemetry improvements.
[2.0.1] - 2026-09-29
Added
- Informative log message when a secured dropped item cannot be preserved due to reaching the
MaxPreservedItemscapacity limit.
Fixed
- Restored missing contributor credits in README.md (special thanks to Rucio for REPO 0.4.0+ weapon items).
- Restored complete historical changelog entries (v1.0.0 through v1.2.0) in CHANGELOG.md.
[2.0.0] - 2026-09-29
Added
- Configuration
PreserveItemsBetweenLevelsallowing players to keep enemy-dropped items across levels. - Configuration
MaxPreservedItems(default: 10) limiting the maximum number of simultaneous enemy-dropped items preserved into the truck across levels. - Detection logic verifying that dropped items are secured (inside the truck, in player inventory, or held) before preservation.
- Integration with
StatsManager.itemsPurchasedanddictionaryOfDictionariesfor save game serialization of preserved items. - Dynamic count tracking via
PreservedItemTrackerthat decrements when preserved items are consumed or destroyed.
Changed
- Replaced custom roulette item selection and spawning logic with
RepoAPI.Items(ItemProvider.TrySpawnWeightedItem). - Refactored entire codebase to comply with
REPO_MODS_METHODOLOGY.mdstandards (standardized patch names, removed Hungarian notation prefixes, scoped mod internals). - Transitioned
SemiFunc_OnSceneSwitch_Patchto run as a Prefix so saved game data accurately reflects preserved items and cleaned drop tables beforeSaveFileSave.
[1.2.0] - 2026-05-11
- Fixed compatibility with REPO 0.4.0+.
- Added new item drops: Leaf Blower, Semiscooter, Semiscooter Small, Staff Torque, Staff Void, Staff Zero Gravity, Walkie Talkie Box, and Revive Item.
[1.1.0] - 2026-03-01
- Fixed bug causing items purchased from the store to have low battery.
[1.0.0] - 2025-11-18
- Initial release. Monstes drop items upon death based on danger level.