> For the complete documentation index, see [llms.txt](https://atiysus-organization.gitbook.io/aty-scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://atiysus-organization.gitbook.io/aty-scripts/restaurant-creator/getting-started/dependencies.md).

# Dependencies

#### Required

| Resource                          | Purpose                                                                                                                      |
| --------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| **aty\_lib**                      | The bridge that abstracts framework, inventory, target, skin and database access. Everything runs through it.                |
| **aty\_restaurant\_assets**       | Custom stream assets (props, models, screen textures such as `script_aty_microwave` and `script_aty_coffee_machine_screen`). |
| **oxmysql**                       | Database access.                                                                                                             |
| **ox\_lib**                       | Progress bars, context/input dialogs and utilities used by the NUI-adjacent flows.                                           |
| **ox\_target** *or* **qb-target** | Interaction zones for stations, props and pollution. Auto-detected.                                                          |

The manifest declares:

```lua
dependencies {
    'aty_lib',
    'aty_restaurant_assets'
}
```

`oxmysql`, `ox_lib` and the target resource must also be running — they are loaded via `@` includes and runtime checks.

#### Framework (via aty\_lib)

ATY Restaurant does **not** hard-depend on a single framework. `aty_lib` detects and adapts to:

* **QBCore**
* **ESX**
* **Qbox**

Configure your framework/inventory/target choices inside **aty\_lib**, not here. If `aty_lib` is not started, the resource logs a clear warning and callbacks return safe fallbacks instead of erroring.

#### Optional integrations

| Integration                            | Notes                                                                                                                                      |
| -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| **qb-smallresources / external needs** | If another script already handles food/drink hunger & thirst, set `Config.DisableBuiltInConsumables = true` to avoid double progress bars. |
| **ps-housing**                         | House garages/interior hooks are supported by the wider ATY ecosystem; restaurant ownership itself is standalone.                          |
| **Dispatch / police**                  | Theft and impound flows expose events you can hook into (see Events).                                                                      |

{% hint style="warning" %}
Start order matters. `aty_lib` and `aty_restaurant_assets` must come **before** `aty_restaurant`.
{% endhint %}
