Research
Player-run labs with their own jobs and society accounts. Three lab types:
- Research: collect blood, saliva and water samples, run them through centrifuges, sequencers, incubators and synthesizers, earn research points, unlock projects and serums, take city contracts and play through story arcs.
- Clinical: make graded pharmacy medicine to order and run a diagnostics desk that issues signed results cards.
- Black market: press street pills, deliver to dead drops for black money, deal with a fence, and manage heat before police raid the lab.
Also included: a reaction bench with a hidden compound book (tranq and neurotoxin darts, sedative, stimulant, antitoxin and more), a tranquilizer pistol, lab monitors drawn on in-world TVs, break-ins, and a full admin panel.
#Requirements
- Required: qbx_core, ox_lib, ox_inventory, ox_target, oxmysql.
- Items: add
install/ox_inventory-items.luato ox_inventory and copyinstall/images/*toox_inventory/web/images/. Keepconsume = 0on every lab item; the server removes items itself. - Where players get supplies: sell the lab kits and reagents (
lab_syringe,lab_swab,lab_vial,lab_scalpel,lab_reagent,lab_culture_media,lab_disinfectant, and the clinical and black-market bases) in any shop. An ox_inventory shop works. Nothing else is needed. - Optional, used when running:
- GR1M_UltraBoss: lab jobs and society accounts. Without it, jobs are created in qbx_core.
- GR1M_Skills: the Research skill tree.
- GR1M_Medical: clinic pharmacies order medicine from clinical labs on their own.
- A zombie resource with the GR1M_Research exports (GR1M_Zombies): zombie bodies on the autopsy table, tissue samples, infection serums, the zombie lure and lab breaches. Without it those parts do nothing (the panel shows "Zombies offline"), arc actions that spawn zombies are skipped, and everything else works.
#Install
ensure oxmysql
ensure ox_lib
ensure qbx_core
ensure ox_inventory
ensure ox_target
ensure GR1M_Research
add_ace group.admin gr1mresearch.admin allow
The folder must be named GR1M_Research. Tables (gr1m_research_*) are created on first start.
#Tranquilizer pistol
The pistol is the game's second taser, WEAPON_STUNGUN_MP, renamed in ox_inventory. No streamed files are needed. Add it to ox_inventory/data/weapons.lua with the label you want. Every shot spends one loaded dart; no darts, no shot.
#Setup
/gr1mresearch> Labs > create. Pick the lab type, owner and terminal look (Clinical, Biohazard or Black-market).- Place stations by aiming:
Eplaces, scroll rotates (Ctrl for 1°), Shift+scroll changes height, Esc cancels. Each station spawns a default prop; pick another in the prop picker or typenoneto use a map prop. - Station kinds: cold storage, centrifuge, sequencer, incubator, synthesizer, biosafety hood, lab terminal, arc board, sample drop-off, reaction bench, autopsy table, monitor, QC bench, diagnostics desk, dead drop and fence.
#How it plays
- Samples are unique items with an anonymous donor code, strain, purity and a decay clock. Purity drops outside cold storage.
- Processes: at a station, pick a program, fill its slots and start. Jobs run on the station, so staff can walk away. Outcomes are success, partial, fail or contaminated (the station then needs disinfectant). Station tiers, the biosafety hood and skills lower the risk.
- Research points come from sequencing and are spent on projects that unlock programs and perks. Knowledge is per lab. Labs can print formula items, which can be sold or stolen.
- Lab levels unlock a second project, tier 3 stations and bigger clients.
- Contracts roll daily per lab from clients (hospital, clinics, City Hall). Reputation goes up when delivered and down when they expire.
- Story arcs: chapters with goals and actions (broadcasts, payouts, unlocks, flags). Build your own in the panel. A starter arc is included.
- Chemistry: load two to four ingredients on the reaction bench. An exact match makes the compound; a miss tells you how close you were. Hints come from projects and arcs.
#Commands
/gr1mresearch: admin panel (labs, definitions, arcs, settings, log)/lab: your lab terminal from anywhere (reading only; working needs you at the lab)
#Exports (server)
ListSites(), GetSiteForJob(job), IsLabStaff(src, siteId?), CreateSample(opts), GiveSample(target, opts), GrantResearchPoints(siteId, n, reason), UnlockProgram(siteId, programId), ArcEvent(kind, payload), GetActiveEffects(src).
#Config
config.lua holds first-boot seeds (sample types, programs, projects, products, clients, compounds) and hard limits. Day-to-day changes are made in game and saved to the database.
Support: https://discord.gg/m38m33G6jK
GR1M