Studios
Humane Heisthouse-3.jpg

Configuration

SoonHumane HeistQbox
PAGE 03 OF 06  ·  INSTALLATION → CONFIGURATION → EXAMPLESdocs.glitchstudios.dev
Browse docs

Everything is in config.lua, which stays open under escrow along with heist/humane.lua, install/* and sql/*.

Main keys#

Setting Default
Config.Debug false
Config.Logging true. Console line for each payout, burn and expiry.
Config.DropLabel 'Loot'. Name of the ground drop used when a reward does not fit in the pockets.
Config.Integrations engine = 'glitch-heistEditor', heistId = 'humane', phone = 'sd-phone', crafting = 'glitch-crafting', xp = 'glitch-xpSystem', economy = 'glitch-economy'. Leave an optional one empty ('' or false) to turn it off.
Config.Hazmat item = 'hazmat_suit', plus outfit (component, drawable, texture) and mask for male and female freemode peds. The item is not used up.
Config.Prototype enabled = true, prices = { prototype_serum = { 7200, 9600 }, prototype_component = { 9000, 12600 } } (dirty money, a range per item), chemist = 'chemist', serum = { minutes = 10, sprint = 1.15 }
Config.Chemist coords, model = 's_m_m_scientist_01', scenario = 'WORLD_HUMAN_CLIPBOARD', range = 5.0 (server-side distance check for every Chemist action)
Config.ChemistSupplies enabled = true and an offers list: filter cartridge at $5,000 and hazmat suit plans at $25,000, both with trust = 0.
Config.ChemistPhone number = '5550104242', name = 'The Chemist', avatar, pot, account = 'dirty', holdHours = 72, pendingDays = 30, texts
Config.Alarm name = 'FIB_05_BIOTECH_LAB_ALARMS', center = vector3(3550.0, 3668.0, 28.12), radius = 600.0
Config.Research enabled = true, purityBonus = 2, days = 7
Config.Tablet enabled = true, resource = 'glitch-criminaltablet'
Config.XP enabled = true, maxTakeBonus = 0.15
Config.DirtyMoney item = 'black_money'
Config.PoliceJobs { 'police', 'sheriff', 'bcso', 'sasp' }. These jobs are blocked from dealing with the Chemist.
Config.Text Every line a player sees. Change or translate it here.

The Chemist's pot#

Config.ChemistPhone.pot defaults to { min = 31500, max = 45000, perMember = 0.03, minCrew = 3 }. The pot is rolled once between min and max, then raised by perMember for every crew member above the job's minimum crew. The minimum is read from the tablet job when the tablet runs. The host's heist_take perk adds on top, capped by Config.XP.maxTakeBonus.

holdHours is how long the host has to collect before the payout is dropped and the job counts as failed. pendingDays is how long an offline member's share waits for their next login.

Supply offers#

Each entry in Config.ChemistSupplies.offers takes:

Key Meaning
id Unique offer id
item Item given (for a normal offer)
blueprint Blueprint name instead of an item. Needs glitch-crafting.
label, desc Menu text
price Dirty money cost
trust Chemist trust needed to buy. 0 means anyone. Trust comes from glitch-criminaltablet.
perDay Daily limit per player. 0 means unlimited.

The raid definition#

heist/humane.lua registers the definition humane with glitch-heistEditor. Notable defaults:

Setting Default
Police on duty 6 (job.minPolice)
Crew up to 6 (run.maxCrew)
Run length run.duration = 3000 seconds
Escape distance 250 m from the centre
Cooldowns site 1 hour, per player 6 hours
Dispatch code 10-90, "Humane Labs Break-in"
Rewards xp = 900, no escape rewards (the Chemist pays)
Steps swipe, power, cold, door, drums, labs, drive, elevator