Documentation › Mushrooms › Features › Mushroom Effects

Mushroom Effects

What eating a mushroom does, overdose and the effects editor.

Mushrooms with edible = true can be used from the inventory: the character eats it (animation with the mushroom prop) and the effects set for that mushroom start.

Effect types

Effect What it does Settings
Screen effect Post-process screen filter effect name, duration
Camera shake Gameplay camera shake shake type, intensity, duration
Colour filter Timecycle colour grading modifier, strength, duration
Buffs Faster running speed multiplier (up to 1.49), duration
Camera chaos Random camera heading / pitch jitter duration, interval, heading and pitch jitter
Teleport trip Ragdoll, fade out, wake up somewhere nearby ragdoll time, radius, fade out / in
Particles Particle effects around the player in data/effects_data.json
Sounds Looping sounds in data/effects_data.json

Editing effects

Admin panel → Effects: pick a mushroom, switch each effect on or off and set its values, Save changes. Changes are saved in data/effects_data.json and sent to every player right away – no restart.

Overdose

lua
-- config_effects.lua
EffectsConfig.overdose = {
    window_ms     = 300000, -- 5 minutes
    max_in_window = 2,      -- eating more than this in the window kills the player
}

EffectsConfig.availableEffects = {   -- switch whole effect types off
    screen_effect = true, cam_shake = true, timecycle = true, ptfx = true,
    sounds = true, buffs = true, camera_chaos = true, teleport_trip = true,
}

Set edible = false on a mushroom in config_mushrooms.lua to stop it from being eaten.