Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ItemFromCatchingNPCBestiaryInfoElement.cs
Go to the documentation of this file.
2using Terraria.ID;
3using Terraria.UI;
4
6
8{
9 private int _itemType;
10
12 {
13 _itemType = itemId;
14 }
15
17 {
18 if (info.UnlockState < BestiaryEntryUnlockState.CanShowDropsWithoutDropRates_3)
19 {
20 return null;
21 }
22 return new UIBestiaryInfoLine<string>(("catch item #" + _itemType) ?? "");
23 }
24
26 {
27 if (info.UnlockState < BestiaryEntryUnlockState.CanShowDropsWithoutDropRates_3)
28 {
29 return null;
30 }
32 }
33}
static Dictionary< int, Item > ItemsByType