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

◆ TryDroppingItems()

void Terraria.EquipmentLoadout.TryDroppingItems ( Player player,
IEntitySource source )
inline

Definition at line 84 of file EquipmentLoadout.cs.

85 {
86 for (int i = 0; i < Armor.Length; i++)
87 {
88 player.TryDroppingSingleItem(source, Armor[i]);
89 }
90 for (int j = 0; j < Dye.Length; j++)
91 {
92 player.TryDroppingSingleItem(source, Dye[j]);
93 }
94 }

References Terraria.EquipmentLoadout.Armor, Terraria.EquipmentLoadout.Dye, and Terraria.Player.TryDroppingSingleItem().