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

◆ PlaceThing_Tiles_PlaceIt_ConsumeFlexibleWandMaterial()

void Terraria.Player.PlaceThing_Tiles_PlaceIt_ConsumeFlexibleWandMaterial ( )
inline

Definition at line 38927 of file Player.cs.

38928 {
38931 {
38932 itemToConsume.stack--;
38933 if (itemToConsume.stack <= 0)
38934 {
38935 itemToConsume.TurnToAir();
38936 }
38937 }
38938 }
FlexibleTileWand GetFlexibleTileWand()
Definition Item.cs:50269
static int FlexibleWandCycleOffset
Definition Player.cs:3263
static int FlexibleWandRandomSeed
Definition Player.cs:3261
Item[] inventory
The player's normal inventory. Indexes 0-9 hold the hotbar items, 10-49 the rest of the main inventor...
Definition Player.cs:1767

References Terraria.Player.FlexibleWandCycleOffset, Terraria.Player.FlexibleWandRandomSeed, Terraria.Item.GetFlexibleTileWand(), Terraria.Player.inventory, and Terraria.Player.selectedItem.

Referenced by Terraria.Player.PlaceThing_Tiles_PlaceIt().

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