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

◆ staff

bool [] Terraria.Item.staff = new bool[ItemID.Count]
static

If true, categorizes the given item type as a staff.
Staffs are held differently when their F:Terraria.Item.useStyle is F:Terraria.ID.ItemUseStyleID.Shoot, but are otherwise no different than any other item.
Indexed by F:Terraria.Item.type. Defaults to false.

Definition at line 154 of file Item.cs.

Referenced by Terraria.DataStructures.PlayerDrawLayers.DrawPlayer_27_HeldItem(), Terraria.Main.Initialize_Items(), Terraria.Player.ItemCheck_ApplyUseStyle_Inner(), and Terraria.ModLoader.ItemLoader.ResizeArrays().