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

◆ MakeUsableWithChlorophyteExtractinator()

void Terraria.Item.MakeUsableWithChlorophyteExtractinator ( )
inline

Definition at line 48616 of file Item.cs.

48617 {
48618 useStyle = 1;
48619 useAnimation = 15;
48620 useTime = 10;
48622 autoReuse = true;
48623 consumable = true;
48624 }
int useAnimation
The time span of the using animation for the item in ticks. This is independent of the time it takes ...
Definition Item.cs:384
bool consumable
Whether the item is consumed after use. If consumed, the item stack will decrease by 1....
Definition Item.cs:488
int useStyle
Assign to an T:Terraria.ID.ItemUseStyleID value to give this item a specific animation while in use....
Definition Item.cs:366
bool chlorophyteExtractinatorConsumable
Definition Item.cs:729
int useTime
The time span of using the item in ticks. This is independent of the time it takes for the item anima...
Definition Item.cs:391
bool autoReuse
Whether the item is in continuous use while the mouse button is held down. Defaults to false.
Definition Item.cs:494

References Terraria.Item.autoReuse, Terraria.Item.chlorophyteExtractinatorConsumable, Terraria.Item.consumable, Terraria.Item.useAnimation, Terraria.Item.useStyle, and Terraria.Item.useTime.

Referenced by Terraria.Item.SetDefaults1(), Terraria.Item.SetDefaults2(), and Terraria.Item.SetDefaults3().

+ Here is the caller graph for this function: