scuttler's jewel tooltip fix

This commit is contained in:
termigator1359 committed 2020-03-30 15:44:26 -04:00
1 parent a2f8f5237d
commit 2c27a83170
5 files changed
+12 -34

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ namespace CalamityMod.Items.Accessories
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Scuttler's Jewel");
Tooltip.SetDefault("Rogue javelin projectiles have a chance spawn a jewel spike when destroyed");
Tooltip.SetDefault("Rogue javelin projectiles have a chance to spawn a jewel spike when destroyed");
}
public override void SetDefaults()
@@ -11,9 +11,9 @@ namespace CalamityMod.Items.Fishing.BrimstoneCragCatches
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Bloodfin");
Tooltip.SetDefault(@"Grants a buff that boosts life regen for 10 seconds
The life regen boost is stronger if below 75% health
Angiogenesis");
Tooltip.SetDefault(@"The wonders of angiogenesis
Grants a buff that boosts life regen for 10 seconds
The life regen boost is stronger if below 75% health");
}
public override void SetDefaults()
@@ -34,10 +34,7 @@ Angiogenesis");
item.potion = true;
}
public override bool CanUseItem(Player player)
{
return player.FindBuffIndex(BuffID.PotionSickness) == -1;
}
public override bool CanUseItem(Player player) => player.FindBuffIndex(BuffID.PotionSickness) == -1;
public override void OnConsumeItem(Player player)
{
+1 -1
View File
@@ -62,7 +62,7 @@ namespace CalamityMod.Projectiles
private int counter = 0;
private int counter2 = 0;
public int lineColor = 0; //holy mother of god, Eater of Shoals was a pain in the ass
public int lineColor = 0; //Note: Although this was intended for fishing line colors, I use this as an AI variable a lot because vanilla only has 4 that sometimes are already in use. ~Ben
public bool extorterBoost = false;
public bool overridesMinionDamagePrevention = false;
+5 -24
View File
@@ -11,29 +11,10 @@ namespace CalamityMod.Tiles.Astral
return ModContent.GetTexture("CalamityMod/Tiles/Astral/AstralTree_Tops");
}
public override Texture2D GetBranchTextures(int i, int j, int trunkOffset, ref int frame)
{
return ModContent.GetTexture("CalamityMod/Tiles/Astral/AstralTree_Branches");
}
public override Texture2D GetTexture()
{
return ModContent.GetTexture("CalamityMod/Tiles/Astral/AstralTree");
}
public override int DropWood()
{
return ModContent.ItemType<Items.Placeables.AstralMonolith>();
}
public override int CreateDust()
{
return ModContent.DustType<AstralBasic>();
}
public override int GrowthFXGore()
{
return -1;
}
public override Texture2D GetBranchTextures(int i, int j, int trunkOffset, ref int frame) => ModContent.GetTexture("CalamityMod/Tiles/Astral/AstralTree_Branches");
public override Texture2D GetTexture() => ModContent.GetTexture("CalamityMod/Tiles/Astral/AstralTree");
public override int DropWood() => ModContent.ItemType<Items.Placeables.AstralMonolith>();
public override int CreateDust() => ModContent.DustType<AstralBasic>();
public override int GrowthFXGore() => -1;
}
}
+1 -1
View File
@@ -868,7 +868,7 @@ namespace CalamityMod
sand.ValidItems.Add(ModContent.ItemType<AstralSand>());
RecipeGroup wood = RecipeGroup.recipeGroups[RecipeGroup.recipeGroupIDs["Wood"]];
wood.ValidItems.Add(ModContent.ItemType<Acidwood>());
wood.ValidItems.Add(ModContent.ItemType<Acidwood>()); //Astral Monolith was decidedly not wood-like enough
//New Groups
RecipeGroup group = new RecipeGroup(() => "Any Copper Bar", new int[]