How to create a 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 = { name = 'mystery_box', label = 'Mystery Box', weight = 500, type = 'item', image = 'mystery_box.png', unique = false, useable = false, shouldClose = false, combinable = nil, description = 'The best box' },['mystery_box'] = {['name'] = 'mystery_box',['label'] = 'Mystery Box',['weight'] = 500,['type'] = 'item',['image'] = 'mystery_box.png',['unique'] = false,['useable'] = false,['shouldClose'] = false,['combinable'] = nil,['description'] = 'The best mystery box' },
['mystery_box'] = {
['name'] = 'mystery_box',
['label'] = 'Mystery Box',
['weight'] = 500,
['type'] = 'item',
['image'] = 'mystery_box.png',
['unique'] = false,
['useable'] = true,
['shouldClose'] = false,
['combinable'] = nil,
['description'] = 'The best box'
}, ['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