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

◆ OreDropsFromSlime

Dictionary<int, (int minStack, int maxStack)> Terraria.ID.ItemID.Sets.OreDropsFromSlime
static
Initial value:
= new Dictionary<int, (int, int)>
{
{
12,
(3, 13)
},
{
699,
(3, 13)
},
{
11,
(3, 13)
},
{
700,
(3, 13)
},
{
14,
(3, 13)
},
{
701,
(3, 13)
},
{
13,
(3, 13)
},
{
702,
(3, 13)
}
}

Dictionary for defining what ores can spawn as bonus drop inside slime body. All items in this dictionary are equally likely to roll, and will drop with a stack size between minStack and maxStack (inclusive).
Stack sizes with less than 1 or where minStack is not strictly smaller than maxStack will lead to exceptions being thrown.

Definition at line 1667 of file ItemID.cs.

1668 {
1669 {
1670 12,
1671 (3, 13)
1672 },
1673 {
1674 699,
1675 (3, 13)
1676 },
1677 {
1678 11,
1679 (3, 13)
1680 },
1681 {
1682 700,
1683 (3, 13)
1684 },
1685 {
1686 14,
1687 (3, 13)
1688 },
1689 {
1690 701,
1691 (3, 13)
1692 },
1693 {
1694 13,
1695 (3, 13)
1696 },
1697 {
1698 702,
1699 (3, 13)
1700 }
1701 };

Referenced by Terraria.NPC.AI_001_Slimes_GenerateItemInsideBody(), Terraria.GameContent.ItemDropRules.SlimeBodyItemDropRule.GetDropInfo(), and Terraria.ModLoader.ItemLoader.ValidateDropsSet().