Inventory Runtime Configuration Inventory Runtime Configuration Slot/weight limits, session behavior and weapon magazine defaults. Applies to: Nord Inventory v2.0.0 -- Nord Inventory - inventory limits, weapon ammo and runtime rules Config = Config or {} Config.DefaultPlayerSlots = 40 Config.DefaultPlayerWeight = 80000 -- grams Config.DefaultStashSlots = 60 Config.DefaultStashWeight = 150000 Config.TrunkSlots = 50 Config.TrunkWeight = 120000 Config.GloveboxSlots = 10 Config.GloveboxWeight = 15000 -- Weapon magazine handling. Nord keeps ONLY the currently loaded magazine on the -- weapon metadata; reserve ammunition always remains as inventory items until a -- reload transaction removes exactly the rounds that fit in the magazine. Config.WeaponAmmo = { Enabled = true, DefaultMagazineSize = 30, -- used only until a weapon instance has magazineSize metadata MaxMagazineSize = 999, DetectMagazineFromGame = true, -- first equip can seed metadata.magazineSize from GTA's native clip size -- Keep the weapon physically equipped when the magazine reaches 0. -- GTA may try to switch the ped to WEAPON_UNARMED when the last round is -- fired; Nord immediately restores the empty weapon. The weapon is only -- holstered when the player uses/clicks that same inventory item again. KeepEquippedWhenEmpty = true, -- Automatic mode is intentionally slower than pressing R manually. -- First Nord waits before requesting the reload, then it keeps the weapon -- empty for an additional preparation period before the native reload starts. AutoReloadDelay = 1400, -- ms after the magazine reaches zero before automatic reload is requested AutomaticReloadPrepareTime = 900, -- extra ms before the automatic reload animation / rounds enter the weapon ReloadCooldown = 650, -- protects against duplicate reload requests ManualReloadControl = 45, -- INPUT_RELOAD (R) } Config.InventorySessionSeconds = 300 Config.SaveIntervalSeconds = 30 Config.MaxTransferAmount = 100000 Config.MaxContainerDepth = 3 Config.EnableWeight = true Config.EnableVolume = false Config.EnableDurability = true Config.EnableItemHistory = true Config.TransactionLogRetentionDays = 14