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

◆ IncludeCapeFrontAndBack

IncludeCapeFrontAndBackInfo [] Terraria.ID.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
})
static SetFactory Factory
Definition ArmorIDs.cs:683
Stores T:Terraria.ID.ArmorIDs.Back and T:Terraria.ID.ArmorIDs.Front equips to be worm with a specifie...
Definition ArmorIDs.cs:656

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

Unlike using F:Terraria.ID.ArmorIDs.Body.Sets.IncludedCapeBack and F:Terraria.ID.ArmorIDs.Body.Sets.IncludedCapeFront, the T:Terraria.ID.ArmorIDs.Back and T:Terraria.ID.ArmorIDs.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.

Definition at line 725 of file ArmorIDs.cs.

Referenced by Terraria.Player.PlayerFrame().