Advanced Restaurant Script
Enhanced business script overview.
While this script is intended to be used with Restaurants we will be using it for all businesses becasue it can handle the important things we want like proximity duty, boss menu, stashes, music, etc. The script puts the power of the business in the owner and managers hands. Currently only owner ranks can access the boss menu but that can be adjusted. Business bank accounts are created automatically when the server starts after a new jobcode has been added, accesss to the account is granted the first time you view the account, the owner can then manag2 the account at any bank location after they have viewed it the first time.
Custom Images
Images for all ingredients are supplied, but the final recipe image and price is set by the owner of the business.
Images must be 100x100
Images must be .png files
Images must be hosted on https://imgbb.com/
We might want to grab screen shots for this to make it easier
-- You do not need an account for imgbb.com, just click the upload button in the top right -- Drag your image to upload it -- Set the dropdown to Dont Auto Delete and hit upload ` -- Change the Embedded Codes dropdown to BBCode Thumbnail Linked
-- You should see something like this [url=https://imgbb.com/][img]https://i.ibb.co/Yxz7txb/Streets.png[/img][/url]
-- All you need out of it is this part https://i.ibb.co/Yxz7txb/Streets.png
-- NOTE: This is the same place you will host your Menu images and they are uploaded the same way. However Menu images are not limited to 100x100
Creating your menu and recipe images
There are several ways you can create your images.
If you are good with something like Photoshop or Paint you can try your hand there
You can try a free account on a website like https://www.canva.com/
You can try something like Bing Image Creator or anyother AI image creator but results may very
Grab a ready made image and upload it to ibb.co from one of the resources below
https://items.bit-scripts.com/
https://github.com/bitc0de/fivem-items-gallery/tree/main/images
https://items.rainmad.com/
https://github.com/agentsleeper/FiveM-Image-Library/tree/main/images/fivem%20icons There are probably a dozen more you can goole and find.
Preparing (converting and resizing)
If your image is not a PNG or the recipe image is not 100x100 you can conver and resize here https://imageresizer.com/
Recipes
A recipe can have up to 8 ingredients, and a business can have a totla of 25 recipes (this limit can be changed). The most that can be charged for an item is $1000, this can also be adjusted if needed. The nutritional value provided by the final recipe item is determined by the ingredients in the recipe. Food will give hunger, and drinks thirst of course.
Food and Drink Ingredients by Category - calories listed in ()
NOTE: Currently buffs are disbaled until we have determined what resteraunts will get what ingredients.
Juices
cranberry juice (45)
orange juice (45)
grapefruit juice (39)
tomato juice (42)
Mixers
soda water (0)
tonic water (83)
ginger beer (120)
cola (140)
lemon-lime soda (100)
Sweeteners
simple syrup (50)
grenadine (65)
agave syrup (60)
honey (64)
Bitters
angostura bitters (10)
orange bitters (10)
Spirits
vodka (97)
gin (110)
rum (97)
tequila (97)
whiskey (105)
bourbon (110)
Liqueurs
triple sec (108)
coffee liqueur (140)
amaretto (110)
Additives
salt (0)
sugar (16)
ice (0)
NOTE: Prepared foods are foods that must be prepared from another item before it can be used in a recipe. Only the prepared version of the these items are considered ingredients and can be used in a recipe.
Prepared Foods
cutted_onion (100)
cutted_carrot (100)
cutted_lettuce (100)
cutted_cucumber (100)
cutted_potato (100)
cutted_tomato (100)
cutted_wheat (100)
Prepared Fruits
cutted_strawberry (100)
cutted_watermelon (100)
cutted_pineapple (100)
cutted_apple (100)
cutted_pear (100)
cutted_lemon (100)
cutted_banana (100)
cutted_orange (100)
cutted_peach (100)
cutted_mango (100)
NOTE: Fish and Meat are currently being considered as all meat and fish to keep down on the number of ingredients we add. If we have to start adding in cuts and types of meat and fish this list will explode. we can always add more later if we need to.
Prepared Proteins
cutted_soya (100)
cutted_meat (500)
cutted_fish (500)
Other
corn (100)
coffee_beans (100)
Last updated