Skip to content
This repository was archived by the owner on Sep 26, 2024. It is now read-only.

swkeep/keep-crafting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dependencies

Preview

Installation

  • Install all dependencies

  • Drag and drop resource in your resources list

  • Make sure script is loaded after all dependencies

  • A new Item need to be added with it's image :

-- crafting-blueprint ["blueprint_document"] = { ["name"] = "blueprint_document", ["label"] = "Blueprint", ["weight"] = 100, ["type"] = "item", ["image"] = "blueprint_document.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "A blueprint document that help you craft." },
  • in qb-inventory\js\app.js find FormatItemInfo() and add this code at end of the function
if (itemData.name == "blueprint_document") { // Blueprint for crafting $(".item-info-title").html("<p>" + itemData.label + "</p>"); $(".item-info-description").html( "<p><span>" + itemData.description + "</span></p>" + "<p><strong>Blueprint :</strong> " + itemData.info.blueprint_label + "</p>" ); }
  • Blueprints can be given by using this command /giveblueprint name

About

qbcore crafting system

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages