﻿-- chunkname: @scripts/settings/item/rarity_settings.lua

local RaritySettings = {
	[0] = {
		display_name = "",
		max_modifications = 0,
		color = {
			255,
			255,
			255,
			255,
		},
		color_dark = {
			255,
			64,
			64,
			64,
		},
		color_desaturated = {
			255,
			64,
			64,
			64,
		},
		weapon = {
			num_perks = 0,
			num_traits = 0,
		},
		gadget = {
			num_perks = 0,
			num_traits = 0,
		},
	},
	{
		display_name = "loc_item_weapon_rarity_1",
		max_modifications = 0,
		color = Color.item_rarity_1(255, true),
		color_dark = Color.item_rarity_dark_1(255, true),
		color_desaturated = Color.item_rarity_desaturated_1(255, true),
		weapon = {
			num_perks = 0,
			num_traits = 0,
		},
		gadget = {
			num_perks = 0,
			num_traits = 0,
		},
	},
	{
		display_name = "loc_item_weapon_rarity_2",
		max_modifications = 1,
		color = Color.item_rarity_2(255, true),
		color_dark = Color.item_rarity_dark_2(255, true),
		color_desaturated = Color.item_rarity_desaturated_2(255, true),
		weapon = {
			num_perks = 1,
			num_traits = 0,
		},
		gadget = {
			num_perks = 0,
			num_traits = 1,
		},
	},
	{
		display_name = "loc_item_weapon_rarity_3",
		max_modifications = 2,
		color = Color.item_rarity_3(255, true),
		color_dark = Color.item_rarity_dark_3(255, true),
		color_desaturated = Color.item_rarity_desaturated_3(255, true),
		weapon = {
			num_perks = 1,
			num_traits = 1,
		},
		gadget = {
			num_perks = 1,
			num_traits = 1,
		},
	},
	{
		display_name = "loc_item_weapon_rarity_4",
		max_modifications = 2,
		color = Color.item_rarity_4(255, true),
		color_dark = Color.item_rarity_dark_4(255, true),
		color_desaturated = Color.item_rarity_desaturated_4(255, true),
		weapon = {
			num_perks = 2,
			num_traits = 1,
		},
		gadget = {
			num_perks = 2,
			num_traits = 1,
		},
	},
	{
		display_name = "loc_item_weapon_rarity_5",
		max_modifications = 2,
		color = Color.item_rarity_5(255, true),
		color_dark = Color.item_rarity_dark_5(255, true),
		color_desaturated = Color.item_rarity_desaturated_5(255, true),
		weapon = {
			num_perks = 2,
			num_traits = 2,
		},
		gadget = {
			num_perks = 3,
			num_traits = 1,
		},
	},
	{
		display_name = "loc_item_weapon_rarity_6",
		max_modifications = 2,
		color = Color.item_rarity_6(255, true),
		color_dark = Color.item_rarity_dark_6(255, true),
		color_desaturated = Color.item_rarity_desaturated_6(255, true),
		weapon = {
			num_perks = 2,
			num_traits = 2,
		},
		gadget = {
			num_perks = 3,
			num_traits = 1,
		},
	},
}

return settings("RaritySettings", RaritySettings)
