tModLoader v2025.03
A mod to make and play Terraria mods
All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
ItemRarityID Class Reference

Enumerates the values used with Item.rare More...

Static Public Attributes

const int Blue = 1
 One (1)
 
const int Count = 12
 
const int Cyan = 9
 Nine (9)
 
const int Expert = -12
 Minus twelve (-12)
Expert: Rainbow
Flag: item.expert
 
const int Gray = -1
 Minus one (-1)
 
const int Green = 2
 Two (2)
 
const int LightPurple = 6
 Six (6)
 
const int LightRed = 4
 Four (4)
 
const int Lime = 7
 Seven (7)
 
const int Master = -13
 Minus thirteen (-13)
Master: Fiery Red
Flag: item.master
 
const int Orange = 3
 Three (3)
 
const int Pink = 5
 Five (5)
 
const int Purple = 11
 Eleven (11)
 
const int Quest = -11
 Minus eleven (-11)
Quest: Amber
Flag: item.quest
 
const int Red = 10
 Ten (10)
 
static readonly IdDictionary Search = IdDictionary.Create(typeof(ItemRarityID), typeof(int))
 
const int White = 0
 Zero (0)
 
const int Yellow = 8
 Eight (8)
 

Detailed Description

Enumerates the values used with Item.rare