Definition at line 29284 of file Player.cs.
29285 {
29289 {
29291 }
29293 {
29295 {
29297 if (projectile.Hitbox.Contains(Main.MouseWorld.ToPoint()) || Main.SmartInteractProj == projectile.whoAmI)
29298 {
29299 flag = false;
29301 break;
29302 }
29303 }
29304 }
29306 {
29307 int num = -1;
29310 {
29311 case 5324:
29312 num = 5329;
29314 break;
29315 case 5329:
29316 num = 5330;
29318 break;
29319 case 5330:
29320 num = 5324;
29322 break;
29323 case 4346:
29324 num = 5391;
29326 break;
29327 case 5391:
29328 num = 4346;
29330 break;
29331 case 5325:
29332 num = 4131;
29333 break;
29334 case 4131:
29335 num = 5325;
29336 break;
29337 case 5323:
29338 num = 5455;
29339 break;
29340 case 5455:
29341 num = 5323;
29342 break;
29343 case 4767:
29344 num = 5453;
29345 break;
29346 case 5453:
29347 num = 4767;
29348 break;
29349 case 5309:
29350 num = 5454;
29351 break;
29352 case 5454:
29353 num = 5309;
29354 break;
29355 case 5358:
29356 num = 5360;
29358 break;
29359 case 5360:
29360 num = 5361;
29362 break;
29363 case 5361:
29364 num = 5359;
29366 break;
29367 case 5359:
29368 num = 5358;
29370 break;
29371 case 5437:
29372 num = 5358;
29374 break;
29375 }
29376 if (num != -1)
29377 {
29379 Main.mouseRightRelease = false;
29382 Recipe.FindRecipes();
29383 }
29384 }
29386 {
29389 }
29391 {
29394 }
29396 {
29399 }
29401 {
29404 }
29406 {
29409 }
29411 {
29414 }
29416 {
29418 }
29420 }
static void PlaySound(int type, Vector2 position, int style=1)
static bool[] ItemsThatAllowRepeatedRightClick
static bool[] MinionTargettingFeature
static bool[] TurretFeature
void ChangeItemType(int to)
void ItemCheck_ManageRightClickFeatures_ShieldRaise(bool theGeneralCheck)
List< int > _projectilesToInteractWith
bool tileInteractionHappened
References Terraria.Item.ChangeItemType(), Microsoft.Xna.Framework.Rectangle.Contains(), Terraria.Recipe.FindRecipes(), Terraria.Entity.Hitbox, Terraria.ID.ItemID.Sets.ItemsThatAllowRepeatedRightClick, Terraria.ID.ProjectileID.Sets.MinionTargettingFeature, Terraria.Main.mouseRightRelease, Terraria.Main.MouseWorld, Terraria.Audio.SoundEngine.PlaySound(), Terraria.Main.projectile, Terraria.Item.shoot, Terraria.Main.SmartInteractProj, Terraria.Main.SmartInteractShowingGenuine, Terraria.ID.ProjectileID.Sets.TurretFeature, System.type, Terraria.Item.type, and Terraria.Entity.whoAmI.