Valheim
0 of 0

File information

Last updated

Original upload

Created by

cjayride

Uploaded by

cjayride

Virus scan

Safe to use

Tags for this mod

About this mod

Recycle inventory items, with an option to not give coins back!

Permissions and credits
This is a fork from the original mod: Discard or Recycle Inventory Items

Thunderstore link for this mod: https://valheim.thunderstore.io/package/cjayride/Discard_or_Recycle_Inventory_Items_No_Coins_cjaycraft_fix/

WARNING: Players using Better Archery and More Slots

This mod is compatible, but you must read and follow all steps for proper configuration!

=============================================================


This mod recycles items into parts

  • Break down (recycle) items on the fly, by drag clicking an item and clicking [Delete]
  • Control the percentage (%) of parts returned (in the config)
  • Control the types of parts to be recycled (enchantment parts, coins, consumables)



------------------------------------------------------------------------------------------------------------------------------------

Setup


There are important configuration settings if you use one of the following mods.

  • Better Archery
  • More Slots (or another mod that adds rows to your inventory)


------------------------------------------------------------------------------------------------------------------------------------


 "Better Archery" Mod Players

The following configuration makes this mod compatible with Better Archery.

# Set to 'true' if you're using the Better Archery mod

# Setting type: Boolean

# Default value: false

UsingBetterArchery = true


Developer information: Better Archery adds 16 item slots to your total inventory, and counts the 3 quiver slots as regular inventory slots, even though it can only hold arrows.


------------------------------------------------------------------------------------------------------------------------------------


Better Archery + "Extra Slots" Mod Players

The following configuration makes this mod compatible with Better Archery and More Slots

# The number of inventory rows you're playing with will affect calculations. Default is 4. Some mods add more rows, so you need to change this here for the mod to work with BetterArchery.

# Default value: 4

InventoryRows = 4

------------------------------------------------------------------------------------------------------------------------------------



Developer information: BetterArchery quiver slots are 2 rows below your last inventory row.


Recycle EpicLoot Enchanted Gear for Magic Parts

# Return resources for Epic Loot enchantments

# Setting type: Boolean

# Default value: true

ReturnEnchantedResources = true


------------------------------------------------------------------------------------------------------------------------------------


Don't Give Players Coins

When recycling parts, don't give Coins (enable/disable).

It cost Coins to enchant with Epic Loot, so if you recycle an item it will usually return Coins. Some severs and players may not want this. Items gave back too many coins and it messed up our server economy.

By default, this mod will not recycle coins unless turned on.

# Enable/disable coins on recycling items

# Setting type: Boolean

# Default value: false

RecycleCoins = false


------------------------------------------------------------------------------------------------------------------------------------


Don't Recycle Consumables

Don't allow recycling items that have consumables as parts (enable/disable).

On our server, we didn't want people recycling food because it gave certain items that might affect the economy.

By default, this mod will allow you to recycle consumables unless turned off.
nable/disable recycling of consumables (like food)

# Setting type: Boolean

# Default value: true

RecycleConsumables = true



------------------------------------------------------------------------------------------------------------------------------------


Edit the config file

BepInEx/config/aedenthorn.DiscardInventoryItemCJAYCRAFT-fix.cfg

Launch the game once to generate the config file and review the options.

If you installed a version before 1.2.1 -- make sure re-generate the config file to get all of the new options.


------------------------------------------------------------------------------------------------------------------------------------


Change log

1.3.2 - 2022/2/16

  • Fixed bug where RecycleCoins = true -- would previously not give back any coins. Default setting is RecycleCoins = false

1.2.1 - 2022/2/9

  • Added a configuration option to enable or disable the recycling of consumables (like food).

1.2.0

  • Fixed a bug that still existed when Better Archery was installed because it messes up the available inventory slot calculations. I really hope this is the last fix after spending many hours trial and error. Thank you for your patience this has been really tough. Thank you to mod tester Moniker.

    Programmer Details: Better Archery always add an additional 16 item slots to your inventory (invisible). The 3 quiver slots are always 2 rows below your last inventory row.

  • Fixed a bug when More Slots or other inventory row adding mod is installed with Better Archery at the same time.

    Programmer Details: The "More Slots" rows expands your inventory, and then Better Archery quiver slots are added on a different inventory row from default, and we need to account for this.

GitHub

This mod: https://github.com/cjayride/ValheimMods/tree/master/DiscardInventoryItem

Original Mod: https://github.com/aedenthorn/ValheimMods/tree/master/DiscardInventoryItem


Contact

Twitter: twitter.com/cjayride

Discord: discord.gg/cjayride  (find me at the top of the user list) "cjayride"


Livestreams

IRL: twitch.tv/cjayride

Gaming: twitch.tv/cjaywalk