About this mod
Adds a button that recycles (uncrafts) items in any container.
- Requirements
- Permissions and credits
- Mirrors
- Changelogs
Simple Recycling

Adds a button that recycles (uncrafts) items in any container.
CRITICAL CHANGES AS OF 0.0.4
Please read the changelog below.
Key points
Configuration
Installation
Install via ThunderStore or download and drop the .dll manually under ".\Valheim\BepInEx\Plugins"
Confirmed Vortex support coming soon. In theory it should work, but I had some issues and couldn't test it.
Development plans

Adds a button that recycles (uncrafts) items in any container.
CRITICAL CHANGES AS OF 0.0.4
Please read the changelog below.
Key points
- Returns 50% of the resources by default. Configurable via settings.
- Will not recycle if there are not enough slots in the containers (a notification is shown)
- You need to know the recipe for the item to "uncraft" it
- You can move the recycling button by pressing the left Ctrl and right click dragging the button
- Has a fail safe to prevent accidental presses

Configuration
## Settings file was created by plugin SimpleRecycling v0.0.4
## Plugin GUID: com.github.abearcodes.valheim.simplerecycling
[General]
## Rate at which the resources are recycled. Value must be between 0 and 1.
## The mod always rolls up, so if you were supposed to get 2.5 items, you would only receive 2.
# Setting type: Single
# Default value: 0.5
RecyclingRate = 0.5
## If enabled and recycling a specific _unstackable_ item would yield 0 of a material,
## instead you will receive 1. If disabled, you get nothing.
# Setting type: Boolean
# Default value: true
UnstackableItemsAlwaysReturnAtLeastOneResource = true
[Recycling on containers]
## If enabled, the mod will display the container recycling button
# Setting type: Boolean
# Default value: true
ContainerRecyclingEnabled = true
## The last saved recycling button position stored in JSON
# Setting type: String
# Default value: {\"x\":502.42425537109377,\"y\":147.06060791015626,\"z\":-1.0}
ContainerButtonPosition = {\"x\":502.42425537109377,\"y\":147.06060791015626,\"z\":-1.0}
Installation
Install via ThunderStore or download and drop the .dll manually under ".\Valheim\BepInEx\Plugins"
Confirmed Vortex support coming soon. In theory it should work, but I had some issues and couldn't test it.
Development plans
- introduce a separate buildable "station" to do the uncrafting
- introduce a "loss" factor when uncrafting, right now uncrafts 1:1
- add option to uncraft even if recipe is unknown