Installation
Dependencies
QBCore Framework theft-givecash (Included in pack)
How to install
Add the following item to yourinventory/data/items.lua
QBCore users to qbcore/shared/items.lua
Add the item image to your inventory/images
-- Uwu Cafe
["pasta_pack"] = {["name"] = "pasta_pack", ["label"] = "Italiano Pasta Pack", ["weight"] = 50, ["type"] = "item", ["image"] = "pasta_pack.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = ""},
["pizza_pack"] = {["name"] = "pizza_pack", ["label"] = "Pizza Pack", ["weight"] = 50, ["type"] = "item", ["image"] = "pizza_pack.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = ""},
["bubbletea_cherry_pack"] = {["name"] = "bubbletea_cherry_pack", ["label"] = "Bubble Tea Cherry Pack", ["weight"] = 150, ["type"] = "item", ["image"] = "bt_cherry_pack.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = ""},
["bubbletea_banana_pack"] = {["name"] = "bubbletea_banana_pack", ["label"] = "Bubble Tea Banana Pack", ["weight"] = 500, ["type"] = "item", ["image"] = "bt_limo_pack.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = ""},
["bubbletea_berry_pack"] = {["name"] = "bubbletea_berry_pack", ["label"] = "Bubble Tea Berry Pack", ["weight"] = 50, ["type"] = "item", ["image"] = "bt_multi_pack.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = ""},
["bubbletea_milk_pack"] = {["name"] = "bubbletea_milk_pack", ["label"] = "Bubble Tea Milk Pack", ["weight"] = 10, ["type"] = "item", ["image"] = "bt_milk_pack.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = ""},
["bubbletea_choco_pack"] = {["name"] = "bubbletea_choco_pack", ["label"] = "Bubble Tea Choco Pack", ["weight"] = 150, ["type"] = "item", ["image"] = "bt_choco_pack.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = ""},
-- Uwu Cafe
["pasta"] = {["name"] = "pasta", ["label"] = "Italiano Pasta", ["weight"] = 50, ["type"] = "item", ["image"] = "pasta.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = ""},
["pizza"] = {["name"] = "pizza", ["label"] = "Pizza", ["weight"] = 50, ["type"] = "item", ["image"] = "pizza.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = ""},
["bubbletea_cherry"] = {["name"] = "bubbletea_cherry", ["label"] = "Bubble Tea Cherry", ["weight"] = 150, ["type"] = "item", ["image"] = "bt_cherry.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = ""},
["bubbletea_banana"] = {["name"] = "bubbletea_banana", ["label"] = "Bubble Tea Banana", ["weight"] = 500, ["type"] = "item", ["image"] = "bt_limo.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = ""},
["bubbletea_berry"] = {["name"] = "bubbletea_berry", ["label"] = "Bubble Tea Berry", ["weight"] = 50, ["type"] = "item", ["image"] = "bt_multi.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = ""},
["bubbletea_milk"] = {["name"] = "bubbletea_milk", ["label"] = "Bubble Tea Milk", ["weight"] = 10, ["type"] = "item", ["image"] = "bt_milk.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = ""},
["bubbletea_choco"] = {["name"] = "bubbletea_choco", ["label"] = "Bubble Tea Choco", ["weight"] = 150, ["type"] = "item", ["image"] = "bt_choco.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = ""},
Custom Inventory
Example for QBCore & ESX users which are using a different inventory.
Config.UseQBInventory =
false
Config.UseOXInventory =
false
You can create your own shop/stash with your inventory and trigger them via a export in the config.lua
TheftDev.UseQBInventoryShop = true -- If false you need to add your own custom export to TheftDev.CustomInventoryShop
TheftDev.CustomInventoryShop = function()
-- In here you can add your custom shop export/event etc.
end
TheftDev.UseQBInventoryStash = true -- If false you need to add your own custom export to TheftDev.CustomInventoryStash
TheftDev.CustomInventoryStash = function()
-- In here you can add your custom stash export/event etc.
end
Add Shop (ESX)
Add to ox_inventory/data/shops.lua
-- Uwu Cafe Inventory
UwuCafeShop = {
name = 'Uwu Cafe',
inventory = {
{ name = 'pasta_pack', price = 50 },
{ name = 'pizza_pack', price = 50 },
{ name = 'bubbletea_cherry_pack', price = 50 },
{ name = 'bubbletea_berry_pack', price = 50 },
{ name = 'bubbletea_banana_pack', price = 50 },
{ name = 'bubbletea_milk_pack', price = 50 },
{ name = 'bubbletea_choco_pack', price = 50 },
},
},
Last updated