ATY Scripts Logo
ATY Scripts/Docs/Restaurant Creator/Hygiene, Cleaning & Health Inspector

Hygiene, Cleaning & Health Inspector

A restaurant that isn't kept clean loses hygiene, reputation, and eventually gets sealed.

Pollution & dirt

  • Cooking actions add pollution (Config.PollutionTickRate per action, capped at Config.MaxPollutionBeforePenalty).
  • Open restaurants periodically spawn trash and stains near stations — the lower the hygiene, the higher the chance (auto-spawn runs every minute).
  • Each active pollution reduces the restaurant's max hygiene.

Cleaning

Tool / Station Cleans
Trash Bin / hand pickup Litter/trash — walk up and take it.
Mop (from Mop Bucket / Cleaning Station) Stains — take the mop, target the stain and complete the scrub minigame (top-down camera, drag to clean).
Sink Wash action; grants a hygiene bonus (Config.CleaningHygieneBonus).

Collected trash/stains despawn together with their interaction targets. Return the mop at the bucket when finished.

Health inspector

A virtual inspector checks restaurants every Config.InspectorCheckInterval (default 5 min). If hygiene is critically low:

  • The owner/staff get a warning.
  • Continued neglect can seal the restaurant (state 3), blocking operation until the fine is paid or the restaurant is transferred.

Spoilage

Ingredients spoil over time based on Config.SpoilTimes (per category) or a per-item spoilTime. A background thread removes spoiled items from prep boards and storage. Dispose of spoiled goods from the Supply tab or a trash bin.

Keep hygiene high: it directly drives reputation and inspector outcomes.
ATY Scripts LogoATY SCRIPTS

Creamos scripts de FiveM altamente optimizados para QBCore y ESX. Máximo rendimiento, código preciso, cero lag.

Unirse a la comunidad

Socio

Socios oficiales de Tebex. Pago seguro e integración con Cfx.re Keymaster.

Legal

Sin afiliación con Rockstar Games, Cfx.re, FiveM ni Take-Two Interactive. Las compras se rigen por los Términos de Servicio de Tebex.

© 2026 ATY SCRIPTS. Todos los derechos reservados.