You are viewing a potentially older version of this package. View all versions.
ZenDragon-ZenRecycle-0.1.2 icon

ZenRecycle

The Obliterator preserves one randomly selected ingredient from each item. It is left behind in the Obliterator.

Date uploaded a year ago
Version 0.1.2
Download link ZenDragon-ZenRecycle-0.1.2.zip
Downloads 183
Dependency string ZenDragon-ZenRecycle-0.1.2

This mod requires the following mods to function

ZenDragon-Zen_ModLib-1.10.1 icon
ZenDragon-Zen_ModLib

Shared code library used in all ZenMods.

Preferred version: 1.10.1

README

ZenRecycle

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.

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% of the randomly selected ingredient including all it's level costs. 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. Consider that it's likely they will not return any enchantments when obliterated.

Extend Functionality with Additional ZenMods

  • ZenSign: Assign items to signs and view the total available in nearby chests.
  • ZenRedecorate: Reposition chests or a Cartography Table without destroying it.
  • ZenUseItem: Interact directly from your inventory without using your 1-8 hot bar.
  • ZenHoverItem : View item icons when hovering over objects.
  • ZenPath: Run on paths using less stamina.

Check out the ZenMod CORE collection. Lots of good stuff!


Like My Mods? Donations Welcome

Bitcoin: bc1q34lrc82dp73jhv9ylefz0gvmeqfn96e938p4pf

Donation QR

CHANGELOG

v1.1.2

  • renamed config: "Ingredient to Required Per Use" to "Item Required Per Use"
  • Update the README

v1.1.1

  • update translations

v1.1.0

  • add feature: Obliterator can not be activated without a specific item in it, default Thunderstone.
  • add feature: config Obliterator crafting requirements. Default removed Thundestone.
  • config name change: "Enable Smash" to "Destroy"
  • change the name of the Obliterator to "Deconstructor"
  • add translation string for name.
  • add extra help text to the Compendium explaining that the Obliterator is a Recycler.

v1.0.0

  • add help info to Compendium
  • recompile for Zen.ModLib v1.10.0

v0.4.6

  • changed the default value on new installations for the config SmashTrash Destroy Option to ProtectImportantAskOther.
  • recompile for Zen.ModLib v1.8.1

v0.4.5

  • add a new setting for SmashTrash destroy options: ProtectImportantAskOther
  • add item description to the SmashTrash confirmation dialog text.
  • recompile for Zen.ModLib v1.7.3

v0.4.4

  • add Portuguese_Brazilian translation

v0.4.3

  • add German translation

v0.4.2

  • Compile for Valheim v0.221.4, Call to Arms

v0.4.1

  • fix: hovering over the container portion of the Obliterator now works with ZenHoverItem
  • added Obliterator description to translation strings.
  • important fix: improve item reclaim logic so that the correct ratio is returned if you recycle a partial stack. prior behavior would return a full stack's worth of resources even if you recycled only a single unit of a stack. For example, prior you could recycle 1 bronze nail and get 1 bronze scrap in return. Now you need to recycle x20 bronze nails to get 1 bronze scrap. i.e., you have to recycle the same amount produced by crafting.
  • add new config: No Recycle Items. List any items you do not want to be recyclable.
  • add new config: No Recycle Single No Teleport. Prevent recycling any item which has a single ingredient and that single ingredient is a no-teleport item. This prevents abuse of items which have a 100% success chance to be used to transport metals through portals by crafting and then destroying them. Such as BronzeNails and IronNails.

v0.4.0

  • updated for Zen.ModLib v1.2.0
  • recompile for BepInEx v5.4.2332
  • recompile for JVL v2.26.0

v0.3.6

  • updated readme to reflect changes.

v0.3.5

  • changed the default config value for "Melt Conversion" when melting bronze to return BronzeScrap instead of Copper/Tin.

v0.3.4

  • added an option to require that an item has to be dropped before it can be smashed.

v0.3.3

  • update for Zen.ModLib v1.1.0

v0.3.2

  • fixed config sync

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