15851 {
15852 for (int i = 0; i < 50; i++)
15853 {
15856 {
15857 case 0:
15859 {
15861 return;
15862 }
15864 {
15866 }
15867 break;
15868 case 1:
15870 {
15872 return;
15873 }
15874 break;
15875 case 2:
15877 {
15879 return;
15880 }
15881 break;
15882 case 3:
15884 {
15886 return;
15887 }
15888 break;
15889 case 4:
15891 {
15893 {
15895 }
15897 {
15899 }
15900 break;
15901 }
15903 {
15905 return;
15906 }
15908 {
15911 {
15913 {
15915 break;
15916 }
15917 }
15919 {
15921 }
15923 {
15925 return;
15926 }
15927 }
15929 {
15931 return;
15932 }
15933 break;
15934 case 5:
15935 {
15937 {
15939 {
15941 }
15943 {
15945 }
15946 break;
15947 }
15950 {
15951 case 930:
15952 {
15953 bool flag2 =
false;
15955 {
15957 {
15959 break;
15960 }
15961 }
15963 {
15965 return;
15966 }
15968 }
15969 default:
15971 {
15973 }
15974 break;
15975 case 282:
15976 case 286:
15977 case 3002:
15978 case 3112:
15979 case 4776:
15980 break;
15981 }
15983 return;
15984 }
15985 case 6:
15986 {
15987 int num3 = Main.tile[
tX,
tY].frameX / 72;
15990 {
15991 case 0:
15993 break;
15994 case 1:
15996 break;
15997 case 2:
15999 break;
16000 }
16002 {
16004 return;
16005 }
16006 break;
16007 }
16008 case 7:
16009 {
16012 {
16014 return;
16015 }
16017 {
16019 return;
16020 }
16021 break;
16022 }
16023 case 8:
16024 {
16026 {
16028 return;
16029 }
16030 break;
16031 }
16033 break;
16034 }
16035 }
16036 }
static bool[] IsPaintScraper
If true for a given item type (F:Terraria.Item.type), then that item is a paint scraper....
static bool[] Torches
If true for a given item type (F:Terraria.Item.type), then that item is a torch. Torches can be aut...
static bool[] WaterTorches
If true for a given item type (F:Terraria.Item.type), then that item is a water torch....
static bool[] Glowsticks
If true for a given item type (F:Terraria.Item.type), then that item is a glowstick....
static int[] ExtractinatorMode
Indicates which extractinator type an item belongs to. An extractType of 0 represents the default ext...
static bool[] Torch
Whether or not this tile behaves like a torch. If you are making a torch tile, then setting this to t...
int createTile
The ID of the tile this item places on use. Either a T:Terraria.ID.TileID entry or M:Terraria....
int type
The Item ID of this item. The Item ID is a unique number assigned to each Item loaded into the game....
static bool NeedsAmmo(Item weapon, Player player)
Calls ModItem.NeedsAmmo, then all GlobalItem.NeedsAmmo hooks, until any of them returns false.
This serves as the central class from which item-related functions are carried out....
void SmartSelect_SelectItem(int t)
static ItemTrader TryGettingItemTraderFromBlock(Tile targetBlock)
Item[] inventory
The player's normal inventory. Indexes 0-9 hold the hotbar items, 10-49 the rest of the main inventor...