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

◆ TryCombiningIntoNearbyItems()

void Terraria.Item.TryCombiningIntoNearbyItems ( int i)
inline

Definition at line 50252 of file Item.cs.

50253 {
50254 bool flag = true;
50255 if ((uint)(type - 71) <= 3u)
50256 {
50257 flag = false;
50258 }
50260 {
50261 flag = false;
50262 }
50263 if (playerIndexTheItemIsReservedFor == Main.myPlayer && flag)
50264 {
50266 }
50267 }
static bool[] NebulaPickup
Do not add items to this set. If true for a given item type (F:Terraria.Item.type),...
Definition ItemID.cs:1380
int playerIndexTheItemIsReservedFor
Definition Item.cs:578
void CombineWithNearbyItems(int myItemIndex)
Definition Item.cs:50866
int type
The Item ID of this item. The Item ID is a unique number assigned to each Item loaded into the game....
Definition Item.cs:345

References Terraria.Item.CombineWithNearbyItems(), Terraria.Main.myPlayer, Terraria.ID.ItemID.Sets.NebulaPickup, Terraria.Item.playerIndexTheItemIsReservedFor, and Terraria.Item.type.

Referenced by Terraria.Item.UpdateItem().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: