Definition at line 50346 of file Player.cs.
50347 {
50351 {
50353 }
50354 else
50355 {
50357 {
50358 return;
50359 }
50361 {
50363 {
50367 {
50369 return;
50370 }
50371 }
50372 }
50373 for (int i = 0; i < 50; i++)
50374 {
50377 {
50379 break;
50380 }
50381 }
50382 }
50383 }
static bool[] IsAGolfBall
If true for a given projectile type (F:Terraria.Projectile.type), then that projectile is a kind of g...
bool PreferredGolfBall(ref int projType)
Mirrors Player.GetPreferredGolfBallToUse. Provides the golf ball projectile from an accessory slot.
This serves as a central place to store equipment slots and their corresponding textures....
Item[] armor
The player's armor and accessories. Indexes 0-2 hold head, chest, and legs armor while 10-12 hold the...
bool IsItemSlotUnlockedAndUsable(int slot)
Item[] inventory
The player's normal inventory. Indexes 0-9 hold the hotbar items, 10-49 the rest of the main inventor...
References Terraria.Player.armor, Terraria.Player.inventory, Terraria.ID.ProjectileID.Sets.IsAGolfBall, Terraria.Item.IsAir, Terraria.Player.IsItemSlotUnlockedAndUsable(), Terraria.ModLoader.AccessorySlotLoader.PreferredGolfBall(), Terraria.Player.selectedItem, and Terraria.Item.shoot.
Referenced by Terraria.Player.TileInteractionsUse(), and Terraria.Player.TryPlacingAGolfBallNearANearbyTee().