crunch the obsolete bestiary constructor warns
This commit is contained in:
1 parent
bb1d893df4
commit
abd7b89945
137 files changed
+138
-138
No files matched your search
@@ -18,7 +18,7 @@ namespace CalamityMod.NPCs.Abyss
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 4;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
//Preferably would have its head animated, but this will do for now
|
||||
CustomTexturePath = "CalamityMod/ExtraTextures/Bestiary/BobbitWorm_Bestiary"
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace CalamityMod.NPCs.Abyss
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 4;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers();
|
||||
value.Position.Y += 10;
|
||||
NPCID.Sets.NPCBestiaryDrawOffset[Type] = value;
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace CalamityMod.NPCs.Abyss
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 16;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
PortraitPositionXOverride = 5f
|
||||
};
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace CalamityMod.NPCs.Abyss
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 16;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
PortraitPositionXOverride = 5f
|
||||
};
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace CalamityMod.NPCs.Abyss
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
CustomTexturePath = "CalamityMod/ExtraTextures/Bestiary/EidolonWyrm_Bestiary",
|
||||
PortraitPositionXOverride = 40
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.NPCs.Abyss
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.75f,
|
||||
CustomTexturePath = "CalamityMod/ExtraTextures/Bestiary/GulperEel_Bestiary",
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace CalamityMod.NPCs.Abyss
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 7;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
PortraitPositionYOverride = 20
|
||||
};
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace CalamityMod.NPCs.Abyss
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 6;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.75f,
|
||||
PortraitPositionXOverride = 0f,
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace CalamityMod.NPCs.Abyss
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
CustomTexturePath = "CalamityMod/ExtraTextures/Bestiary/Oarfish_Bestiary",
|
||||
PortraitPositionYOverride = 20
|
||||
|
||||
@@ -637,7 +637,7 @@ namespace CalamityMod.NPCs.Abyss
|
||||
public override void FindFrame(int frameHeight)
|
||||
{
|
||||
int newFrameHeight = (int)(frameHeight * (Main.zenithWorld ? 1.5f : 1f));
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.3f,
|
||||
PortraitPositionXOverride = 54f,
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace CalamityMod.NPCs.Abyss
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 4;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.8f,
|
||||
};
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace CalamityMod.NPCs.Abyss
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 4;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
PortraitPositionXOverride = 0
|
||||
};
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace CalamityMod.NPCs.AcidRain
|
||||
Main.npcFrameCount[NPC.type] = 6;
|
||||
NPCID.Sets.TrailingMode[NPC.type] = 1;
|
||||
NPCID.Sets.TrailCacheLength[NPC.type] = 12;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
PortraitPositionXOverride = 0
|
||||
};
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace CalamityMod.NPCs.AcidRain
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 8;
|
||||
NPCID.Sets.BossBestiaryPriority.Add(Type);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.425f,
|
||||
PortraitScale = 0.9f,
|
||||
|
||||
@@ -87,7 +87,7 @@ namespace CalamityMod.NPCs.AcidRain
|
||||
NPCID.Sets.TrailCacheLength[NPC.type] = 6;
|
||||
NPCID.Sets.TrailingMode[NPC.type] = 1;
|
||||
NPCID.Sets.BossBestiaryPriority.Add(Type);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.4f,
|
||||
Direction = 1
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace CalamityMod.NPCs.AcidRain
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 5;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers();
|
||||
value.Position.Y += 8;
|
||||
value.PortraitPositionYOverride = 28f;
|
||||
NPCID.Sets.NPCBestiaryDrawOffset[Type] = value;
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace CalamityMod.NPCs.AcidRain
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 5;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Rotation = MathHelper.Pi
|
||||
};
|
||||
|
||||
@@ -200,7 +200,7 @@ namespace CalamityMod.NPCs.AcidRain
|
||||
|
||||
public override void FindFrame(int frameHeight)
|
||||
{
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
SpriteDirection = 1
|
||||
};
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace CalamityMod.NPCs.AquaticScourge
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
NPCID.Sets.BossBestiaryPriority.Add(Type);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.6f,
|
||||
PortraitScale = 0.6f,
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
glowmask = ModContent.Request<Texture2D>("CalamityMod/NPCs/Astral/AstralachneaWallGlow", AssetRequestMode.ImmediateLoad).Value;
|
||||
|
||||
base.SetStaticDefaults();
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers bestiaryData = new NPCID.Sets.NPCBestiaryDrawModifiers(0) { Hide = true };
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers bestiaryData = new NPCID.Sets.NPCBestiaryDrawModifiers() { Hide = true };
|
||||
NPCID.Sets.NPCBestiaryDrawOffset.Add(Type, bestiaryData);
|
||||
}
|
||||
|
||||
|
||||
@@ -109,7 +109,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
//not much we can do. looks fine in-game so /shrug
|
||||
if (!Main.dedServ)
|
||||
glowmask = ModContent.Request<Texture2D>("CalamityMod/NPCs/Astral/AtlasGlow", AssetRequestMode.ImmediateLoad).Value;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
PortraitPositionYOverride = -5
|
||||
};
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
{
|
||||
if (!Main.dedServ)
|
||||
glowmask = ModContent.Request<Texture2D>("CalamityMod/NPCs/Astral/FusionFeederGlow", AssetRequestMode.ImmediateLoad).Value;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.5f,
|
||||
PortraitPositionXOverride = 0f,
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
{
|
||||
if (!Main.dedServ)
|
||||
glowmask = ModContent.Request<Texture2D>("CalamityMod/NPCs/Astral/HadarianGlow", AssetRequestMode.ImmediateLoad).Value;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers();
|
||||
value.Position.X += 10f;
|
||||
value.Position.Y += 10f;
|
||||
NPCID.Sets.NPCBestiaryDrawOffset[Type] = value;
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
if (!Main.dedServ)
|
||||
glowmask = ModContent.Request<Texture2D>("CalamityMod/NPCs/Astral/HivelingGlow", AssetRequestMode.ImmediateLoad).Value;
|
||||
Main.npcFrameCount[NPC.type] = 4;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers();
|
||||
value.Position.Y -= 8;
|
||||
NPCID.Sets.NPCBestiaryDrawOffset[Type] = value;
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 14;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
PortraitPositionYOverride = 0
|
||||
};
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
|
||||
if (!Main.dedServ)
|
||||
glowmask = ModContent.Request<Texture2D>("CalamityMod/NPCs/Astral/NovaGlow", AssetRequestMode.ImmediateLoad).Value;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.64f,
|
||||
PortraitPositionXOverride = 10f,
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
|
||||
if (!Main.dedServ)
|
||||
glowmask = ModContent.Request<Texture2D>("CalamityMod/NPCs/Astral/SightseerColliderGlow", AssetRequestMode.ImmediateLoad).Value;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
PortraitPositionXOverride = 0
|
||||
};
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
Main.npcFrameCount[NPC.type] = 4;
|
||||
if (!Main.dedServ)
|
||||
glowmask = ModContent.Request<Texture2D>("CalamityMod/NPCs/Astral/SightseerSpitterGlow", AssetRequestMode.ImmediateLoad).Value;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.7f,
|
||||
Velocity = 2f,
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
if (!Main.dedServ)
|
||||
glowmask = ModContent.Request<Texture2D>("CalamityMod/NPCs/Astral/StellarCulexGlow", AssetRequestMode.ImmediateLoad).Value;
|
||||
Main.npcFrameCount[NPC.type] = 4;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
PortraitPositionXOverride = 10f
|
||||
};
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace CalamityMod.NPCs.AstrumAureus
|
||||
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)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.27f,
|
||||
PortraitScale = 0.45f,
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace CalamityMod.NPCs.AstrumDeus
|
||||
{
|
||||
NPCID.Sets.TrailingMode[NPC.type] = 1;
|
||||
NPCID.Sets.BossBestiaryPriority.Add(Type);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.70f,
|
||||
PortraitScale = 0.75f,
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace CalamityMod.NPCs.BrimstoneElemental
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 12;
|
||||
NPCID.Sets.BossBestiaryPriority.Add(Type);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.5f,
|
||||
PortraitScale = 0.64f
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace CalamityMod.NPCs.Bumblebirb
|
||||
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)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.5f,
|
||||
PortraitScale = 0.85f,
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace CalamityMod.NPCs.CalClone
|
||||
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)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.65f,
|
||||
PortraitScale = 0.65f
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace CalamityMod.NPCs.CalClone
|
||||
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)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
PortraitScale = 0.8f,
|
||||
Scale = 0.5f,
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace CalamityMod.NPCs.CalClone
|
||||
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)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
PortraitScale = 0.8f,
|
||||
Scale = 0.5f
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace CalamityMod.NPCs.CeaselessVoid
|
||||
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)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.55f,
|
||||
};
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace CalamityMod.NPCs.Crabulon
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 6;
|
||||
NPCID.Sets.BossBestiaryPriority.Add(Type);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.32f,
|
||||
PortraitScale = 0.55f,
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace CalamityMod.NPCs.Crags
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 4;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers();
|
||||
value.Position.Y -= 10f;
|
||||
value.PortraitPositionYOverride = -36f;
|
||||
NPCID.Sets.NPCBestiaryDrawOffset[Type] = value;
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace CalamityMod.NPCs.Crags
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 4;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
SpriteDirection = -1,
|
||||
PortraitPositionYOverride = -32f
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace CalamityMod.NPCs.Crags
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
PortraitPositionYOverride = 10f
|
||||
};
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.NPCs.DesertScourge
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
NPCID.Sets.BossBestiaryPriority.Add(Type);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.8f,
|
||||
PortraitScale = 0.8f,
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace CalamityMod.NPCs.DesertScourge
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
NPCID.Sets.BossBestiaryPriority.Add(Type);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.75f,
|
||||
PortraitScale = 0.6f,
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.NPCs.DevourerofGods
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
NPCID.Sets.BossBestiaryPriority.Add(Type);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.75f,
|
||||
PortraitScale = 0.75f,
|
||||
|
||||
@@ -156,7 +156,7 @@ namespace CalamityMod.NPCs.DevourerofGods
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
NPCID.Sets.BossBestiaryPriority.Add(Type);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.6f,
|
||||
PortraitScale = 0.6f,
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace CalamityMod.NPCs.DraedonLabThings
|
||||
NPCID.Sets.CountsAsCritter[NPC.type] = true;
|
||||
Main.npcCatchable[NPC.type] = true;
|
||||
NPCID.Sets.NormalGoldCritterBestiaryPriority.Add(Type);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers();
|
||||
value.Position.Y += 18;
|
||||
value.PortraitPositionYOverride = 38f;
|
||||
NPCID.Sets.NPCBestiaryDrawOffset[Type] = value;
|
||||
|
||||
@@ -57,7 +57,7 @@ namespace CalamityMod.NPCs.DraedonLabThings
|
||||
NPCID.Sets.CountsAsCritter[NPC.type] = true;
|
||||
NPCID.Sets.CantTakeLunchMoney[Type] = true;
|
||||
NPCID.Sets.NormalGoldCritterBestiaryPriority.Add(Type);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers();
|
||||
value.Position.Y += 12;
|
||||
value.PortraitPositionYOverride = 32f;
|
||||
NPCID.Sets.NPCBestiaryDrawOffset[Type] = value;
|
||||
|
||||
@@ -133,7 +133,7 @@ namespace CalamityMod.NPCs.ExoMechs.Apollo
|
||||
NPCID.Sets.TrailingMode[NPC.type] = 3;
|
||||
NPCID.Sets.TrailCacheLength[NPC.type] = 15;
|
||||
NPCID.Sets.BossBestiaryPriority.Add(Type);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
PortraitPositionXOverride = 50f,
|
||||
PortraitPositionYOverride = 40f,
|
||||
|
||||
@@ -163,7 +163,7 @@ namespace CalamityMod.NPCs.ExoMechs.Ares
|
||||
NPCID.Sets.TrailingMode[NPC.type] = 3;
|
||||
NPCID.Sets.TrailCacheLength[NPC.type] = NPC.oldPos.Length;
|
||||
NPCID.Sets.BossBestiaryPriority.Add(Type);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
PortraitScale = 0.54f,
|
||||
Scale = 0.4f
|
||||
|
||||
@@ -165,7 +165,7 @@ namespace CalamityMod.NPCs.ExoMechs.Artemis
|
||||
NPCID.Sets.TrailingMode[NPC.type] = 3;
|
||||
NPCID.Sets.TrailCacheLength[NPC.type] = 15;
|
||||
NPCID.Sets.BossBestiaryPriority.Add(Type);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
PortraitPositionXOverride = -50f,
|
||||
PortraitPositionYOverride = -40f,
|
||||
|
||||
@@ -84,7 +84,7 @@ namespace CalamityMod.NPCs.ExoMechs
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 12;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
PortraitPositionYOverride = 40f,
|
||||
Scale = 0.7f,
|
||||
|
||||
@@ -129,7 +129,7 @@ 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)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.65f,
|
||||
PortraitScale = 0.6f,
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace CalamityMod.NPCs.GreatSandShark
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 8;
|
||||
NPCID.Sets.BossBestiaryPriority.Add(Type);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.6f,
|
||||
PortraitPositionXOverride = 70f
|
||||
|
||||
@@ -93,7 +93,7 @@ namespace CalamityMod.NPCs.HiveMind
|
||||
NPCID.Sets.TrailingMode[NPC.type] = 1;
|
||||
NPCID.Sets.TrailCacheLength[NPC.type] = NPC.oldPos.Length;
|
||||
NPCID.Sets.BossBestiaryPriority.Add(Type);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.4f,
|
||||
PortraitPositionYOverride = 3f
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace CalamityMod.NPCs.Leviathan
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 6;
|
||||
NPCID.Sets.BossBestiaryPriority.Add(Type);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.5f
|
||||
};
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace CalamityMod.NPCs.Leviathan
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 7;
|
||||
NPCID.Sets.BossBestiaryPriority.Add(Type);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers();
|
||||
value.Position.X += 25;
|
||||
NPCID.Sets.NPCBestiaryDrawOffset[Type] = value;
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace CalamityMod.NPCs.Leviathan
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 3;
|
||||
NPCID.Sets.BossBestiaryPriority.Add(Type);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers();
|
||||
if (!Main.dedServ)
|
||||
AttackTexture = ModContent.Request<Texture2D>("CalamityMod/NPCs/Leviathan/LeviathanAttack", AssetRequestMode.ImmediateLoad).Value;
|
||||
}
|
||||
@@ -892,7 +892,7 @@ namespace CalamityMod.NPCs.Leviathan
|
||||
{
|
||||
int width = 1011;
|
||||
int height = 486;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.2f,
|
||||
PortraitScale = 0.3f,
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace CalamityMod.NPCs.Leviathan
|
||||
Main.npcFrameCount[NPC.type] = 6;
|
||||
NPCID.Sets.CantTakeLunchMoney[Type] = true;
|
||||
NPCID.Sets.BossBestiaryPriority.Add(Type);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
PortraitPositionYOverride = -6f,
|
||||
Scale = 0.65f,
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 4;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers();
|
||||
value.Position.Y -= 6;
|
||||
value.PortraitPositionYOverride = -36f;
|
||||
NPCID.Sets.NPCBestiaryDrawOffset[Type] = value;
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
CustomTexturePath = "CalamityMod/ExtraTextures/Bestiary/ArmoredDigger_Bestiary",
|
||||
PortraitPositionXOverride = 40,
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 5;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
SpriteDirection = -1,
|
||||
PortraitPositionYOverride = -20f
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 10;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.8f,
|
||||
};
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 6;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers();
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 6;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.75f,
|
||||
PortraitPositionYOverride = 16f
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 4;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers();
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 6;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.4f,
|
||||
PortraitScale = 0.6f,
|
||||
|
||||
@@ -66,7 +66,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 6;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers();
|
||||
value.Rotation = MathHelper.ToRadians(45);
|
||||
value.Position.Y += 12;
|
||||
value.PortraitPositionYOverride = 12f;
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers bestiaryData = new NPCID.Sets.NPCBestiaryDrawModifiers(0) { Hide = true };
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers bestiaryData = new NPCID.Sets.NPCBestiaryDrawModifiers() { Hide = true };
|
||||
NPCID.Sets.NPCBestiaryDrawOffset.Add(Type, bestiaryData);
|
||||
}
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 6;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
SpriteDirection = 1
|
||||
};
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
Main.npcFrameCount[NPC.type] = 5;
|
||||
Main.npcCatchable[NPC.type] = true;
|
||||
NPCID.Sets.CountsAsCritter[NPC.type] = true;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
SpriteDirection = 1
|
||||
};
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 4;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers bestiaryData = new NPCID.Sets.NPCBestiaryDrawModifiers(0) { Hide = true };
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers bestiaryData = new NPCID.Sets.NPCBestiaryDrawModifiers() { Hide = true };
|
||||
NPCID.Sets.NPCBestiaryDrawOffset.Add(Type, bestiaryData);
|
||||
}
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
//Preferably would have two animated lanterns, but this static one-headded wiki image will do for now
|
||||
PortraitPositionYOverride = 0,
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 9;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.7f,
|
||||
PortraitPositionXOverride = 10f,
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 7;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.4f,
|
||||
PortraitScale = 0.67f,
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers();
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 4;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers();
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 6;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers();
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 4;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers();
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 8;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Position = new Vector2(28f, 20f),
|
||||
Scale = 0.65f,
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 5;
|
||||
NPCID.Sets.TrailingMode[NPC.type] = 1;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Position = Vector2.UnitX * 36f
|
||||
};
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 6;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
SpriteDirection = 1
|
||||
};
|
||||
|
||||
@@ -51,7 +51,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 6;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
SpriteDirection = 1
|
||||
};
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 10;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
SpriteDirection = 1
|
||||
};
|
||||
|
||||
@@ -59,7 +59,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 12;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
SpriteDirection = 1
|
||||
};
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 16;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
SpriteDirection = 1
|
||||
};
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace CalamityMod.NPCs.OldDuke
|
||||
Main.npcFrameCount[NPC.type] = 7;
|
||||
NPCID.Sets.TrailingMode[NPC.type] = 1;
|
||||
NPCID.Sets.BossBestiaryPriority.Add(Type);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
SpriteDirection = 1,
|
||||
Scale = 0.45f
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace CalamityMod.NPCs.Perforator
|
||||
Main.npcFrameCount[NPC.type] = 4;
|
||||
NPCID.Sets.CantTakeLunchMoney[Type] = true;
|
||||
NPCID.Sets.BossBestiaryPriority.Add(Type);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers();
|
||||
NPCID.Sets.NPCBestiaryDrawOffset[Type] = value;
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.NPCs.Perforator
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
NPCID.Sets.BossBestiaryPriority.Add(Type);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.75f,
|
||||
PortraitScale = 0.75f,
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace CalamityMod.NPCs.Perforator
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
NPCID.Sets.BossBestiaryPriority.Add(Type);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.7f,
|
||||
PortraitScale = 0.7f,
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.NPCs.Perforator
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
NPCID.Sets.BossBestiaryPriority.Add(Type);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.8f,
|
||||
PortraitScale = 0.8f,
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace CalamityMod.NPCs.Perforator
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 10;
|
||||
NPCID.Sets.BossBestiaryPriority.Add(Type);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers();
|
||||
NPCID.Sets.NPCBestiaryDrawOffset[Type] = value;
|
||||
NPCID.Sets.MPAllowedEnemies[Type] = true;
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace CalamityMod.NPCs.PlagueEnemies
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 4;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers();
|
||||
value.PortraitPositionYOverride = -32f;
|
||||
NPCID.Sets.NPCBestiaryDrawOffset[Type] = value;
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace CalamityMod.NPCs.PlagueEnemies
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 2;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers();
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.NPCs.PlagueEnemies
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 4;
|
||||
NPCID.Sets.TrailingMode[NPC.type] = 1;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers();
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.NPCs.PlagueEnemies
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 4;
|
||||
NPCID.Sets.TrailingMode[NPC.type] = 1;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers();
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace CalamityMod.NPCs.PlagueEnemies
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 12;
|
||||
NPCID.Sets.TrailingMode[NPC.type] = 1;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.7f,
|
||||
PortraitScale = 0.8f,
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace CalamityMod.NPCs.PlagueEnemies
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 8;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers();
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace CalamityMod.NPCs.PlagueEnemies
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 5;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0);
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers();
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -57,7 +57,7 @@ namespace CalamityMod.NPCs.PlaguebringerGoliath
|
||||
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)
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers()
|
||||
{
|
||||
Scale = 0.4f,
|
||||
PortraitScale = 0.5f,
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace CalamityMod.NPCs.Polterghast
|
||||
{
|
||||
Main.npcFrameCount[NPC.type] = 4;
|
||||
NPCID.Sets.TrailingMode[NPC.type] = 1;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers bestiaryData = new NPCID.Sets.NPCBestiaryDrawModifiers(0) { Hide = true };
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers bestiaryData = new NPCID.Sets.NPCBestiaryDrawModifiers() { Hide = true };
|
||||
NPCID.Sets.NPCBestiaryDrawOffset.Add(Type, bestiaryData);
|
||||
}
|
||||
|
||||
|
||||
Loaded 100 of 137 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user