Change the Chemist's position and number#
Config.Chemist.coords = vector4(100.0, 200.0, 30.0, 90.0)
Config.ChemistPhone.number = '5550101234'
With glitch-criminaltablet running, his ped and position come from the tablet contact chemist. Without it, a local ped is spawned at Config.Chemist.coords when you are within 80 metres.
Make the pot smaller and the hold shorter#
Config.ChemistPhone.pot = { min = 20000, max = 30000, perMember = 0.03, minCrew = 3 }
Config.ChemistPhone.holdHours = 24
Add a supply offer#
table.insert(Config.ChemistSupplies.offers, {
id = 'filter2', item = 'filter_cartridge', label = 'Bulk filter', price = 9000,
trust = 5, perDay = 2, desc = 'A better price per filter for regulars.',
})
Turn off the research bonus and the supplies#
Config.Research.enabled = false
Config.ChemistSupplies.enabled = false
Use another minigame pack#
In heist/humane.lua, each minigame phase names an export:
{ type = 'minigame', export = 'StartWireConnectGame', args = { 4, 30 }, anim = 'type' }
Change export and args to match your pack.
Read the research bonus from another resource#
-- server side
local points = exports['glitch-humaneHeist']:ResearchBonus(source)
if points > 0 then
purityCap = purityCap + points
end
How a run is paid#
- The crew copies the drive. The resource texts the host and links every crew member to the job.
- The crew gets 250 m away. The engine hands the ticket to
glitch-humaneHeist:heldand nothing is paid yet. - The resource rolls the pot, stores it in
glitch_humane_owedand texts the host. - The host walks to the Chemist and picks Collect your payment. The money is paid first, then the ticket is settled for every member who is online.
- A member who is offline gets a
pendingrow and is settled on their next login.
Stuck on a step?Ask in the Discord →