Module:ChestLoot/Data

From JCraft Wiki
Revision as of 00:39, 25 April 2026 by KasaneTetoLover (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Documentation for this module may be created at Module:ChestLoot/Data/doc

return {
    ["arrow_ruin"] = {
        pools = {
            {
                rolls = { min = 2, max = 9 },
                entries = {
                    { "Requiem_Arrow", 1, count = 1 },
                    { "Sand", 99, count = 1 }
                }
            },
            {
                rolls = { min = 3, max = 8 },
                entries = {
                    { "Stand_Arrow", 1, count = 1 },
                    { "Stand_Arrowhead", 1, count = 1 },
                    { "Flint", 1, count = 1 },
                    { "Stick", 1, count = 1 },
                    { "Feather", 1, count = 1 }
                }
            }
        }
    },
    ["treasure"] = {
        pools = {
            {
                rolls = { min = 3, max = 6 },
                entries = {
                    { "Gold_Ingot", 40, count = {2, 5} },
                    { "Lapis_Lazuli", 30, count = {3, 12} },
                    { "Amethyst_Shard", 20, count = {2, 6} },
                    { "Diamond", 20, count = {1, 3} },
                    { "Netherite_Ingot", 1, count = 1 }
                }
            },
            {
                rolls = 1,
                entries = {
                    { "Stone_Mask", 1, count = 1 }
                }
            },
            {
                rolls = { min = 1, max = 2 },
                entries = {
                    { "Air", 4 },
                    { "Strong_Potion_of_Healing", 2, count = 1 },
                    { "Strong_Potion_of_Regeneration", 2, count = 1 },
                    { "Potion_of_Healing", 1, count = 1 },
                    { "Potion_of_Regeneration", 1, count = 1 }
                }
            }
        }
    },
    ["ammunition"] = {
        pools = {
            {
                rolls = { min = 6, max = 10 },
                entries = {
                    { "Arrow", 3, count = {3, 5} },
                    { "Weakness_Arrow", 1, count = {3, 5} },
                    { "Poison_Arrow", 1, count = {3, 5} },
                    { "Slowness_Arrow", 1, count = {3, 5} },
                    { "Strong_Poison_Arrow", 1, count = {3, 5} },
                    { "Strong_Slowness_Arrow", 1, count = {3, 5} }
                }
            },
            {
                rolls = 1,
                entries = {
                    { "Bullet", 1, count = 2 },
                    { "Firework_Rocket", 2, count = {1, 3} }
                }
            }
        }
    },
    ["close_combat"] = {
        pools = {
            {
                rolls = { min = 6, max = 10 },
                entries = {
                    { "Iron_Axe", 2, count = 1 },
                    { "Iron_Sword", 2, count = 1 },
                    { "Shield", 1, count = 1 }
                }
            },
            {
                rolls = { min = 3, max = 6 },
                entries = {
                    { "Iron_Axe", 2, count = 1 }, -- Enchanted
                    { "Iron_Sword", 2, count = 1 }, -- Enchanted
                    { "Shield", 1, count = 1 } -- Enchanted
                }
            },
            {
                rolls = 1,
                entries = {
                    { "Air", 99 },
                    { "Trident", 1, count = 1 }
                }
            }
        }
    },
    ["ranged_combat"] = {
        pools = {
            {
                rolls = { min = 6, max = 10 },
                entries = {
                    { "Bow", 1, count = 1 }
                }
            },
            {
                rolls = { min = 3, max = 6 },
                entries = {
                    { "Bow", 1, count = 1 } -- Enchanted
                }
            },
            {
                rolls = 1,
                entries = {
                    { "Air", 99 },
                    { "Trident", 1, count = 1 }
                }
            }
        }
    },
    ["drink"] = {
        pools = {
            {
                rolls = 5,
                entries = {
                    { "Potion_of_Healing", 2, count = 1 },
                    { "Strong_Potion_of_Healing", 1, count = 1 },
                    { "Splash_Potion_of_Harming", 2, count = 1 },
                    { "Strong_Splash_Potion_of_Harming", 1, count = 1 },
                    { "Potion_of_Leaping", 2, count = 1 },
                    { "Strong_Potion_of_Leaping", 1, count = 1 },
                    { "Potion_of_Strength", 2, count = 1 },
                    { "Strong_Potion_of_Strength", 1, count = 1 },
                    { "Splash_Potion_of_Weakness", 2, count = 1 },
                    { "Splash_Potion_of_Slowness", 2, count = 1 },
                    { "Strong_Splash_Potion_of_Slowness", 1, count = 1 },
                    { "Potion_of_Swiftness", 2, count = 1 },
                    { "Strong_Potion_of_Swiftness", 1, count = 1 }
                }
            }
        }
    },
    ["food"] = {
        pools = {
            {
                rolls = { min = 2, max = 8 },
                entries = {
                    { "Blood_Bottle_(15)", 1, count = 1 },
                    { "Blood_Bottle_(14)", 1, count = 1 },
                    { "Blood_Bottle_(13)", 1, count = 1 },
                    { "Blood_Bottle_(12)", 1, count = 1 },
                    { "Blood_Bottle_(11)", 1, count = 1 },
                    { "Blood_Bottle_(10)", 1, count = 1 },
                    { "Blood_Bottle_(9)", 1, count = 1 },
                    { "Blood_Bottle_(8)", 1, count = 1 },
                    { "Blood_Bottle_(7)", 1, count = 1 }
                }
            },
            {
                rolls = { min = 2, max = 6 },
                entries = {
                    { "Chicken", 1, count = 1 },
                    { "Beef", 1, count = 1 },
                    { "Porkchop", 1, count = 1 },
                    { "Rabbit", 1, count = 1 },
                    { "Mutton", 1, count = 1 }
                }
            },
            {
                rolls = { min = 0, max = 3 },
                entries = {
                    { "Rotten_Flesh", 1, count = 1 }
                }
            }
        }
    },
    ["library"] = {
        pools = {
            {
                rolls = { min = 2, max = 10 },
                entries = {
                    { "Book", 20, count = {1, 3} },
                    { "Paper", 20, count = {2, 7} },
                    { "Enchanted_Book", 10, count = 1 }
                }
            }
        }
    },
    ["night_stand"] = {
        pools = {
            {
                rolls = { min = 3, max = 5 },
                entries = {
                    { "Blood_Bottle_(15)", 1, count = 1 },
                    { "Blood_Bottle_(14)", 1, count = 1 },
                    { "Blood_Bottle_(13)", 1, count = 1 },
                    { "Blood_Bottle_(12)", 1, count = 1 },
                    { "Blood_Bottle_(11)", 1, count = 1 },
                    { "Blood_Bottle_(10)", 1, count = 1 },
                    { "Blood_Bottle_(9)", 1, count = 1 },
                    { "Blood_Bottle_(8)", 1, count = 1 },
                    { "Blood_Bottle_(7)", 1, count = 1 }
                }
            },
            {
                rolls = 1,
                entries = {
                    { "Cookie :D", 1, count = {3, 15} }
                }
            },
            {
                rolls = 1,
                entries = {
                    { "Cinderella_Mask", 1, count = 1 },
                    { "Air", 3 }
                }
            }
        }
    },
    ["smithy"] = {
        pools = {
            {
                rolls = { min = 5, max = 12 },
                entries = {
                    { "Raw_Iron", 1, count = 1 },
                    { "Iron_Ingot", 2, count = 1 }
                }
            },
            {
                rolls = { min = 3, max = 8 },
                entries = {
                    { "Coal", 1, count = 1 }
                }
            }
        }
    }
}