
ZenRecycle
The Obliterator preserves one randomly selected ingredient from each item. Smash trash on the ground anywhere.
Date uploaded | a month ago |
Version | 0.2.2 |
Download link | ZenDragon-ZenRecycle-0.2.2.zip |
Downloads | 417 |
Dependency string | ZenDragon-ZenRecycle-0.2.2 |
This mod requires the following mods to function

README
ZenRecycle
Recycle:
- When using the Obliterator each item in the Obliterator has one of its ingredients randomly selected and 100% of the selected resource is extracted and left behind in the Obliterator, the other ingredients for that item are destroyed.
Smash Trash:
- You can Smash Trash on the ground anywhere. Default: Admin Only in God Mdoe.
How It Works
The rationale for this mod is that the Obliterator is not very interesting in vanilla, it lacks utility, and yet resources should be scarce.
If you can always recycle items and are guaranteed to get ingredients back then your need to go get more resources will be reduced.
On the other hand, adding a little bit of luck to the Obliterator makes it more fun to use since there is a small chance you could get back all the iron from that level 4 sword! Or maybe you will just get a pile of leather. Pull the lever, good luck!
If the item recycled is a metal ingot then it is melted down into its raw ore form. You will need to smelt it again to turn it back into an ingot. Bronze has a 50% chance to melt into either 1/3 Tin or 2/3 Copper, not both.
You always get 100% (configurable) of the randomly selected ingredient including all it's level costs but no more than max stack size of the resource. However, which ingredient gets recycled is selected at random from the item's recipe. Only one ingredient will ever be returned per item that is recycled.
If the item placed into the Obliterator has no recipe then it is destroyed, or maybe a little bit of coal is left behind if the God's smile on you.
Mods like Epic Loot and Jewel Crafting have not been tested.
Client / Server Requirements
NOTE: Technically it is not required on the server. However, if it is installed on the server then it will force all clients to have it installed as well. This is to enable two modes of usage:
- Dedicated server admins can put the mod on the server to enforce all clients to have the mod installed and sync admin configs.
- Trusted friends can agree to run the same mods and connect through a vanilla dedicated server with no enforcement but with locked admin configs.
Improve Your Experience
CORE MODS
The full collection of all Zen MODS:
- Radically improved QoL
- Incredible performance
- Pre-configured
- 100% Gamepad support
- Spectacularly immersive
Enjoy!
Sample Config File
## Settings file was created by plugin ZenRecycle v0.2.0
## Plugin GUID: ZenDragon.ZenRecycle
[Recycle]
## [Admin] When obliterating an item only a single ingredient will be recovered. It is chosen at random.
## All levels of the item will be included in the total amount of the resource returned.
## What percentage of that total should be returned? Default: 100%
# Setting type: Single
# Default value: 1
# Acceptable value range: From 0 to 1
Recycle Percent = 1
## [Admin] Ingots are melted into ore automatically.
## This is a map of items that are melted back into other items.
## By default it's a conversion map of ingots back to ore.
## It could map anything to anything, but it must be 1 item yields one ingredient.
## Advanced Option:
## Append %n to the end of a resource to force a yield % of that item diff than RecyclePercent
## Divide multiple resources with | to have an even chance of selecting any one of those resources.
## See Bronze for an example advanced syntax.
# Setting type: StringList
# Default value: Tin:TinOre, Copper:CopperOre, Bronze:TinOre%33|CopperOre%66, Iron:IronScrap, Silver:SilverOre, BlackMetal:BlackMetalScrap, FlametalNew:FlametalOreNew, Flametal:FlametalOre
Melt Conversion = Tin:TinOre, Copper:CopperOre, Bronze:TinOre%33|CopperOre%66, Iron:IronScrap, Silver:SilverOre, BlackMetal:BlackMetalScrap, FlametalNew:FlametalOreNew, Flametal:FlametalOre
[Smash Trash]
## [Admin] Destroy items on the ground via alt interaction
# Setting type: Boolean
# Default value: true
Enable Smash = true
## [Admin] What are the rules for destroying items?
## Everything: Any item can be destroyed, no restrictions.
## ProtectImportant: Important items can not be destroyed (no-teleport, or equipable).
## AskImportant: Ask before destroying important items.
## AskEverything: Any item can be destroyed, but confirmation is required for everything.
## AdminOnly: Only Admin can destroy items (Must be in God mode)
# Setting type: DestroyOption
# Default value: AdminOnly
# Acceptable values: Everything, ProtectImportant, AskImportant, AskEverything, AdminOnly
Destruction Rule = AdminOnly
Like My Mods? Donations Welcome
Bitcoin

CHANGELOG
v0.3.1
- removed BepInEx from dependency, Zen.ModLib handles it.
v0.3.0
- use Zen.ModLib
v0.2.2
- update logging and configs subsystem
v0.2.1
- UPDATE FOR VALHEIM v0.220.3
v0.2.0
- Moved Smash Trash code from
ZenWorldSettings
into this mod instead. - Smash Trash lets you destroy anything on the ground by looking at it and pressing the button, poof fire! (Default: Admin - God mode)
- Recycling Changes:
- add option to control the % of resources returned.
- add option to specify the melt conversion rules so that custom items from other mods can be configured.
- bugfix: now will not return more than max stack size of a resource.
v0.1.3
- can connect to vanilla servers.
v0.1.2
- Require all clients and server to have the mod installed to protect against reality mismatch.
v0.1.1
- Initial release