Renovax Scripts
  • Hi
  • Yortis Series
    • Interactions
      • Instalation
      • Config
      • TEBEX
    • Food system
      • Instalation
      • Config
      • TEBEX
  • Golden Meow Series
    • Notification
      • Instalation
      • Showcase
      • TEBEX
  • Nobody
    • Electrician job
      • Config
      • Minigames
      • Instalation
      • TEBEX
Powered by GitBook
On this page
  1. Yortis Series
  2. Food system

Config

// Some code```lua

Config = {}
Config.Locale = 'cs' -- Here you can switch between 'cs' or 'en'
Config.Notifications = "ox_lib" -- You can change to "ox_lib" for other notification type
Config.Version = 'esx' -- Change to 'qb' if using QB-Core

-- Food configuration
Config.Food = {"pizza", "burger", "chips", "fried_chicken", "donut", "hotdog", "mustard" } 
-- Food list, players can consume these items.

-- Drink configuration
Config.Drinks = {"monster", "redbull", "icedtea", "cola", "coffee", "whiskey", "vodka", "bourbon", "jagermeister", "rum", "brandy", "rakia", "wine", "tequila" } 
-- Drink list, players can consume these items.

-- Food status (hunger)
Config.FoodStatus = {
    pizza = 220000,
    mustard = 220000,
    burger = 220000,
    chips = 100000,
    fried_chicken = 200000,
    donut = 150000,
    hotdog = 150000
}

-- Drink status (thirst and drunk effect)
Config.DrinkStatus = {
    monster = {thirst = 220000},
    redbull = {thirst = 220000},
    icedtea = {thirst = 220000},
    cola = {thirst = 220000},
    coffee = {thirst = 220000},
    whiskey = {thirst = 220000, drunk = 220000},
    vodka = {thirst = 220000, drunk = 220000},
    bourbon = {thirst = 220000, drunk = 220000},
    jagermeister = {thirst = 220000, drunk = 220000},
    rum = {thirst = 220000, drunk = 220000},
    brandy = {thirst = 220000, drunk = 220000},
    rakia = {thirst = 220000, drunk = 220000},
    wine = {thirst = 220000, drunk = 220000},
    tequila = {thirst = 220000, drunk = 220000}
}

Locales = {} -- For each item you add to Drinks or Food, add here the used message

-- English Locale | If you add more items to Drinks or Food add here ['used_item'] = "You ate a your item name.",
Locales['en'] = {
    ['used_pizza'] = "You ate a pizza.",
    ['used_burger'] = "You ate a burger.",
    ['used_chips'] = "You ate some chips.",
    ['used_fried_chicken'] = "You ate fried chicken.",
    ['used_donut'] = "You ate a donut.",
    ['used_hotdog'] = "You ate a hotdog.",
    ['used_monster'] = "You drank a Monster energy drink.",
    ['used_redbull'] = "You drank a Red Bull.",
    ['used_icedtea'] = "You drank iced tea.",
    ['used_cola'] = "You drank a cola.",
    ['used_coffee'] = "You drank a coffee.",
    ['used_whiskey'] = "You drank whiskey.",
    ['used_vodka'] = "You drank vodka.",
    ['used_bourbon'] = "You drank bourbon.",
    ['used_jagermeister'] = "You drank Jägermeister.",
    ['used_rum'] = "You drank rum.",
    ['used_brandy'] = "You drank brandy.",
    ['used_rakia'] = "You drank rakia.",
    ['used_wine'] = "You drank wine.",
    ['used_tequila'] = "You drank tequila."
}

-- Czech Locale
Locales['cs'] = {
    ['used_blowpipe'] = "Snědl jsi blowpipe ty negře.",
    ['used_mastercard'] = "Snědl jsi mastercard.",
    ['used_pizza'] = "Snědl jsi pizzu.",
    ['used_burger'] = "Snědl jsi hamburger.",
    ['used_chips'] = "Snědl jsi chipsy.",
    ['used_fried_chicken'] = "Snědl jsi smažené kuře.",
    ['used_donut'] = "Snědl jsi koblihu.",
    ['used_hotdog'] = "Snědl jsi hotdog.",
    ['used_monster'] = "Vypil jsi energetický nápoj Monster.",
    ['used_redbull'] = "Vypil jsi Red Bull.",
    ['used_icedtea'] = "Vypil jsi ledový čaj.",
    ['used_cola'] = "Vypil jsi colu.",
    ['used_coffee'] = "Vypil jsi kávu.",
    ['used_whiskey'] = "Vypil jsi whisky.",
    ['used_vodka'] = "Vypil jsi vodku.",
    ['used_bourbon'] = "Vypil jsi bourbon.",
    ['used_jagermeister'] = "Vypil jsi Jägermeister.",
    ['used_rum'] = "Vypil jsi rum.",
    ['used_brandy'] = "Vypil jsi brandy.",
    ['used_rakia'] = "Vypil jsi rakii.",
    ['used_wine'] = "Vypil jsi víno.",
    ['used_tequila'] = "Vypil jsi tequilu."
}

```
PreviousInstalationNextNotification