Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Sep 26, 2024. It is now read-only.

swkeep/keep-crafting

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
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

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.