The mod is not actively developed and receives no further updates for now Thank you for your interest in this mod. I'm no longer playing or modding Valheim at the moment. Maybe once I have more free time or Iron Gate adds more "game" to it I'll return.
If anybody feels like forking the mod on GitHub and continuing development - you have have my support!
Mate I just downloaded your mod because I want more and new improvements but for some reason, even though I putit in the plugins folder it doesn't work. Do you have a solution?
It works to this day - unlike other similar mods. I do not take Discard Recycle into account, because it does not add anything to the interface, but simply removes / disassembles the item by pressing the "delete" key - personally, this does not suit me.
Anyone has alternative mod of this? I really need this mod, unfortunately this mod is outdated and will get no updates. I have so much mess and I would like to recycle my items.
Seems like it's not working with the new expansion. The icon of recycling is there and You can click it, but after the progress goes to the end, nothing happens.
This makes me sad. I had initially removed the mod with the update, but after reading about the obliterator I decided putting this mod back would be better. Came to read comments and make sure it worked first..
public static void DoInventoryChanges(RecyclingAnalysisContext analysisContext, Inventory inventory, Player player) { GameObject blackItem = GameObject.Find("HookConfigsHere");
Plugin.Log.LogDebug($"Inventory changes requested"); foreach (var entry in analysisContext.Entries) { if (entry.Amount == 0 && entry.InitialRecipeHadZero && entry.Prefab != blackItem) continue; var addedItem = inventory.AddItem( entry.Prefab.name, entry.Amount, entry.mQuality, entry.mVariant, player.GetPlayerID(), player.GetPlayerName() ); if (addedItem != null) { Plugin.Log.LogDebug($"Added {entry.Amount} of {entry.Prefab.name}"); continue; } ... } Please use this to build a config blacklist filter which will fail to return blacklisted items from recipes. This comes from Line 120 of Recycler.cs, with my insert definition requirement for your Inventory.Add() command.
196 comments
Thank you for your interest in this mod. I'm no longer playing or modding Valheim at the moment. Maybe once I have more free time or Iron Gate adds more "game" to it I'll return.
If anybody feels like forking the mod on GitHub and continuing development - you have have my support!
https://valheim.thunderstore.io/package/remmiz/SimpleRecycling_Fixed/
The only working one seems to be: Discard or Recycle Inventory Items
Worse functionality in how we interact with it, but at least it's compatible with other UI mods (like Project Auga).
I'll be uploading as a new mod here shortly.
edit:
Apparently the author of Epic Loot fixed something and now these two mods work together - I use them both.
https://www.nexusmods.com/valheim/mods/45?
public static void DoInventoryChanges(RecyclingAnalysisContext analysisContext, Inventory inventory, Player player) {
GameObject blackItem = GameObject.Find("HookConfigsHere");
Plugin.Log.LogDebug($"Inventory changes requested");
foreach (var entry in analysisContext.Entries)
{
if (entry.Amount == 0 && entry.InitialRecipeHadZero && entry.Prefab != blackItem) continue;
var addedItem = inventory.AddItem(
entry.Prefab.name, entry.Amount, entry.mQuality,
entry.mVariant, player.GetPlayerID(), player.GetPlayerName()
);
if (addedItem != null)
{
Plugin.Log.LogDebug($"Added {entry.Amount} of {entry.Prefab.name}");
continue;
}
...
}
Please use this to build a config blacklist filter which will fail to return blacklisted items from recipes. This comes from Line 120 of Recycler.cs, with my insert definition requirement for your Inventory.Add() command.
Thanks