# shared/effects.lua

```lua
-- | # For the most quality and unique FiveM resources: https://thug-studios.com
-- | # If you need help, join our Discord server: https://discord.gg/thugstudios

-- | # Strain Effects ------------------------------------------------------------------------------------
-- |
-- | HOW IT WORKS:
-- | Each strain has a Hits array. Each entry defines what happens at that hit threshold.
-- | Only include fields that differ from defaults. Omitted fields are treated as inactive.
-- |
-- | FIELD REFERENCE (Hits array):
-- | Hit                = which hit activates this level
-- | Timecycle_Strength = timecycle intensity (0.0 - 1.0)
-- | Camera_Shake       = camera shake amplitude (0.0 - 2.0)
-- | Screen_Effect      = true to enable screen effect
-- | Ragdoll_Chance     = ragdoll chance per hit (0.0 - 1.0)
-- | Slow               = sprint multiplier (< 1.0 = slower)
-- | Greenout_Chance    = greenout chance per hit (0.0 - 1.0)
-- | Notification       = notification shown on level change
-- | Add_Armor          = armor added per hit (capped at 100)
-- | Add_Health         = health added per hit (capped at max health)
-- | Fast               = { Speed = 1.3, Seconds = 8 } temporary speed boost (multiplier + duration)

Config.Effects_Profile = {

    -- | # OG Kush (Hybrid - Balanced) -------------------------------------------------
    og_kush = {
        Timecycle = 'drug_wobbly',
        Screen_FX = 'DrugsTrevorClownsFightIn',

        Hits = {
            { Hit = 2,  Timecycle_Strength = 0.1,  Camera_Shake = 0.2,  Notification = 'You feel a light buzz.' },
            { Hit = 4,  Timecycle_Strength = 0.25, Camera_Shake = 0.5,  Notification = 'Your eyes are getting heavy...' },
            { Hit = 6,  Timecycle_Strength = 0.45, Camera_Shake = 0.8,  Screen_Effect = true, Slow = 0.95, Notification = 'Everything is slowing down.' },
            { Hit = 9,  Timecycle_Strength = 0.65, Camera_Shake = 1.1,  Screen_Effect = true, Ragdoll_Chance = 0.12, Slow = 0.9, Greenout_Chance = 0.1, Notification = 'You\'re getting dizzy...' },
            { Hit = 12, Timecycle_Strength = 0.85, Camera_Shake = 1.5,  Screen_Effect = true, Ragdoll_Chance = 0.25, Slow = 0.85, Greenout_Chance = 0.18, Notification = 'Everything is spinning...' },
        },
    },

    -- | # Purple Kush (Indica - Heavy Body) -------------------------------------------
    purple_kush = {
        Timecycle = 'drug_flying_base',
        Screen_FX = 'DrugsTrevorClownsFightIn',

        Hits = {
            { Hit = 2,  Timecycle_Strength = 0.12, Camera_Shake = 0.2,  Notification = 'A warm wave washes over you.' },
            { Hit = 4,  Timecycle_Strength = 0.28, Camera_Shake = 0.45, Slow = 0.97, Notification = 'A heavy relaxation...' },
            { Hit = 6,  Timecycle_Strength = 0.5,  Camera_Shake = 0.75, Screen_Effect = true, Slow = 0.92, Notification = 'Your eyes want to close.' },
            { Hit = 9,  Timecycle_Strength = 0.7,  Camera_Shake = 1.0,  Screen_Effect = true, Ragdoll_Chance = 0.2, Slow = 0.85, Greenout_Chance = 0.15, Notification = 'Gravity just doubled...' },
            { Hit = 12, Timecycle_Strength = 0.9,  Camera_Shake = 1.4,  Screen_Effect = true, Ragdoll_Chance = 0.35, Slow = 0.78, Greenout_Chance = 0.22, Notification = 'You\'re stuck to the floor...' },
        },
    },

    -- | # Sour Diesel (Sativa - Energetic) --------------------------------------------
    sour_diesel = {
        Timecycle = 'drug_drive_blend02',
        Screen_FX = 'DrugsTrevorClownsFightIn',

        Hits = {
            { Hit = 2,  Timecycle_Strength = 0.12, Camera_Shake = 0.25, Notification = 'Energy wave!' },
            { Hit = 4,  Timecycle_Strength = 0.25, Camera_Shake = 0.5,  Fast = { Speed = 1.05, Seconds = 8 }, Notification = 'Your mind is opening up...' },
            { Hit = 6,  Timecycle_Strength = 0.4,  Camera_Shake = 0.8,  Screen_Effect = true, Fast = { Speed = 1.08, Seconds = 8 }, Notification = 'Everything is speeding up!' },
            { Hit = 9,  Timecycle_Strength = 0.6,  Camera_Shake = 1.1,  Screen_Effect = true, Ragdoll_Chance = 0.1, Fast = { Speed = 1.05, Seconds = 8 }, Greenout_Chance = 0.08, Notification = 'Is this paranoia?' },
            { Hit = 12, Timecycle_Strength = 0.8,  Camera_Shake = 1.5,  Screen_Effect = true, Ragdoll_Chance = 0.2, Slow = 0.9, Greenout_Chance = 0.15, Notification = 'Losing control...' },
        },
    },

}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://thug.gitbook.io/documentation/scripts/roleplay-scripts/thug-weed-rolling/shared-effects.lua.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
