-- SERVER-ONLY (not in fxmanifest files{}, so none of it is dumpable): which carry items open the
-- reveal-grid minigame when used, grid sizing, and the reward pools. The client only ever learns
-- what one specific roll contains, sent fresh each open.
return {
    Enabled = true, -- master switch: false makes EVERY item below fence-only (non-usable)

    NotifyWhenDisabled = true, -- using a non-usable item pops "sell it to the contact instead" (false = fail silently)

    RevealMs = 700, -- ms a cell spends "revealing" before it flips to "revealed"

    -- Open-delay: a freshly-acquired item (metadata.acquiredAt, stamped on loot AND on grid rewards)
    -- can't be opened until this many seconds pass - so "loot it, instantly open it" doesn't skip
    -- carrying it around. The "Unlocks in" tooltip line is refreshed whenever an inventory holding
    -- the item is OPENED (event-driven snapshot, no background ticking - works for trunks/stashes/
    -- drops and across restarts); refused attempts show a live "come back in N minutes" countdown.
    OpenDelay = {
        Enabled = true, -- false = openable the instant it's acquired (no tooltip line stamped)
        Seconds = 600, -- default wait; override per item below via `openDelaySeconds`
    },

    -- Fallback item-count range + reward pool for any Items entry without its own MinItems/MaxItems/Pool.
    Default = {
        MinItems = 2,
        MaxItems = 4,
        Pool = {
            { item = 'black_money', min = 50, max = 200, weight = 10 },
            { item = 'deaddrop_item_4', min = 1, max = 1, weight = 4 },
            { item = 'deaddrop_item_6', min = 1, max = 1, weight = 4 },
            { item = 'deaddrop_item_8', min = 1, max = 1, weight = 3 },
            { item = 'goldbar', min = 1, max = 1, weight = 1 },
        },
    },

    -- One entry per usable carry item. rows/cols size the grid; minItems/maxItems is how many cells
    -- actually hold a reward (rolled fresh per open, the rest come up empty); `pool` rows are
    -- { item, min, max, weight }. Omit minItems/maxItems/pool to fall back to Default. Flip
    -- `enabled = false` to make an item sell-only; `openDelaySeconds` overrides OpenDelay.Seconds.
    Items = {
        -- prop_mil_crate_01 - big military crate: heavy cash, thermite, rifle ammo, a shot at a real rifle.
        ['deaddrop_item_1'] = {
            enabled = true, rows = 4, cols = 6, minItems = 8, maxItems = 15,
            pool = {
                { item = 'black_money', min = 100, max = 300, weight = 7 },
                { item = 'thermite', min = 1, max = 2, weight = 5 },
                { item = 'ammo-rifle', min = 30, max = 90, weight = 5 },
                { item = 'ammo-rifle2', min = 30, max = 90, weight = 4 },
                { item = 'ammo-shotgun', min = 12, max = 36, weight = 3 },
                { item = 'WEAPON_CARBINERIFLE', min = 1, max = 1, weight = 2 },
                { item = 'WEAPON_ASSAULTRIFLE', min = 1, max = 1, weight = 2 },
                { item = 'WEAPON_CARBINERIFLE_MK2', min = 1, max = 1, weight = 1 },
                { item = 'WEAPON_PUMPSHOTGUN', min = 1, max = 1, weight = 2 },
                { item = 'WEAPON_COMBATPISTOL', min = 1, max = 1, weight = 3 },
                { item = 'at_scope_small', min = 1, max = 1, weight = 2 },
                { item = 'goldbar', min = 1, max = 1, weight = 2 },
                { item = 'rolex', min = 1, max = 1, weight = 1 },
            },
        },

        -- prop_mil_crate_02 - smaller military crate: same flavour, scaled down to an SMG.
        ['deaddrop_item_2'] = {
            enabled = true, rows = 5, cols = 5, minItems = 9, maxItems = 16,
            pool = {
                { item = 'black_money', min = 80, max = 220, weight = 7 },
                { item = 'thermite', min = 1, max = 1, weight = 4 },
                { item = 'ammo-9', min = 30, max = 60, weight = 5 },
                { item = 'ammo-45', min = 30, max = 60, weight = 4 },
                { item = 'WEAPON_MICROSMG', min = 1, max = 1, weight = 2 },
                { item = 'WEAPON_SMG', min = 1, max = 1, weight = 2 },
                { item = 'WEAPON_ASSAULTSMG', min = 1, max = 1, weight = 1 },
                { item = 'WEAPON_COMBATPISTOL', min = 1, max = 1, weight = 3 },
                { item = 'WEAPON_APPISTOL', min = 1, max = 1, weight = 2 },
                { item = 'at_clip_extended_pistol', min = 1, max = 1, weight = 2 },
                { item = 'goldchain', min = 1, max = 1, weight = 2 },
                { item = 'goldbar', min = 1, max = 1, weight = 1 },
            },
        },

        -- gr_prop_gr_2s_millcrate_01a - gunrunning mill crate: cash, charges, rifle ammo, a shot at an SMG.
        ['deaddrop_item_3'] = {
            enabled = true, rows = 3, cols = 3, minItems = 3, maxItems = 6,
            pool = {
                { item = 'black_money', min = 80, max = 200, weight = 6 },
                { item = 'thermite', min = 1, max = 2, weight = 5 },
                { item = 'ammo-rifle', min = 30, max = 60, weight = 4 },
                { item = 'ammo-9', min = 30, max = 60, weight = 3 },
                { item = 'WEAPON_ASSAULTSMG', min = 1, max = 1, weight = 2 },
                { item = 'WEAPON_BULLPUPRIFLE', min = 1, max = 1, weight = 1 },
                { item = 'goldbar', min = 1, max = 1, weight = 1 },
            },
        },

        -- gr_prop_gr_bulletscrate_01a - bullets crate: ammo-forward, no weapons.
        ['deaddrop_item_4'] = {
            enabled = true, rows = 3, cols = 3, minItems = 3, maxItems = 6,
            pool = {
                { item = 'black_money', min = 50, max = 150, weight = 6 },
                { item = 'ammo-9', min = 30, max = 90, weight = 6 },
                { item = 'ammo-45', min = 30, max = 90, weight = 5 },
                { item = 'ammo-38', min = 20, max = 60, weight = 3 },
                { item = 'ammo-44', min = 20, max = 60, weight = 3 },
                { item = 'thermite', min = 1, max = 1, weight = 2 },
            },
        },

        -- prop_box_ammo04a - ammo box: rifle/shotgun ammo, no weapons.
        ['deaddrop_item_5'] = {
            enabled = true, rows = 3, cols = 3, minItems = 3, maxItems = 6,
            pool = {
                { item = 'black_money', min = 50, max = 150, weight = 6 },
                { item = 'ammo-rifle', min = 30, max = 90, weight = 6 },
                { item = 'ammo-rifle2', min = 30, max = 90, weight = 4 },
                { item = 'ammo-shotgun', min = 12, max = 36, weight = 5 },
                { item = 'ammo-22', min = 20, max = 60, weight = 3 },
                { item = 'thermite', min = 1, max = 1, weight = 2 },
            },
        },

        -- prop_box_ammo02a - smallest ammo box: the slimmest find.
        ['deaddrop_item_6'] = {
            enabled = true, rows = 2, cols = 2, minItems = 2, maxItems = 3,
            pool = {
                -- { item = 'black_money', min = 40, max = 120, weight = 6 },
                { item = 'ammo-9', min = 20, max = 60, weight = 6 },
                { item = 'ammo-45', min = 20, max = 60, weight = 4 },
                { item = 'ammo-38', min = 15, max = 40, weight = 3 },
            },
        },

        -- prop_drop_crate_01 - the airdrop crate itself: grab-bag of the best military loot.
        ['deaddrop_item_7'] = {
            enabled = true, rows = 3, cols = 4, minItems = 4, maxItems = 8,
            pool = {
                { item = 'black_money', min = 100, max = 250, weight = 6 },
                { item = 'thermite', min = 1, max = 1, weight = 3 },
                { item = 'ammo-rifle2', min = 30, max = 90, weight = 4 },
                { item = 'ammo-sniper', min = 20, max = 60, weight = 2 },
                { item = 'WEAPON_SPECIALCARBINE', min = 1, max = 1, weight = 2 },
                { item = 'WEAPON_MARKSMANRIFLE', min = 1, max = 1, weight = 1 },
                { item = 'WEAPON_CARBINERIFLE_MK2', min = 1, max = 1, weight = 1 },
                { item = 'goldbar', min = 1, max = 1, weight = 2 },
                { item = 'rolex', min = 1, max = 1, weight = 1 },
            },
        },

        -- prop_drug_package - a drug shipment: narcotics, not military gear.
        ['deaddrop_item_8'] = {
            enabled = true, rows = 2, cols = 3, minItems = 2, maxItems = 4,
            pool = {
                { item = 'cokebaggy', min = 1, max = 3, weight = 6 },
                { item = 'coke_small_brick', min = 1, max = 1, weight = 4 },
                { item = 'crack_baggy', min = 1, max = 3, weight = 5 },
                { item = 'xtcbaggy', min = 1, max = 3, weight = 4 },
                { item = 'meth', min = 1, max = 2, weight = 5 },
                { item = 'oxy', min = 1, max = 3, weight = 5 },
                { item = 'painkillers', min = 1, max = 2, weight = 3 },
                { item = 'black_money', min = 40, max = 120, weight = 4 },
            },
        },

        -- bkr_prop_weed_bigbag_01a - the weed bag: a strain lottery plus the odd whole brick.
        ['deaddrop_item_9'] = {
            enabled = true, rows = 2, cols = 3, minItems = 2, maxItems = 4,
            pool = {
                { item = 'weed_brick', min = 1, max = 1, weight = 3 },
                { item = 'weed_ak47', min = 1, max = 2, weight = 5 },
                { item = 'weed_og-kush', min = 1, max = 2, weight = 5 },
                { item = 'weed_skunk', min = 1, max = 2, weight = 5 },
                { item = 'weed_amnesia', min = 1, max = 2, weight = 5 },
                { item = 'weed_purple-haze', min = 1, max = 2, weight = 5 },
                { item = 'weed_white-widow', min = 1, max = 2, weight = 5 },
                { item = 'black_money', min = 40, max = 120, weight = 4 },
            },
        },

        -- prop_box_wood04a - plain wood crate: mostly cash, the odd trinket.
        ['deaddrop_item_10'] = {
            enabled = true, rows = 5, cols = 6, minItems = 10, maxItems = 19,
            pool = {
                { item = 'black_money', min = 60, max = 180, weight = 8 },
                { item = 'goldchain', min = 1, max = 1, weight = 3 },
                { item = 'rolex', min = 1, max = 1, weight = 2 },
                { item = 'diamond_ring', min = 1, max = 1, weight = 1 },
                { item = 'phone', min = 1, max = 1, weight = 3 },
                { item = 'radio', min = 1, max = 1, weight = 3 },
                { item = 'lockpick', min = 1, max = 2, weight = 4 },
                { item = 'bandage', min = 1, max = 3, weight = 4 },
                { item = 'wood_planks', min = 2, max = 6, weight = 3 },
                { item = 'wood', min = 1, max = 3, weight = 2 },
            },
        },

        -- prop_mb_crate_01a - the big base crate: top-tier haul, a shot at a machine gun and a diamond.
        ['deaddrop_item_11'] = {
            enabled = true, rows = 3, cols = 6, minItems = 6, maxItems = 12,
            pool = {
                { item = 'black_money', min = 100, max = 300, weight = 5 },
                { item = 'thermite', min = 1, max = 2, weight = 3 },
                { item = 'ammo-rifle2', min = 30, max = 90, weight = 4 },
                { item = 'ammo-sniper', min = 20, max = 60, weight = 2 },
                { item = 'ammo-heavysniper', min = 10, max = 30, weight = 1 },
                { item = 'WEAPON_COMBATMG', min = 1, max = 1, weight = 1 },
                { item = 'WEAPON_HEAVYSNIPER', min = 1, max = 1, weight = 1 },
                { item = 'WEAPON_CARBINERIFLE_MK2', min = 1, max = 1, weight = 2 },
                { item = 'goldbar', min = 1, max = 1, weight = 2 },
                { item = 'diamond_ring', min = 1, max = 1, weight = 1 },
            },
        },

        -- prop_box_wood05a - the other wood crate: same mundane spread, reshuffled.
        ['deaddrop_item_12'] = {
            enabled = true, rows = 4, cols = 5, minItems = 7, maxItems = 13,
            pool = {
                { item = 'black_money', min = 60, max = 180, weight = 8 },
                { item = 'rolex', min = 1, max = 1, weight = 3 },
                { item = 'diamond_ring', min = 1, max = 1, weight = 1 },
                { item = 'goldchain', min = 1, max = 1, weight = 2 },
                { item = 'phone', min = 1, max = 1, weight = 3 },
                { item = 'radio', min = 1, max = 1, weight = 3 },
                { item = 'lockpick', min = 1, max = 2, weight = 4 },
                { item = 'bandage', min = 1, max = 3, weight = 4 },
                { item = 'wood_planks', min = 2, max = 6, weight = 3 },
            },
        },
    },
}
