rarity comments/cleanup

This commit is contained in:
Doze-Zoze committed 2026-06-30 02:31:53 -05:00
1 parent 3160cdbd05
commit 81585f76f7
8 files changed
+15 -16

No files matched your search

+2 -1
View File
@@ -14,7 +14,8 @@ namespace CalamityMod.Rarities
{
public class BurnishedAuric : ModRarity
{
// Burnished Auric is Rarity 15 (Once was known as Violet)
// Burnished Auric is the rarity for Post-Yharon gear
// It is a unique rarity and does not have its items rarity change on reforge.
public override Color RarityColor => TextClr * 2f;
public static float MaxY = 4.5f;
+2 -1
View File
@@ -12,7 +12,8 @@ namespace CalamityMod.Rarities
{
public class CalamityRed : ModRarity
{
// Calamity Red is Rarity 17
// Calamity Red is the rarity for Post-SCal gear. It is considered the "same tier" as Exotic Rainbow for matters of sell value.
// It is a unique rarity and does not have its items rarity change on reforge.
public override Color RarityColor => TextClr * 2f;
public static float MaxY = 4.5f;
+2 -1
View File
@@ -14,7 +14,8 @@ namespace CalamityMod.Rarities
{
public class CosmicPurple : ModRarity
{
// Cosmic Purple is Rarity 14 (once was known as Dark Blue)
// Cosmic Purple is the rarity for Post-DoG gear.
// It is a unique rarity and does not have its items rarity change on reforge.
public override Color RarityColor => TextClr * 2f;
public static float MaxY = 4.5f;
+3 -1
View File
@@ -3,7 +3,9 @@ using Terraria.ModLoader;
namespace CalamityMod.Rarities
{
// Draedon's Arsenal "Rust" / "Bronze" rarity
// Dark Orange is used for Draedon's Arsenal items.
// It is a unique rarity and does not have its items rarity change on reforge.
public class DarkOrange : ModRarity
{
public override Color RarityColor => new Color(204, 71, 35);
+2 -1
View File
@@ -15,7 +15,8 @@ namespace CalamityMod.Rarities
{
public class ExoticRainbow : ModRarity
{
// Exotic Rainbow is Rarity 17 (same as Calamity Red)
// Exotic Rainbow is the rarity for Post-SCal gear. It is considered the "same tier" as Calamity Red for matters of sell value.
// It is a custom rarity and does not have its items rarity change on reforge.
public override Color RarityColor => TextClr * 2f;
public static float MaxY = 4.5f;
+2 -9
View File
@@ -14,7 +14,8 @@ namespace CalamityMod.Rarities
{
public class HotPink : ModRarity
{
// Hot Pink is used for developer items. Has a system built in for custom rarity effects.
// Hot Pink is used for developer items. It Has a system built in for custom rarity effects.
// It is a unique rarity and does not have its items rarity change on reforge.
public override Color RarityColor => TextColor;
public static Color TextColor => new Color(255, 0, 255);
@@ -58,13 +59,5 @@ namespace CalamityMod.Rarities
Draw(Item, line.Text, line.X, line.Y, line.Rotation, line.Origin, line.BaseScale);
}
#region Custom Draw Effects
#region Doze's Effect
#endregion
#endregion
}
}
+1 -1
View File
@@ -13,7 +13,7 @@ namespace CalamityMod.Rarities
{
-2 => ItemRarityID.Purple,
-1 => ModContent.RarityType<Turquoise>(),
_ => Type, // Cannot reach Cosmic Purple or Burnished Auric
_ => Type, // All higher rarities are unique, and so it cannot go up.
};
}
}
+1 -1
View File
@@ -14,7 +14,7 @@ namespace CalamityMod.Rarities
-2 => ItemRarityID.Red,
-1 => ItemRarityID.Purple,
1 => ModContent.RarityType<PureGreen>(),
2 => ModContent.RarityType<PureGreen>(), // Cannot reach Cosmic Purple
2 => ModContent.RarityType<PureGreen>(), // All higher rarities are unique, and so it cannot go up past Pure Green
_ => Type,
};
}