LC-Development
  • 👋Welcome to HapticCode
  • 📚Library
    • 🖥️Haptic-Lib
      • 🔧 Config
      • 📙 Usage
      • 🤝Client Functions
        • Blips
        • Items
        • Notify
        • Target
        • Peds
      • 💻Server Functions
        • Items
        • Jobs
        • Money Functions
        • Notify
  • 😇Remastered Scripts
    • 🛒 LC-Businesses
      • 🎯Job Blips
      • 💼 Duty Locations
      • ❄️ Fridges
        • Fridge Shops
        • Fridge Stashs
        • Final Step
      • 📥 Trays
      • 🍔 Drink/Fryer/Grill/Pack
      • 📦Shared Employee Stash
      • 📦Private Employee Stash
      • 📦Table Stashs
      • 🪑 Chairs
      • 💃 NPC Dancers/Strippers
      • 🎧 DJ Booths
      • 💰Cash Registers
      • 🧑Custom Animations
      • 🍔Consumables
    • 🏛️LC-Cityhall
      • 📝Config
      • 💳Licenses
  • Haptic
    • 😷 Haptic-Gangs
      • 🔧 Initial Config
      • 📚 Zone Configuration
      • 💊Drug Dealing
        • 💊 Zone Based Dealing
      • 💀Death Tracker
      • 💻Exports
      • 📝 Integrations
        • 🚑 QB-AmbulanceJob
        • 💎 QB-Jewellery
        • 💵 QB-StoreRobbery
        • 💦Rcore Integration
      • 🏗️Common Issues
    • 🔫Haptic-Ammunation
      • 📝Config
    • 💊Haptic-DrugEffects
Powered by GitBook
On this page
  1. Remastered Scripts
  2. 🛒 LC-Businesses

🍔Consumables

I have included embedded consumables so that you can handle it all from one script, along side being able to use your custom emotes for each consumable, so you are no longer just drinking a water bottle each time. I have left the files that handle this open source so you can modify it even more if you wish too.

Config.ConsumablesEat = {
    ["burger-bleeder"] = {
        customanim = "default", -- either default or prop
        food_to_gain_min = 35,
        food_to_gain_max = 75,
        stress_relief_minx = 0,
        stress_relief_maxx = 2,

        --- Below Can be ignored if customanim is default
        customemote = "eat_burger", -- from Config.CustomAnimations
        ---
    },
}

Config.ConsumablesDrink = {
    ["burger-softdrink"] = {
        customanim = "prop", -- either default or prop
        thirst_to_gain_min = 35,
        thirst_to_gain_max = 75,

        --- Below Can be ignored if customanim is default
        customemote = "drink_burgershot", -- from Config.CustomAnimations
        ---
    },
}
Previous🧑Custom AnimationsNextLC-Cityhall

Last updated 1 year ago

😇