diff --git a/ExtraTextures/Bestiary/AdultEidolonWyrm_Bestiary.png b/ExtraTextures/Bestiary/AdultEidolonWyrm_Bestiary.png new file mode 100644 index 0000000000..4adc7140e5 Binary files /dev/null and b/ExtraTextures/Bestiary/AdultEidolonWyrm_Bestiary.png differ diff --git a/ExtraTextures/Bestiary/AquaticScourge_Bestiary.png b/ExtraTextures/Bestiary/AquaticScourge_Bestiary.png new file mode 100644 index 0000000000..aae7fca94e Binary files /dev/null and b/ExtraTextures/Bestiary/AquaticScourge_Bestiary.png differ diff --git a/ExtraTextures/Bestiary/ArmoredDigger_Bestiary.png b/ExtraTextures/Bestiary/ArmoredDigger_Bestiary.png new file mode 100644 index 0000000000..e0fb638d67 Binary files /dev/null and b/ExtraTextures/Bestiary/ArmoredDigger_Bestiary.png differ diff --git a/ExtraTextures/Bestiary/AstrumDeus_Bestiary.png b/ExtraTextures/Bestiary/AstrumDeus_Bestiary.png new file mode 100644 index 0000000000..58dd541f69 Binary files /dev/null and b/ExtraTextures/Bestiary/AstrumDeus_Bestiary.png differ diff --git a/ExtraTextures/Bestiary/CosmicGuardian_Bestiary.png b/ExtraTextures/Bestiary/CosmicGuardian_Bestiary.png new file mode 100644 index 0000000000..9f46bc2836 Binary files /dev/null and b/ExtraTextures/Bestiary/CosmicGuardian_Bestiary.png differ diff --git a/ExtraTextures/Bestiary/DesertNuisance_Bestiary.png b/ExtraTextures/Bestiary/DesertNuisance_Bestiary.png new file mode 100644 index 0000000000..d4a35a1775 Binary files /dev/null and b/ExtraTextures/Bestiary/DesertNuisance_Bestiary.png differ diff --git a/ExtraTextures/Bestiary/DesertScourge_Bestiary.png b/ExtraTextures/Bestiary/DesertScourge_Bestiary.png new file mode 100644 index 0000000000..911ec44270 Binary files /dev/null and b/ExtraTextures/Bestiary/DesertScourge_Bestiary.png differ diff --git a/ExtraTextures/Bestiary/DevourerofGods_Bestiary.png b/ExtraTextures/Bestiary/DevourerofGods_Bestiary.png new file mode 100644 index 0000000000..abe0519bc4 Binary files /dev/null and b/ExtraTextures/Bestiary/DevourerofGods_Bestiary.png differ diff --git a/ExtraTextures/Bestiary/EidolonWyrm_Bestiary.png b/ExtraTextures/Bestiary/EidolonWyrm_Bestiary.png new file mode 100644 index 0000000000..fa399c67e7 Binary files /dev/null and b/ExtraTextures/Bestiary/EidolonWyrm_Bestiary.png differ diff --git a/ExtraTextures/Bestiary/GulperEel_Bestiary.png b/ExtraTextures/Bestiary/GulperEel_Bestiary.png new file mode 100644 index 0000000000..ee6323a03e Binary files /dev/null and b/ExtraTextures/Bestiary/GulperEel_Bestiary.png differ diff --git a/ExtraTextures/Bestiary/Oarfish_Bestiary.png b/ExtraTextures/Bestiary/Oarfish_Bestiary.png new file mode 100644 index 0000000000..acc08a6575 Binary files /dev/null and b/ExtraTextures/Bestiary/Oarfish_Bestiary.png differ diff --git a/ExtraTextures/Bestiary/PerforatorLarge_Bestiary.png b/ExtraTextures/Bestiary/PerforatorLarge_Bestiary.png new file mode 100644 index 0000000000..58875863e6 Binary files /dev/null and b/ExtraTextures/Bestiary/PerforatorLarge_Bestiary.png differ diff --git a/ExtraTextures/Bestiary/PerforatorMedium_Bestiary.png b/ExtraTextures/Bestiary/PerforatorMedium_Bestiary.png new file mode 100644 index 0000000000..4598f54e7a Binary files /dev/null and b/ExtraTextures/Bestiary/PerforatorMedium_Bestiary.png differ diff --git a/ExtraTextures/Bestiary/PerforatorSmall_Bestiary.png b/ExtraTextures/Bestiary/PerforatorSmall_Bestiary.png new file mode 100644 index 0000000000..afbd009ae8 Binary files /dev/null and b/ExtraTextures/Bestiary/PerforatorSmall_Bestiary.png differ diff --git a/ExtraTextures/Bestiary/SeaSerpent_Bestiary.png b/ExtraTextures/Bestiary/SeaSerpent_Bestiary.png new file mode 100644 index 0000000000..55dd91d297 Binary files /dev/null and b/ExtraTextures/Bestiary/SeaSerpent_Bestiary.png differ diff --git a/ExtraTextures/Bestiary/StormWeaver_Bestiary.png b/ExtraTextures/Bestiary/StormWeaver_Bestiary.png new file mode 100644 index 0000000000..05e198b74b Binary files /dev/null and b/ExtraTextures/Bestiary/StormWeaver_Bestiary.png differ diff --git a/ExtraTextures/Bestiary/Thanatos_Bestiary.png b/ExtraTextures/Bestiary/Thanatos_Bestiary.png new file mode 100644 index 0000000000..63f8dc97a9 Binary files /dev/null and b/ExtraTextures/Bestiary/Thanatos_Bestiary.png differ diff --git a/NPCs/Abyss/Cuttlefish.cs b/NPCs/Abyss/Cuttlefish.cs index b220bb4d0f..b44e383a6a 100644 --- a/NPCs/Abyss/Cuttlefish.cs +++ b/NPCs/Abyss/Cuttlefish.cs @@ -344,6 +344,10 @@ namespace CalamityMod.NPCs.Abyss public override void PostDraw(SpriteBatch spriteBatch, Vector2 screenPos, Color drawColor) { + if (NPC.IsABestiaryIconDummy) + { + NPC.alpha = 0; + } SpriteEffects spriteEffects = SpriteEffects.None; if (NPC.spriteDirection == 1) { diff --git a/NPCs/Abyss/EidolonWyrmHead.cs b/NPCs/Abyss/EidolonWyrmHead.cs index f5aa090091..a90852c262 100644 --- a/NPCs/Abyss/EidolonWyrmHead.cs +++ b/NPCs/Abyss/EidolonWyrmHead.cs @@ -35,6 +35,13 @@ namespace CalamityMod.NPCs.Abyss public override void SetStaticDefaults() { DisplayName.SetDefault("Eidolon Wyrm"); + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) + { + CustomTexturePath = "CalamityMod/ExtraTextures/Bestiary/EidolonWyrm_Bestiary", + PortraitPositionXOverride = 40 + }; + value.Position.X += 40; + NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } public override void SetDefaults() diff --git a/NPCs/Abyss/GulperEelHead.cs b/NPCs/Abyss/GulperEelHead.cs index 22e28f6a3f..2d06a3c83d 100644 --- a/NPCs/Abyss/GulperEelHead.cs +++ b/NPCs/Abyss/GulperEelHead.cs @@ -28,6 +28,14 @@ namespace CalamityMod.NPCs.Abyss public override void SetStaticDefaults() { DisplayName.SetDefault("Gulper Eel"); + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) + { + Scale = 0.75f, + CustomTexturePath = "CalamityMod/ExtraTextures/Bestiary/GulperEel_Bestiary", + PortraitPositionXOverride = 40 + }; + value.Position.X += 20; + NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } public override void SetDefaults() diff --git a/NPCs/Abyss/OarfishHead.cs b/NPCs/Abyss/OarfishHead.cs index 7f367886e2..f1d098851d 100644 --- a/NPCs/Abyss/OarfishHead.cs +++ b/NPCs/Abyss/OarfishHead.cs @@ -26,6 +26,14 @@ namespace CalamityMod.NPCs.Abyss public override void SetStaticDefaults() { DisplayName.SetDefault("Oarfish"); + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) + { + CustomTexturePath = "CalamityMod/ExtraTextures/Bestiary/Oarfish_Bestiary", + PortraitPositionYOverride = 20 + }; + value.Position.X += 20; + value.Position.Y += 20; + NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } public override void SetDefaults() diff --git a/NPCs/Abyss/Viperfish.cs b/NPCs/Abyss/Viperfish.cs index ad73758b5e..6b9617e5e2 100644 --- a/NPCs/Abyss/Viperfish.cs +++ b/NPCs/Abyss/Viperfish.cs @@ -20,6 +20,12 @@ namespace CalamityMod.NPCs.Abyss { DisplayName.SetDefault("Viperfish"); Main.npcFrameCount[NPC.type] = 4; + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) + { + PortraitPositionXOverride = 0 + }; + value.Position.X += 15; + NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } public override void SetDefaults() diff --git a/NPCs/AcidRain/AcidEel.cs b/NPCs/AcidRain/AcidEel.cs index 448ef18d4b..79cff8592f 100644 --- a/NPCs/AcidRain/AcidEel.cs +++ b/NPCs/AcidRain/AcidEel.cs @@ -24,6 +24,12 @@ namespace CalamityMod.NPCs.AcidRain Main.npcFrameCount[NPC.type] = 6; NPCID.Sets.TrailingMode[NPC.type] = 1; NPCID.Sets.TrailCacheLength[NPC.type] = 7; + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) + { + PortraitPositionXOverride = 0 + }; + value.Position.X += 15; + NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } public override void SetDefaults() diff --git a/NPCs/AdultEidolonWyrm/AdultEidolonWyrmHead.cs b/NPCs/AdultEidolonWyrm/AdultEidolonWyrmHead.cs index 8271e8bc27..86f477ec12 100644 --- a/NPCs/AdultEidolonWyrm/AdultEidolonWyrmHead.cs +++ b/NPCs/AdultEidolonWyrm/AdultEidolonWyrmHead.cs @@ -87,12 +87,13 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm NPCID.Sets.BossBestiaryPriority.Add(Type); NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) { - Scale = 0.5f, - PortraitScale = 0.8f, - PortraitPositionXOverride = 2f, - PortraitPositionYOverride = 2f + Scale = 0.50f, + PortraitScale = 0.6f, + PortraitPositionXOverride = 40, + CustomTexturePath = "CalamityMod/ExtraTextures/Bestiary/AdultEidolonWyrm_Bestiary" }; - value.Position.Y -= 32f; + value.Position.X += 55; + value.Position.Y += 5; NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } diff --git a/NPCs/AquaticScourge/AquaticScourgeHead.cs b/NPCs/AquaticScourge/AquaticScourgeHead.cs index 70f38c134c..a902cd0c67 100644 --- a/NPCs/AquaticScourge/AquaticScourgeHead.cs +++ b/NPCs/AquaticScourge/AquaticScourgeHead.cs @@ -35,6 +35,15 @@ namespace CalamityMod.NPCs.AquaticScourge { DisplayName.SetDefault("Aquatic Scourge"); NPCID.Sets.BossBestiaryPriority.Add(Type); + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) + { + Scale = 0.6f, + PortraitScale = 0.6f, + CustomTexturePath = "CalamityMod/ExtraTextures/Bestiary/AquaticScourge_Bestiary" + }; + value.Position.X += 40f; + value.Position.Y += 20f; + NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } public override void SetDefaults() diff --git a/NPCs/Astral/BigSightseer.cs b/NPCs/Astral/BigSightseer.cs index b38b39caa5..ce2496787a 100644 --- a/NPCs/Astral/BigSightseer.cs +++ b/NPCs/Astral/BigSightseer.cs @@ -30,8 +30,11 @@ namespace CalamityMod.NPCs.Astral NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) { Scale = 0.7f, - Velocity = 2f + Velocity = 2f, + PortraitPositionYOverride = 0 }; + value.Position.X += 15; + value.Position.Y -= 10; NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } diff --git a/NPCs/Astral/Mantis.cs b/NPCs/Astral/Mantis.cs index 35818dc46c..febba3d296 100644 --- a/NPCs/Astral/Mantis.cs +++ b/NPCs/Astral/Mantis.cs @@ -27,6 +27,12 @@ namespace CalamityMod.NPCs.Astral { DisplayName.SetDefault("Mantis"); Main.npcFrameCount[NPC.type] = 14; + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) + { + PortraitPositionYOverride = 0 + }; + value.Position.Y += 15; + NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; if (!Main.dedServ) glowmask = ModContent.Request("CalamityMod/NPCs/Astral/MantisGlow", AssetRequestMode.ImmediateLoad).Value; } diff --git a/NPCs/Astral/Nova.cs b/NPCs/Astral/Nova.cs index 4dcf2d7d45..0c56fdc14f 100644 --- a/NPCs/Astral/Nova.cs +++ b/NPCs/Astral/Nova.cs @@ -44,6 +44,7 @@ namespace CalamityMod.NPCs.Astral PortraitPositionXOverride = 10f, PortraitPositionYOverride = 8f }; + value.Position.X += 15; NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } diff --git a/NPCs/Astral/SmallSightseer.cs b/NPCs/Astral/SmallSightseer.cs index 2d03691846..b74e39241d 100644 --- a/NPCs/Astral/SmallSightseer.cs +++ b/NPCs/Astral/SmallSightseer.cs @@ -28,6 +28,12 @@ namespace CalamityMod.NPCs.Astral if (!Main.dedServ) glowmask = ModContent.Request("CalamityMod/NPCs/Astral/SmallSightseerGlow", AssetRequestMode.ImmediateLoad).Value; + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) + { + PortraitPositionXOverride = 0 + }; + value.Position.X += 15; + NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } public override void SetDefaults() diff --git a/NPCs/AstrumDeus/AstrumDeusHead.cs b/NPCs/AstrumDeus/AstrumDeusHead.cs index 03022240ec..fa31d11868 100644 --- a/NPCs/AstrumDeus/AstrumDeusHead.cs +++ b/NPCs/AstrumDeus/AstrumDeusHead.cs @@ -40,6 +40,15 @@ namespace CalamityMod.NPCs.AstrumDeus DisplayName.SetDefault("Astrum Deus"); NPCID.Sets.TrailingMode[NPC.type] = 1; NPCID.Sets.BossBestiaryPriority.Add(Type); + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) + { + Scale = 0.70f, + PortraitScale = 0.75f, + CustomTexturePath = "CalamityMod/ExtraTextures/Bestiary/AstrumDeus_Bestiary" + }; + value.Position.X += 55f; + value.Position.Y += 23f; + NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } public override void SetDefaults() diff --git a/NPCs/Calamitas/Cataclysm.cs b/NPCs/Calamitas/Cataclysm.cs index 3344608eca..87dc1140b5 100644 --- a/NPCs/Calamitas/Cataclysm.cs +++ b/NPCs/Calamitas/Cataclysm.cs @@ -24,6 +24,13 @@ namespace CalamityMod.NPCs.Calamitas Main.npcFrameCount[NPC.type] = 6; NPCID.Sets.TrailingMode[NPC.type] = 1; NPCID.Sets.BossBestiaryPriority.Add(Type); + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) + { + PortraitScale = 0.8f, + Scale = 0.5f, + PortraitPositionYOverride = 0 + }; + NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } public override void SetDefaults() diff --git a/NPCs/Calamitas/Catastrophe.cs b/NPCs/Calamitas/Catastrophe.cs index 647cc4f5f9..d26a0ed3fd 100644 --- a/NPCs/Calamitas/Catastrophe.cs +++ b/NPCs/Calamitas/Catastrophe.cs @@ -24,6 +24,13 @@ namespace CalamityMod.NPCs.Calamitas Main.npcFrameCount[NPC.type] = 6; NPCID.Sets.TrailingMode[NPC.type] = 1; NPCID.Sets.BossBestiaryPriority.Add(Type); + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) + { + PortraitScale = 0.8f, + Scale = 0.5f + }; + value.Position.Y -= 10; + NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } public override void SetDefaults() diff --git a/NPCs/DesertScourge/DesertNuisanceHead.cs b/NPCs/DesertScourge/DesertNuisanceHead.cs index 2211fb3cf7..37cff76f5c 100644 --- a/NPCs/DesertScourge/DesertNuisanceHead.cs +++ b/NPCs/DesertScourge/DesertNuisanceHead.cs @@ -21,6 +21,17 @@ namespace CalamityMod.NPCs.DesertScourge { DisplayName.SetDefault("A Desert Nuisance"); NPCID.Sets.BossBestiaryPriority.Add(Type); + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) + { + Scale = 0.8f, + PortraitScale = 0.8f, + CustomTexturePath = "CalamityMod/ExtraTextures/Bestiary/DesertNuisance_Bestiary", + PortraitPositionXOverride = 40, + PortraitPositionYOverride = 40 + }; + value.Position.X += 50; + value.Position.Y += 35; + NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } public override void SetDefaults() diff --git a/NPCs/DesertScourge/DesertScourgeHead.cs b/NPCs/DesertScourge/DesertScourgeHead.cs index 95039c4a61..54ebec21ad 100644 --- a/NPCs/DesertScourge/DesertScourgeHead.cs +++ b/NPCs/DesertScourge/DesertScourgeHead.cs @@ -38,6 +38,17 @@ namespace CalamityMod.NPCs.DesertScourge { DisplayName.SetDefault("Desert Scourge"); NPCID.Sets.BossBestiaryPriority.Add(Type); + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) + { + Scale = 0.75f, + PortraitScale = 0.6f, + CustomTexturePath = "CalamityMod/ExtraTextures/Bestiary/DesertScourge_Bestiary", + PortraitPositionXOverride = 40, + PortraitPositionYOverride = 40 + }; + value.Position.X += 95; + value.Position.Y += 45; + NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } public override void SetDefaults() diff --git a/NPCs/DevourerofGods/CosmicGuardianHead.cs b/NPCs/DevourerofGods/CosmicGuardianHead.cs index ecbec22faf..1755c23936 100644 --- a/NPCs/DevourerofGods/CosmicGuardianHead.cs +++ b/NPCs/DevourerofGods/CosmicGuardianHead.cs @@ -24,6 +24,17 @@ namespace CalamityMod.NPCs.DevourerofGods { DisplayName.SetDefault("Cosmic Guardian"); NPCID.Sets.BossBestiaryPriority.Add(Type); + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) + { + Scale = 0.75f, + PortraitScale = 0.75f, + CustomTexturePath = "CalamityMod/ExtraTextures/Bestiary/CosmicGuardian_Bestiary", + PortraitPositionXOverride = 40, + PortraitPositionYOverride = 40 + }; + value.Position.X += 62f; + value.Position.Y += 35f; + NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } public override void SetDefaults() diff --git a/NPCs/DevourerofGods/DevourerofGodsHead.cs b/NPCs/DevourerofGods/DevourerofGodsHead.cs index a7467242b1..2bea91cc9f 100644 --- a/NPCs/DevourerofGods/DevourerofGodsHead.cs +++ b/NPCs/DevourerofGods/DevourerofGodsHead.cs @@ -148,6 +148,17 @@ namespace CalamityMod.NPCs.DevourerofGods { DisplayName.SetDefault("The Devourer of Gods"); NPCID.Sets.BossBestiaryPriority.Add(Type); + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) + { + Scale = 0.6f, + PortraitScale = 0.6f, + CustomTexturePath = "CalamityMod/ExtraTextures/Bestiary/DevourerofGods_Bestiary", + PortraitPositionXOverride = 60, + PortraitPositionYOverride = 40 + }; + value.Position.X += 82f; + value.Position.Y += 38f; + NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/ExoMechs/Thanatos/ThanatosHead.cs b/NPCs/ExoMechs/Thanatos/ThanatosHead.cs index b6b5dc0339..7cba5b4de4 100644 --- a/NPCs/ExoMechs/Thanatos/ThanatosHead.cs +++ b/NPCs/ExoMechs/Thanatos/ThanatosHead.cs @@ -123,6 +123,16 @@ namespace CalamityMod.NPCs.ExoMechs.Thanatos // Ensure that the reticle is not culled due to the player being very far from Thanatos. NPCID.Sets.MustAlwaysDraw[NPC.type] = true; NPCID.Sets.BossBestiaryPriority.Add(Type); + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) + { + Scale = 0.65f, + PortraitScale = 0.6f, + CustomTexturePath = "CalamityMod/ExtraTextures/Bestiary/Thanatos_Bestiary", + PortraitPositionXOverride = 40 + }; + value.Position.X += 52f; + value.Position.Y += 16f; + NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } public override void SetDefaults() diff --git a/NPCs/Leviathan/AquaticAberration.cs b/NPCs/Leviathan/AquaticAberration.cs index ef39259474..c476446356 100644 --- a/NPCs/Leviathan/AquaticAberration.cs +++ b/NPCs/Leviathan/AquaticAberration.cs @@ -18,6 +18,9 @@ namespace CalamityMod.NPCs.Leviathan DisplayName.SetDefault("Aquatic Aberration"); Main.npcFrameCount[NPC.type] = 7; NPCID.Sets.BossBestiaryPriority.Add(Type); + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0); + value.Position.X += 25; + NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } public override void SetDefaults() diff --git a/NPCs/NormalNPCs/ArmoredDiggerHead.cs b/NPCs/NormalNPCs/ArmoredDiggerHead.cs index 0622501888..35b0ee17f4 100644 --- a/NPCs/NormalNPCs/ArmoredDiggerHead.cs +++ b/NPCs/NormalNPCs/ArmoredDiggerHead.cs @@ -18,6 +18,15 @@ namespace CalamityMod.NPCs.NormalNPCs public override void SetStaticDefaults() { DisplayName.SetDefault("Armored Digger"); + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) + { + CustomTexturePath = "CalamityMod/ExtraTextures/Bestiary/ArmoredDigger_Bestiary", + PortraitPositionXOverride = 40, + PortraitPositionYOverride = 40 + }; + value.Position.Y += 40; + value.Position.X += 48; + NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } public override void SetDefaults() diff --git a/NPCs/NormalNPCs/Bohldohr.cs b/NPCs/NormalNPCs/Bohldohr.cs index 3b988bfd45..bc16d7c0ef 100644 --- a/NPCs/NormalNPCs/Bohldohr.cs +++ b/NPCs/NormalNPCs/Bohldohr.cs @@ -41,7 +41,7 @@ namespace CalamityMod.NPCs.NormalNPCs BestiaryDatabaseNPCsPopulator.CommonTags.SpawnConditions.Biomes.TheTemple, // Will move to localization whenever that is cleaned up. - new FlavorTextBestiaryInfoElement("A cluster of Lihzard stone that bounces around. It is unknown what resides within this protective shell, but it is possible it has to do with the Lihzard’s rearing of their young.") + new FlavorTextBestiaryInfoElement("A distant relative to the gem-covered lizards found within the caverns. This species instead covers itself with the smooth bricks of the Temple and curls into a ball for locomotion.") }); } diff --git a/NPCs/Perforator/PerforatorHeadLarge.cs b/NPCs/Perforator/PerforatorHeadLarge.cs index cb956bac37..3c4035d30a 100644 --- a/NPCs/Perforator/PerforatorHeadLarge.cs +++ b/NPCs/Perforator/PerforatorHeadLarge.cs @@ -24,8 +24,16 @@ namespace CalamityMod.NPCs.Perforator { DisplayName.SetDefault("The Perforator"); NPCID.Sets.BossBestiaryPriority.Add(Type); - NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0); - value.Position.X += 1f; + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) + { + Scale = 0.75f, + PortraitScale = 0.75f, + CustomTexturePath = "CalamityMod/ExtraTextures/Bestiary/PerforatorLarge_Bestiary", + PortraitPositionXOverride = 40, + PortraitPositionYOverride = 40 + }; + value.Position.X += 70; + value.Position.Y += 40; NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } diff --git a/NPCs/Perforator/PerforatorHeadMedium.cs b/NPCs/Perforator/PerforatorHeadMedium.cs index 5b692e7508..83bd556cbe 100644 --- a/NPCs/Perforator/PerforatorHeadMedium.cs +++ b/NPCs/Perforator/PerforatorHeadMedium.cs @@ -20,8 +20,16 @@ namespace CalamityMod.NPCs.Perforator { DisplayName.SetDefault("The Perforator"); NPCID.Sets.BossBestiaryPriority.Add(Type); - NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0); - value.Position.X += 1f; + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) + { + Scale = 0.7f, + PortraitScale = 0.7f, + CustomTexturePath = "CalamityMod/ExtraTextures/Bestiary/PerforatorMedium_Bestiary", + PortraitPositionXOverride = 40, + PortraitPositionYOverride = 40 + }; + value.Position.X += 60; + value.Position.Y += 40; NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } diff --git a/NPCs/Perforator/PerforatorHeadSmall.cs b/NPCs/Perforator/PerforatorHeadSmall.cs index b0fa69b7e5..bd52a7804c 100644 --- a/NPCs/Perforator/PerforatorHeadSmall.cs +++ b/NPCs/Perforator/PerforatorHeadSmall.cs @@ -25,8 +25,16 @@ namespace CalamityMod.NPCs.Perforator { DisplayName.SetDefault("The Perforator"); NPCID.Sets.BossBestiaryPriority.Add(Type); - NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0); - value.Position.X += 1f; + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) + { + Scale = 0.8f, + PortraitScale = 0.8f, + CustomTexturePath = "CalamityMod/ExtraTextures/Bestiary/PerforatorSmall_Bestiary", + PortraitPositionXOverride = 40, + PortraitPositionYOverride = 60 + }; + value.Position.X += 60; + value.Position.Y += 50; NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } diff --git a/NPCs/ProfanedGuardians/ProfanedGuardianCommander.cs b/NPCs/ProfanedGuardians/ProfanedGuardianCommander.cs index 307ad83655..b5e2f05fa0 100644 --- a/NPCs/ProfanedGuardians/ProfanedGuardianCommander.cs +++ b/NPCs/ProfanedGuardians/ProfanedGuardianCommander.cs @@ -35,6 +35,15 @@ namespace CalamityMod.NPCs.ProfanedGuardians Main.npcFrameCount[NPC.type] = 6; NPCID.Sets.TrailingMode[NPC.type] = 1; NPCID.Sets.BossBestiaryPriority.Add(Type); + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) + { + PortraitPositionXOverride = 0, + PortraitScale = 0.75f, + Scale = 0.75f + }; + value.Position.X += 25; + value.Position.Y += 15; + NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } public override void SetDefaults() diff --git a/NPCs/ProfanedGuardians/ProfanedGuardianDefender.cs b/NPCs/ProfanedGuardians/ProfanedGuardianDefender.cs index f5f8ed406f..79f61d280a 100644 --- a/NPCs/ProfanedGuardians/ProfanedGuardianDefender.cs +++ b/NPCs/ProfanedGuardians/ProfanedGuardianDefender.cs @@ -29,6 +29,15 @@ namespace CalamityMod.NPCs.ProfanedGuardians Main.npcFrameCount[NPC.type] = 6; NPCID.Sets.TrailingMode[NPC.type] = 1; NPCID.Sets.BossBestiaryPriority.Add(Type); + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) + { + PortraitPositionXOverride = 0, + PortraitScale = 0.75f, + Scale = 0.75f + }; + value.Position.X += 25; + value.Position.Y += 15; + NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } public override void SetDefaults() diff --git a/NPCs/ProfanedGuardians/ProfanedGuardianHealer.cs b/NPCs/ProfanedGuardians/ProfanedGuardianHealer.cs index 68757b3444..bee83d18da 100644 --- a/NPCs/ProfanedGuardians/ProfanedGuardianHealer.cs +++ b/NPCs/ProfanedGuardians/ProfanedGuardianHealer.cs @@ -25,6 +25,15 @@ namespace CalamityMod.NPCs.ProfanedGuardians Main.npcFrameCount[NPC.type] = 6; NPCID.Sets.TrailingMode[NPC.type] = 1; NPCID.Sets.BossBestiaryPriority.Add(Type); + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) + { + PortraitPositionXOverride = 0, + PortraitScale = 0.75f, + Scale = 0.75f + }; + value.Position.X += 25; + value.Position.Y += 15; + NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } public override void SetDefaults() diff --git a/NPCs/SlimeGod/SplitCrimulanSlimeGod.cs b/NPCs/SlimeGod/SplitCrimulanSlimeGod.cs index 6ff7a91422..1df1ce4a59 100644 --- a/NPCs/SlimeGod/SplitCrimulanSlimeGod.cs +++ b/NPCs/SlimeGod/SplitCrimulanSlimeGod.cs @@ -23,6 +23,14 @@ namespace CalamityMod.NPCs.SlimeGod DisplayName.SetDefault("Crimulan Slime God"); Main.npcFrameCount[NPC.type] = 6; NPCID.Sets.BossBestiaryPriority.Add(Type); + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) + { + Scale = 0.6f, + PortraitScale = 1f, + PortraitPositionYOverride = 0 + }; + value.Position.Y += 10; + NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } public override void SetDefaults() diff --git a/NPCs/SlimeGod/SplitEbonianSlimeGod.cs b/NPCs/SlimeGod/SplitEbonianSlimeGod.cs index 0983461777..d9c023fac1 100644 --- a/NPCs/SlimeGod/SplitEbonianSlimeGod.cs +++ b/NPCs/SlimeGod/SplitEbonianSlimeGod.cs @@ -23,6 +23,14 @@ namespace CalamityMod.NPCs.SlimeGod DisplayName.SetDefault("Ebonian Slime God"); Main.npcFrameCount[NPC.type] = 6; NPCID.Sets.BossBestiaryPriority.Add(Type); + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) + { + Scale = 0.6f, + PortraitScale = 1f, + PortraitPositionYOverride = 0 + }; + value.Position.Y += 10; + NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } public override void SetDefaults() diff --git a/NPCs/StormWeaver/StormWeaverHead.cs b/NPCs/StormWeaver/StormWeaverHead.cs index 590f7e109f..4c880d6fc7 100644 --- a/NPCs/StormWeaver/StormWeaverHead.cs +++ b/NPCs/StormWeaver/StormWeaverHead.cs @@ -57,6 +57,17 @@ namespace CalamityMod.NPCs.StormWeaver DisplayName.SetDefault("Storm Weaver"); NPCID.Sets.TrailingMode[NPC.type] = 1; NPCID.Sets.BossBestiaryPriority.Add(Type); + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) + { + Scale = 0.85f, + PortraitScale = 0.75f, + CustomTexturePath = "CalamityMod/ExtraTextures/Bestiary/StormWeaver_Bestiary", + PortraitPositionXOverride = 40, + PortraitPositionYOverride = 40 + }; + value.Position.X += 70; + value.Position.Y += 55; + NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } public override void SetDefaults() diff --git a/NPCs/SunkenSea/PrismBack.cs b/NPCs/SunkenSea/PrismBack.cs index 980b1abb1e..61fd340c05 100644 --- a/NPCs/SunkenSea/PrismBack.cs +++ b/NPCs/SunkenSea/PrismBack.cs @@ -19,6 +19,12 @@ namespace CalamityMod.NPCs.SunkenSea { DisplayName.SetDefault("Prism-Back"); Main.npcFrameCount[NPC.type] = 5; + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) + { + PortraitPositionXOverride = 0 + }; + value.Position.X += 15; + NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } public override void SetDefaults() diff --git a/NPCs/SunkenSea/SeaSerpent1.cs b/NPCs/SunkenSea/SeaSerpent1.cs index 2dd27af78c..19163a09d5 100644 --- a/NPCs/SunkenSea/SeaSerpent1.cs +++ b/NPCs/SunkenSea/SeaSerpent1.cs @@ -20,6 +20,15 @@ namespace CalamityMod.NPCs.SunkenSea public override void SetStaticDefaults() { DisplayName.SetDefault("Sea Serpent"); + NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) + { + CustomTexturePath = "CalamityMod/ExtraTextures/Bestiary/SeaSerpent_Bestiary", + PortraitPositionXOverride = 40, + PortraitPositionYOverride = 20 + }; + value.Position.Y += 20; + value.Position.X += 40; + NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; } public override void SetDefaults()