ATY Scripts Logo
ATY Scripts/Dokümanlar/Restaurant Creator/Biometrics, Allergens & Sabotage

Biometrics, Allergens & Sabotage

Consumption

Eating and drinking use per-item animations and hand props, and fill hunger/thirst. Presets are configured in Config.ConsumeAnims (a base eat/drink preset plus per-item overrides).

  • Set Config.DisableBuiltInConsumables = true if another script (e.g. qb-smallresources) already handles food/drink, to prevent double progress bars.
  • The consume event the script hooks is Config.ConsumeEventName (default QBCore:Server:ConsumeItem).

Allergens

Each character is secretly assigned hidden allergies on creation (Config.Allergies — peanut, gluten, lactose, seafood), stored in aty_player_biometrics.

  • Eating a dish containing an allergen ingredient triggers an allergic reaction debuff.
  • An epipen item is included to counter reactions.

Calorie / fat debuffs

Overeating high-calorie foods applies a temporary stumble/exhaustion debuff (Config.Biometrics.FatDebuffDuration), adding weight to food choices.

Sabotage

A sabotage layer enables rival-restaurant play — traps and sabotage items (Config.SabotageItems) let players interfere with competitors' operations. Use it to drive restaurant-vs-restaurant roleplay.

Biometrics are per-character and persistent, so a player's allergies stay consistent across sessions.
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.