TGIANN Weapons

Add Weapons to items/weapons

circle-info

tgiann-inventory/items/weapons.lua (Inside Weapons List)

    weapon_huntingrifle          = { label = 'Hunting Rifle', weight = 1000,  ammotype = 'AMMO_HUNTINGRIFLE', image = 'weapon_huntingrifle.png', description = 'A high-velocity rifle designed for precise, long-range shots at game. Ideal for hunters seeking to take down large prey from a distance.' },
    weapon_crossbow              = { label = 'Hunting Crossbow', weight = 1000, ammotype = 'AMMO_ARROW', image = 'weapon_crossbow.png', description = 'A precision weapon favored by skilled hunters. Fires arrows with remarkable accuracy, ideal for hunters who value skill and control over brute force.' },

Config Ammo configs/configAmmo

circle-info

tgiann-inventory/configs/configAmmo.lua - (Inside config.ammo Table)

    {
        ammoType = "AMMO_HUNTINGRIFLE",
        item = "gg_hunting_rifleammo",
        ammo = 10,           -- Only works on ammoSystem 1
        maxAmmoInWeapon = 250 -- Only works on ammoSystem 1
    },
    {
        ammoType = "AMMO_ARROW",
        item = "gg_hunting_arrowammo",
        ammo = 10,           -- Only works on ammoSystem 1
        maxAmmoInWeapon = 20 -- Only works on ammoSystem 1
    },

Config Durability configs/configWeapon

circle-info

tgiann-inventory/configs/configWeapon.lua - (Inside WeaponList Table)

Last updated