PostML rarity and color system reworked.
Nanoblack Reaper now has custom coloration.
This commit is contained in:
1 parent
2255b4adc7
commit
bd8cdbb784
409 files changed
+484
-442
No files matched your search
@@ -19,7 +19,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.height = 26;
|
||||
item.value = Item.buyPrice(0, 60, 0, 0);
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 13;
|
||||
item.Calamity().customRarity = CalamityRarity.PureGreen;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.value = Item.buyPrice(0, 90, 0, 0); //30 gold reforge
|
||||
item.defense = 10;
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 14;
|
||||
item.Calamity().customRarity = CalamityRarity.DarkBlue;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.height = 26;
|
||||
item.value = Item.buyPrice(0, 90, 0, 0);
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 13;
|
||||
item.Calamity().customRarity = CalamityRarity.PureGreen;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.height = 30;
|
||||
item.value = Item.buyPrice(0, 21, 0, 0);
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 12;
|
||||
item.Calamity().customRarity = CalamityRarity.Turquoise;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.defense = 10;
|
||||
item.lifeRegen = 1;
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 15;
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.rare = 2;
|
||||
item.defense = 2;
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 22;
|
||||
item.Calamity().customRarity = CalamityRarity.RareVariant;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.value = Item.buyPrice(1, 50, 0, 0);
|
||||
item.accessory = true;
|
||||
item.rare = 10;
|
||||
item.Calamity().postMoonLordRarity = 16;
|
||||
item.Calamity().customRarity = CalamityRarity.Developer;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.height = 26;
|
||||
item.value = Item.buyPrice(0, 60, 0, 0);
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 15;
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.height = 34;
|
||||
item.value = Item.buyPrice(0, 90, 0, 0);
|
||||
item.rare = 10;
|
||||
item.Calamity().postMoonLordRarity = 15;
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
item.accessory = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.width = 38;
|
||||
item.height = 38;
|
||||
item.value = Item.buyPrice(0, 22, 0, 0);
|
||||
item.Calamity().postMoonLordRarity = 15;
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
item.accessory = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.value = Item.buyPrice(1, 50, 0, 0);
|
||||
item.accessory = true;
|
||||
item.rare = 10;
|
||||
item.Calamity().postMoonLordRarity = 16;
|
||||
item.Calamity().customRarity = CalamityRarity.Developer;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.height = 38;
|
||||
item.value = Item.buyPrice(0, 90, 0, 0);
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 20;
|
||||
item.Calamity().customRarity = CalamityRarity.Rainbow;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.height = 32;
|
||||
item.value = Item.buyPrice(0, 90, 0, 0);
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 20;
|
||||
item.Calamity().customRarity = CalamityRarity.Rainbow;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.height = 42;
|
||||
item.value = Item.buyPrice(0, 60, 0, 0);
|
||||
item.rare = 10;
|
||||
item.Calamity().postMoonLordRarity = 12;
|
||||
item.Calamity().customRarity = CalamityRarity.Turquoise;
|
||||
item.defense = 8;
|
||||
item.accessory = true;
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.height = 32;
|
||||
item.value = Item.buyPrice(0, 90, 0, 0);
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 20;
|
||||
item.Calamity().customRarity = CalamityRarity.Rainbow;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.value = Item.buyPrice(0, 9, 0, 0);
|
||||
item.rare = 5;
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 22;
|
||||
item.Calamity().customRarity = CalamityRarity.RareVariant;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.value = Item.buyPrice(1, 50, 0, 0);
|
||||
item.accessory = true;
|
||||
item.rare = 10;
|
||||
item.Calamity().postMoonLordRarity = 16;
|
||||
item.Calamity().customRarity = CalamityRarity.Developer;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.value = Item.buyPrice(0, 21, 0, 0);
|
||||
item.rare = 10;
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 12;
|
||||
item.Calamity().customRarity = CalamityRarity.Turquoise;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.value = Item.buyPrice(0, 60, 0, 0);
|
||||
item.defense = 9;
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 20;
|
||||
item.Calamity().customRarity = CalamityRarity.Rainbow;
|
||||
}
|
||||
|
||||
public override bool CanEquipAccessory(Player player, int slot)
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.height = 26;
|
||||
item.value = Item.buyPrice(0, 30, 0, 0);
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 22;
|
||||
item.Calamity().customRarity = CalamityRarity.RareVariant;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.width = 46;
|
||||
item.height = 40;
|
||||
item.value = Item.buyPrice(0, 18, 0, 0);
|
||||
item.Calamity().postMoonLordRarity = 12;
|
||||
item.Calamity().customRarity = CalamityRarity.Turquoise;
|
||||
item.accessory = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.height = 32;
|
||||
item.value = Item.buyPrice(0, 90, 0, 0);
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 20;
|
||||
item.Calamity().customRarity = CalamityRarity.Rainbow;
|
||||
}
|
||||
|
||||
public override void ModifyTooltips(List<TooltipLine> list)
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.value = Item.buyPrice(1, 40, 0, 0);
|
||||
item.rare = 10;
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 21;
|
||||
item.Calamity().customRarity = CalamityRarity.Dedicated;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.value = Item.buyPrice(0, 90, 0, 0);
|
||||
item.defense = 12;
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 14;
|
||||
item.Calamity().customRarity = CalamityRarity.DarkBlue;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.value = Item.buyPrice(0, 60, 0, 0);
|
||||
item.rare = 10;
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 13;
|
||||
item.Calamity().customRarity = CalamityRarity.PureGreen;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.rare = 5;
|
||||
item.defense = 6;
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 22;
|
||||
item.Calamity().customRarity = CalamityRarity.RareVariant;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.height = 30;
|
||||
item.value = Item.buyPrice(0, 21, 0, 0);
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 22;
|
||||
item.Calamity().customRarity = CalamityRarity.RareVariant;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.width = 30;
|
||||
item.height = 38;
|
||||
item.value = Item.buyPrice(1, 40, 0, 0);
|
||||
item.Calamity().postMoonLordRarity = 13;
|
||||
item.Calamity().customRarity = CalamityRarity.PureGreen;
|
||||
item.accessory = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.height = 20;
|
||||
item.value = Item.buyPrice(0, 90, 0, 0);
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 14;
|
||||
item.Calamity().customRarity = CalamityRarity.DarkBlue;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.height = 32;
|
||||
item.value = Item.buyPrice(0, 90, 0, 0);
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 14;
|
||||
item.Calamity().customRarity = CalamityRarity.DarkBlue;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.value = Item.buyPrice(0, 9, 0, 0);
|
||||
item.rare = 4;
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 22;
|
||||
item.Calamity().customRarity = CalamityRarity.RareVariant;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.height = 20;
|
||||
item.value = Item.buyPrice(0, 60, 0, 0);
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 20;
|
||||
item.Calamity().customRarity = CalamityRarity.Rainbow;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.height = 26;
|
||||
item.value = Item.buyPrice(0, 60, 0, 0);
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 22;
|
||||
item.Calamity().customRarity = CalamityRarity.RareVariant;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.value = Item.buyPrice(0, 3, 0, 0);
|
||||
item.rare = 1;
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 22;
|
||||
item.Calamity().customRarity = CalamityRarity.RareVariant;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.height = 36;
|
||||
item.value = Item.buyPrice(25, 0, 0, 0);
|
||||
item.rare = 10;
|
||||
item.Calamity().postMoonLordRarity = 14;
|
||||
item.Calamity().customRarity = CalamityRarity.DarkBlue;
|
||||
item.accessory = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace CalamityMod.Items.Accessories.Wings
|
||||
item.height = 32;
|
||||
item.value = Item.buyPrice(1, 20, 0, 0);
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 15;
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace CalamityMod.Items.Accessories.Wings
|
||||
item.width = 22;
|
||||
item.height = 20;
|
||||
item.value = Item.buyPrice(1, 0, 0, 0);
|
||||
item.Calamity().postMoonLordRarity = 14;
|
||||
item.Calamity().customRarity = CalamityRarity.DarkBlue;
|
||||
item.accessory = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace CalamityMod.Items.Accessories.Wings
|
||||
item.height = 32;
|
||||
item.value = Item.buyPrice(0, 90, 0, 0);
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 14;
|
||||
item.Calamity().customRarity = CalamityRarity.DarkBlue;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Accessories.Wings
|
||||
item.height = 32;
|
||||
item.value = Item.buyPrice(0, 45, 0, 0);
|
||||
item.rare = 10;
|
||||
item.Calamity().postMoonLordRarity = 12;
|
||||
item.Calamity().customRarity = CalamityRarity.Turquoise;
|
||||
item.accessory = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace CalamityMod.Items.Accessories.Wings
|
||||
item.height = 32;
|
||||
item.value = Item.buyPrice(0, 60, 0, 0);
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 12;
|
||||
item.Calamity().customRarity = CalamityRarity.Turquoise;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace CalamityMod.Items.Accessories
|
||||
item.height = 38;
|
||||
item.value = Item.buyPrice(0, 30, 0, 0);
|
||||
item.accessory = true;
|
||||
item.Calamity().postMoonLordRarity = 12;
|
||||
item.Calamity().customRarity = CalamityRarity.Turquoise;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Ammo
|
||||
item.consumable = true;
|
||||
item.knockBack = 10f;
|
||||
item.value = Item.buyPrice(0, 1, 0, 0);
|
||||
item.Calamity().postMoonLordRarity = 21;
|
||||
item.Calamity().customRarity = CalamityRarity.Dedicated;
|
||||
item.shoot = ModContent.ProjectileType<IceBarrageMain>();
|
||||
item.shootSpeed = 0f;
|
||||
item.ammo = item.type; // CONSIDER -- Would item.type work here instead of a self reference?
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace CalamityMod.Items.Ammo
|
||||
item.shoot = ModContent.ProjectileType<BloodfireArrowProj>();
|
||||
item.shootSpeed = 10f;
|
||||
item.ammo = 40;
|
||||
item.Calamity().postMoonLordRarity = 13;
|
||||
item.Calamity().customRarity = CalamityRarity.PureGreen;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace CalamityMod.Items.Ammo
|
||||
item.shoot = ModContent.ProjectileType<ElysianArrowProj>();
|
||||
item.shootSpeed = 10f;
|
||||
item.ammo = 40;
|
||||
item.Calamity().postMoonLordRarity = 12;
|
||||
item.Calamity().customRarity = CalamityRarity.Turquoise;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace CalamityMod.Items.Ammo
|
||||
item.knockBack = 2f;
|
||||
item.value = 2000;
|
||||
item.rare = 10;
|
||||
item.Calamity().postMoonLordRarity = 12;
|
||||
item.Calamity().customRarity = CalamityRarity.Turquoise;
|
||||
item.shoot = ModContent.ProjectileType<HolyFireBulletProj>();
|
||||
item.shootSpeed = 12f;
|
||||
item.ammo = 97;
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace CalamityMod.Items.Ammo
|
||||
item.shoot = ModContent.ProjectileType<VanquisherArrowMain>();
|
||||
item.shootSpeed = 10f;
|
||||
item.ammo = 40;
|
||||
item.Calamity().postMoonLordRarity = 14;
|
||||
item.Calamity().customRarity = CalamityRarity.DarkBlue;
|
||||
}
|
||||
|
||||
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(1, 44, 0, 0);
|
||||
item.defense = 48;
|
||||
item.Calamity().postMoonLordRarity = 20;
|
||||
item.Calamity().customRarity = CalamityRarity.Rainbow;
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(1, 8, 0, 0);
|
||||
item.defense = 44;
|
||||
item.Calamity().postMoonLordRarity = 20;
|
||||
item.Calamity().customRarity = CalamityRarity.Rainbow;
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(1, 80, 0, 0);
|
||||
item.defense = 54; //132
|
||||
item.Calamity().postMoonLordRarity = 20;
|
||||
item.Calamity().customRarity = CalamityRarity.Rainbow;
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(1, 80, 0, 0);
|
||||
item.defense = 40; //132
|
||||
item.Calamity().postMoonLordRarity = 20;
|
||||
item.Calamity().customRarity = CalamityRarity.Rainbow;
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(1, 80, 0, 0);
|
||||
item.defense = 34; //132
|
||||
item.Calamity().postMoonLordRarity = 20;
|
||||
item.Calamity().customRarity = CalamityRarity.Rainbow;
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(1, 80, 0, 0);
|
||||
item.defense = 12; //132
|
||||
item.Calamity().postMoonLordRarity = 20;
|
||||
item.Calamity().customRarity = CalamityRarity.Rainbow;
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(1, 80, 0, 0);
|
||||
item.defense = 24; //132
|
||||
item.Calamity().postMoonLordRarity = 20;
|
||||
item.Calamity().customRarity = CalamityRarity.Rainbow;
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(0, 48, 0, 0);
|
||||
item.defense = 35;
|
||||
item.Calamity().postMoonLordRarity = 13;
|
||||
item.Calamity().customRarity = CalamityRarity.PureGreen;
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(0, 36, 0, 0);
|
||||
item.defense = 29;
|
||||
item.Calamity().postMoonLordRarity = 13;
|
||||
item.Calamity().customRarity = CalamityRarity.PureGreen;
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(0, 60, 0, 0);
|
||||
item.defense = 28; //85
|
||||
item.Calamity().postMoonLordRarity = 13;
|
||||
item.Calamity().customRarity = CalamityRarity.PureGreen;
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(0, 60, 0, 0);
|
||||
item.defense = 16; //85
|
||||
item.Calamity().postMoonLordRarity = 13;
|
||||
item.Calamity().customRarity = CalamityRarity.PureGreen;
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(0, 60, 0, 0);
|
||||
item.defense = 34; //85
|
||||
item.Calamity().postMoonLordRarity = 13;
|
||||
item.Calamity().customRarity = CalamityRarity.PureGreen;
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(0, 60, 0, 0);
|
||||
item.defense = 22; //85
|
||||
item.Calamity().postMoonLordRarity = 13;
|
||||
item.Calamity().customRarity = CalamityRarity.PureGreen;
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(0, 60, 0, 0);
|
||||
item.defense = 49; //85
|
||||
item.Calamity().postMoonLordRarity = 13;
|
||||
item.Calamity().customRarity = CalamityRarity.PureGreen;
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(4, 0, 0, 0);
|
||||
item.defense = 50;
|
||||
item.Calamity().postMoonLordRarity = 16;
|
||||
item.Calamity().customRarity = CalamityRarity.Developer;
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(3, 0, 0, 0);
|
||||
item.defense = 50; //15
|
||||
item.Calamity().postMoonLordRarity = 16;
|
||||
item.Calamity().customRarity = CalamityRarity.Developer;
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(5, 0, 0, 0);
|
||||
item.defense = 50; //15
|
||||
item.Calamity().postMoonLordRarity = 16;
|
||||
item.Calamity().customRarity = CalamityRarity.Developer;
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(gold: 75);
|
||||
item.defense = 38; // 132 total
|
||||
item.Calamity().postMoonLordRarity = 14;
|
||||
item.Calamity().customRarity = CalamityRarity.DarkBlue;
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(gold: 45);
|
||||
item.defense = 44;
|
||||
item.Calamity().postMoonLordRarity = 14;
|
||||
item.Calamity().customRarity = CalamityRarity.DarkBlue;
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(gold: 60);
|
||||
item.defense = 50;
|
||||
item.Calamity().postMoonLordRarity = 14;
|
||||
item.Calamity().customRarity = CalamityRarity.DarkBlue;
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(0, 60, 0, 0);
|
||||
item.defense = 41;
|
||||
item.Calamity().postMoonLordRarity = 14;
|
||||
item.Calamity().customRarity = CalamityRarity.DarkBlue;
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(0, 75, 0, 0);
|
||||
item.defense = 48; //96
|
||||
item.Calamity().postMoonLordRarity = 14;
|
||||
item.Calamity().customRarity = CalamityRarity.DarkBlue;
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(0, 75, 0, 0);
|
||||
item.defense = 35; //96
|
||||
item.Calamity().postMoonLordRarity = 14;
|
||||
item.Calamity().customRarity = CalamityRarity.DarkBlue;
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(0, 75, 0, 0);
|
||||
item.defense = 12; //96
|
||||
item.Calamity().postMoonLordRarity = 14;
|
||||
item.Calamity().customRarity = CalamityRarity.DarkBlue;
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(0, 45, 0, 0);
|
||||
item.defense = 35;
|
||||
item.Calamity().postMoonLordRarity = 14;
|
||||
item.Calamity().customRarity = CalamityRarity.DarkBlue;
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(0, 75, 0, 0);
|
||||
item.defense = 29; //96
|
||||
item.Calamity().postMoonLordRarity = 14;
|
||||
item.Calamity().customRarity = CalamityRarity.DarkBlue;
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(0, 75, 0, 0);
|
||||
item.defense = 21; //96
|
||||
item.Calamity().postMoonLordRarity = 14;
|
||||
item.Calamity().customRarity = CalamityRarity.DarkBlue;
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
|
||||
@@ -25,7 +25,7 @@ No positive life regen");
|
||||
item.value = Item.sellPrice(0, 38, 0, 0);
|
||||
item.rare = 10;
|
||||
item.defense = 28;
|
||||
item.Calamity().postMoonLordRarity = 13;
|
||||
item.Calamity().customRarity = CalamityRarity.PureGreen;
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.value = Item.sellPrice(0, 35, 0, 0);
|
||||
item.rare = 10;
|
||||
item.defense = 19;
|
||||
item.Calamity().postMoonLordRarity = 13;
|
||||
item.Calamity().customRarity = CalamityRarity.PureGreen;
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.value = Item.sellPrice(0, 35, 25, 0);
|
||||
item.rare = 10;
|
||||
item.defense = 22;
|
||||
item.Calamity().postMoonLordRarity = 13;
|
||||
item.Calamity().customRarity = CalamityRarity.PureGreen;
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 24;
|
||||
item.value = Item.buyPrice(0, 72, 0, 0);
|
||||
item.defense = 44;
|
||||
item.Calamity().postMoonLordRarity = 15;
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 20;
|
||||
item.value = Item.buyPrice(0, 90, 0, 0);
|
||||
item.defense = 52; //110
|
||||
item.Calamity().postMoonLordRarity = 15;
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 24;
|
||||
item.value = Item.buyPrice(0, 90, 0, 0);
|
||||
item.defense = 13; //110
|
||||
item.Calamity().postMoonLordRarity = 15;
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 24;
|
||||
item.value = Item.buyPrice(0, 90, 0, 0);
|
||||
item.defense = 36; //110
|
||||
item.Calamity().postMoonLordRarity = 15;
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(0, 54, 0, 0);
|
||||
item.defense = 39;
|
||||
item.Calamity().postMoonLordRarity = 15;
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 26;
|
||||
item.value = Item.buyPrice(0, 90, 0, 0);
|
||||
item.defense = 30; //110
|
||||
item.Calamity().postMoonLordRarity = 15;
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 22;
|
||||
item.value = Item.buyPrice(0, 90, 0, 0);
|
||||
item.defense = 21; //110
|
||||
item.Calamity().postMoonLordRarity = 15;
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.lifeRegen = 2;
|
||||
item.value = Item.buyPrice(0, 40, 0, 0);
|
||||
item.defense = 37;
|
||||
item.Calamity().postMoonLordRarity = 12;
|
||||
item.Calamity().customRarity = CalamityRarity.Turquoise;
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(0, 50, 0, 0);
|
||||
item.defense = 33; //98
|
||||
item.Calamity().postMoonLordRarity = 12;
|
||||
item.Calamity().customRarity = CalamityRarity.Turquoise;
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(0, 50, 0, 0);
|
||||
item.defense = 15; //98
|
||||
item.Calamity().postMoonLordRarity = 12;
|
||||
item.Calamity().customRarity = CalamityRarity.Turquoise;
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(0, 50, 0, 0);
|
||||
item.defense = 3; //98
|
||||
item.Calamity().postMoonLordRarity = 12;
|
||||
item.Calamity().customRarity = CalamityRarity.Turquoise;
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(0, 30, 0, 0);
|
||||
item.defense = 32;
|
||||
item.Calamity().postMoonLordRarity = 12;
|
||||
item.Calamity().customRarity = CalamityRarity.Turquoise;
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(0, 50, 0, 0);
|
||||
item.defense = 10; //98
|
||||
item.Calamity().postMoonLordRarity = 12;
|
||||
item.Calamity().customRarity = CalamityRarity.Turquoise;
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.Items.Armor
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(0, 50, 0, 0);
|
||||
item.defense = 21; //98
|
||||
item.Calamity().postMoonLordRarity = 12;
|
||||
item.Calamity().customRarity = CalamityRarity.Turquoise;
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace CalamityMod.Items.Armor.Vanity
|
||||
item.width = 18;
|
||||
item.height = 18;
|
||||
item.rare = 5;
|
||||
item.Calamity().postMoonLordRarity = 21;
|
||||
item.Calamity().customRarity = CalamityRarity.Dedicated;
|
||||
item.value = Item.buyPrice(0, 15, 0, 0);
|
||||
item.vanity = true;
|
||||
}
|
||||
|
||||
+41
-36
@@ -55,12 +55,12 @@ namespace CalamityMod.Items
|
||||
|
||||
public int timesUsed = 0;
|
||||
|
||||
public int postMoonLordRarity = 0;
|
||||
public CalamityRarity customRarity = 0;
|
||||
|
||||
#region SetDefaults
|
||||
public override void SetDefaults(Item item)
|
||||
{
|
||||
if (postMoonLordRarity != 0 && item.rare != 10)
|
||||
if (customRarity.IsPostML() && item.rare != 10)
|
||||
item.rare = 10;
|
||||
|
||||
if (item.maxStack == 99 || item.type == ItemID.Dynamite || item.type == ItemID.StickyDynamite ||
|
||||
@@ -341,7 +341,7 @@ namespace CalamityMod.Items
|
||||
"timesUsed", timesUsed
|
||||
},
|
||||
{
|
||||
"rarity", postMoonLordRarity
|
||||
"rarity", (int)customRarity
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -350,13 +350,13 @@ namespace CalamityMod.Items
|
||||
{
|
||||
rogue = tag.GetBool("rogue");
|
||||
timesUsed = tag.GetInt("timesUsed");
|
||||
postMoonLordRarity = tag.GetInt("rarity");
|
||||
customRarity = (CalamityRarity)tag.GetInt("rarity");
|
||||
}
|
||||
|
||||
public override void LoadLegacy(Item item, BinaryReader reader)
|
||||
{
|
||||
int loadVersion = reader.ReadInt32();
|
||||
postMoonLordRarity = reader.ReadInt32();
|
||||
customRarity = (CalamityRarity)reader.ReadInt32();
|
||||
timesUsed = reader.ReadInt32();
|
||||
|
||||
if (loadVersion == 0)
|
||||
@@ -376,7 +376,7 @@ namespace CalamityMod.Items
|
||||
flags[0] = rogue;
|
||||
|
||||
writer.Write(flags);
|
||||
writer.Write(postMoonLordRarity);
|
||||
writer.Write((int)customRarity);
|
||||
writer.Write(timesUsed);
|
||||
}
|
||||
|
||||
@@ -385,7 +385,7 @@ namespace CalamityMod.Items
|
||||
BitsByte flags = reader.ReadByte();
|
||||
rogue = flags[0];
|
||||
|
||||
postMoonLordRarity = reader.ReadInt32();
|
||||
customRarity = (CalamityRarity)reader.ReadInt32();
|
||||
timesUsed = reader.ReadInt32();
|
||||
}
|
||||
#endregion
|
||||
@@ -503,57 +503,62 @@ namespace CalamityMod.Items
|
||||
TooltipLine tt2 = tooltips.FirstOrDefault(x => x.Name == "ItemName" && x.mod == "Terraria");
|
||||
if (tt2 != null)
|
||||
{
|
||||
switch (postMoonLordRarity)
|
||||
switch (customRarity)
|
||||
{
|
||||
case 12:
|
||||
default:
|
||||
break;
|
||||
case CalamityRarity.Turquoise:
|
||||
tt2.overrideColor = new Color(0, 255, 200);
|
||||
break;
|
||||
case 13:
|
||||
case CalamityRarity.PureGreen:
|
||||
tt2.overrideColor = new Color(0, 255, 0);
|
||||
break;
|
||||
case 14:
|
||||
case CalamityRarity.DarkBlue:
|
||||
tt2.overrideColor = new Color(43, 96, 222);
|
||||
break;
|
||||
case 15:
|
||||
case CalamityRarity.Violet:
|
||||
tt2.overrideColor = new Color(108, 45, 199);
|
||||
break;
|
||||
case 16:
|
||||
case CalamityRarity.Developer:
|
||||
tt2.overrideColor = new Color(255, 0, 255);
|
||||
break;
|
||||
case 17: //Legendary Weapons
|
||||
if (item.type == ModContent.ItemType<Malachite>())
|
||||
tt2.overrideColor = new Color(Main.DiscoR, 203, 103);
|
||||
|
||||
case CalamityRarity.Rainbow:
|
||||
tt2.overrideColor = new Color(Main.DiscoR, Main.DiscoG, Main.DiscoB);
|
||||
break;
|
||||
case CalamityRarity.RareVariant:
|
||||
tt2.overrideColor = new Color(255, 140, 0);
|
||||
break;
|
||||
case CalamityRarity.Dedicated:
|
||||
tt2.overrideColor = new Color(139, 0, 0);
|
||||
break;
|
||||
|
||||
case CalamityRarity.ItemSpecific:
|
||||
// Uniquely colored developer weapons
|
||||
if(item.type == ModContent.ItemType<Fabstaff>())
|
||||
tt2.overrideColor = new Color(Main.DiscoR, 100, 255);
|
||||
if(item.type == ModContent.ItemType<BlushieStaff>())
|
||||
tt2.overrideColor = new Color(0, 0, 255);
|
||||
if (item.type == ModContent.ItemType<NanoblackReaperMelee>() || item.type == ModContent.ItemType<NanoblackReaperRogue>())
|
||||
tt2.overrideColor = new Color(0.34f, 0.34f + 0.66f * Main.DiscoG / 255f, 0.34f + 0.5f * Main.DiscoG / 255f);
|
||||
|
||||
// Uniquely colored legendary weapons
|
||||
if (item.type == ModContent.ItemType<AegisBlade>() || item.type == ModContent.ItemType<YharimsCrystal>())
|
||||
tt2.overrideColor = new Color(255, Main.DiscoG, 53);
|
||||
if (item.type == ModContent.ItemType<BlossomFlux>())
|
||||
tt2.overrideColor = new Color(Main.DiscoR, 203, 103);
|
||||
if (item.type == ModContent.ItemType<BrinyBaron>())
|
||||
tt2.overrideColor = new Color(53, Main.DiscoG, 255);
|
||||
if (item.type == ModContent.ItemType<CosmicDischarge>())
|
||||
tt2.overrideColor = new Color(150, Main.DiscoG, 255);
|
||||
if (item.type == ModContent.ItemType<BlossomFlux>())
|
||||
if (item.type == ModContent.ItemType<Malachite>())
|
||||
tt2.overrideColor = new Color(Main.DiscoR, 203, 103);
|
||||
if (item.type == ModContent.ItemType<SeasSearing>())
|
||||
tt2.overrideColor = new Color(60, Main.DiscoG, 190);
|
||||
if (item.type == ModContent.ItemType<SHPC>())
|
||||
tt2.overrideColor = new Color(255, Main.DiscoG, 155);
|
||||
if (item.type == ModContent.ItemType<Vesuvius>())
|
||||
tt2.overrideColor = new Color(255, Main.DiscoG, 0);
|
||||
if (item.type == ModContent.ItemType<SeasSearing>())
|
||||
tt2.overrideColor = new Color(60, Main.DiscoG, 190);
|
||||
break;
|
||||
case 18: //Fabstaff
|
||||
tt2.overrideColor = new Color(Main.DiscoR, 100, 255);
|
||||
break;
|
||||
case 19: //Blushie Staff
|
||||
tt2.overrideColor = new Color(0, 0, 255);
|
||||
break;
|
||||
case 20: //Non-Expert Rainbow
|
||||
tt2.overrideColor = new Color(Main.DiscoR, Main.DiscoG, Main.DiscoB);
|
||||
break;
|
||||
case 21: //Patreon
|
||||
tt2.overrideColor = new Color(139, 0, 0);
|
||||
break;
|
||||
case 22: //Rare Variants
|
||||
tt2.overrideColor = new Color(255, 140, 0);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Critters
|
||||
item.height = 24;
|
||||
item.makeNPC = (short)ModContent.NPCType<Piggy>();
|
||||
item.rare = 1;
|
||||
item.Calamity().postMoonLordRarity = 21;
|
||||
item.Calamity().customRarity = CalamityRarity.Dedicated;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -24,7 +24,7 @@ Angiogenesis");
|
||||
item.useTurn = true;
|
||||
item.value = Item.sellPrice(gold: 5);
|
||||
item.rare = 10;
|
||||
item.Calamity().postMoonLordRarity = 13;
|
||||
item.Calamity().customRarity = CalamityRarity.PureGreen;
|
||||
item.useAnimation = 17;
|
||||
item.useTime = 17;
|
||||
item.useStyle = 2;
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace CalamityMod.Items.Fishing.FishingRods
|
||||
item.shoot = ModContent.ProjectileType<EarlyBloomBobber>();
|
||||
item.value = Item.buyPrice(1, 20, 0, 0);
|
||||
item.rare = 10;
|
||||
item.Calamity().postMoonLordRarity = 12;
|
||||
item.Calamity().customRarity = CalamityRarity.Turquoise;
|
||||
}
|
||||
|
||||
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace CalamityMod.Items.Fishing.FishingRods
|
||||
item.shoot = ModContent.ProjectileType<DevourerofCodsBobber>();
|
||||
item.value = Item.buyPrice(1, 80, 0, 0);
|
||||
item.rare = 10;
|
||||
item.Calamity().postMoonLordRarity = 14;
|
||||
item.Calamity().customRarity = CalamityRarity.DarkBlue;
|
||||
}
|
||||
|
||||
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace CalamityMod.Items.LoreItems
|
||||
item.height = 20;
|
||||
item.rare = 10;
|
||||
item.consumable = false;
|
||||
item.Calamity().postMoonLordRarity = 12;
|
||||
item.Calamity().customRarity = CalamityRarity.Turquoise;
|
||||
}
|
||||
|
||||
public override bool CanUseItem(Player player)
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace CalamityMod.Items.LoreItems
|
||||
item.height = 20;
|
||||
item.rare = 10;
|
||||
item.consumable = false;
|
||||
item.Calamity().postMoonLordRarity = 15;
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override bool CanUseItem(Player player)
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace CalamityMod.Items.LoreItems
|
||||
item.height = 20;
|
||||
item.rare = 10;
|
||||
item.consumable = false;
|
||||
item.Calamity().postMoonLordRarity = 13;
|
||||
item.Calamity().customRarity = CalamityRarity.PureGreen;
|
||||
}
|
||||
|
||||
public override bool CanUseItem(Player player)
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace CalamityMod.Items.LoreItems
|
||||
item.height = 20;
|
||||
item.rare = 10;
|
||||
item.consumable = false;
|
||||
item.Calamity().postMoonLordRarity = 13;
|
||||
item.Calamity().customRarity = CalamityRarity.PureGreen;
|
||||
}
|
||||
|
||||
public override bool CanUseItem(Player player)
|
||||
|
||||
Loaded 100 of 409 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user