Browse docs
Inventory Items
The blocks below cover all 11 care, training, toy and medical items. Merge only missing
entries and copy their images from the installation attachments. Keep server-owned
consumption at consume = 0 where shown.
Optional cosmetic items
If you enable Config.CosmeticItems.enabled in /petconfig, install the complete
sky_pets/config/cosmetic_inventory.lua catalogue first. Sky Pets 1.0.4 includes 310
colour-specific entries. You can also download that complete ox_inventory template.
Merge its entries into the existing ox_inventory/data/items.lua table; do not replace
that table or paste a second return wrapper. Other inventories need the same item keys
in their own catalogue format.
Copy sky_pets/config/images/pet_cosmetic_*.png into your inventory's image directory and
preserve the explicit image mappings: several colours share one garment icon. Keep
consume = 0 and do not add a second use event; Pets validates and consumes these items.
Only installed compatible breeds can wear their corresponding cosmetics. Use the template
shipped with your installed resource version when updating, and leave this optional catalogue
out while tradeable cosmetic items are disabled.
Care and medical items
['pet_treat'] = {
label = 'Pet Treat',
weight = 20,
stack = true,
close = true,
consume = 0,
client = {
event = 'sky_pets:useTreat',
},
},
['pet_food'] = {
label = 'Pet Food',
weight = 500,
stack = true,
close = true,
consume = 0,
client = {
event = 'sky_pets:useFood',
image = 'pet_food.png',
},
},
['pet_food_2'] = {
label = 'Pet Food 2',
weight = 500,
stack = true,
close = true,
consume = 0,
client = {
event = 'sky_pets:useFood2',
image = 'pet_food_2.png',
},
},
['pet_water_bottle'] = {
label = 'Pet Water Bottle',
weight = 500,
stack = true,
close = true,
consume = 0,
client = {
event = 'sky_pets:useWater',
image = 'pet_water_bottle.png',
},
},
['pet_ball_1'] = {
label = 'Dog Ball 1',
weight = 65,
stack = true,
close = true,
consume = 0,
client = {
event = 'sky_pets:useBall1',
image = 'pet_ball_1.png',
},
},
['pet_ball_2'] = {
label = 'Dog Ball 2',
weight = 65,
stack = true,
close = true,
consume = 0,
client = {
event = 'sky_pets:useBall2',
image = 'pet_ball_2.png',
},
},
['pet_ball_3'] = {
label = 'Dog Ball 3',
weight = 65,
stack = true,
close = true,
consume = 0,
client = {
event = 'sky_pets:useBall3',
image = 'pet_ball_3.png',
},
},
['pet_bone_1'] = {
label = 'Chew Bone 1',
weight = 120,
stack = true,
close = true,
consume = 0,
client = {
event = 'sky_pets:useBone1',
image = 'pet_bone_1.png',
},
},
['pet_bone_2'] = {
label = 'Chew Bone 2',
weight = 120,
stack = true,
close = true,
consume = 0,
client = {
event = 'sky_pets:useBone2',
image = 'pet_bone_2.png',
},
},
['pet_bandage'] = {
label = 'Pet Bandage',
weight = 100,
stack = true,
close = true,
consume = 0,
client = {
event = 'sky_pets:useBandage',
},
},
['pet_rescue_kit'] = {
label = 'Pet Rescue Kit',
weight = 1000,
stack = true,
close = true,
consume = 0,
client = {
event = 'sky_pets:useRescueKit',
},
},
['pet_treat'] = {
label = 'Pet Treat',
weight = 20,
stack = true,
close = true,
consume = 0,
description = 'Training reward',
},
['pet_food'] = {
label = 'Pet Food',
weight = 500,
stack = true,
close = true,
consume = 0,
description = 'Food for one bowl',
},
['pet_food_2'] = {
label = 'Pet Food 2',
weight = 500,
stack = true,
close = true,
consume = 0,
description = 'Second food variety',
},
['pet_water_bottle'] = {
label = 'Pet Water Bottle',
weight = 500,
stack = true,
close = true,
consume = 0,
description = 'Fresh water for one bowl',
},
['pet_ball_1'] = {
label = 'Dog Ball 1',
weight = 65,
stack = true,
close = true,
consume = 0,
description = 'Reusable fetch ball',
},
['pet_ball_2'] = {
label = 'Dog Ball 2',
weight = 65,
stack = true,
close = true,
consume = 0,
description = 'Reusable fetch ball',
},
['pet_ball_3'] = {
label = 'Dog Ball 3',
weight = 65,
stack = true,
close = true,
consume = 0,
description = 'Reusable fetch ball',
},
['pet_bone_1'] = {
label = 'Chew Bone 1',
weight = 120,
stack = true,
close = true,
consume = 0,
description = 'Reusable chew toy',
},
['pet_bone_2'] = {
label = 'Chew Bone 2',
weight = 120,
stack = true,
close = true,
consume = 0,
description = 'Reusable chew toy',
},
['pet_bandage'] = {
label = 'Pet Bandage',
weight = 100,
stack = true,
close = true,
consume = 0,
description = 'Treats a living pet',
},
['pet_rescue_kit'] = {
label = 'Pet Rescue Kit',
weight = 1000,
stack = true,
close = true,
consume = 0,
description = 'Rescues a dying pet',
},
['pet_treat'] = {
['name'] = 'pet_treat',
['label'] = 'Pet Treat',
['weight'] = 20,
['type'] = 'item',
['image'] = 'pet_treat.png',
['unique'] = false,
['rare'] = 'common',
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Training reward',
},
['pet_food'] = {
['name'] = 'pet_food',
['label'] = 'Pet Food',
['weight'] = 500,
['type'] = 'item',
['image'] = 'pet_food.png',
['unique'] = false,
['rare'] = 'common',
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Food for one bowl',
},
['pet_food_2'] = {
['name'] = 'pet_food_2',
['label'] = 'Pet Food 2',
['weight'] = 500,
['type'] = 'item',
['image'] = 'pet_food_2.png',
['unique'] = false,
['rare'] = 'common',
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Second food variety',
},
['pet_water_bottle'] = {
['name'] = 'pet_water_bottle',
['label'] = 'Pet Water Bottle',
['weight'] = 500,
['type'] = 'item',
['image'] = 'pet_water_bottle.png',
['unique'] = false,
['rare'] = 'common',
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Fresh water for one bowl',
},
['pet_ball_1'] = {
['name'] = 'pet_ball_1',
['label'] = 'Dog Ball 1',
['weight'] = 65,
['type'] = 'item',
['image'] = 'pet_ball_1.png',
['unique'] = false,
['rare'] = 'common',
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Reusable fetch ball',
},
['pet_ball_2'] = {
['name'] = 'pet_ball_2',
['label'] = 'Dog Ball 2',
['weight'] = 65,
['type'] = 'item',
['image'] = 'pet_ball_2.png',
['unique'] = false,
['rare'] = 'common',
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Reusable fetch ball',
},
['pet_ball_3'] = {
['name'] = 'pet_ball_3',
['label'] = 'Dog Ball 3',
['weight'] = 65,
['type'] = 'item',
['image'] = 'pet_ball_3.png',
['unique'] = false,
['rare'] = 'common',
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Reusable fetch ball',
},
['pet_bone_1'] = {
['name'] = 'pet_bone_1',
['label'] = 'Chew Bone 1',
['weight'] = 120,
['type'] = 'item',
['image'] = 'pet_bone_1.png',
['unique'] = false,
['rare'] = 'common',
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Reusable chew toy',
},
['pet_bone_2'] = {
['name'] = 'pet_bone_2',
['label'] = 'Chew Bone 2',
['weight'] = 120,
['type'] = 'item',
['image'] = 'pet_bone_2.png',
['unique'] = false,
['rare'] = 'common',
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Reusable chew toy',
},
['pet_bandage'] = {
['name'] = 'pet_bandage',
['label'] = 'Pet Bandage',
['weight'] = 100,
['type'] = 'item',
['image'] = 'pet_bandage.png',
['unique'] = false,
['rare'] = 'common',
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Treats a living pet',
},
['pet_rescue_kit'] = {
['name'] = 'pet_rescue_kit',
['label'] = 'Pet Rescue Kit',
['weight'] = 1000,
['type'] = 'item',
['image'] = 'pet_rescue_kit.png',
['unique'] = false,
['rare'] = 'common',
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Rescues a dying pet',
},
-- Add inside QBShared.Items in qb-core/shared/items.lua.
pet_treat = {
name = 'pet_treat',
label = 'Pet Treat',
weight = 20,
type = 'item',
image = 'pet_treat.png',
unique = false,
useable = true,
shouldClose = true,
description = 'Training reward',
},
pet_food = {
name = 'pet_food',
label = 'Pet Food',
weight = 500,
type = 'item',
image = 'pet_food.png',
unique = false,
useable = true,
shouldClose = true,
description = 'Food for one bowl',
},
pet_food_2 = {
name = 'pet_food_2',
label = 'Pet Food 2',
weight = 500,
type = 'item',
image = 'pet_food_2.png',
unique = false,
useable = true,
shouldClose = true,
description = 'Second food variety',
},
pet_water_bottle = {
name = 'pet_water_bottle',
label = 'Pet Water Bottle',
weight = 500,
type = 'item',
image = 'pet_water_bottle.png',
unique = false,
useable = true,
shouldClose = true,
description = 'Fresh water for one bowl',
},
pet_ball_1 = {
name = 'pet_ball_1',
label = 'Dog Ball 1',
weight = 65,
type = 'item',
image = 'pet_ball_1.png',
unique = false,
useable = true,
shouldClose = true,
description = 'Reusable fetch ball',
},
pet_ball_2 = {
name = 'pet_ball_2',
label = 'Dog Ball 2',
weight = 65,
type = 'item',
image = 'pet_ball_2.png',
unique = false,
useable = true,
shouldClose = true,
description = 'Reusable fetch ball',
},
pet_ball_3 = {
name = 'pet_ball_3',
label = 'Dog Ball 3',
weight = 65,
type = 'item',
image = 'pet_ball_3.png',
unique = false,
useable = true,
shouldClose = true,
description = 'Reusable fetch ball',
},
pet_bone_1 = {
name = 'pet_bone_1',
label = 'Chew Bone 1',
weight = 120,
type = 'item',
image = 'pet_bone_1.png',
unique = false,
useable = true,
shouldClose = true,
description = 'Reusable chew toy',
},
pet_bone_2 = {
name = 'pet_bone_2',
label = 'Chew Bone 2',
weight = 120,
type = 'item',
image = 'pet_bone_2.png',
unique = false,
useable = true,
shouldClose = true,
description = 'Reusable chew toy',
},
pet_bandage = {
name = 'pet_bandage',
label = 'Pet Bandage',
weight = 100,
type = 'item',
image = 'pet_bandage.png',
unique = false,
useable = true,
shouldClose = true,
description = 'Treats a living pet',
},
pet_rescue_kit = {
name = 'pet_rescue_kit',
label = 'Pet Rescue Kit',
weight = 1000,
type = 'item',
image = 'pet_rescue_kit.png',
unique = false,
useable = true,
shouldClose = true,
description = 'Rescues a dying pet',
},
pet_treat = {
label = 'Pet Treat',
weight = 20,
type = 'item',
image = 'pet_treat.png',
hasMetadata = false,
useable = true,
shouldClose = true,
description = 'Training reward',
},
pet_food = {
label = 'Pet Food',
weight = 500,
type = 'item',
image = 'pet_food.png',
hasMetadata = false,
useable = true,
shouldClose = true,
description = 'Food for one bowl',
},
pet_food_2 = {
label = 'Pet Food 2',
weight = 500,
type = 'item',
image = 'pet_food_2.png',
hasMetadata = false,
useable = true,
shouldClose = true,
description = 'Second food variety',
},
pet_water_bottle = {
label = 'Pet Water Bottle',
weight = 500,
type = 'item',
image = 'pet_water_bottle.png',
hasMetadata = false,
useable = true,
shouldClose = true,
description = 'Fresh water for one bowl',
},
pet_ball_1 = {
label = 'Dog Ball 1',
weight = 65,
type = 'item',
image = 'pet_ball_1.png',
hasMetadata = false,
useable = true,
shouldClose = true,
description = 'Reusable fetch ball',
},
pet_ball_2 = {
label = 'Dog Ball 2',
weight = 65,
type = 'item',
image = 'pet_ball_2.png',
hasMetadata = false,
useable = true,
shouldClose = true,
description = 'Reusable fetch ball',
},
pet_ball_3 = {
label = 'Dog Ball 3',
weight = 65,
type = 'item',
image = 'pet_ball_3.png',
hasMetadata = false,
useable = true,
shouldClose = true,
description = 'Reusable fetch ball',
},
pet_bone_1 = {
label = 'Chew Bone 1',
weight = 120,
type = 'item',
image = 'pet_bone_1.png',
hasMetadata = false,
useable = true,
shouldClose = true,
description = 'Reusable chew toy',
},
pet_bone_2 = {
label = 'Chew Bone 2',
weight = 120,
type = 'item',
image = 'pet_bone_2.png',
hasMetadata = false,
useable = true,
shouldClose = true,
description = 'Reusable chew toy',
},
pet_bandage = {
label = 'Pet Bandage',
weight = 100,
type = 'item',
image = 'pet_bandage.png',
hasMetadata = false,
useable = true,
shouldClose = true,
description = 'Treats a living pet',
},
pet_rescue_kit = {
label = 'Pet Rescue Kit',
weight = 1000,
type = 'item',
image = 'pet_rescue_kit.png',
hasMetadata = false,
useable = true,
shouldClose = true,
description = 'Rescues a dying pet',
},
['pet_treat'] = {
label = 'Pet Treat',
weight = 0.020,
stackable = true,
close = true,
maxStack = 100,
type = 'item',
rarity = 'common',
image = 'pet_treat.png',
description = 'Training reward',
},
['pet_food'] = {
label = 'Pet Food',
weight = 0.500,
stackable = true,
close = true,
maxStack = 100,
type = 'item',
rarity = 'common',
image = 'pet_food.png',
description = 'Food for one bowl',
},
['pet_food_2'] = {
label = 'Pet Food 2',
weight = 0.500,
stackable = true,
close = true,
maxStack = 100,
type = 'item',
rarity = 'common',
image = 'pet_food_2.png',
description = 'Second food variety',
},
['pet_water_bottle'] = {
label = 'Pet Water Bottle',
weight = 0.500,
stackable = true,
close = true,
maxStack = 100,
type = 'item',
rarity = 'common',
image = 'pet_water_bottle.png',
description = 'Fresh water for one bowl',
},
['pet_ball_1'] = {
label = 'Dog Ball 1',
weight = 0.065,
stackable = true,
close = true,
maxStack = 100,
type = 'item',
rarity = 'common',
image = 'pet_ball_1.png',
description = 'Reusable fetch ball',
},
['pet_ball_2'] = {
label = 'Dog Ball 2',
weight = 0.065,
stackable = true,
close = true,
maxStack = 100,
type = 'item',
rarity = 'common',
image = 'pet_ball_2.png',
description = 'Reusable fetch ball',
},
['pet_ball_3'] = {
label = 'Dog Ball 3',
weight = 0.065,
stackable = true,
close = true,
maxStack = 100,
type = 'item',
rarity = 'common',
image = 'pet_ball_3.png',
description = 'Reusable fetch ball',
},
['pet_bone_1'] = {
label = 'Chew Bone 1',
weight = 0.120,
stackable = true,
close = true,
maxStack = 100,
type = 'item',
rarity = 'common',
image = 'pet_bone_1.png',
description = 'Reusable chew toy',
},
['pet_bone_2'] = {
label = 'Chew Bone 2',
weight = 0.120,
stackable = true,
close = true,
maxStack = 100,
type = 'item',
rarity = 'common',
image = 'pet_bone_2.png',
description = 'Reusable chew toy',
},
['pet_bandage'] = {
label = 'Pet Bandage',
weight = 0.100,
stackable = true,
close = true,
maxStack = 100,
type = 'item',
rarity = 'common',
image = 'pet_bandage.png',
description = 'Treats a living pet',
},
['pet_rescue_kit'] = {
label = 'Pet Rescue Kit',
weight = 1.000,
stackable = true,
close = true,
maxStack = 100,
type = 'item',
rarity = 'common',
image = 'pet_rescue_kit.png',
description = 'Rescues a dying pet',
},
-- Add to codem-inventory/config/itemlist.lua.
['pet_treat'] = {
['name'] = 'pet_treat',
['label'] = 'Pet Treat',
['weight'] = 20,
['type'] = 'item',
['image'] = 'pet_treat.png',
['unique'] = false,
['usable'] = true,
['shouldClose'] = true,
['description'] = 'Training reward',
},
['pet_food'] = {
['name'] = 'pet_food',
['label'] = 'Pet Food',
['weight'] = 500,
['type'] = 'item',
['image'] = 'pet_food.png',
['unique'] = false,
['usable'] = true,
['shouldClose'] = true,
['description'] = 'Food for one bowl',
},
['pet_food_2'] = {
['name'] = 'pet_food_2',
['label'] = 'Pet Food 2',
['weight'] = 500,
['type'] = 'item',
['image'] = 'pet_food_2.png',
['unique'] = false,
['usable'] = true,
['shouldClose'] = true,
['description'] = 'Second food variety',
},
['pet_water_bottle'] = {
['name'] = 'pet_water_bottle',
['label'] = 'Pet Water Bottle',
['weight'] = 500,
['type'] = 'item',
['image'] = 'pet_water_bottle.png',
['unique'] = false,
['usable'] = true,
['shouldClose'] = true,
['description'] = 'Fresh water for one bowl',
},
['pet_ball_1'] = {
['name'] = 'pet_ball_1',
['label'] = 'Dog Ball 1',
['weight'] = 65,
['type'] = 'item',
['image'] = 'pet_ball_1.png',
['unique'] = false,
['usable'] = true,
['shouldClose'] = true,
['description'] = 'Reusable fetch ball',
},
['pet_ball_2'] = {
['name'] = 'pet_ball_2',
['label'] = 'Dog Ball 2',
['weight'] = 65,
['type'] = 'item',
['image'] = 'pet_ball_2.png',
['unique'] = false,
['usable'] = true,
['shouldClose'] = true,
['description'] = 'Reusable fetch ball',
},
['pet_ball_3'] = {
['name'] = 'pet_ball_3',
['label'] = 'Dog Ball 3',
['weight'] = 65,
['type'] = 'item',
['image'] = 'pet_ball_3.png',
['unique'] = false,
['usable'] = true,
['shouldClose'] = true,
['description'] = 'Reusable fetch ball',
},
['pet_bone_1'] = {
['name'] = 'pet_bone_1',
['label'] = 'Chew Bone 1',
['weight'] = 120,
['type'] = 'item',
['image'] = 'pet_bone_1.png',
['unique'] = false,
['usable'] = true,
['shouldClose'] = true,
['description'] = 'Reusable chew toy',
},
['pet_bone_2'] = {
['name'] = 'pet_bone_2',
['label'] = 'Chew Bone 2',
['weight'] = 120,
['type'] = 'item',
['image'] = 'pet_bone_2.png',
['unique'] = false,
['usable'] = true,
['shouldClose'] = true,
['description'] = 'Reusable chew toy',
},
['pet_bandage'] = {
['name'] = 'pet_bandage',
['label'] = 'Pet Bandage',
['weight'] = 100,
['type'] = 'item',
['image'] = 'pet_bandage.png',
['unique'] = false,
['usable'] = true,
['shouldClose'] = true,
['description'] = 'Treats a living pet',
},
['pet_rescue_kit'] = {
['name'] = 'pet_rescue_kit',
['label'] = 'Pet Rescue Kit',
['weight'] = 1000,
['type'] = 'item',
['image'] = 'pet_rescue_kit.png',
['unique'] = false,
['usable'] = true,
['shouldClose'] = true,
['description'] = 'Rescues a dying pet',
},
INSERT IGNORE INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES
('pet_treat', 'Pet Treat', 20, 0, 1),
('pet_food', 'Pet Food', 500, 0, 1),
('pet_food_2', 'Pet Food 2', 500, 0, 1),
('pet_water_bottle', 'Pet Water Bottle', 500, 0, 1),
('pet_ball_1', 'Dog Ball 1', 65, 0, 1),
('pet_ball_2', 'Dog Ball 2', 65, 0, 1),
('pet_ball_3', 'Dog Ball 3', 65, 0, 1),
('pet_bone_1', 'Chew Bone 1', 120, 0, 1),
('pet_bone_2', 'Chew Bone 2', 120, 0, 1),
('pet_bandage', 'Pet Bandage', 100, 0, 1),
('pet_rescue_kit', 'Pet Rescue Kit', 1000, 0, 1);