Sulflounder and Toxicatfish

This commit is contained in:
GinYuH authored and Cameron Ewell committed 2023-01-30 15:12:21 -05:00
1 parent e4b2173880
commit 7ee2d0605a
15 files changed
+26 -24

No files matched your search

File renamed without changes.

Before

Width:  |  Height:  |  Size: 609 B

After

Width:  |  Height:  |  Size: 609 B

File renamed without changes.

Before

Width:  |  Height:  |  Size: 380 B

After

Width:  |  Height:  |  Size: 380 B

File renamed without changes.

Before

Width:  |  Height:  |  Size: 807 B

After

Width:  |  Height:  |  Size: 807 B

File renamed without changes.

Before

Width:  |  Height:  |  Size: 876 B

After

Width:  |  Height:  |  Size: 876 B

@@ -1,16 +1,17 @@
using CalamityMod.Tiles;
using CalamityMod.Tiles;
using Terraria;
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityMod.Items.Placeables.Banners
{
public class FlounderBanner : ModItem
[LegacyName("FlounderBanner")]
public class SulflounderBanner : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
Tooltip.SetDefault("{$CommonItemTooltip.BannerBonus}Flounder");
Tooltip.SetDefault("{$CommonItemTooltip.BannerBonus}Sulflounder");
}
public override void SetDefaults()
File renamed without changes.

Before

Width:  |  Height:  |  Size: 294 B

After

Width:  |  Height:  |  Size: 294 B

@@ -1,16 +1,17 @@
using CalamityMod.Tiles;
using CalamityMod.Tiles;
using Terraria;
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityMod.Items.Placeables.Banners
{
public class CatfishBanner : ModItem
[LegacyName("CatfishBanner")]
public class ToxicatfishBanner : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
Tooltip.SetDefault("{$CommonItemTooltip.BannerBonus}Catfish");
Tooltip.SetDefault("{$CommonItemTooltip.BannerBonus}Toxicatfish");
}
public override void SetDefaults()
File renamed without changes.

Before

Width:  |  Height:  |  Size: 318 B

After

Width:  |  Height:  |  Size: 318 B

