1- Added custom portraits for most worm npcs
2- Rewrote Bohldohr entry 3- More offset fixes 4- Cuttlefish bestiary is now fully visible
No files matched your search
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 5.9 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 9.1 KiB |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 9.5 KiB |
|
After Width: | Height: | Size: 9.9 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 8.3 KiB |
|
After Width: | Height: | Size: 6.9 KiB |
|
After Width: | Height: | Size: 5.2 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 5.8 KiB |
|
After Width: | Height: | Size: 8.1 KiB |
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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<Texture2D>("CalamityMod/NPCs/Astral/MantisGlow", AssetRequestMode.ImmediateLoad).Value;
|
||||
}
|
||||
|
||||
@@ -44,6 +44,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
PortraitPositionXOverride = 10f,
|
||||
PortraitPositionYOverride = 8f
|
||||
};
|
||||
value.Position.X += 15;
|
||||
NPCID.Sets.NPCBestiaryDrawOffset[Type] = value;
|
||||
}
|
||||
|
||||
|
||||
@@ -28,6 +28,12 @@ namespace CalamityMod.NPCs.Astral
|
||||
|
||||
if (!Main.dedServ)
|
||||
glowmask = ModContent.Request<Texture2D>("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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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.")
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||