Mods / RPG Item Rarity

Category: #Magic #Other #Weapons
Author: Yew
Side: Both
Created: Sep 21st at 4:54 AM
Last modified: Sep 23rd at 8:40 PM
Downloads: 519
Follow Unfollow 19


Makes weapons, tools, and armor get assigned a rpg-esque rarity which improves their stats.

It is written in a way that should ensure compatibility with modded items as well.

Partially an example mod for my patch I'm working on called Attributer.

How to use:

Items when obtained automatically have rarity generated, this includes loot drops and chests.

Items that don't have rarity need to be "appraised" by dropping them and picking them back up, or using them.

The mod does work on existing worlds, and can be safely removed as well.

Requirements:

Attributer

Features:

Six different item raritys that modify stats:

Rarity: Stat Modifier: Rarity Chance:
Common   0% Stat Bonus. 50%
Uncommon 10% Stat Bonus. 20%
Rare 20% Stat Bonus. 15%
Epic 30% Stat Bonus. 10%
Legendary 40% Stat Bonus. ~5%
Unique 50% Stat Bonus. ~1%

Stats Modified:

Tools:

  • Durability.
  • Attack Power.
  • Mining Speed.

Weapons:

  • Durability.
  • Attack Power.
  • Ranged Damage.

Shields:

  • Durability.
  • Damage Absorption.

Armor:

  • Durability.
  • Flat Damage Reduction.

Clothes:

  • Durability.
  • Warmth.

Planned Features (Maybe):

  • Configuration File.
    • % Chance.
    • Modifier %.
    • Tiers.
    • Names.
  • Localization Support.
Spoiler!
Will eventually be developed into a prefix/suffix system. (e.g. Terraria.)

Please report any bugs!

Version For Game version Downloads Release date Changelog Download
v1.0.2 327 Sep 23rd at 8:40 PM Show rpgitemrarity-1.0.2.zip
v1.0.1 121 Sep 22nd at 5:30 PM Show rpgitemrarity-1.0.1.zip
v1.0.0 71 Sep 22nd at 5:17 AM Show rpgitemrarity-1.0.0.zip

7 Comments (oldest first | newest first)

💬 Yew, Sep 24th at 5:53 PM

Jaloopy

The problem is fixed! Thanks for letting me know!
You just need to download the newest version of  Attributer.

💬 Jaloopy, Sep 24th at 2:40 AM

Running into some weird problems where my game crashes because of attributer,
"9/23/2022 10:33:37 PM: Critical error occurred in the following mod: attributer@1.0.2"
"System.ArgumentException: Empty name is not legal. Parameter name: oldValue"

Not too sure why this is happening, any ideas?

💬 Yew, Sep 23rd at 12:08 AM

xCoiotex
It could be integrated with both.
With Bullseye you would need to write a compatibility mod for Attributer, and with Xskills you could just write a compatibility mod for this mod.
I plan on atleast poking around with xskills compatibility for this mod. Maybe. Currently spending time expanding Attributer so its more useful.
This is already somewhat compatible with Bullseye, Bullseye weapons don't get any bonus though, it's purely visual as far as I'm aware.
It would probably help once I put these mods up on GitHub.

💬 xCoiotex, Sep 22nd at 8:03 PM

Is it possible to integrate this with this mods: Bullseye and Xlibs/ Xskills?

💬 Yew, Sep 22nd at 4:12 PM

@1618 Yep! You just have to use the item afterward or drop it on the ground and pick it up again.

 

💬 1618, Sep 22nd at 3:42 PM

One of my favorite features.

Will Quality be applied to Crafted items?

💬 MrBadWithNames, Sep 22nd at 9:54 AM

Looks awesome! 

Definitely going to give it a try :D

(edit comment delete)