43375 {
43377 if (
sItem.type == 4711)
43378 {
43380 specialToolUsageSettings2.IsAValidTool = true;
43381 specialToolUsageSettings2.UsageAction =
UseShovel;
43383 }
43385 {
43386 return;
43387 }
43390 {
43391 flag = false;
43392 }
43394 {
43396 }
43398 {
43401 {
43403 }
43404 }
43405 if (!flag)
43406 {
43407 return;
43408 }
43409 if (!Main.GamepadDisableCursorItemIcon)
43410 {
43412 Main.ItemIconCacheUpdate(
sItem.type);
43413 }
43416 {
43418 {
43420 return;
43421 }
43423 }
43425 {
43427 }
43429 {
43432 }
43433 }
void UseShovel(Player user, Item item, int sX, int sY)
bool cursorItemIconEnabled
static void ItemCheck_UseMiningTools_TryFindingWallToHammer(out int wX, out int wY)
bool IsTilePoundable(Tile targetTile)
void ItemCheck_UseMiningTools_TryHittingWall(Item sItem, int wX, int wY)
bool IsTargetTileInItemRange(Item sItem)
void ItemCheck_UseMiningTools_ActuallyUseMiningTool(Item sItem, out bool canHitWalls, int x, int y)