[{"data":1,"prerenderedAt":322},["ShallowReactive",2],{"/docs/jobs/dojjob/reference/inventory":3,"/docs/jobs/dojjob/reference/inventory-surround":310,"/docs/jobs/dojjob/reference/inventory-implemented-suggestions":321},{"id":4,"title":5,"body":6,"description":300,"extension":301,"head":302,"implementedSuggestions":302,"meta":303,"navigation":304,"path":305,"schemaOrg":302,"seo":306,"sitemap":307,"stem":308,"__hash__":309},"docs/1.docs/0.jobs/5.dojjob/4.reference/1.inventory.md","Inventory items",{"type":7,"value":8,"toc":291},"minimark",[9,14,128,132,135,146,149,187,196,215,231,252,256,270,273,277,285,288],[10,11,13],"h2",{"id":12},"items-used-by-doj","Items used by DOJ",[15,16,17,33],"table",{},[18,19,20],"thead",{},[21,22,23,27,30],"tr",{},[24,25,26],"th",{},"Default item",[24,28,29],{},"Purpose",[24,31,32],{},"Requirement",[34,35,36,51,64,77,90,102,115],"tbody",{},[21,37,38,45,48],{},[39,40,41],"td",{},[42,43,44],"code",{},"doj_document",[39,46,47],{},"A physical printed DOJ document with its own copy metadata",[39,49,50],{},"Required for printed document delivery and reading",[21,52,53,58,61],{},[39,54,55],{},[42,56,57],{},"job_document",[39,59,60],{},"A printed register certificate or shared job document",[39,62,63],{},"Required for registry certificate printing; supplied by Sky Jobs Base",[21,65,66,71,74],{},[39,67,68],{},[42,69,70],{},"doj_law_book",[39,72,73],{},"A readable law-book item with an archived edition",[39,75,76],{},"Required when using inventory law books",[21,78,79,84,87],{},[39,80,81],{},[42,82,83],{},"sky_briefcase",[39,85,86],{},"An inventory-backed briefcase for carrying case material",[39,88,89],{},"Optional; supplied by Sky Jobs Base",[21,91,92,97,100],{},[39,93,94],{},[42,95,96],{},"sky_case_folder",[39,98,99],{},"An inventory-backed folder for case files and loose documents",[39,101,89],{},[21,103,104,109,112],{},[39,105,106],{},[42,107,108],{},"printer_paper",[39,110,111],{},"Paper refill item",[39,113,114],{},"Required only when the configured printer consumes paper",[21,116,117,122,125],{},[39,118,119],{},[42,120,121],{},"printer_ink",[39,123,124],{},"Ink refill item",[39,126,127],{},"Required only when the configured shared printer settings consume ink",[129,130,131],"p",{},"The resource registers its DOJ item definitions and usable actions through the Sky inventory adapter while preserving existing definitions. Verify that your selected inventory supports the required metadata and has the expected items and icons. A pre-existing definition can still need correction.",[10,133,134],{"id":134},"ox_inventory",[129,136,137,138,141,142,145],{},"Merge the entries from the package's ",[42,139,140],{},"inventory/items_ox.lua"," into ",[42,143,144],{},"ox_inventory/data/items.lua",". Do not replace the inventory's entire item catalog.",[129,147,148],{},"Copy the included images using these destination names:",[15,150,151,161],{},[18,152,153],{},[21,154,155,158],{},[24,156,157],{},"Package image",[24,159,160],{},"Inventory destination",[34,162,163,175],{},[21,164,165,170],{},[39,166,167],{},[42,168,169],{},"inventory/doj_document-v2.png",[39,171,172],{},[42,173,174],{},"ox_inventory/web/images/doj_document.png",[21,176,177,182],{},[39,178,179],{},[42,180,181],{},"inventory/doj_law_book.png",[39,183,184],{},[42,185,186],{},"ox_inventory/web/images/doj_law_book.png",[129,188,189,190,192,193,195],{},"The supplied definitions use non-stackable, non-consuming items. ",[42,191,44],{}," has a default weight of 10 and ",[42,194,70],{}," has a default weight of 500. Keep the unique document metadata when moving or transferring items.",[129,197,198,199,202,203,206,207,210,211,214],{},"Printer supplies belong to the Jobs Base package. Merge the definitions from ",[42,200,201],{},"sky_jobs_base/config/inventory/items_ox.lua"," and copy ",[42,204,205],{},"printer_paper.png"," and ",[42,208,209],{},"printer_ink.png"," from that directory into the inventory image folder. Both items are stackable and use ",[42,212,213],{},"consume = 0","; Sky consumes one only after the refill minigame succeeds. Custom supply names must match the job's printer settings.",[129,216,217,218,220,221,141,224,227,228,230],{},"For register certificates, also merge ",[42,219,57],{}," from that Jobs Base file and copy ",[42,222,223],{},"job_document.png",[42,225,226],{},"ox_inventory/web/images/",". It is a separate item from ",[42,229,44],{},"; keep the printer-issued metadata on both.",[129,232,233,234,206,236,238,239,206,242,245,246,251],{},"Portable case containers also belong to Jobs Base. Merge the ",[42,235,83],{},[42,237,96],{},"\ndefinitions from that same file and copy ",[42,240,241],{},"sky_briefcase.png",[42,243,244],{},"sky_case_folder.png"," into the\ninventory image folder. Both are non-stackable and keep their own contents through transfers. The\nbriefcase can be shown or hidden on the player's right hand through the Jobs Base custom actions;\nthe case folder is an inventory-only container. See the shared ",[247,248,250],"a",{"href":249},"/docs/base/jobs-base/inventory-items","Jobs Base inventory items","\nreference for capacities, provider bridges and the rename/show/hide exports.",[10,253,255],{"id":254},"renaming-items","Renaming items",[129,257,258,261,262,265,266,269],{},[42,259,260],{},"Config.PrintedDocuments.item"," selects the printed-document item and ",[42,263,264],{},"Config.PrintedDocuments.weight"," supplies its registration weight. ",[42,267,268],{},"Config.LegalCodes.item"," selects the law-book item. Printer refill names are configured separately in the job's printer settings and shared Jobs Base printer configuration.",[129,271,272],{},"Changing a name does not automatically migrate items already held by players. Coordinate any rename with inventory data and stored copies, and test the resulting usable item before distributing it.",[10,274,276],{"id":275},"metadata-matters","Metadata matters",[129,278,279,280,284],{},"A printed document is not just an item name: it refers to an issued copy. A generic administrator-created item without valid copy metadata cannot display a real case document. Create a test copy through ",[281,282,283],"strong",{},"Print"," and collect it from the printer.",[129,286,287],{},"Law books keep an archived edition rather than silently changing an already issued book whenever a law is edited. The inventory must preserve the edition metadata. Use the supported law-book workflow and check the edition shown in the reader.",[129,289,290],{},"An item added to a shop or inventory does not grant tablet access, access to the original case file or permission to sign documents.",{"title":292,"searchDepth":293,"depth":294,"links":295},"",1,2,[296,297,298,299],{"id":12,"depth":294,"text":13},{"id":134,"depth":294,"text":134},{"id":254,"depth":294,"text":255},{"id":275,"depth":294,"text":276},"Set up DOJ document, law-book and portable case-container items, their icons and the optional printer supplies.","md",null,{},true,"/docs/jobs/dojjob/reference/inventory",{"title":5,"description":300},{"loc":305},"1.docs/0.jobs/5.dojjob/4.reference/1.inventory","L6YDyDTxqaH286-HHI3GSFkVXV1e8fQk0qhvkcW1Vk0",[311,316],{"title":312,"path":313,"stem":314,"description":315,"children":-1},"Conditions & Optional Asset Taxes","/docs/jobs/dojjob/features/conditions","1.docs/0.jobs/5.dojjob/3.features/11.conditions","Track court-imposed obligations, provider actions and review deadlines, with a separate optional tax collector.",{"title":317,"path":318,"stem":319,"description":320,"children":-1},"Troubleshooting","/docs/jobs/dojjob/reference/troubleshooting","1.docs/0.jobs/5.dojjob/4.reference/2.troubleshooting","Resolve common DOJ setup, access, template, sharing, upload and printing issues.",[],1790629483829]