Tgiann Inventory

In the pack’s config.lua file, you’ll find the following options:

Config.Inventory = "tgiann" -- options: "ox", "tgiann", "codem", "standalone"
Config.UseOxLibNotify = false -- set to true if you want to use ox_lib notifications
  • Config.Inventory: Must put "tgiann".

  • Config.UseOxLibNotify: Enable if you use ox_lib for in-game notifications.


📦 Item Setup for tgiann_inventory

Add the following entries to your data/items.lua file in tgiann_inventory:

bandagearm = {
    name = "bandagearm",
    label = "Bandage (Arm)",
    type = "item",
    weight = 100,
    useable = true,
    image = "bandagearm.webp",
    shouldClose = true,
    client = {
        export = "emergency_pack.useBandagearm"
    },
    description = "A sterile bandage for the arm. +25HP, max 70HP."
},

bandageleg = {
    name = "bandageleg",
    label = "Bandage (Leg)",
    type = "item",
    weight = 100,
    useable = true,
    image = "bandageleg.webp",
    shouldClose = true,
    client = {
        export = "emergency_pack.useBandageleg"
    },
    description = "A sterile bandage for the leg. +25HP, max 70HP."
},

syringe = {
    name = "syringe",
    label = "Syringe",
    type = "item",
    weight = 50,
    useable = true,
    image = "syringe.webp",
    shouldClose = true,
    client = {
        export = "emergency_pack.useSyringe"
    },
    description = "A medical syringe. +25HP, max 100HP, heals over time."
},

pills = {
    name = "pills",
    label = "Painkillers",
    type = "item",
    weight = 20,
    useable = true,
    image = "pills.webp",
    shouldClose = true,
    client = {
        export = "emergency_pack.usePills"
    },
    description = "Painkilling pills. +25HP, max 100HP, heals quickly."
}

Last updated