TheIllusiveC4/CorpseComplex

[Feature Request] [1.12.2] Change values depending on difficulty

CalaMariGold opened this issue · 2 comments

Please describe the new feature or change.
Example of what I mean:
Easy: No durability loss on death, keep toolbar and armor
Normal: 15% durability loss on death, keep toolbar and armor
Hard: 20% durability loss on death, drop everything

I don't know how this would be implemented exactly other than just having different configs for each difficulty. That way, it'll allow for the most customizability.

Please describe why you want this feature.
Lots of players for Rebirth of the Night want to challenge themselves or they don't like how they lose durability or keep their items. Instead of telling everyone to change the config, we can simply tell them to change the difficulty.

Hello, I hope you're having a great day.

I know it's a bit late, but I implemented this feature and created a pull request.
If you like it, please be so kind and merge it, @TheIllusiveC4.

Cheers

Merged the above PR and feature is implemented in version 1.0.12.0.

Edit: Note that the implementation only covers durability loss based on difficulty. I don't think adding anything more than that would be wise, as given the current infrastructure it would add a lot of conditional logic that Corpse Complex wasn't build to handle very well in 1.12.2. This kind of feature is natively available on Corpse Complex for later MC versions, so I'll just leave it at this for 1.12.2.