diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index b0d1ee3c19..dbb4f84c04 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -8401,6 +8401,10 @@ namespace CalamityMod.CalPlayer { caughtType = ModContent.ItemType(); } + if (Main.rand.NextBool(15)) + { + caughtType = ModContent.ItemType(); + } } if (player.ZoneOverworldHeight && !Main.dayTime) @@ -8427,9 +8431,17 @@ namespace CalamityMod.CalPlayer } } + if (player.ZoneSnow) + { + if (Main.rand.NextBool(15)) + { + caughtType = ModContent.ItemType(); + } + } + if (player.ZoneDirtLayerHeight) { - if (Main.rand.NextBool(40)) + if (Main.rand.NextBool(Main.hardMode ? 100 : 40)) { caughtType = ModContent.ItemType(); } diff --git a/CalamityMod.cs b/CalamityMod.cs index 659c32ac59..e98998037d 100644 --- a/CalamityMod.cs +++ b/CalamityMod.cs @@ -83,6 +83,7 @@ using Terraria.Graphics.Shaders; using Terraria.ID; using Terraria.ModLoader; using Terraria.UI; +using CalamityMod.Items.LoreItems; namespace CalamityMod { @@ -2033,7 +2034,54 @@ namespace CalamityMod ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType(), - ModContent.ItemType() + ModContent.ItemType(), + + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), }; lavaFishList = new List() diff --git a/Items/Fishing/BrimstoneCragCatches/ChaoticFish.cs b/Items/Fishing/BrimstoneCragCatches/ChaoticFish.cs index 6d03faad48..bffcd8a890 100644 --- a/Items/Fishing/BrimstoneCragCatches/ChaoticFish.cs +++ b/Items/Fishing/BrimstoneCragCatches/ChaoticFish.cs @@ -8,7 +8,7 @@ namespace CalamityMod.Items.Fishing.BrimstoneCragCatches { public override void SetStaticDefaults() { - DisplayName.SetDefault("Chaotic Fish"); //Future potion ingredient + DisplayName.SetDefault("Chaotic Fish"); Tooltip.SetDefault("The horns lay a curse on those who touch it\n" + "Right click to extract essence"); } diff --git a/Items/Fishing/FishofEleum.cs b/Items/Fishing/FishofEleum.cs new file mode 100644 index 0000000000..5df58dc89b --- /dev/null +++ b/Items/Fishing/FishofEleum.cs @@ -0,0 +1,34 @@ +using Terraria; +using Terraria.ModLoader; +using CalamityMod.Items.Materials; + +namespace CalamityMod.Items.Fishing +{ + public class FishofEleum : ModItem + { + public override void SetStaticDefaults() + { + DisplayName.SetDefault("Fish of Eleum"); + Tooltip.SetDefault("Right click to extract essence"); + } + + public override void SetDefaults() + { + item.width = 30; + item.height = 28; + item.maxStack = 999; + item.value = Item.sellPrice(silver: 10); + item.rare = 2; + } + + public override bool CanRightClick() + { + return true; + } + + public override void RightClick(Player player) + { + DropHelper.DropItem(player, ModContent.ItemType(), 5, 10); + } + } +} diff --git a/Items/Fishing/FishofEleum.png b/Items/Fishing/FishofEleum.png new file mode 100644 index 0000000000..0ad6566d78 Binary files /dev/null and b/Items/Fishing/FishofEleum.png differ diff --git a/Items/Fishing/SunbeamFish.cs b/Items/Fishing/SunbeamFish.cs new file mode 100644 index 0000000000..79b8b5dd6a --- /dev/null +++ b/Items/Fishing/SunbeamFish.cs @@ -0,0 +1,34 @@ +using Terraria; +using Terraria.ModLoader; +using CalamityMod.Items.Materials; + +namespace CalamityMod.Items.Fishing +{ + public class SunbeamFish : ModItem + { + public override void SetStaticDefaults() + { + DisplayName.SetDefault("Sunbeam Fish"); + Tooltip.SetDefault("Right click to extract essence"); + } + + public override void SetDefaults() + { + item.width = 30; + item.height = 28; + item.maxStack = 999; + item.value = Item.sellPrice(silver: 10); + item.rare = 2; + } + + public override bool CanRightClick() + { + return true; + } + + public override void RightClick(Player player) + { + DropHelper.DropItem(player, ModContent.ItemType(), 5, 10); + } + } +} diff --git a/Items/Fishing/SunbeamFish.png b/Items/Fishing/SunbeamFish.png new file mode 100644 index 0000000000..934161fe30 Binary files /dev/null and b/Items/Fishing/SunbeamFish.png differ diff --git a/Items/LoreItems/KnowledgeAquaticScourge.cs b/Items/LoreItems/KnowledgeAquaticScourge.cs index e45c0a47d5..ae7477798c 100644 --- a/Items/LoreItems/KnowledgeAquaticScourge.cs +++ b/Items/LoreItems/KnowledgeAquaticScourge.cs @@ -1,10 +1,9 @@ using CalamityMod.CalPlayer; using Terraria; -using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeAquaticScourge : ModItem + public class KnowledgeAquaticScourge : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeAstralInfection.cs b/Items/LoreItems/KnowledgeAstralInfection.cs index 5eaee112d1..0ede98826f 100644 --- a/Items/LoreItems/KnowledgeAstralInfection.cs +++ b/Items/LoreItems/KnowledgeAstralInfection.cs @@ -3,7 +3,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeAstralInfection : ModItem + public class KnowledgeAstralInfection : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeAstrumAureus.cs b/Items/LoreItems/KnowledgeAstrumAureus.cs index cf8a3e79a6..4e3707da23 100644 --- a/Items/LoreItems/KnowledgeAstrumAureus.cs +++ b/Items/LoreItems/KnowledgeAstrumAureus.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeAstrumAureus : ModItem + public class KnowledgeAstrumAureus : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeAstrumDeus.cs b/Items/LoreItems/KnowledgeAstrumDeus.cs index 6fefb097e3..5cb7731057 100644 --- a/Items/LoreItems/KnowledgeAstrumDeus.cs +++ b/Items/LoreItems/KnowledgeAstrumDeus.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeAstrumDeus : ModItem + public class KnowledgeAstrumDeus : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeBloodMoon.cs b/Items/LoreItems/KnowledgeBloodMoon.cs index 22ce1c12bc..0086f75f85 100644 --- a/Items/LoreItems/KnowledgeBloodMoon.cs +++ b/Items/LoreItems/KnowledgeBloodMoon.cs @@ -3,7 +3,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeBloodMoon : ModItem + public class KnowledgeBloodMoon : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeBrainofCthulhu.cs b/Items/LoreItems/KnowledgeBrainofCthulhu.cs index 49374458fc..407b569735 100644 --- a/Items/LoreItems/KnowledgeBrainofCthulhu.cs +++ b/Items/LoreItems/KnowledgeBrainofCthulhu.cs @@ -6,7 +6,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeBrainofCthulhu : ModItem + public class KnowledgeBrainofCthulhu : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeBrimstoneCrag.cs b/Items/LoreItems/KnowledgeBrimstoneCrag.cs index d11e610e99..1697c8f004 100644 --- a/Items/LoreItems/KnowledgeBrimstoneCrag.cs +++ b/Items/LoreItems/KnowledgeBrimstoneCrag.cs @@ -3,7 +3,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeBrimstoneCrag : ModItem + public class KnowledgeBrimstoneCrag : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeBrimstoneElemental.cs b/Items/LoreItems/KnowledgeBrimstoneElemental.cs index a595f81907..73ce2b805c 100644 --- a/Items/LoreItems/KnowledgeBrimstoneElemental.cs +++ b/Items/LoreItems/KnowledgeBrimstoneElemental.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeBrimstoneElemental : ModItem + public class KnowledgeBrimstoneElemental : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeBumblebirb.cs b/Items/LoreItems/KnowledgeBumblebirb.cs index 10fbe867f5..2227276ba1 100644 --- a/Items/LoreItems/KnowledgeBumblebirb.cs +++ b/Items/LoreItems/KnowledgeBumblebirb.cs @@ -3,7 +3,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeBumblebirb : ModItem + public class KnowledgeBumblebirb : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeCalamitas.cs b/Items/LoreItems/KnowledgeCalamitas.cs index 75b5f5b71e..1c9d02f8ff 100644 --- a/Items/LoreItems/KnowledgeCalamitas.cs +++ b/Items/LoreItems/KnowledgeCalamitas.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeCalamitas : ModItem + public class KnowledgeCalamitas : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeCalamitasClone.cs b/Items/LoreItems/KnowledgeCalamitasClone.cs index fc43b17709..f09016775c 100644 --- a/Items/LoreItems/KnowledgeCalamitasClone.cs +++ b/Items/LoreItems/KnowledgeCalamitasClone.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeCalamitasClone : ModItem + public class KnowledgeCalamitasClone : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeCorruption.cs b/Items/LoreItems/KnowledgeCorruption.cs index eb56047040..122f31f421 100644 --- a/Items/LoreItems/KnowledgeCorruption.cs +++ b/Items/LoreItems/KnowledgeCorruption.cs @@ -3,7 +3,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeCorruption : ModItem + public class KnowledgeCorruption : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeCrabulon.cs b/Items/LoreItems/KnowledgeCrabulon.cs index 362908104e..bdbb252e88 100644 --- a/Items/LoreItems/KnowledgeCrabulon.cs +++ b/Items/LoreItems/KnowledgeCrabulon.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeCrabulon : ModItem + public class KnowledgeCrabulon : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeCrimson.cs b/Items/LoreItems/KnowledgeCrimson.cs index 254cc9d79d..4ce721a3bd 100644 --- a/Items/LoreItems/KnowledgeCrimson.cs +++ b/Items/LoreItems/KnowledgeCrimson.cs @@ -3,7 +3,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeCrimson : ModItem + public class KnowledgeCrimson : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeCryogen.cs b/Items/LoreItems/KnowledgeCryogen.cs index 8aa9e40d34..a590f251a0 100644 --- a/Items/LoreItems/KnowledgeCryogen.cs +++ b/Items/LoreItems/KnowledgeCryogen.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeCryogen : ModItem + public class KnowledgeCryogen : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeDesertScourge.cs b/Items/LoreItems/KnowledgeDesertScourge.cs index fbcf48a011..da8e592e70 100644 --- a/Items/LoreItems/KnowledgeDesertScourge.cs +++ b/Items/LoreItems/KnowledgeDesertScourge.cs @@ -3,7 +3,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeDesertScourge : ModItem + public class KnowledgeDesertScourge : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeDestroyer.cs b/Items/LoreItems/KnowledgeDestroyer.cs index 5bbc3722d7..869d61e566 100644 --- a/Items/LoreItems/KnowledgeDestroyer.cs +++ b/Items/LoreItems/KnowledgeDestroyer.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeDestroyer : ModItem + public class KnowledgeDestroyer : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeDevourerofGods.cs b/Items/LoreItems/KnowledgeDevourerofGods.cs index 18a9450582..d80050cb94 100644 --- a/Items/LoreItems/KnowledgeDevourerofGods.cs +++ b/Items/LoreItems/KnowledgeDevourerofGods.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeDevourerofGods : ModItem + public class KnowledgeDevourerofGods : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeDukeFishron.cs b/Items/LoreItems/KnowledgeDukeFishron.cs index b7c7733953..927454c87d 100644 --- a/Items/LoreItems/KnowledgeDukeFishron.cs +++ b/Items/LoreItems/KnowledgeDukeFishron.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeDukeFishron : ModItem + public class KnowledgeDukeFishron : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeEaterofWorlds.cs b/Items/LoreItems/KnowledgeEaterofWorlds.cs index 74312ef947..248e4d8eb2 100644 --- a/Items/LoreItems/KnowledgeEaterofWorlds.cs +++ b/Items/LoreItems/KnowledgeEaterofWorlds.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeEaterofWorlds : ModItem + public class KnowledgeEaterofWorlds : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeEyeofCthulhu.cs b/Items/LoreItems/KnowledgeEyeofCthulhu.cs index 6801620185..9643e3fb56 100644 --- a/Items/LoreItems/KnowledgeEyeofCthulhu.cs +++ b/Items/LoreItems/KnowledgeEyeofCthulhu.cs @@ -3,7 +3,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeEyeofCthulhu : ModItem + public class KnowledgeEyeofCthulhu : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeGolem.cs b/Items/LoreItems/KnowledgeGolem.cs index 09d9ab052b..791af85405 100644 --- a/Items/LoreItems/KnowledgeGolem.cs +++ b/Items/LoreItems/KnowledgeGolem.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeGolem : ModItem + public class KnowledgeGolem : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeHiveMind.cs b/Items/LoreItems/KnowledgeHiveMind.cs index 09ffed6df9..aa4e916f08 100644 --- a/Items/LoreItems/KnowledgeHiveMind.cs +++ b/Items/LoreItems/KnowledgeHiveMind.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeHiveMind : ModItem + public class KnowledgeHiveMind : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeKingSlime.cs b/Items/LoreItems/KnowledgeKingSlime.cs index f18b87d134..9036c8eb1c 100644 --- a/Items/LoreItems/KnowledgeKingSlime.cs +++ b/Items/LoreItems/KnowledgeKingSlime.cs @@ -3,7 +3,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeKingSlime : ModItem + public class KnowledgeKingSlime : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeLeviathanandSiren.cs b/Items/LoreItems/KnowledgeLeviathanandSiren.cs index 6730fa567a..9939695413 100644 --- a/Items/LoreItems/KnowledgeLeviathanandSiren.cs +++ b/Items/LoreItems/KnowledgeLeviathanandSiren.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeLeviathanandSiren : ModItem + public class KnowledgeLeviathanandSiren : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeLunaticCultist.cs b/Items/LoreItems/KnowledgeLunaticCultist.cs index e3006a2d61..2d2a1f8420 100644 --- a/Items/LoreItems/KnowledgeLunaticCultist.cs +++ b/Items/LoreItems/KnowledgeLunaticCultist.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeLunaticCultist : ModItem + public class KnowledgeLunaticCultist : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeMechs.cs b/Items/LoreItems/KnowledgeMechs.cs index b561e362b7..814bc96a36 100644 --- a/Items/LoreItems/KnowledgeMechs.cs +++ b/Items/LoreItems/KnowledgeMechs.cs @@ -3,7 +3,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeMechs : ModItem + public class KnowledgeMechs : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeMoonLord.cs b/Items/LoreItems/KnowledgeMoonLord.cs index 21e2a55dfd..94133b445a 100644 --- a/Items/LoreItems/KnowledgeMoonLord.cs +++ b/Items/LoreItems/KnowledgeMoonLord.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeMoonLord : ModItem + public class KnowledgeMoonLord : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeOcean.cs b/Items/LoreItems/KnowledgeOcean.cs index dcd754f1fe..33f858bc69 100644 --- a/Items/LoreItems/KnowledgeOcean.cs +++ b/Items/LoreItems/KnowledgeOcean.cs @@ -3,7 +3,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeOcean : ModItem + public class KnowledgeOcean : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgePerforators.cs b/Items/LoreItems/KnowledgePerforators.cs index 0bb9626c0b..78c0c5862e 100644 --- a/Items/LoreItems/KnowledgePerforators.cs +++ b/Items/LoreItems/KnowledgePerforators.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgePerforators : ModItem + public class KnowledgePerforators : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgePlaguebringerGoliath.cs b/Items/LoreItems/KnowledgePlaguebringerGoliath.cs index 4f643a914c..213a472327 100644 --- a/Items/LoreItems/KnowledgePlaguebringerGoliath.cs +++ b/Items/LoreItems/KnowledgePlaguebringerGoliath.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgePlaguebringerGoliath : ModItem + public class KnowledgePlaguebringerGoliath : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgePlantera.cs b/Items/LoreItems/KnowledgePlantera.cs index 8440d64ae7..0230f2e32b 100644 --- a/Items/LoreItems/KnowledgePlantera.cs +++ b/Items/LoreItems/KnowledgePlantera.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgePlantera : ModItem + public class KnowledgePlantera : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgePolterghast.cs b/Items/LoreItems/KnowledgePolterghast.cs index d4c3f839d6..a8c64fd829 100644 --- a/Items/LoreItems/KnowledgePolterghast.cs +++ b/Items/LoreItems/KnowledgePolterghast.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgePolterghast : ModItem + public class KnowledgePolterghast : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeProfanedGuardians.cs b/Items/LoreItems/KnowledgeProfanedGuardians.cs index 10ed3d2c43..32cb335c73 100644 --- a/Items/LoreItems/KnowledgeProfanedGuardians.cs +++ b/Items/LoreItems/KnowledgeProfanedGuardians.cs @@ -3,7 +3,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeProfanedGuardians : ModItem + public class KnowledgeProfanedGuardians : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeProvidence.cs b/Items/LoreItems/KnowledgeProvidence.cs index 9dc04ae9ee..cc8975b00f 100644 --- a/Items/LoreItems/KnowledgeProvidence.cs +++ b/Items/LoreItems/KnowledgeProvidence.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeProvidence : ModItem + public class KnowledgeProvidence : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeQueenBee.cs b/Items/LoreItems/KnowledgeQueenBee.cs index 023c7393f6..0461a4c112 100644 --- a/Items/LoreItems/KnowledgeQueenBee.cs +++ b/Items/LoreItems/KnowledgeQueenBee.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeQueenBee : ModItem + public class KnowledgeQueenBee : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeRavager.cs b/Items/LoreItems/KnowledgeRavager.cs index 2101321b24..3d14b5c900 100644 --- a/Items/LoreItems/KnowledgeRavager.cs +++ b/Items/LoreItems/KnowledgeRavager.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeRavager : ModItem + public class KnowledgeRavager : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeSentinels.cs b/Items/LoreItems/KnowledgeSentinels.cs index 1128bf0661..d0c0094e71 100644 --- a/Items/LoreItems/KnowledgeSentinels.cs +++ b/Items/LoreItems/KnowledgeSentinels.cs @@ -3,7 +3,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeSentinels : ModItem + public class KnowledgeSentinels : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeSkeletron.cs b/Items/LoreItems/KnowledgeSkeletron.cs index 43e9dd86d3..2f0418ade0 100644 --- a/Items/LoreItems/KnowledgeSkeletron.cs +++ b/Items/LoreItems/KnowledgeSkeletron.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeSkeletron : ModItem + public class KnowledgeSkeletron : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeSkeletronPrime.cs b/Items/LoreItems/KnowledgeSkeletronPrime.cs index f54d487ee4..e4dea7bd77 100644 --- a/Items/LoreItems/KnowledgeSkeletronPrime.cs +++ b/Items/LoreItems/KnowledgeSkeletronPrime.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeSkeletronPrime : ModItem + public class KnowledgeSkeletronPrime : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeSlimeGod.cs b/Items/LoreItems/KnowledgeSlimeGod.cs index 4b4345c78f..30ab5625ba 100644 --- a/Items/LoreItems/KnowledgeSlimeGod.cs +++ b/Items/LoreItems/KnowledgeSlimeGod.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeSlimeGod : ModItem + public class KnowledgeSlimeGod : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeSulphurSea.cs b/Items/LoreItems/KnowledgeSulphurSea.cs index 6d4fb7906d..eadc6cdb20 100644 --- a/Items/LoreItems/KnowledgeSulphurSea.cs +++ b/Items/LoreItems/KnowledgeSulphurSea.cs @@ -3,7 +3,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeSulphurSea : ModItem + public class KnowledgeSulphurSea : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeTwins.cs b/Items/LoreItems/KnowledgeTwins.cs index 4740dfa3a0..10d0e59766 100644 --- a/Items/LoreItems/KnowledgeTwins.cs +++ b/Items/LoreItems/KnowledgeTwins.cs @@ -3,7 +3,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeTwins : ModItem + public class KnowledgeTwins : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeUnderworld.cs b/Items/LoreItems/KnowledgeUnderworld.cs index cbd93f7dc3..efc78aff2b 100644 --- a/Items/LoreItems/KnowledgeUnderworld.cs +++ b/Items/LoreItems/KnowledgeUnderworld.cs @@ -3,7 +3,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeUnderworld : ModItem + public class KnowledgeUnderworld : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeWallofFlesh.cs b/Items/LoreItems/KnowledgeWallofFlesh.cs index bd40e655af..03e519138b 100644 --- a/Items/LoreItems/KnowledgeWallofFlesh.cs +++ b/Items/LoreItems/KnowledgeWallofFlesh.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeWallofFlesh : ModItem + public class KnowledgeWallofFlesh : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeYharon.cs b/Items/LoreItems/KnowledgeYharon.cs index 1464ff7657..a2020cd635 100644 --- a/Items/LoreItems/KnowledgeYharon.cs +++ b/Items/LoreItems/KnowledgeYharon.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeYharon : ModItem + public class KnowledgeYharon : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/LoreItem.cs b/Items/LoreItems/LoreItem.cs new file mode 100644 index 0000000000..584f64edcf --- /dev/null +++ b/Items/LoreItems/LoreItem.cs @@ -0,0 +1,10 @@ +using Microsoft.Xna.Framework; +using Terraria.ModLoader; + +namespace CalamityMod.Items.LoreItems +{ + public abstract class LoreItem : ModItem + { + public override Color? GetAlpha(Color lightColor) => Color.White; + } +} diff --git a/Projectiles/Melee/Spears/SpatialLanceProjectile.cs b/Projectiles/Melee/Spears/SpatialLanceProjectile.cs index 3f3ac4805b..3f40f71348 100644 --- a/Projectiles/Melee/Spears/SpatialLanceProjectile.cs +++ b/Projectiles/Melee/Spears/SpatialLanceProjectile.cs @@ -51,7 +51,7 @@ namespace CalamityMod.Projectiles.Melee.Spears } if (Main.player[projectile.owner].itemAnimation < Main.player[projectile.owner].itemAnimationMax / 3) { - projectile.ai[0] -= 2.4f; + projectile.ai[0] -= 1.1f; if (projectile.localAI[0] == 0f && Main.myPlayer == projectile.owner) { projectile.localAI[0] = 1f; @@ -61,7 +61,7 @@ namespace CalamityMod.Projectiles.Melee.Spears } else { - projectile.ai[0] += 0.95f; + projectile.ai[0] += 0.6f; } if (Main.player[projectile.owner].itemAnimation == 0)