> For the complete documentation index, see [llms.txt](https://docs.t1ger.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.t1ger.net/resources/t1ger-tuning/configuration/engine-swap.md).

# Engine Swap

t1ger\_tuning/shared/engine\_swap.lua

```lua
-- the index number represent the vehicle class!
return { -- set icon to nil to use defaualt, else set your own icon.
    ['0'] = { -- Compacts Class
        {label = 'Stock Engine', stock = true, price = 1000, icon = nil}, -- requires 'gameName' in vehicles.meta to be specified!
        {label = 'Kanjo Engine', soundName = 'kanjo', price = 2500, icon = nil}, -- Dinka Kanjo
        {label = 'Club Engine', soundName = 'club', price = 3500, icon = nil}, -- BF Club
        {label = 'Issi Engine', soundName = 'issi3', price = 4500, icon = nil}, -- Weeny Issy Classic
    },
    ['1'] = { -- Sedans Class
        {label = 'Stock Engine', stock = true, price = 1000, icon = nil}, -- requires 'gameName' in vehicles.meta to be specified!
        {label = 'Fugitive Engine', soundName = 'fugitive', price = 4500, icon = nil}, -- Cheval Fugitive
        {label = 'Tailgater S Engine', soundName = 'tailgater2', price = 6000, icon = nil}, -- Obey Tailgater S
        {label = 'Schafter V12 Engine', soundName = 'schafter5', price = 7500, icon = nil}, -- Benefactor Schafter V12 (Armored)
    },
    ['2'] = { -- SUVs Class
        {label = 'Stock Engine', stock = true, price = 1000, icon = nil}, -- requires 'gameName' in vehicles.meta to be specified!
        {label = 'Baller ST-D Engine', soundName = 'baller8', price = 6000, icon = nil}, -- Gallivanter Baller ST-D
        {label = 'Contender Engine', soundName = 'contender', price = 7000, icon = nil}, -- Vapid Contender
        {label = 'Toros Engine', soundName = 'toros', price = 8000, icon = nil}, -- Pegassi Toros
        {label = 'Rebla GTS Engine', soundName = 'rebla', price = 10000, icon = nil}, -- Ubermacht Rebla GTS
    },
    ['3'] = { -- Coupes Class
        {label = 'Stock Engine', stock = true, price = 1000, icon = nil}, -- requires 'gameName' in vehicles.meta to be specified!
        {label = 'Sentinel XS Engine', soundName = 'sentinel', price = 4000, icon = nil}, -- Ubermacht Sentinel XS
        {label = 'Cognoscenti Engine', soundName = 'cogcabrio', price = 5000, icon = nil}, -- Cognoscenti Cabrio
        {label = 'Previon Engine', soundName = 'previon', price = 6000, icon = nil}, -- Karin Previon
    },
    ['4'] = { -- Muscle Class
        {label = 'Stock Engine', stock = true, price = 1000, icon = nil}, -- requires 'gameName' in vehicles.meta to be specified!
        {label = 'Blade Engine', soundName = 'blade', price = 4000, icon = nil}, -- Vapid Blade 
        {label = 'Yosemite Engine', soundName = 'yosemite', price = 5000, icon = nil}, -- Declasse Yosemite
        {label = 'Gauntlet Hellfire Engine', soundName = 'gauntlet4', price = 6000, icon = nil}, -- Bravado Gauntlet Hellfire
        {label = 'Dominator GT Engine', soundName = 'dominator9', price = 7000, icon = nil}, -- Vapid Dominator GT
        {label = 'BlackFin Engine', soundName = 'coquette3', price = 10000, icon = nil}, -- Invetero Coquette BlackFin
    },
    ['5'] = { -- Sports Classics Class
        {label = 'Stock Engine', stock = true, price = 1000, icon = nil}, -- requires 'gameName' in vehicles.meta to be specified!
        {label = 'Stirling GT Engine', soundName = 'feltzer3', price = 10000, icon = nil}, -- Benefactor Stirling GT
        {label = 'Casco Engine', soundName = 'casco', price = 8000, icon = nil}, -- Lampadatti Casco
        {label = 'Ardent Engine', soundName = 'ardent', price = 6000, icon = nil}, -- Ocelot Ardent
        
    },
    ['6'] = { -- Sports Class
        {label = 'Stock Engine', stock = true, price = 1000, icon = nil}, -- requires 'gameName' in vehicles.meta to be specified!
        {label = 'Drafter Engine', soundName = 'drafter', price = 6000, icon = nil}, -- Obey 8F Drafter
        {label = 'Comet S2 Engine', soundName = 'comet7', price = 7000, icon = nil}, -- Pfister Comet S2 Cabrio
        {label = 'Slagen GT Engine', soundName = 'schlagen', price = 8500, icon = nil}, -- Benefactor Schalgen GT
        {label = 'Schafter V12 Engine', soundName = 'schafter3', price = 9500, icon = nil}, -- Benefactor Schafter V12
    },
    ['7'] = { -- Super Class
        {label = 'Stock Engine', stock = true, price = 1000, icon = nil}, -- requires 'gameName' in vehicles.meta to be specified!
        {label = 'Turismo R Engine', soundName = 'turismor', price = 12500, icon = nil}, -- Grotti Turismo R
        {label = 'Zorrusso Engine', soundName = 'zorrusso', price = 15000, icon = nil}, -- Pegassi Zorrusso
        {label = 'XA-21 Engine', soundName = 'xa21', price = 18000, icon = nil}, -- Ocelat XA-21
    },
    ['8'] = { -- Motorcycles Class
        {label = 'Stock Engine', stock = true, price = 1000, icon = nil}, -- requires 'gameName' in vehicles.meta to be specified!
        {label = 'Sanctus Engine', soundName = 'sanctus', price = 4500, icon = nil}, -- LCC Sanctus
        {label = 'Gargoyle Engine', soundName = 'gargoyle', price = 6000, icon = nil}, -- Western Gargoyle
        {label = 'FCR 1000 Engine', soundName = 'fcr', price = 7500, icon = nil}, -- Pegassi FCR 1000
        {label = 'Shinobi Engine', soundName = 'shinobi', price = 8500, icon = nil}, -- Nagasaki Shinobi 
    },
    ['9'] = { -- Off Roads
        {label = 'Stock Engine', stock = true, price = 1000, icon = nil}, -- requires 'gameName' in vehicles.meta to be specified!
    },
    ['12'] = { -- Vans
        {label = 'Stock Engine', stock = true, price = 1000, icon = nil}, -- requires 'gameName' in vehicles.meta to be specified!
    },
}
```
