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

◆ CanFillEmptyAmmoSlot()

bool Terraria.Item.CanFillEmptyAmmoSlot ( )
inline

Definition at line 2341 of file Item.cs.

2342 {
2343 if (bait <= 0 && !PaintOrCoating && type != 353 && type != 849 && type != 169 && type != 75 && type != 23 && type != 408 && type != 370 && type != 1246)
2344 {
2345 return !notAmmo;
2346 }
2347 return false;
2348 }
bool PaintOrCoating
Definition Item.cs:342
int bait
Definition Item.cs:99
bool notAmmo
Definition Item.cs:241

References Terraria.Item.bait, Terraria.Item.notAmmo, Terraria.Item.PaintOrCoating, and Terraria.Item.type.