ItemRarities 2.0.0

dotnet add package ItemRarities --version 2.0.0                
NuGet\Install-Package ItemRarities -Version 2.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ItemRarities" Version="2.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ItemRarities --version 2.0.0                
#r "nuget: ItemRarities, 2.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ItemRarities as a Cake Addin
#addin nuget:?package=ItemRarities&version=2.0.0

// Install ItemRarities as a Cake Tool
#tool nuget:?package=ItemRarities&version=2.0.0                

<p align="center"> <a href="#"><img src="https://raw.githubusercontent.com/Deaadman/ItemRarities/release/Images/MainHeading.png"></a>


<div align="center">

Latest Release

Total Downloads Latest Downloads

</div>


GENERAL INFORMATION / FEATURES:

Item Rarities is a modification that gives each item within The Long Dark a sense of exclusivity.

General Features
  • Rarity Classifications: Each item is given a 'rarity' based on several different factors.
  • Exclusivity: Exclusive items will now 'feel' rarer once obtained.
HUD / UI Changes
  • Inventory Grid: Whenever an item is selected or hovered over, it's grid colour changes, and it displays a label above the item.
  • Clothing Grid: If a clothing item is selected or hovered over, the grid colour changes, and it displays a label above the item.
  • Radial Menu: The radial menu changes colour based on what item is hovered over, while displaying a label of what rarity it is.
  • Inspect: The inspect label is now integrated with the rest of the information that fades in whenever an item is inspected.
  • Hovering Label: Whenever an item is hovered over before picking up, the label changes to the colour of that item's rarity.
  • Crafting Menu: When a craftable item is selected in the crafting menu, a label displays what rarity it is.
  • Cooking Menu: If a cookable item is selected within the cooking menu, a label displays what rarity it is.
  • Milling Menu: Once a millable item is selected within it's menu, a label displays the current rarity of that item.
Customisable Options
  • Custom Colours: Players can now choose any colours for each rarity, to suit them to your liking.
Modding Support
  • ModComponent SDK: Now compatible with any custom items made with the ModComponent SDK.
  • Programming Support: Give your custom items custom rarities through programming. Visit the developers section for more information.

COMPATIBILITY:

Required Dependencies:

For optimal functionality of this modification, ensure you have the following versions or newer for the latest version of this modification.

Incompatible Mods:

Currently, no mods are incompatible, but when there are some, avoid using the following mods with this modification as combining this mod with incompatible ones might result in game crashes, data loss, or unforeseen issues.


INSTALLATION:

  1. Download the latest version of MelonLoader.
  2. Download the latest version of this modification.
  3. Navigate to the game's mod directory: [Path to The Long Dark Installation]/mods.
  4. Copy the ItemRarities.dll from your Downloads folder and paste it into the mods directory.
  5. Launch the game. The mod should be enabled.

CONTRIBUTIONS:

Translations:

  • deepsnowland - For providing Japanese translations.
  • Elderly-Emre - For providing Turkish translations.
  • Laki - For providing Polish translations.
  • LettereUniche - For providing Italian translations.

DEVELOPERS:

This section is for anybody who wants to add a rarity to any of their custom items through code, it's pretty simple - you just have to follow what's below. However, if you are currently using the ModComponent SDK then you'll be better off using the integrated functionality as seen here.

If you have a mod that already contains some code, you'll need to install the NuGet package into your project. After doing so, it's as simple as including this within your project.

using ItemRarities.Enums;
using ItemRarities.Managers;

internal sealed class Mod : MelonMod
{
    public override void OnInitializeMelon()
    {
        RarityManager.AddGearItemAndRarity("GEAR_ExampleItem", Rarities.Mythic);
    }
}

[!NOTE] This modification is not officially a part of The Long Dark and is not affiliated with Hinterland Studio Inc or its affiliates.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 98 7/13/2024