Jump to content

RPG Item Rarity


Yew

Recommended Posts

image.thumb.png.336f6fdf87502e15fb54c818e63aed15.png


A mod which adds an RPG item rarity system to tools, weapons, shields, clothes, and armor! Even to other mod items!

image.thumb.png.14b0d35a9737610068a22c0cf04d5209.png

Mod Page 
Requirement: Attributer


How it Works:

Any looted, crafted, or purchased items can be "appraised" to get a rarity modifier.
To appraise something, simply use it or drop it on the ground.
(Totally intended feature, not at all a limitation of my implementation)

Currently, there are six possible rarities an item can have:

Common
(50% Chance, 0% Bonus)

Uncommon
(20% Chance, 10% Bonus)

Rare
(15% Chance, 20% Bonus)

Epic
(10% Chance, 30% Bonus)

Legendary
(~5% Chance, 40% Bonus)

Unique
(~1% Chance, 50% Bonus)


The bonus the rarity applies is applied to some stats of the item:
Durability, Damage, Attack Power, Warmth, and Mining speed just to name a few.

Compatible with most other mods, Including XSkills!

Includes configuration files for changing the rarity chances, the stat bonuses of rarities, and rarity names.
Localized to many languages as well.


 

Edited by Yew
Including requirement mod.
  • Like 3
Link to comment
Share on other sites

It works on existing saves, and can safely be added/removed from them as well, albeit with some invisible data left behind only noticeable in debug mode.

I have put out the source code on github for both RPGItemRarity, and its requirement Attributer:
https://github.com/YewYew/RPGItemRarity
https://github.com/YewYew/Attributer

And here is the attributer forum page:

Spoiler

Reserved for future use.

 

Edited by Yew
Updating info
Link to comment
Share on other sites

  • 2 weeks later...

The mod has been updated to 1.18.x, uploaded to Github (https://github.com/YewYew/RPGItemRarity) alongside it's requirement Attributer (https://github.com/YewYew/Attributer), bugfixed all currently known bugs, and added explicit XSkills/XLib support, alongside configuration options as well. 

As far as I know, the mod should have no incompatibilities or game-breaking bugs. But if they do, feel free to post them wherever and I'll get to them.

  • Thanks 1
Link to comment
Share on other sites

  • 1 month later...

Whenever a person learns via xskills the Blacksmith skill, the rate of getting items that are above common drastically diminishes; however, whenever one does not have the skill, they get at what feels like a very significantly higher chance of getting items to roll greater than common. It's almost like it is not really compatible with xskills' Blacksmith skill. On top of this, when blasksmithing using the Blacksmith skill, the if the blacksmith crafted an item that has a higher quality with better durability, and then drops or uses the item, it is overwritten with RPG Item Rarity and rolls significantly lower stats and gravely lesser quality than what the blacksmith has crafted.
Also posted this here: your mod page and here: your github issues tracker

Edited by Miltius
Link to comment
Share on other sites

  • 4 weeks later...
  • 7 months later...

I think there may be a couple of problems with this mod.

Lore Books.  I'm not 100% sure about this, but I think this mod interferes with being able to open and read lore books.  There have been times that I've found lore books that can't be read, and it seems like, when this happens, the commonality is that this mod tagged the book with a rarity descriptor like "Common Gray Lore book" or "Rare Purple Lore Book".  When I trash the book and pull a new one from creative inventory without a rarity descriptor, I can read it just fine.

Temporal Gears.  These are kind of annoying because they don't stack.  The only way to amass these things in any kind of quantity is by aged crates, which can store many of them.  But without this, it's really, really a hardship, since unlike that "other block game", inventory space is precious in VS.  However, when a rarity is assigned to a temporal gear (e.g. "Uncommon Temporal Gear" or "Rare Temporal Gear") they can no longer stack in aged crates because of the rarity descriptor.  The only way around this, unfortunately, is to trash the temporal gear and pull a new one without a rarity descriptor from creative inventory -- this will allow you to put the temporal gear into the aged crate.

I really think that this mod would be greatly enhanced if either these problems were fixed, or else a config file option to exclude certain items from the rarity tagging.

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.