|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
static |
If true for a given item type (F:Terraria.Item.type), then that item is a torch.
Torches can be auto-selected by Smart Cursor.
Vanilla torches have an associated T:Terraria.ID.TorchID, which determines what color light they produce when held.
Defaults to false.
To make a torch placable underwater, use F:Terraria.ID.ItemID.Sets.WaterTorches as well.
Definition at line 1539 of file ItemID.cs.
Referenced by Terraria.Player.ItemCheck_EmitHeldItemLight(), Terraria.Player.SmartSelect_PickToolForStrategy(), and Terraria.Item.UpdateItem_VisualEffects().