Timed buffs and debuffs for Qbox: caffeine, hangovers, infection, drug tolerance and fatigue.
Timed buffs and debuffs for Qbox: caffeine, hangovers, cigarettes, infection, drug tolerance and fatigue.
Overview#
| Server-owned timers | Effect end times are absolute server times saved in the character's metadata (glitchbuffs). A relog or restart keeps them, and the client gets the full list whenever it changes. |
| Caffeine and crash | Coffee and energy drinks stack, clear fatigue and end in a crash that grows when you drink through it. Both items are usable out of the box when no consumables resource is running. |
| Hangover | Enough drinks inside a time window, followed by a heavy drunk level wearing off, leave a hangover with a screen tint and slow stamina recovery. |
| Cigarettes | A cigarette needs a lighter, takes off stress and can set a forensic smoke flag. Chain smoking gives Smoker's Lungs, which caps stamina. |
| Medical items | Adrenaline, antibiotics and a sedative, with job, duty, distance and cooldown checks on the server. Enough sedative doses knock the target out. |
| Infection | A bleed left untreated gets one rare roll. An infection drains health slowly, never below a floor, and blurs the screen. |
| Drug tolerance | DrugUse weakens repeat doses, adds a comedown and overdoses past a limit. Mushrooms use it, and so can your own drug scripts. |
| Steroids and mushrooms | Steroids add melee damage and damage reduction. Mushrooms remove stress and shift the colours. |
| Fatigue | Job scripts add fatigue points per unit of work. Resting without sprinting takes them off, and the server checks the rest. |
| Toasts | Tag-strip cards show the effect, its good and bad points and what clears it. /buff and /debuff show them again. |
| HUD and carry weight state | Buff and Debuff squares are written to the hud_buff and hud_debuff state bags for a HUD to read. The buff_carry state bag (kg) lets a weight script read the protein bonus. |
Availability#
Coming soon. Installation and API documentation are available now; purchase and download links will be added when the package is released.
Stuck on a step?Ask in the Discord →