tweaks to abyss torch, planty mush, and golden fishing rod

This commit is contained in:
termigator1359 committed 2020-01-19 20:00:38 -05:00
1 parent 31ed7aba64
commit 86fddeb68a
3 files changed
+22 -4

No files matched your search

+11
View File
@@ -838,6 +838,17 @@ namespace CalamityMod.Items
}
}
}
if (item.type == ItemID.GoldenFishingRod)
{
foreach (TooltipLine line2 in tooltips)
{
if (line2.mod == "Terraria" && line2.Name == "NeedsBait")
{
line2.text = "Requires bait to catch fish\n" +
"The line will never break";
}
}
}
if (item.type == ItemID.MeteorHelmet || item.type == ItemID.MeteorSuit || item.type == ItemID.MeteorLeggings)
{
foreach (TooltipLine line2 in tooltips)
@@ -44,12 +44,14 @@ namespace CalamityMod.Items.Placeables.FurnitureAbyss
public override void PostUpdate()
{
if (!item.wet)
{
Lighting.AddLight((int)((item.position.X + item.width / 2) / 16f), (int)((item.position.Y + item.height / 2) / 16f), 1f, 1f, 1f);
}
Lighting.AddLight((int)((item.position.X + item.width / 2) / 16f), (int)((item.position.Y + item.height / 2) / 16f), 1f, 1f, 1f);
}
public override void AutoLightSelect(ref bool dryTorch, ref bool wetTorch, ref bool glowstick)
{
wetTorch = true;
}
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
+5
View File
@@ -25,5 +25,10 @@ namespace CalamityMod.Items.Placeables
item.value = Item.sellPrice(silver: 6);
item.rare = 3;
}
public override void CaughtFishStack(ref int stack)
{
stack = Main.rand.Next(5,16);
}
}
}