NPC Shops
Configuration
Configuration for NPC Shops.
Configuration (config.lua)
| Option | Description |
|---|---|
Config.Bridge | Framework, notifications, target, text UI, inventory, society ('auto' detects them) |
Config.UseDistance | Max distance from a store NPC to use the store |
Config.MaxQuantity | Most of one item that can be bought in one checkout |
Config.TextUIKey | Key for stores with Interaction = 'textui' (default E) |
Config.Stores | The stores – every option is explained above the table in config.lua |
Item example:
lua
{ name = 'water_bottle', priceType = 'fixed', basePrice = 50 },
{ name = 'pistol_ammo', priceType = 'dynamic', basePrice = 200, dynMode = 'percent', dynValue = 2, dynScope = 'global' },Last updated