EXAMPLE BOX

These items are just an example of a pre-made box; you can create any boxes you want.

['mystery_box'] = {
    label = 'Mystery Box',
    weight = 1000,
    stack = false,
    allowArmed = false
},

    ['mystery_box'] = { -- Item box name
        ['config'] = {
            color = 'rgb(0, 0, 0)',  -- Background Color
            prop = 'bkr_prop_coke_dollbox',  -- Prop Name of the Box
            folder = 'default', -- Folder name on config on stBlindBox/config/boxes/
            coords = {x =  0.036386996252986, y = -0.09301887621235, z = -0.052620740509359},
            rotation = {x = 4.4455323584099, y = -4.7608147406442, z = 145.36087627671}
        },

        -- You can check more props here https://forge.plebmasters.de/objects
        ['common'] = {
             -- id                      -- Label on Box           -- Name object   -- Item name from your inventory
            ['any_id_whatever'] = { label = 'THE LABEL', prop = 'prop_name', item = 'my_item_name'},
        },
        ['rare'] = {
             -- id                      -- Label on Box           -- Name object           -- Item name
            ['any_id_whatever'] = { label = 'THE LABEL', prop = 'prop_name', item = 'my_item_name'},
        },
        ['legendary'] = {
            -- id                      -- Label on Box           -- Name object           -- Item name
            ['any_id_whatever'] = { label = 'THE LABEL', prop = 'prop_name', item = 'my_item_name'},
        }
    },

Last updated

Was this helpful?