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:
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). |
Start order matters. `aty_lib` and `aty_restaurant_assets` must come **before** `aty_restaurant`.