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

◆ flame

bool Terraria.Item.flame

If true, will cause the corresponding flame texture to be drawn while this item is held. Used for torches, candles, .
Modded items should make a texture file postfixed by "_Flame" to autoload the flame texture. For example, ExampleTorch in ExampleMod has both ExampleTorch.png and ExampleTorch_Flame.png.
Defaults to false.

Definition at line 169 of file Item.cs.

Referenced by Terraria.Item.DefaultToTorch(), Terraria.DataStructures.PlayerDrawLayers.DrawPlayer_27_HeldItem(), Terraria.Graphics.Renderers.LegacyPlayerRenderer.DrawPlayerFull(), Terraria.Item.ResetStats(), Terraria.Item.SetDefaults1(), Terraria.Item.SetDefaults2(), Terraria.Item.SetDefaults3(), Terraria.Item.SetDefaults4(), and Terraria.Item.SetDefaults5().