| Risk | Probability | Impact | Mitigation | |------|-------------|--------|------------| | Performance hit on low‑end PCs | Medium | Medium | Provide quality‑setting toggle to disable post‑process effects. | | Negative perception of alcohol portrayal | Low | High | Include clear content warning, optional disabling of the entire system, and a “sober‑only” mode. | | Complexity of stat stacking | Low | Medium | Unit‑test all possible modifier combinations; use deterministic order (base → intox → buffs → debuffs). | | Player frustration from blackout loss | Medium | Medium | Offer “Hangover” recovery items and make blackout a rare, not guaranteed, outcome. |
| Component | Tech Stack / Tools | Key Considerations |
|-----------|--------------------|--------------------|
| Intoxication Meter | Unity UI (Canvas), ScriptableObject for stat modifiers | Persist across scene loads; support serialization for save‑games. |
| Stat System Hook | Existing CharacterStats component extended with IntoxModifier listener. | Ensure modifiers stack correctly with buffs/debuffs. |
| Visual Effects | Post‑processing stack: Bloom, Chromatic Aberration, Motion Blur. Custom shader for color shift. | Performance: toggle off for low‑spec hardware via quality settings. |
| Audio Filters | FMOD / Wwise: Real‑time Reverb, Low‑pass filter applied to master bus when intoxicated. | Latency: must be sub‑20 ms to avoid audio desync. |
| Input Wobble | Input wrapper that adds Perlin noise offset before forwarding to movement/aim scripts. | Clamp offset to prevent controller stick saturation. |
| Dialogue System | Ink or Yarn Spinner with DRUNK_ONLY tags. | Fallback lines for sober state. |
| Blackout Logic | Event system listening to OnDamageTaken + intoxication % threshold. | Ensure cutscene can be interrupted by player if they have a “Revive” item. |
| Save/Load | Serialize intoxicationPercent and active buffs in the player save file. | Backward compatibility with previous saves (default to 0%). | Kira Lia Drunk
| Mechanic | Description | Implementation Details |
|----------|-------------|------------------------|
| Intoxication Meter | A semi‑circular UI element around the health bar that fills as Kira Lia drinks. | - 0 % = sober. - 100 % = fully drunk (max effect). - Meter decays at a rate of 5 %/sec when not drinking, faster (8 %/sec) if the player activates “Water Break”. |
| Stat Modifiers | Intoxication alters core stats: | - Accuracy: ± (−10 % × %Intox) → 10 % penalty at full. - Movement Speed: + (5 % × %Intox) → 5 % boost at full (slightly “lighter”). - Reaction Time: + (30 % × %Intox) → 30 % slower at full. - Luck: + (15 % × %Intox) → increased critical hit chance. |
| Perception Distortion | Visual & auditory filters simulate drunkenness. | - Blur/Edge‑Detection: 0 % → 25 % screen blur at full. - Color Shift: Warm hue saturation ↑ 15 % at full. - Audio Reverb: Slight echo on ambient sounds; dialogue muffles proportionally. |
| Control “Wobble” | Subtle, random input drift to emulate impaired coordination. | - Input vector offset generated via low‑frequency Perlin noise, magnitude = 0.05 × %Intox of stick deflection. |
| Dialogue Variants | NPCs react to Kira Lia’s drunkenness with alternate lines and optional “drunk‑only” quests. | - Dialogue tree nodes flagged DRUNK_ONLY. - NPCs may offer “drink‑related” side‑quests (e.g., “Find the lost bottle”). |
| Risk/Reward Interaction | Certain gameplay systems (e.g., lock‑picking, gambling, combat) have modified success curves. | - Lock‑Pick: Base success × (1 − %Intox) + (Luck × %Intox). - Gambling Mini‑Game: Payout multiplier ↑ (0.5 × %Intox). - Combat: Damage dealt ↑ (0.2 × %Intox) but chance to miss ↑ (0.4 × %Intox). |
| Recovery Options | Players can mitigate intoxication via items or actions. | - Water: Instant -30 % meter, +10 % movement speed for 5 s. - Coffee: -50 % meter, temporarily restores reaction time (adds “clear‑head” buff for 8 s). |
| Failure State – “Blackout” | If the meter reaches 100 % and a high‑stress trigger occurs (e.g., taking damage > 20 % max HP), Kira Lia may blackout. | - Cutscene: Fade to black, player loses control for 2‑4 s. - Consequence: Random loss of an inventory item (selected from “non‑essential” pool) and a temporary debuff “Hangover” (‑10 % all stats for 30 s). | | Risk | Probability | Impact | Mitigation
Title: Kira Lia Drunk – Dynamic Intoxication System | Component | Tech Stack / Tools |
Feature Owner: Gameplay Design Lead
Target Release: v1.5 (Planned for Q4 2026)
Platform: PC, PS5, Xbox Series X|S