Skip to content

A modification that gives each item within The Long Dark a sense of exclusivity.

License

Notifications You must be signed in to change notification settings

Deaadman/ItemRarities

Repository files navigation


Latest Release

Total Downloads Latest Downloads


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

  • Sort By Rarity: You can now sort by the rarity of items in your inventory or containers!
  • Container Grid: Whenever an item is selected or hovered over in the container grid, then the colour of that grid item 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.
  • LordKai1102 - For providing German translations.
  • Mezav23 - For providing Spanish 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);
        RarityManager.AddGearItemAndRarity("GEAR_ExampleItem2", Rarities.Legendary);
    }
}

Note

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

About

A modification that gives each item within The Long Dark a sense of exclusivity.

Topics

Resources

License

Stars

Watchers

Forks

Languages