Skip to main content

config/config.lua

The Prompt variant uses the same configuration structure as the other Ammunation robbery scripts. Key settings are documented below. See the FM Ammunation Configuration page for the full field reference — all shared options apply here as well.

Main Settings

debug
boolean
default:"false"
Shows polyzones created inside the game.
TestingMode
boolean
default:"false"
Disables all minigames for testing.
RequireBag
boolean
default:"true"
Requires a bag item to loot crates.
MinimumPolice
number
default:"0"
Minimum police required online. Set to 0 to disable.
TotalActiveRobberies
number
default:"0"
Maximum simultaneous active robberies. Set to 0 to disable.
DisableLoudApproach
boolean
default:"false"
Disables the loud approach path.
DisableSilentApproach
boolean
default:"false"
Disables the silent approach path.

Cooldowns & Limits

Cooldown.Global
boolean
default:"true"
When true, all locations share one cooldown after a robbery.
Cooldown.Timer
number
default:"180"
Cooldown duration in minutes.
Limits.TotalRobberiesPerRestart
table
Per-restart limits split by ShootingRanges and Gunstores.

Required Items

Items
table
Items = {
    ["Circuit"] = "x_circuittester",
    ["TrojanUSB"] = "x_trojanusb",
    ["TrojanUSB2"] = "x_trojanusb2",
    ["Lockpick"] = "advancedlockpick",
    ["Bag"] = "bag",
    ["Key"] = "ammunation_key",
    ["Phone"] = "x_phone",
}

Dispatch

DispatchLocation
table
DispatchLocation = {
    ["Loud"] = true,
    ["Silent"] = false,
    ["Register"] = true,
    ["Keypad"] = false,
    ["ElectricBox"] = false,
}

Store Locations

  • Config.ShootingRanges — Enable/disable shooting range locations
  • Config.GunStores — Enable/disable gun store locations
  • Config.Stores — Full per-location configuration (coords, NPCs, interactions, reset timers)
Reward tables: Config.RegisterGunStores, Config.RegisterShootingRanges, Config.Loot, and Config.Props.
CratePassword
table
UI text for split-code crate interactions.

Logs

Configured in config/logs.lua.