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

◆ IsChainsaw

bool [] Terraria.ID.ItemID.Sets.IsChainsaw = Factory.CreateBoolSet(387, 3098, 1232, 383, 384, 2778, 1197, 1190, 2783, 3463, 1204, 2773, 2342, 579)
static

If true for a given item type (F:Terraria.Item.type), then that item is a chainsaw.
Chainsaws have 40% faster use times (F:Terraria.Item.useTime, F:Terraria.Item.useAnimation) and 1 less tile reach (F:Terraria.Item.tileBoost) than what are set in M:Terraria.Item.SetDefaults(System.Int32).
Defaults to false.

This set does not allow an T:Terraria.Item to damage trees – use F:Terraria.Item.axe for that.

Definition at line 423 of file ItemID.cs.

Referenced by Terraria.Item.SetDefaults().