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
  • Progress Bar Langauge Modification
  • I have included default animations for you to use (In the emotes section you will be able to add your own)
  • Setup The Targetting Stations
  • For those not using the latest QB-Inventory you will need to modify the checks in HapticLib, relating to items to work with your inventory.
  1. Remastered Scripts
  2. ๐Ÿ›’ LC-Businesses

๐Ÿ” Drink/Fryer/Grill/Pack

The setup for all of these is very similar so ill explain it all together.

Progress Bar Langauge Modification

Config.DrinkLang = {
    drink_make = "Making a Drink..",
    complete = "You have made a Drink",
    missing = "You are missing ingredients!",
}

I have included default animations for you to use (In the emotes section you will be able to add your own)

To modify the global defaults you want to head to each respective section and change this config.

Config.DrinkAnims = { -- Default Drink Settings
    time = 4000,
    disableMovement = true,
	disableCarMovement = false,
	disableMouse = false,
	disableCombat = true,
    animDict = "mp_common",
	anim = "givetake1_a",
	flags = 8,
}

To add new crafting recipes you will need to modify the recipes section of each bit.

Config.DrinkRecipes = {
    ["burgershot"] = {
        ["burger-softdrink"] = {
            label = "๐Ÿฅค Soft Drink",
            description = "1 Soda Syrup Required",
            amount = 1,
            ingredients = {
                ["burger-sodasyrup"] = 1,
            },
            basic_anim = "burgershot_drink" -- Will use the Basic Anim from Config.DrinkAnims
        }, 
        ["burger-mshake"] = {
            label = "๐Ÿฅค Milkshake",
            description = "1 Milkshake Formula",
            amount = 1,
            ingredients = {
                ["burger-mshakeformula"] = 1,
            },
            basic_anim = "burgershot_milkshake" -- Will use the Basic Anim from Config.DrinkAnims if set to true
        }, 
    }
}

if you set basic_anim to true then it will use the global default, if you set it to a string it will use whatever you inputted from Config.CustomAnimations

Setup The Targetting Stations


Config.DrinkStations = {
    ["burgershot1"] = {  -- MustBeUnique Through the entire script
        label = "Drink Maker",
        icon = "far fa-clipboard",
        menu_header = "๐Ÿฅค Drink Menu ๐Ÿฅค",
        close_title = "โฌ… Close Menu",
        location = vector3(-1190.82, -898.85, 14.45),
        width = 2,
        depth = 1,
        heading = 212.32,
        minz = 13.6,
        maxz = 14.1,
        distance = 2,
        job = "burgershot",
        recipe = "burgershot", -- Has to exist in Config.DrinkRecipes
    },
}

For those not using the latest QB-Inventory you will need to modify the checks in HapticLib, relating to items to work with your inventory.

Previous๐Ÿ“ฅ TraysNext๐Ÿ“ฆShared Employee Stash

Last updated 1 year ago

๐Ÿ˜‡