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

◆ notAmmo

bool Terraria.Item.notAmmo

If true and the item is ammo (sets F:Terraria.Item.ammo to something), the item will not count as ammo for certain ammo-specific behavior, such as the tooltip mentioning the item is ammo, or ammo items going into ammo slots first when picked up. Used for the Coin items, Ale, and Wire.
Defaults to false.

Definition at line 612 of file Item.cs.

Referenced by Terraria.Item.CanCombineStackInWorld(), Terraria.Item.CanFillEmptyAmmoSlot(), Terraria.Item.FitsAmmoSlot(), Terraria.ID.ContentSamples.CreativeHelper.GetItemGroup(), Terraria.Item.ResetStats(), Terraria.Item.SetDefaults1(), Terraria.Item.SetDefaults2(), and Terraria.Item.SetFoodDefaults().