Configuration
You can edit the following variables in the file: config.lua
LANGUAGE
The active locale name.
LANGUAGE = "en"REQUIRED_POLICE
The amount of cops required to be online.
REQUIRED_POLICE = 0MAX_SELL
The maximum amount of drug sold at once.
MAX_SELL = 7    -- MAX AMOUNT OF DRUG SOLD AT ONCEREPUTATION_LOSS
The number of reputation points lost every <REPUTATION_LOSS_TIMER>.
REPUTATION_LOSS_TIMER = 60*60000 -- DELAY BETWEEN 2 REPUTATION POINTS LOSTREPUTATION_LOSS_TIMER
The time between each reputation loss.
REPUTATION_LOSS_TIMER = 60*60000 -- DELAY BETWEEN 2 REPUTATION POINTS LOSTPOL_ALERT_TIME
The police alert duration (How long the blip stays on the map).
POL_ALERT_TIME = 30 * 1000  -- 30 secondsPOL_ALERT_SPRITE
The blip sprite for the police alert. (See the list of sprites)
POL_ALERT_SPRITE = 108      -- radar_financier_strand...POL_ALERT_COLOR
The blip color for the police alert. (See the list of colors)
POL_ALERT_COLOR = 1         -- RedPOL_ALERT_WAVE
Toggle the wave effect behind the blip for the police alert.
POL_ALERT_WAVE = true       -- Enables the blip wave.PERCENTAGES_ADV
The rate of each interaction when trying to sell drugs on an enemy turf. The remaining rate is the sell percentage. The total rate must be under 100.
- COPS: integer, rate of calling the cops (and denying).
- GANG: integer, rate of calling the gang owning the turf (and denying).
- DENY: integer, rate of denying.
PERCENTAGES_ADV = { -- BE SURE TO NEVER GO OVER A TOTAL OF 100
    COPS = 20,
    GANG = 30,
    DENY = 0
}PERCENTAGES_OWN
The rate of each interaction when trying to sell drugs on your gang turfs. The remaining rate is the sell percentage. The total rate must be under 100.
- COPS: integer, rate of calling the cops (and denying).
- DENY: integer, rate of denying.
PERCENTAGES_OWN = { -- BE SURE TO NEVER GO OVER A TOTAL OF 100
    COPS = 20,
    DENY = 20
}PERCENTAGES_OUT
The rate of each interaction when trying to sell drugs out of turfs. The remaining rate is the sell percentage. The total rate must be under 100.
- COPS: integer, rate of calling the cops (and denying).
- DENY: integer, rate of denying.
PERCENTAGES_OUT = { -- BE SURE TO NEVER GO OVER A TOTAL OF 100
    COPS = 30,
    DENY = 25
}TURF_MULTIPLIER
The prices' multiplier when selling on a turf.
TURF_MULTIPLIER = 1.5 -- 1 = 100%DRUGS
The drug prices.
DRUGS = { -- Item prices for sell
    ["weed"] = 91,
    ["meth"] = 200,
}GANG_COLORS
The gang colors to display on the minimap. These are CSS colors (hex, rgba, colors, ...).
GANG_COLORS = {
    neutral = "white", -- DEFAULT TURF GANG, WHEN NO REAL GANG HAS REPUTATION, 
    vagos = "yellow",
    ballas = "purple"
}TURFS
The turfs' delimitations, as a polygon.
- Polygon: table, list of vector2 position.
TURFS = {
    DEL_PERRO = {
        Polygon = {
            vector2(-2240.08, -367.21),
            vector2(-2068.57, -32.42),
            vector2(-1557.0, -184.18),
            vector2(-1083.4, -761.62),
            vector2(-1779.0, -1349.0),
            vector2(-1930.0, -1245.0)
        }
    },
    
    ...
}Last updated