+2 -2
View File
@@ -7682,7 +7682,7 @@ namespace CalamityMod.NPCs
npc.chaseable = true; //once the enemy has detected the player, let minions fuck it up
}
}
if (npc.type == ModContent.NPCType<Flounder>())
if (npc.type == ModContent.NPCType<Sulflounder>())
{
if (!target.dead)
{
@@ -7790,7 +7790,7 @@ namespace CalamityMod.NPCs
}
// Flounder shoot Sulphuric Mist at the player
if (npc.type == ModContent.NPCType<Flounder>())
if (npc.type == ModContent.NPCType<Sulflounder>())
{
if ((target.Center - npc.Center).Length() < 350f)
{
@@ -9,11 +9,11 @@ using Terraria.ModLoader;
namespace CalamityMod.NPCs.SulphurousSea
{
public class Flounder : ModNPC
public class Sulflounder : ModNPC
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Flounder");
DisplayName.SetDefault("Sulflounder");
Main.npcFrameCount[NPC.type] = 4;
}
@@ -32,7 +32,7 @@ namespace CalamityMod.NPCs.SulphurousSea
NPC.DeathSound = SoundID.NPCDeath53;
NPC.knockBackResist = 0.35f;
Banner = NPC.type;
BannerItem = ModContent.ItemType<FlounderBanner>();
BannerItem = ModContent.ItemType<SulflounderBanner>();
NPC.chaseable = false;
NPC.Calamity().VulnerableToHeat = false;
NPC.Calamity().VulnerableToSickness = false;
@@ -159,8 +159,8 @@ namespace CalamityMod.NPCs.SulphurousSea
}
if (Main.netMode != NetmodeID.Server)
{
Gore.NewGore(NPC.GetSource_Death(), NPC.position, NPC.velocity, Mod.Find<ModGore>("Flounder").Type, 1f);
Gore.NewGore(NPC.GetSource_Death(), NPC.position, NPC.velocity, Mod.Find<ModGore>("Flounder2").Type, 1f);
Gore.NewGore(NPC.GetSource_Death(), NPC.position, NPC.velocity, Mod.Find<ModGore>("Sulflounder").Type, 1f);
Gore.NewGore(NPC.GetSource_Death(), NPC.position, NPC.velocity, Mod.Find<ModGore>("Sulflounder2").Type, 1f);
}
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

@@ -9,11 +9,11 @@ using Terraria.ModLoader;
namespace CalamityMod.NPCs.SulphurousSea
{
public class Catfish : ModNPC
public class Toxicatfish : ModNPC
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Catfish");
DisplayName.SetDefault("Toxicatfish");
Main.npcFrameCount[NPC.type] = 4;
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0);
value.Position.X += 10f;
@@ -35,7 +35,7 @@ namespace CalamityMod.NPCs.SulphurousSea
NPC.DeathSound = SoundID.NPCDeath40;
NPC.knockBackResist = 0.8f;
Banner = NPC.type;
BannerItem = ModContent.ItemType<CatfishBanner>();
BannerItem = ModContent.ItemType<ToxicatfishBanner>();
NPC.chaseable = false;
NPC.Calamity().VulnerableToHeat = false;
NPC.Calamity().VulnerableToSickness = false;
@@ -125,8 +125,8 @@ namespace CalamityMod.NPCs.SulphurousSea
}
if (Main.netMode != NetmodeID.Server)
{
Gore.NewGore(NPC.GetSource_Death(), NPC.position, NPC.velocity, Mod.Find<ModGore>("Catfish").Type, 1f);
Gore.NewGore(NPC.GetSource_Death(), NPC.position, NPC.velocity, Mod.Find<ModGore>("Catfish2").Type, 1f);
Gore.NewGore(NPC.GetSource_Death(), NPC.position, NPC.velocity, Mod.Find<ModGore>("Toxicatfish").Type, 1f);
Gore.NewGore(NPC.GetSource_Death(), NPC.position, NPC.velocity, Mod.Find<ModGore>("Toxicatfish2").Type, 1f);
}
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

+4 -4
View File
@@ -384,7 +384,7 @@ namespace CalamityMod
item = ModContent.ItemType<RepairUnitBanner>();
break;
case 1:
item = ModContent.ItemType<FlounderBanner>();
item = ModContent.ItemType<SulflounderBanner>();
break;
case 2:
item = ModContent.ItemType<GnasherBanner>();
@@ -393,7 +393,7 @@ namespace CalamityMod
item = ModContent.ItemType<TrasherBanner>();
break;
case 4:
item = ModContent.ItemType<CatfishBanner>();
item = ModContent.ItemType<ToxicatfishBanner>();
break;
case 6:
item = ModContent.ItemType<AndroombaBanner>();
@@ -746,7 +746,7 @@ namespace CalamityMod
npc = ModContent.NPCType<RepairUnitCritter>();
break;
case 1:
npc = ModContent.NPCType<Flounder>();
npc = ModContent.NPCType<Sulflounder>();
break;
case 2:
npc = ModContent.NPCType<Gnasher>();
@@ -755,7 +755,7 @@ namespace CalamityMod
npc = ModContent.NPCType<Trasher>();
break;
case 4:
npc = ModContent.NPCType<Catfish>();
npc = ModContent.NPCType<Toxicatfish>();
break;
case 6:
npc = ModContent.NPCType<Androomba>();
+2 -2
View File
@@ -224,8 +224,8 @@ namespace CalamityMod
{ ModContent.NPCType<AquaticUrchin>(), new Tuple<bool, int[]>(false, CalamityMod.sulphurEnemyImmunities) },
{ ModContent.NPCType<AnthozoanCrab>(), new Tuple<bool, int[]>(false, CalamityMod.sulphurEnemyImmunities) },
{ ModContent.NPCType<BelchingCoral>(), new Tuple<bool, int[]>(false, CalamityMod.sulphurEnemyImmunities) },
{ ModContent.NPCType<Catfish>(), new Tuple<bool, int[]>(false, CalamityMod.sulphurEnemyImmunities) },
{ ModContent.NPCType<Flounder>(), new Tuple<bool, int[]>(false, CalamityMod.sulphurEnemyImmunities) },
{ ModContent.NPCType<Toxicatfish>(), new Tuple<bool, int[]>(false, CalamityMod.sulphurEnemyImmunities) },
{ ModContent.NPCType<Sulflounder>(), new Tuple<bool, int[]>(false, CalamityMod.sulphurEnemyImmunities) },
{ ModContent.NPCType<Gnasher>(), new Tuple<bool, int[]>(false, CalamityMod.sulphurEnemyImmunities) },
{ ModContent.NPCType<Mauler>(), new Tuple<bool, int[]>(false, CalamityMod.sulphurEnemyImmunities) },
{ ModContent.NPCType<MicrobialCluster>(), new Tuple<bool, int[]>(false, CalamityMod.sulphurEnemyImmunities) },