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

◆ IsLavaBait

bool [] Terraria.ID.ItemID.Sets.IsLavaBait = Factory.CreateBoolSet(4849, 4845, 4847)
static

If true for a given item type (F:Terraria.Item.type), then bait (F:Terraria.Item.bait > 0) of that type can be used to catch items in lava.
Additionally, any catchable NPCs that drop the given item type (F:Terraria.NPC.catchItem) will inflict F:Terraria.ID.BuffID.OnFire on the catching player if not using a lava-proof tool (F:Terraria.ID.ItemID.Sets.LavaproofCatchingTool).
Defaults to false.

Definition at line 1275 of file ItemID.cs.

Referenced by Terraria.NPC.CheckCatchNPC(), and Terraria.Projectile.FishingCheck().