# TGIANN Weapons

## Add Weapons to items/weapons

{% hint style="info" %}
tgiann-inventory/items/weapons.lua  (Inside Weapons List)
{% endhint %}

```lua
    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

{% hint style="info" %}
tgiann-inventory/configs/configAmmo.lua - (Inside config.ammo Table)
{% endhint %}

```
    {
        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

{% hint style="info" %}
tgiann-inventory/configs/configWeapon.lua - (Inside WeaponList Table)
{% endhint %}

```
    weapon_huntingrifle          = 100,
    weapon_crossbow              = 100,
```
