28 lines
724 B
C#
28 lines
724 B
C#
using System.Collections.Generic;
|
|
using CalamityMod.Items.Fishing.FishingRods;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
using static Terraria.ModLoader.ModContent;
|
|
|
|
namespace CalamityMod.Systems.Collections
|
|
{
|
|
public sealed class HighTestFishingPoleList : ModSystem
|
|
{
|
|
public static IList<int> List { get; private set; }
|
|
|
|
public override void OnModLoad()
|
|
{
|
|
List =
|
|
[
|
|
ItemID.GoldenFishingRod,
|
|
ItemType<EarlyBloomRod>(),
|
|
ItemType<TheDevourerofCods>()
|
|
];
|
|
}
|
|
|
|
public override void Unload() => List = null;
|
|
|
|
public static bool Includes(int itemType) => List.Contains(itemType);
|
|
}
|
|
}
|