codem-inventory

Installation for codem_inventory

Step 1.

Below is item for codem-inventory/config/itemlist.lua

["notepad"] = {
    ["name"] = "notepad",
    ["label"] = "Notepad",
    ["weight"] = 5,
    ["type"] = "item",
    ["image"] = "notepad.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = false,
    ["description"] = ""
},

Step 2.

In codem-inventory/config/metadata.js add below lines inside sendInfoData function

else if (item.name.match("notepad")) {
    let infoData = [
        { label: "Title", value: iteminfo.title || "Unknown" },
    ];
    returnString = infoData;
}   

Last updated