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

◆ SingleUseInGamepad

bool [] Terraria.ID.ItemID.Sets.SingleUseInGamepad = Factory.CreateBoolSet(8, 427, 3004, 523, 433, 429, 974, 1333, 1245, 3114, 430, 3045, 428, 2274, 431, 432, 4383, 4384, 4385, 4386, 4387, 4388, 5293, 5353)
static

If true for a given item type (F:Terraria.Item.type), then that item will be used one per button press when using a gamepad.
Defaults to false.

In vanilla, all items in this set are types of torches.

Definition at line 1528 of file ItemID.cs.

Referenced by Terraria.Player.PlaceThing_Tiles_PlaceIt().