//public override bool CloneNewInstances => true; public override void ModifyTooltips(Item item, List <TooltipLine> tooltips) { TooltipLine line; switch (item.type) { case ItemID.PureWaterFountain: line = new TooltipLine(Mod, "Tooltip0", "Forces surrounding biome state to Ocean upon activation"); tooltips.Add(line); break; case ItemID.OasisFountain: case ItemID.DesertWaterFountain: line = new TooltipLine(Mod, "Tooltip0", "Forces surrounding biome state to Desert upon activation"); tooltips.Add(line); break; case ItemID.JungleWaterFountain: line = new TooltipLine(Mod, "Tooltip0", "Forces surrounding biome state to Jungle upon activation"); tooltips.Add(line); break; case ItemID.IcyWaterFountain: line = new TooltipLine(Mod, "Tooltip0", "Forces surrounding biome state to Snow upon activation"); tooltips.Add(line); break; case ItemID.CorruptWaterFountain: line = new TooltipLine(Mod, "Tooltip0", "Forces surrounding biome state to Corruption upon activation"); tooltips.Add(line); break; case ItemID.CrimsonWaterFountain: line = new TooltipLine(Mod, "Tooltip1", "Forces surrounding biome state to Crimson upon activation"); tooltips.Add(line); break; case ItemID.HallowedWaterFountain: line = new TooltipLine(Mod, "Tooltip1", "In hardmode, forces surrounding biome state to Hallow upon activation"); tooltips.Add(line); break; //cavern fountain? case ItemID.BugNet: case ItemID.GoldenBugNet: line = new TooltipLine(Mod, "Tooltip0", "Can also catch townsfolk"); tooltips.Add(line); break; } if (GetInstance <FargoConfig>().ExtraLures) { if (item.type == ItemID.FishingPotion) { line = new TooltipLine(Mod, "Tooltip1", "Also grants one extra lure"); tooltips.Insert(3, line); } if (item.type == ItemID.FiberglassFishingPole || item.type == ItemID.FisherofSouls || item.type == ItemID.Fleshcatcher) { line = new TooltipLine(Mod, "Tooltip1", "This rod fires 2 lures"); tooltips.Insert(3, line); } if (item.type == ItemID.MechanicsRod || item.type == ItemID.SittingDucksFishingRod) { line = new TooltipLine(Mod, "Tooltip1", "This rod fires 3 lures"); tooltips.Insert(3, line); } if (item.type == ItemID.GoldenFishingRod || item.type == ItemID.HotlineFishingHook) { line = new TooltipLine(Mod, "Tooltip1", "This rod fires 5 lures"); tooltips.Insert(3, line); } } if (GetInstance <FargoConfig>().SquirrelTooltips&& Squirrel.SquirrelSells(item, out Squirrel.SquirrelSellType sellType) != Squirrel.ShopGroup.None) { string text = Regex.Replace(sellType.ToString(), "([a-z])([A-Z])", "$1 $2"); line = new TooltipLine(Mod, "TooltipSquirrel", $"[i:{CaughtNPCs.CaughtNPCItem.CaughtTownies[NPCType<Squirrel>()]}] [c/AAAAAA:{text}]"); tooltips.Add(line); } }