Browse docs
Inventory items
Both DOJ items require individual item metadata, must be non-stackable, and remain
reusable. Merge only missing entries, keep consume = 0 where shown, and let DOJ register
their Use actions. A blank administrator-created doj_document has no issued copy to open.
Copy doj_document.png and doj_law_book.png from sky_dojjob/config/inventory to your
inventory's image directory. CodeM V2 uses codem-inventory-images/images; its definitions
omit client blocks. Standard ESX and VRP inventories do not support these metadata-based
workflows. The ESX tab therefore contains an explanation instead of unusable item rows.
Register certificates use job_document; printer supplies and portable containers use
printer_paper, printer_ink, sky_briefcase and sky_case_folder. Install these from
Jobs Base, keeping its document item separate from
doj_document. If you rename a DOJ item, update its configuration and the Jobs Base
briefcase allowlist as well.
["doj_document"] = {
label = "Printed document",
weight = 10,
stack = false,
close = true,
consume = 0,
description = "A printed DOJ document. Use it to read the issued copy.",
client = { image = "doj_document.png" },
},
["doj_law_book"] = {
label = "Law book",
weight = 500,
stack = false,
close = true,
consume = 0,
description = "A law book with an archived edition. Use it to read.",
client = { image = "doj_law_book.png" },
},
["doj_document"] = {
label = "Printed document",
weight = 10,
stack = false,
close = true,
consume = 0,
description = "A printed DOJ document. Use it to read the issued copy.",
},
["doj_law_book"] = {
label = "Law book",
weight = 500,
stack = false,
close = true,
consume = 0,
description = "A law book with an archived edition. Use it to read.",
},
["doj_document"] = {
name = "doj_document", label = "Printed document", weight = 10,
type = "item", image = "doj_document.png", unique = true,
useable = true, shouldClose = true,
description = "A printed DOJ document. Use it to read the issued copy.",
},
["doj_law_book"] = {
name = "doj_law_book", label = "Law book", weight = 500,
type = "item", image = "doj_law_book.png", unique = true,
useable = true, shouldClose = true,
description = "A law book with an archived edition. Use it to read.",
},
["doj_document"] = {
name = "doj_document", label = "Printed document", weight = 10,
type = "item", image = "doj_document.png", unique = true,
useable = true, shouldClose = true,
description = "A printed DOJ document. Use it to read the issued copy.",
},
["doj_law_book"] = {
name = "doj_law_book", label = "Law book", weight = 500,
type = "item", image = "doj_law_book.png", unique = true,
useable = true, shouldClose = true,
description = "A law book with an archived edition. Use it to read.",
},
["doj_document"] = {
label = "Printed document", weight = 10, type = "item",
image = "doj_document.png", hasMetadata = true,
unique = true, maxStack = 1, consume = 0,
useable = true, shouldClose = true,
description = "A printed DOJ document. Use it to read the issued copy.",
},
["doj_law_book"] = {
label = "Law book", weight = 500, type = "item",
image = "doj_law_book.png", hasMetadata = true,
unique = true, maxStack = 1, consume = 0,
useable = true, shouldClose = true,
description = "A law book with an archived edition. Use it to read.",
},
["doj_document"] = {
label = "Printed document", weight = 0.01, type = "item",
image = "doj_document.png", stackable = false, maxStack = 1,
close = true, rarity = "common",
description = "A printed DOJ document. Use it to read the issued copy.",
},
["doj_law_book"] = {
label = "Law book", weight = 0.5, type = "item",
image = "doj_law_book.png", stackable = false, maxStack = 1,
close = true, rarity = "common",
description = "A law book with an archived edition. Use it to read.",
},
["doj_document"] = {
name = "doj_document", label = "Printed document", weight = 10,
type = "item", image = "doj_document.png", unique = true,
useable = true, shouldClose = true,
description = "A printed DOJ document. Use it to read the issued copy.",
},
["doj_law_book"] = {
name = "doj_law_book", label = "Law book", weight = 500,
type = "item", image = "doj_law_book.png", unique = true,
useable = true, shouldClose = true,
description = "A law book with an archived edition. Use it to read.",
},
-- DOJ document and law-book workflows require individual item metadata.
-- Native ESX inventory cannot provide it. Use a metadata-capable inventory.
-- No DOJ item rows are generated for this unsupported inventory format.