Iron's Rpg Tweaks

Iron's Rpg Tweaks

468k Downloads

[Feature Request] - Prevent items from being destroyed on death

Danieloxor opened this issue ยท 0 comments

commented

Durability damage Module:

I would love a config feature that prevents durability damage to go down bellow 1hp on dying allowing player to repair it.
So being killed on spawn multiple times will not break your fancy maxed out unique items.
(especially on bigger modpacks with boss items, and Apotheosis allowing you to craft god tier items)

How i see it:

(in durability damage on death function after calculating but before aplying)

If(durability < 1){
set durability to 1}

For this feature to make any sense it would also need to force enable "vanilla durability usage" for items that are <= 1
So the player can't use them without breaking.

As for armors it would also need extra function that automatically unequip all armor after death if durability is <= 1.
i don't know how to deal with full inventory tho

It would be perfect with support to unequip curious accesories as well.

I think this would be a relatively easy addition but very helpful in many scenarios.