# Configuration

```
Config = {}

------------------------------------------------------------
-- Interaction / Controls
------------------------------------------------------------
Config.InteractKey = 38            -- E
Config.ExitKey = 38                -- E
Config.CancelKey = 177             -- BACKSPACE
Config.InteractDistance = 1.8
Config.DrawTextDistance = 2.4

Config.InteractPrompt = "~g~[E]~c~ %s"
Config.ExitPrompt = "~r~[E]~c~ Exit dumpster"

------------------------------------------------------------
-- Dumpster Hiding
------------------------------------------------------------
Config.HideAnimDict = "missfbi3_sniping"
Config.HideAnimName = "prone_dave"
Config.HideAnimLoop = true

-- Allow players to pull others out of dumpsters
-- Uses (Shift + E) full controls can be found in README.MD
Config.AllowPullOut = true

------------------------------------------------------------
-- Dumpster Camera (Top-Down Watch Cam)
------------------------------------------------------------
Config.DumpsterUsePeekCam = true

-- Camera is positioned relative to the dumpster entity
-- Default: CCTV-style top-down view
-- Set to false if you would rather the players view be inside the dumpster
Config.DumpsterCamPosOffset = { x = 0.0, y = 0.0, z = 4.0 }
Config.DumpsterCamLookAtOffset = { x = 0.0, y = 0.0, z = 0.9 }
Config.DumpsterCamRot = { pitch = -85.0, roll = 0.0, yaw = 0.0 }
Config.DumpsterCamFov = 70.0

------------------------------------------------------------
-- Global Audio Muffling (OPTIONAL)
-- Uses SetAudioSpecialEffectMode
------------------------------------------------------------
Config.DumpsterGlobalMuffle = true

-- Recommended values:
-- 0 = Normal
-- 2 = Stoned (most reliable muffled feel)
-- 5/6/7 = Drunk variants
Config.DumpsterGlobalMuffleMode = 2

------------------------------------------------------------
-- Small Bin Searching (RP-Focused)
------------------------------------------------------------
Config.BinSearchTimeMs = 4500
Config.BinScenario = "PROP_HUMAN_BUM_BIN"
Config.FreezePlayerDuringBinSearch = true

------------------------------------------------------------
-- Bin Snap Positioning
-- Advise not touching unless you know what you're doing
------------------------------------------------------------
Config.BinSnapToPosition = true
Config.BinSnapDistance = 0.75
Config.BinSnapZOffset = 1.0       -- Prevents floor clipping
Config.BinSnapTryFallbacks = true

------------------------------------------------------------
-- Optional Start / Finish Animations
------------------------------------------------------------
Config.BinUseStartFinishAnims = true

Config.BinStartAnim = {
  dict = "mini@repair",
  name = "fixing_a_ped",
  duration = 900
}

Config.BinFinishAnim = {
  dict = "mini@repair",
  name = "fixing_a_ped",
  duration = 700
}

------------------------------------------------------------
-- RP Flavor Text (No Items / Economy)
-- Add as many lines as you like below
------------------------------------------------------------
Config.BinSearchLines = {
  "You rummage through the bin and find nothing useful (RP).",
  "You find a crumpled receipt and toss it away (RP).",
  "You pull out some random wires and shrug (RP).",
  "You find an empty can and shake it for change (RP).",
  "You find a soggy newspaper and sigh (RP)."
}

------------------------------------------------------------
-- Models (Strings only – hashed internally)
------------------------------------------------------------
Config.DumpsterModels = {
  "prop_dumpster_01a",
  "prop_dumpster_02a",
  "prop_dumpster_02b",
  "prop_dumpster_3a",
  "prop_dumpster_4a",
}

Config.SmallBinModels = {
  "prop_bin_01a",
  "prop_bin_02a",
  "prop_bin_03a",
  "prop_bin_05a",
  "prop_bin_06a",
  "prop_bin_07a",
  "prop_bin_07b",
  "prop_bin_08a",
  "prop_bin_08open",
  "prop_bin_10a",
  "prop_bin_11a",
  "prop_bin_12a",
  "prop_bin_13a",
  "prop_bin_14a",
  "prop_bin_15a",
  "prop_bin_16a",
  "prop_bin_17a",
  "prop_bin_18a",
  "prop_bin_19a",
  "prop_bin_20a",
  "prop_bin_21a",
  "prop_bin_22a",
  "prop_bin_23a",
}

```


---

# 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://docs.mdevelopment.xyz/m-development-docs/documentation/md-dumpsters/configuration.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.
