ATY Scripts Logo
ATY Scripts/Dokümanlar/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

QBCore & ESX için yüksek optimizasyonlu FiveM scriptleri üretiyoruz. Maksimum performans, hassas kod, sıfır gecikme.

Topluluğa Katıl

Partner

Tebex resmi partneri. Güvenli ödeme ve Cfx.re Keymaster entegrasyonu.

Yasal

Rockstar Games, Cfx.re, FiveM veya Take-Two Interactive ile bağlantılı değildir. Satın alımlar Tebex Hizmet Şartları'na tabidir.

© 2026 ATY SCRIPTS. Tüm hakları saklıdır.