tModLoader v2024.03
A mod to make and play Terraria mods
ArmorIDs.Body.Sets Class Reference

Classes

struct  IncludeCapeFrontAndBackInfo
 Stores Back and Front equips to be worn with a specified Body equip.
Used in IncludeCapeFrontAndBack. More...
 

Static Public Attributes

static bool[] DisableBeltAccDraw = Factory.CreateBoolSet(83, 82)
 If true for a given Body, then that equip will hide belt-like (Waist.Sets.IsABelt) Waist equips when equipped.
Defaults to false.
 
static bool[] DisableHandOnAndOffAccDraw = Factory.CreateBoolSet(83)
 If true for a given Body, then that equip will hide HandOn and HandOff equips when equipped.
Defaults to false.
 
static SetFactory Factory = new SetFactory(EquipLoader.nextEquip[EquipType.Body])
 
static bool[] HidesArms = Factory.CreateBoolSet(83)
 If true for a given Body, then that equip will hide the player's arm skin when equipped.
Defaults to false. More...
 
static bool[] HidesBottomSkin = Factory.CreateBoolSet(93)
 If true for a given Body, then that equip will hide the player's leg skin when equipped.
Defaults to false. More...
 
static bool[] HidesHands = Factory.CreateBoolSet(true, 77, 103, 41, 100, 10, 11, 12, 13, 14, 43, 15, 16, 20, 39, 50, 38, 40, 57, 44, 52, 53, 68, 81, 85, 88, 98, 86, 87, 99, 165, 166, 167, 171, 45, 168, 169, 42, 180, 181, 183, 186, 187, 188, 64, 189, 191, 192, 198, 199, 202, 203, 58, 59, 60, 61, 62, 63, 36, 104, 184, 74, 78, 185, 196, 197, 182, 87, 76, 209, 168, 210, 211, 213)
 If true for a given Body, then that equip will hide the player's hand skins when equipped.
Defaults to true.
 
static bool[] HidesTopSkin = Factory.CreateBoolSet(21, 22, 82, 83, 93)
 If true for a given Body, then that equip will hide the player's torso, arm, and hand skins when equipped.
Defaults to false. More...
 
static IncludeCapeFrontAndBackInfo[] IncludeCapeFrontAndBack
 If not IncludeCapeFrontAndBackInfo.Invalid for a given Body, then that equip will display IncludeCapeFrontAndBackInfo.backCape and IncludeCapeFrontAndBackInfo.frontCape when equipped.
Back and Front equips drawn like this will use the player's body dye instead of their back/front dye.
Defaults to an invalid info (IncludeCapeFrontAndBackInfo.Invalid). More...
 
static int[] IncludedCapeBack = Factory.CreateIntSet(-1, 207, 13, 206, 12, 205, 11, 185, 17, 96, 18, 94, 19, 80, 21, 217, 22, 24, 29, 238, 32)
 If != -1 for a given Body, then that equip will display the retrieved Back equip when equipped.
Back equips drawn like this will use the player's body dye instead of their back dye.
Defaults to false. More...
 
static int[] IncludedCapeBackFemale = Factory.CreateIntSet(-1, 207, 13, 206, 12, 205, 11, 185, 17, 96, 18, 94, 19, 80, 21, 217, 23, 24, 29, 238, 32)
 
static int[] IncludedCapeFront = Factory.CreateIntSet(-1, 184, 6)
 If != -1 for a given Body, then that equip will display the retrieved Front equip when equipped.
Front equips drawn like this will use the player's body dye instead of their back dye.
Defaults to false.
 
static bool[] NeedsToDrawArm = Factory.CreateBoolSet(false, 200, 202, 201, 203, 195, 205, 207, 206, 228, 242, 243)
 Unused.
Defaults to false.
 
static bool[] shouldersAreAlwaysInTheBack = Factory.CreateBoolSet(190)
 If true for a given Body, then that equip will never display the player's composite shoulders in front of their arms.
Defaults to false.
 
static bool[] showsShouldersWhileJumping = Factory.CreateBoolSet(177, 190, 95, 46, 73, 92, 24, 54, 55, 56, 65, 66, 67, 69, 70, 71, 75, 105, 106, 175, 176, 182, 183, 187, 194, 197, 198, 201, 204, 226, 227, 229, 239)
 If true for a given Body, then that equip will show the player's shoulder pads when jumping.
Defaults to false.
 

Member Data Documentation

◆ HidesArms

bool [] ArmorIDs.Body.Sets.HidesArms = Factory.CreateBoolSet(83)
static

If true for a given Body, then that equip will hide the player's arm skin when equipped.
Defaults to false.

Hiding arms also hides hands (HidesHands).

◆ HidesBottomSkin

bool [] ArmorIDs.Body.Sets.HidesBottomSkin = Factory.CreateBoolSet(93)
static

If true for a given Body, then that equip will hide the player's leg skin when equipped.
Defaults to false.

The Body equivalent to Legs.Sets.HidesBottomSkin.

◆ HidesTopSkin

bool [] ArmorIDs.Body.Sets.HidesTopSkin = Factory.CreateBoolSet(21, 22, 82, 83, 93)
static

If true for a given Body, then that equip will hide the player's torso, arm, and hand skins when equipped.
Defaults to false.

The Body equivalent to Legs.Sets.HidesTopSkin.

◆ IncludeCapeFrontAndBack

IncludeCapeFrontAndBackInfo [] ArmorIDs.Body.Sets.IncludeCapeFrontAndBack
static
Initial value:
= Factory.CreateCustomSet(new IncludeCapeFrontAndBackInfo {
backCape = -1,
frontCape = -1
backCape = 20,
frontCape = 7
}, 235, new IncludeCapeFrontAndBackInfo {
backCape = 30,
frontCape = 9
}, 236, new IncludeCapeFrontAndBackInfo {
backCape = 31,
frontCape = 10
})
Stores Back and Front equips to be worn with a specified Body equip. Used in IncludeCapeFrontAndBac...
Definition: ArmorIDs.cs:338

If not IncludeCapeFrontAndBackInfo.Invalid for a given Body, then that equip will display IncludeCapeFrontAndBackInfo.backCape and IncludeCapeFrontAndBackInfo.frontCape when equipped.
Back and Front equips drawn like this will use the player's body dye instead of their back/front dye.
Defaults to an invalid info (IncludeCapeFrontAndBackInfo.Invalid).

Unlike using IncludedCapeBack and IncludedCapeFront, the Back and Front equips drawn using this set will only draw if both can be drawn together. Otherwise, neither will draw.
Use those sets if you only need one equip to draw.

◆ IncludedCapeBack

int [] ArmorIDs.Body.Sets.IncludedCapeBack = Factory.CreateIntSet(-1, 207, 13, 206, 12, 205, 11, 185, 17, 96, 18, 94, 19, 80, 21, 217, 22, 24, 29, 238, 32)
static

If != -1 for a given Body, then that equip will display the retrieved Back equip when equipped.
Back equips drawn like this will use the player's body dye instead of their back dye.
Defaults to false.

Be sure to also set IncludedCapeBackFemale.

◆ IncludedCapeBackFemale

int [] ArmorIDs.Body.Sets.IncludedCapeBackFemale = Factory.CreateIntSet(-1, 207, 13, 206, 12, 205, 11, 185, 17, 96, 18, 94, 19, 80, 21, 217, 23, 24, 29, 238, 32)
static

Be sure to also set IncludedCapeBack.