TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ bait

int Terraria.Item.bait

The numerical value this item adds to a player's fishing skill when used as bait.
If greater than 0, categorizes this item as bait.
Bait can be put into ammo slots and is consumed when fishing.
The higher the value of bait, the lower the chance the bait is consumed.
Defaults to 0.

Definition at line 241 of file Item.cs.

Referenced by Terraria.Item.CanFillEmptyAmmoSlot(), Terraria.Item.FitsAmmoSlot(), Terraria.ID.ContentSamples.CreativeHelper.GetItemGroup(), Terraria.Player.ItemCheck_CheckFishingBobber_PickAndConsumeBait(), Terraria.Item.ResetStats(), Terraria.Item.SetDefaults(), Terraria.Item.SetDefaults2(), Terraria.Item.SetDefaults3(), Terraria.Item.SetDefaults4(), and Terraria.Item.SetDefaults5().