diff --git a/Items/Armor/Vanity/ApolloMask.cs b/Items/Armor/Vanity/ApolloMask.cs new file mode 100644 index 0000000000..ddc4cd6c96 --- /dev/null +++ b/Items/Armor/Vanity/ApolloMask.cs @@ -0,0 +1,24 @@ +using Terraria.ModLoader; +using Terraria.ID; + +namespace CalamityMod.Items.Armor.Vanity +{ + [AutoloadEquip(EquipType.Head)] + public class ApolloMask : ModItem + { + public override void SetStaticDefaults() + { + DisplayName.SetDefault("Apollo Mask"); + } + + public override void SetDefaults() + { + item.width = 28; + item.height = 20; + item.rare = ItemRarityID.Blue; + item.vanity = true; + } + + public override bool DrawHead() => false; + } +} diff --git a/Items/Armor/Vanity/ApolloMask.png b/Items/Armor/Vanity/ApolloMask.png new file mode 100644 index 0000000000..afe857f754 Binary files /dev/null and b/Items/Armor/Vanity/ApolloMask.png differ diff --git a/Items/Armor/Vanity/ApolloMask_Extra.png b/Items/Armor/Vanity/ApolloMask_Extra.png new file mode 100644 index 0000000000..b2ad1ea853 Binary files /dev/null and b/Items/Armor/Vanity/ApolloMask_Extra.png differ diff --git a/Items/Armor/Vanity/ApolloMask_Head.png b/Items/Armor/Vanity/ApolloMask_Head.png new file mode 100644 index 0000000000..1eb5862462 Binary files /dev/null and b/Items/Armor/Vanity/ApolloMask_Head.png differ diff --git a/Items/Armor/Vanity/AresMask.cs b/Items/Armor/Vanity/AresMask.cs new file mode 100644 index 0000000000..c840da136f --- /dev/null +++ b/Items/Armor/Vanity/AresMask.cs @@ -0,0 +1,24 @@ +using Terraria.ModLoader; +using Terraria.ID; + +namespace CalamityMod.Items.Armor.Vanity +{ + [AutoloadEquip(EquipType.Head)] + public class AresMask : ModItem + { + public override void SetStaticDefaults() + { + DisplayName.SetDefault("Ares Mask"); + } + + public override void SetDefaults() + { + item.width = 28; + item.height = 20; + item.rare = ItemRarityID.Blue; + item.vanity = true; + } + + public override bool DrawHead() => false; + } +} diff --git a/Items/Armor/Vanity/AresMask.png b/Items/Armor/Vanity/AresMask.png new file mode 100644 index 0000000000..25dcf27df4 Binary files /dev/null and b/Items/Armor/Vanity/AresMask.png differ diff --git a/Items/Armor/Vanity/AresMask_Head.png b/Items/Armor/Vanity/AresMask_Head.png new file mode 100644 index 0000000000..91263dfa83 Binary files /dev/null and b/Items/Armor/Vanity/AresMask_Head.png differ diff --git a/Items/Armor/Vanity/ArtemisMask.cs b/Items/Armor/Vanity/ArtemisMask.cs new file mode 100644 index 0000000000..20cea82b58 --- /dev/null +++ b/Items/Armor/Vanity/ArtemisMask.cs @@ -0,0 +1,24 @@ +using Terraria.ModLoader; +using Terraria.ID; + +namespace CalamityMod.Items.Armor.Vanity +{ + [AutoloadEquip(EquipType.Head)] + public class ArtemisMask : ModItem + { + public override void SetStaticDefaults() + { + DisplayName.SetDefault("Artemis Mask"); + } + + public override void SetDefaults() + { + item.width = 28; + item.height = 20; + item.rare = ItemRarityID.Blue; + item.vanity = true; + } + + public override bool DrawHead() => false; + } +} diff --git a/Items/Armor/Vanity/ArtemisMask.png b/Items/Armor/Vanity/ArtemisMask.png new file mode 100644 index 0000000000..bf293d34d7 Binary files /dev/null and b/Items/Armor/Vanity/ArtemisMask.png differ diff --git a/Items/Armor/Vanity/ArtemisMask_Extra.png b/Items/Armor/Vanity/ArtemisMask_Extra.png new file mode 100644 index 0000000000..48bf528c6f Binary files /dev/null and b/Items/Armor/Vanity/ArtemisMask_Extra.png differ diff --git a/Items/Armor/Vanity/ArtemisMask_Head.png b/Items/Armor/Vanity/ArtemisMask_Head.png new file mode 100644 index 0000000000..dca1bfec9e Binary files /dev/null and b/Items/Armor/Vanity/ArtemisMask_Head.png differ diff --git a/Items/Armor/Vanity/DraedonMask.cs b/Items/Armor/Vanity/DraedonMask.cs new file mode 100644 index 0000000000..f876103d53 --- /dev/null +++ b/Items/Armor/Vanity/DraedonMask.cs @@ -0,0 +1,24 @@ +using Terraria.ModLoader; +using Terraria.ID; + +namespace CalamityMod.Items.Armor.Vanity +{ + [AutoloadEquip(EquipType.Head)] + public class DraedonMask : ModItem + { + public override void SetStaticDefaults() + { + DisplayName.SetDefault("Draedon Mask"); + } + + public override void SetDefaults() + { + item.width = 28; + item.height = 20; + item.rare = ItemRarityID.Blue; + item.vanity = true; + } + + public override bool DrawHead() => false; + } +} diff --git a/Items/Armor/Vanity/DraedonMask.png b/Items/Armor/Vanity/DraedonMask.png new file mode 100644 index 0000000000..6b02f18c78 Binary files /dev/null and b/Items/Armor/Vanity/DraedonMask.png differ diff --git a/Items/Armor/Vanity/DraedonMask_Head.png b/Items/Armor/Vanity/DraedonMask_Head.png new file mode 100644 index 0000000000..82babf7e87 Binary files /dev/null and b/Items/Armor/Vanity/DraedonMask_Head.png differ diff --git a/Items/Armor/Vanity/ThanosMask.cs b/Items/Armor/Vanity/ThanosMask.cs new file mode 100644 index 0000000000..c6e116abf6 --- /dev/null +++ b/Items/Armor/Vanity/ThanosMask.cs @@ -0,0 +1,24 @@ +using Terraria.ModLoader; +using Terraria.ID; + +namespace CalamityMod.Items.Armor.Vanity +{ + [AutoloadEquip(EquipType.Head)] + public class ThanosMask : ModItem + { + public override void SetStaticDefaults() + { + DisplayName.SetDefault("Thanatos Mask"); + } + + public override void SetDefaults() + { + item.width = 28; + item.height = 20; + item.rare = ItemRarityID.Blue; + item.vanity = true; + } + + public override bool DrawHead() => false; + } +} diff --git a/Items/Armor/Vanity/ThanosMask.png b/Items/Armor/Vanity/ThanosMask.png new file mode 100644 index 0000000000..d47fac5a9c Binary files /dev/null and b/Items/Armor/Vanity/ThanosMask.png differ diff --git a/Items/Armor/Vanity/ThanosMask_Head.png b/Items/Armor/Vanity/ThanosMask_Head.png new file mode 100644 index 0000000000..05bb9ca597 Binary files /dev/null and b/Items/Armor/Vanity/ThanosMask_Head.png differ diff --git a/Items/TreasureBags/DraedonTreasureBag.cs b/Items/TreasureBags/DraedonTreasureBag.cs index 9943ed0321..6f7c2ae109 100644 --- a/Items/TreasureBags/DraedonTreasureBag.cs +++ b/Items/TreasureBags/DraedonTreasureBag.cs @@ -63,10 +63,11 @@ namespace CalamityMod.Items.TreasureBags DropHelper.DropItem(player, ModContent.ItemType()); // Vanity - // DropHelper.DropItemChance(player, ModContent.ItemType(), 7); - // DropHelper.DropItemChance(player, ModContent.ItemType(), 7); - // DropHelper.DropItemChance(player, ModContent.ItemType(), 7); - // DropHelper.DropItemChance(player, ModContent.ItemType(), 7); - } + DropHelper.DropItemChance(player, ModContent.ItemType(), 7); + DropHelper.DropItemChance(player, ModContent.ItemType(), 7); + DropHelper.DropItemChance(player, ModContent.ItemType(), 7); + DropHelper.DropItemChance(player, ModContent.ItemType(), 7); + DropHelper.DropItemChance(player, ModContent.ItemType(), 7); + } } } diff --git a/ModSupport/WeakReferenceSupport.cs b/ModSupport/WeakReferenceSupport.cs index 4cd37a1939..262b88c47b 100644 --- a/ModSupport/WeakReferenceSupport.cs +++ b/ModSupport/WeakReferenceSupport.cs @@ -585,11 +585,11 @@ namespace CalamityMod BossDifficulty.TryGetValue("ExoMechs", out float order); List bosses = new List() { NPCType(), NPCType(), NPCType(), NPCType() }; List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; - //List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; + List collection = new List() { /*ItemType(), ItemType(), ItemType(), ItemType(),*/ ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = "By using a high-tech computer"; string despawn = CalamityUtils.ColorMessage("An imperfection after all...what a shame.", new Color(0x7F, 0xFF, 0xD4)); string bossLogTex = "CalamityMod/NPCs/ExoMechs/ExoMechs_BossChecklist"; - //AddBoss(bossChecklist, calamity, "ExoMechs", order, bosses, DownedExoMechs, null, loot, collection, instructions, despawn, bossLogTex); + AddBoss(bossChecklist, calamity, "Exo Mechs", order, bosses, DownedExoMechs, null, loot, collection, instructions, despawn, bossLogTex); } // Supreme Calamitas diff --git a/NPCs/ExoMechs/Ares/AresBody.cs b/NPCs/ExoMechs/Ares/AresBody.cs index 5647536c71..7f595e161e 100644 --- a/NPCs/ExoMechs/Ares/AresBody.cs +++ b/NPCs/ExoMechs/Ares/AresBody.cs @@ -1,4 +1,5 @@ using CalamityMod.Events; +using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.LoreItems; using CalamityMod.Items.Materials; using CalamityMod.Items.Potions; @@ -751,10 +752,11 @@ namespace CalamityMod.NPCs.ExoMechs.Ares ); // Vanity - // DropHelper.DropItemChance(npc, ModContent.ItemType(), 7); - // DropHelper.DropItemChance(npc, ModContent.ItemType(), 7); - // DropHelper.DropItemChance(npc, ModContent.ItemType(), 7); - // DropHelper.DropItemChance(npc, ModContent.ItemType(), 7); + DropHelper.DropItemChance(npc, ModContent.ItemType(), 7); + DropHelper.DropItemChance(npc, ModContent.ItemType(), 7); + DropHelper.DropItemChance(npc, ModContent.ItemType(), 7); + DropHelper.DropItemChance(npc, ModContent.ItemType(), 7); + DropHelper.DropItemChance(npc, ModContent.ItemType(), 7); } CalamityWorld.downedExoMechs = true;