General
data/config.lua
This file contains all general config vars.
local config = {
reputation_max = 100.0, -- recommend not changing this.
reputation_min = 0.0, -- recommend not changing this.
reputation_enemy = 10.0, -- below what value is a player considered an enemy to a faction?
global_price_refresh = 30, -- how often does the global price table refresh? (seconds)
global_price_variation_min = -10, -- minimum price variation between dealers (%)
global_price_variation_max = 10, -- maximum price variation between dealers (%)
rep_per_trade = 0.01, -- reputation gained/lost per dollar in a trade
over_barter_max = 10.0, -- maximum overbarter percentage
deduct_on_rejection = 5.0, -- deduct X reputation on offer rejection
deduct_on_robbery = 20.0, -- deduct X reputation on robbery attempt
can_rob_stores = true, -- can players rob stores
rob_police_required = 0, -- minimum police required
rob_police_jobs = {'police','sheriff'}, -- police job names
rob_cooldown = 5 * 60, -- cooldown for each dealer/store (seconds)
rob_trading_cooldown = 1 * 60, -- cooldown after robbery for each dealer/store to begin trading again (seconds)
rob_max_radius = 50.0, -- player must stay within this radius during robbery
rob_time_per_dollar = 10, -- amount of time to wait per dollar gained in robbery (milliseconds)
rob_min_time = 10, -- minimum robbery time (seconds)
rob_max_time = 60, -- maximum robbery time (seconds)
rob_warn_police = true, -- should robberies warn police jobs?
rob_warn_delay = 10, -- warning delay after robbery begins to warn police jobs
}
Last updated