Mods / Item Rarity
Author: Unreal
Side: Both
Created: Dec 22nd 2024 at 11:21 PM
Last modified: Dec 25th 2024 at 1:47 PM
Downloads: 651
Follow Unfollow 33
Latest file for v1.20.0-rc.6:
itemrarity_1.0.2.zip
1-click install
Item Rarity Mod
This mod introduces an exciting rarity mechanic to items, adding a dynamic twist to the crafting and looting experience. Rarity levels influences key item stats, such as durability, damage, and more. Currently, rarities are applied exclusively to tools when they are crafted or dropped.
Features
Stat Modifications
Rarities affect the default stats of tools, enhancing or altering their performance.
Supported Stats:
- Durability: All tools benefit from durability adjustments.
- Mining Speed: Applies to tools capable of mining.
- Attack Power: Influences the strength of all tools in combat.
- Piercing Power: Impacts tools that deal piercing damage.
Magical Effects
Bring a touch of magic to your world! Rarity levels can grant special effects to tools, with the first effect now available:
- Thor: A powerful effect for tools that deal piercing damage. Strikes targets with lightning and sets them ablaze on impact.
Commands
There a several commands available. (For now you have to be an operator to be able to use thoses commands)
-
/rarity set <rarity> : Applies the specified rarity to the item currently held.
- /rarity reload : Reloads the configuration without needing to restart the game or server, ideal for testing new settings.
- /rarity test <times> : Perform a test that will generate X rarities based on the times provided. Ideal to test configured rarities. It will also display their relative chance.
Planned Features
-
Support for shields.
-
Support for armor.
-
Introduction of additional effects.
-
Enhanced configuration options to limit rarity application to specific items.
Configuration
Rarity levels can be customized to suit your preferences. Each rarity level has several configurable properties, allowing you to fine-tune its effects and influence on the game. Below is an example of how to configure a rarity:
Example Configuration
Explanation of Fields
Name
: The name of the rarity (e.g., "Unique"). This will be displayed in-game (might be overrided by land files).Color
: Hexadecimal color code used to represent the rarity.Rarity
: The weight or chance of this rarity being applied. Lower values make the rarity rarer.DurabilityMultiplier
: Multiplier for the tool's durability.MiningSpeedMultiplier
: Multiplier for the tool's mining speed.AttackPowerMultiplier
: Multiplier for the tool's attack power.PiercingPowerMultiplier
: Multiplier for the tool's piercing power.Effects
: A list of special effects applied to tools of this rarity. Example:"Thor"
.SupportedItems
: NOT YET SUPPORTED Specifies which items this rarity can be applied to. Use"*"
to apply to all tools or list specific tools (e.g.,["pickaxe", "axe"]
).
Adding New Rarities
To add a new rarity, simply follow the same format.
This allows full control over how each rarity impacts gameplay, ensuring a tailored experience for your world.
Inspiration
This mod is inspired by the RPG Item Rarity mod.
Version | For Game version | Downloads | Release date | Changelog | Download | 1-click mod install* |
---|---|---|---|---|---|---|
v1.0.2 | 513 | Dec 25th 2024 at 1:47 PM | Show | itemrarity_1.0.2.zip | Install now | |
v1.0.1 | 58 | Dec 25th 2024 at 2:17 AM | Show | itemrarity_1.0.1.zip | Install now | |
v1.0.0 | 80 | Dec 24th 2024 at 6:19 PM | Show | itemrarity_1.0.0.zip | Install now |
How would this work? This craftable thing? The more you craft of the tools/weapon the better your % in the get the better gear/tools
Unreal
Unreal Okay, I figured it must be something like that, but I was kind of hoping it wasn't since it would mean I had to fix several items. Oh well, thank you for your response! I am willing to wait for that feature if it means getting armor support, that would be awesome.
Chimney Yes, this happens because you are still using the default rarity keys (e.g.,
"common": { Name: "Your rarity name" }
). The default rarities are translated, and the mod looks for those keys in the language files. If you want your rarities to have custom names, you'll need to change the rarity keys themselves. However, keep in mind that changing these keys will cause some items to have invalid rarity settings. I’m working on adding a feature to make it easier to modify rarity names and keys. This update is taking a bit of time because I’m also adding support for armor.I changed the names for all the rarities under the "Name" section, but they still appear as their default names on items (common, uncommon, etc.). The rarity value and the multipliers are all correct. However, strangely, it prints the altered names correctly whenever I'm using config commands like testing the rarity generation.
Chimney The config file is located at <your vintage story data directory>/ModConfig/itemrarity.json. (By Default it is %appdata%/VintageStoryData)
I see your explanation on how to format custom rarities, but I don't see any config files to edit in order to implement them. Is there something I'm missing?
Ruyeex You already can set your desired rarity with the /rarity set . You can also generate a test of rarities with /rarity test . I will update the mod description to include commands.
Being able to refresh a rarity could be done but i will make it disabled by default.
Will you include a way to get the rarities you want through commands and a way to refresh your rarity?
Unreal
Thanks man!
Blazha Bobosaw This issue has been resolved in version v1.0.2. Thanks for reporting !
Bobosaw same here. Can't break flint bits, branches and leafs with knife or shovel
For some reason when I try to use a tool, like a shovel, to break things like grass, it does not break at all and I must switch to another tool
Guys, for 1.19.8 just use RPG Item Rarity - Reborn with its prerequisite Attributer - Reborn.
Amazing! Totally wanted something like this. Is it compatible with 1.19.8?
Super, cool, divine...a gift for the holidays?
Thanks to the author! Respect! 🤩
Wonderful! 😊
Is it compatible with version 1.19.8?