Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Danieloxor opened this issue Feb 5, 2024 · 0 comments
Open

Comments

@Danieloxor
Copy link

Danieloxor commented Feb 5, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant