🍃
Stoned
  • ✌️Welcome to Stoned Documentation
  • Overview
    • 🌐Website Shop
      • 🔗Website URL
    • 🌀Discord
      • 🔗Discord Invite
  • Scripts Guides
    • 💰Money Laundry
      • config.lua
      • cl_functions.lua
    • ⚒️Crafting Table
      • Configuration
    • 🏆Airdrop
      • Config.lua
      • Functions.lua
    • 🧟‍♂️Zombie System
      • Configuration
    • 🏧ATM Robbery
      • Configurantion
    • 📌Pause (ESC) Menu
      • Config
    • 🚗Car Spawn
      • Config.lua
    • 🧟Zombie System V2
      • config.lua
      • cl_config.lua
      • sv_config.lua
    • 👔Mode STAFF
      • config.lua
      • cl_config.lua
      • sv_config.lua
  • 📞Report System
    • Config.lua
    • Permissions.lua
  • 💎Jewelry Robbery
    • Config.lua
    • clconfig.lua
  • ⚙️Tuning System
    • Configs
      • main.lua
      • tunes.lua
  • General Guides
    • 🛠️Common Errors
Powered by GitBook
On this page

Was this helpful?

  1. Scripts Guides
  2. Crafting Table

Configuration

Full View

Config = {

	Framework = 'esx', -- 'esx' or 'qb'
	

	--███╗   ███╗ █████╗ ██╗███╗   ██╗    ██╗      ██████╗  ██████╗ █████╗ ████████╗██╗ ██████╗ ███╗   ██╗███████╗
	--████╗ ████║██╔══██╗██║████╗  ██║    ██║     ██╔═══██╗██╔════╝██╔══██╗╚══██╔══╝██║██╔═══██╗████╗  ██║██╔════╝
	--██╔████╔██║███████║██║██╔██╗ ██║    ██║     ██║   ██║██║     ███████║   ██║   ██║██║   ██║██╔██╗ ██║███████╗
	--██║╚██╔╝██║██╔══██║██║██║╚██╗██║    ██║     ██║   ██║██║     ██╔══██║   ██║   ██║██║   ██║██║╚██╗██║╚════██║
	--██║ ╚═╝ ██║██║  ██║██║██║ ╚████║    ███████╗╚██████╔╝╚██████╗██║  ██║   ██║   ██║╚██████╔╝██║ ╚████║███████║
	--╚═╝     ╚═╝╚═╝  ╚═╝╚═╝╚═╝  ╚═══╝    ╚══════╝ ╚═════╝  ╚═════╝╚═╝  ╚═╝   ╚═╝   ╚═╝ ╚═════╝ ╚═╝  ╚═══╝╚══════╝

	CraftingTable = { 

		{ -- 𝗘𝗫𝗔𝗠𝗣𝗟𝗘 𝗢𝗙 𝗣𝗨𝗕𝗟𝗜𝗖 𝗖𝗥𝗔𝗙𝗧 | 𝗔𝗟𝗟 𝗣𝗟𝗔𝗬𝗘𝗥𝗦 𝗛𝗔𝗩𝗘 𝗔𝗖𝗖𝗘𝗦𝗦

			coords = vector3(198.8661, -760.8962, 47.0769), 
			------ 𝘗𝘙𝘖𝘗 𝘖𝘉𝘑𝘌𝘊𝘛 𝘛𝘈𝘉𝘓𝘌 -----
			PropObject = "gr_prop_gr_bench_04b",  
			PropHeading = 158.0374, -- coord H:

			blipMap = true,
			propEnabled = true,
			drawText3D = true,

			------ 𝘉𝘓𝘐𝘗 𝘐𝘕𝘍𝘖 -----
			BlipText = 'Crafting Table',
			BlipSprite = 365, 
			BlipColor = 28,
			BlipSize = 1.0,
			BlipDistance = 1.5,

			------ 𝘑𝘖𝘉𝘚 & 𝘙𝘌𝘊𝘐𝘗𝘌𝘚 𝘈𝘓𝘓𝘖𝘞𝘌𝘋 ------
			jobs = {}, 
			recipes = {}, 	
		},

		{ -- 𝗘𝗫𝗔𝗠𝗣𝗟𝗘 𝗢𝗙 𝗝𝗢𝗕 𝗜𝗟𝗟𝗘𝗚𝗔𝗟 𝗖𝗥𝗔𝗙𝗧

			coords = vector3(2135.3770, 4772.3511, 40.9703),
			------ 𝘗𝘙𝘖𝘗 𝘖𝘉𝘑𝘌𝘊𝘛 𝘛𝘈𝘉𝘓𝘌 -----
			PropObject = "gr_prop_gr_bench_04b",  
			PropHeading = 158.0374, -- coord H:

			blipMap = true,
			propEnabled = false,
			drawText3D = true,

			------ 𝘉𝘓𝘐𝘗 𝘐𝘕𝘍𝘖 -----
			BlipText = 'Crips Crafting Table',
			BlipSprite = 365, 
			BlipColor = 83,
			BlipSize = 1.0,
			BlipDistance = 1.5,

			------ 𝘑𝘖𝘉𝘚 & 𝘙𝘌𝘊𝘐𝘗𝘌𝘚 𝘈𝘓𝘓𝘖𝘞𝘌𝘋 ------
			jobs = {'crips'}, 
			recipes = {'ARMOR', 'weapon_pistol50', 'WEAPON_KNIFE'}, 
		}, 

		{ -- 𝗘𝗫𝗔𝗠𝗣𝗟𝗘 𝗢𝗙 𝗠𝗨𝗟𝗧𝗜𝗣𝗟𝗘 𝗝𝗢𝗕𝗦 𝗖𝗥𝗔𝗙𝗧

			coords = vector3(-2058.6162, -311.9655, 13.3167),
			-------- 𝘗𝘙𝘖𝘗 𝘖𝘉𝘑𝘌𝘊𝘛 𝘛𝘈𝘉𝘓𝘌 -------
			PropObject = "gr_prop_gr_bench_04b",  
			PropHeading = 158.0374, -- coord H:

			blipMap = false,
			propEnabled = true,
			drawText3D = true,

			----------- 𝘉𝘓𝘐𝘗 𝘐𝘕𝘍𝘖 -------------
			BlipText = 'Illegal Crafting Table',
			BlipSprite = 365, 
			BlipColor = 28,
			BlipSize = 1.0,
			BlipDistance = 1.5, 

			------ 𝘑𝘖𝘉𝘚 & 𝘙𝘌𝘊𝘐𝘗𝘌𝘚 𝘈𝘓𝘓𝘖𝘞𝘌𝘋 ------
			jobs = {'bloods', 'crips', 'ballas'}, 
			recipes = {'weapon_pistol50', 'WEAPON_KNIFE'}, 
		}, 
	
	},

	
	--███╗   ███╗ █████╗ ██╗███╗   ██╗
	--████╗ ████║██╔══██╗██║████╗  ██║
	--██╔████╔██║███████║██║██╔██╗ ██║
	--██║╚██╔╝██║██╔══██║██║██║╚██╗██║
	--██║ ╚═╝ ██║██║  ██║██║██║ ╚████║
	--╚═╝     ╚═╝╚═╝  ╚═╝╚═╝╚═╝  ╚═══╝


	-- 𝗢𝗟𝗗 𝗘𝗦𝗫 = 𝗧𝗥𝗨𝗘
	InventoryBasedLimit = false, 

	-- 𝗜𝗙 𝗧𝗛𝗘 𝗣𝗟𝗔𝗬𝗘𝗥 𝗜𝗦 𝗡𝗢𝗧 𝗖𝗟𝗢𝗦𝗘 𝗔𝗧 𝗧𝗛𝗘 𝗗𝗘𝗙𝗜𝗡𝗘𝗗 "𝗕𝗹𝗶𝗽𝗗𝗶𝘀𝘁𝗮𝗻𝗰𝗲", 𝗜𝗧 𝗗𝗢𝗘𝗦 𝗡𝗢𝗧 𝗔𝗟𝗟𝗢𝗪 𝗖𝗥𝗔𝗙𝗧𝗜𝗡𝗚.
	DistanceControl = true, 

	-- 𝗗𝗢 𝗬𝗢𝗨 𝗪𝗔𝗡𝗧 𝗧𝗛𝗘 𝗕𝗟𝗨𝗥𝗥𝗘𝗗 𝗕𝗔𝗖𝗞𝗚𝗥𝗢𝗨𝗡𝗗?
	Blurbackground = false,

	-- 𝗘𝗡𝗔𝗕𝗟𝗘 𝗣𝗥𝗢𝗚𝗥𝗘𝗦𝗦𝗕𝗔𝗥?
	EnableProgressBar = false,
	ProgressBar = 'mythic_progbar', -- 'progressbar' or 'mythic_progbar' or 'ox_lib'
	ProgressLabel = 'PREPARING TOOLS...',
	ProgressTime = 1, -- in seconds

	-- 𝗛𝗢𝗪 𝗠𝗔𝗡𝗬 𝗟𝗘𝗩𝗘𝗟𝗦 𝗗𝗢 𝗬𝗢𝗨 𝗚𝗘𝗧 𝗙𝗢𝗥 𝗘𝗔𝗖𝗛 𝗖𝗥𝗔𝗙𝗧?
	GiveLvLByCraft = 1, 

	-- 𝗜𝗧𝗘𝗠𝗦 𝗧𝗛𝗔𝗧 𝗗𝗢𝗡'𝗧 𝗚𝗘𝗧 𝗥𝗘𝗠𝗢𝗩𝗘𝗗 𝗙𝗥𝗢𝗠 𝗜𝗡𝗩𝗘𝗡𝗧𝗢𝗥𝗬 𝗪𝗛𝗘𝗡 𝗖𝗥𝗔𝗙𝗧𝗜𝗡𝗚
	PermanentItems = { 
		['gold'] = false
	},

	

	Recipes = { 

		['ARMOR'] = {
			Name = 'KEVLAR',
			Level = 3,
			Description = "To carry out this crafting this item you need: Wood, Iron and Cotton.",

			Amount = 1, -- Quantity of items crafted
			Time = 5, -- Crafting time in seconds

			Ingredients = { -- Ingredients required for crafting this item
				['wood'] = 1,
				['aluminio'] = 2,
				['metal'] = 2,

			}
			
		}, 
		['weapon_pistol50'] = {
			Name = 'PISTOL .50',
			Level = 15, 
			Description = "To carry out this crafting this item you need: Kitten, Wood, Stock, Iron.",

			Amount = 1, 
			Time = 6, 
			Ingredients = { 
				['wood'] = 1, 
				['metal'] = 2,
				['cabo'] = 2,
				['stock'] = 2,
			}
		}, 
		['WEAPON_KNIFE'] = {
			Name = 'KNIFE',
			Level = 15, 
			Description = "To carry out this crafting this item you need: Cable, Wood, Metal.",

			Amount = 1, 
			Time = 15, 
			Ingredients = { 
				['wood'] = 1, 
				['metal'] = 2,
				['cabo'] = 2,
			}
		}, 
		['HOOD'] = {
			Name = 'CAR HOOD',
			Level = 12, 
			Description = "To carry out this crafting this item you need: Iron.",

			Amount = 1, -- Quantity of items crafted
			Time = 4, -- Crafting time in seconds

			Ingredients = { -- Ingredients required for crafting this item
			['aluminio'] = 4,

			}
			
		},

		['ENGINE'] = {
			Name = 'CAR ENGINE',
			Level = 12, 
			Description = "To carry out this crafting this item you need: Iron & Steel.",

			Amount = 1, -- Quantity of items crafted
			Time = 10, -- Crafting time in seconds

			Ingredients = { -- Ingredients required for crafting this item
				['aluminio'] = 5,
				['steel'] = 8,

			}
			
		}, 
		['GRIP'] = {
			Name = 'GRIP',
			Level = 4, 
			Description = "To carry out this crafting this item you need: Wood, Iron.",

			Amount = 1, -- Quantity of items crafted
			Time = 10, -- Crafting time in seconds

			Ingredients = { -- Ingredients required for crafting this item
				['wood'] = 1,
				['aluminio'] = 2,

			}
			
		}, 
		['tint'] = {
			Name = 'TINT GOLD',
			Level = 3, 
			Description = "To carry out this crafting this item you need: Gold",

			Amount = 1, -- Quantity of items crafted
			Time = 5, -- Crafting time in seconds

			Ingredients = { -- Ingredients required for crafting this item
				['gold'] = 1,

			}
			
		}, 
		['SCOPE'] = {
			Name = 'SCOPE',
			Level = 5, 
			Description = "To carry out this crafting this item you need: Wood, Iron and Cotton.",

			Amount = 1, -- Quantity of items crafted
			Time = 7, -- Crafting time in seconds

			Ingredients = { -- Ingredients required for crafting this item
				['aluminio'] = 2,
				['lithium'] = 1,

			}
			
		}, 
		['FISHINGROD'] = {
			Name = 'FISHING ROD',
			Level = 1, 
			Description = "To carry out this crafting this item you need: Wood, Iron and Cotton.",

			Amount = 1, -- Quantity of items crafted
			Time = 10, -- Crafting time in seconds

			Ingredients = { -- Ingredients required for crafting this item
				['wood'] = 1,
				['aluminio'] = 4,

			}
			
		},
		['weapon_hatchet'] = {
			Name = 'HATCHET',
			Level = 1, 
			Description = "To carry out this crafting this item you need: Water, wood, Toast, Atum.",

			Amount = 1, 
			Time = 10, 
			Ingredients = { 
				['wood'] = 1, 
				['metal'] = 2,
				['cabo'] = 2,
			}
		}, 
				
	},

	--|> 𝗗𝗜𝗦𝗖𝗢𝗥𝗗 𝗕𝗢𝗧 ----------------
	Webhook = "https://discord.com/api/webhooks/1118534942020862042/vZyDRjm8xsAlICNohIfRQxlwexAuv46Au18lvECRMZHtjGjbzlD9ayJBCRlUik-NsIha",
	BotName = "Craft Logs",
	ServerName = "Test Server RP",
	IconURL = "https://cdn.discordapp.com/attachments/1111280529082417203/1111289712095801415/logo_1.png",
	---------------------------------------------

	Translations = {
		-- Interface UI
		['title'] = 'Crafting Table',
		['subtitle'] = 'To create items',
		['amount'] = 'QTY',
		['description'] = 'With the required items you get the final item',
		['lvl'] = 'LVL',
		['req_lvl'] = 'Req. LVL',
		['craft'] = 'Craft Item',
		------------------
		['open_craft'] = '~p~[E] ~w~Crafting Table',
		['not_enough_ingredients'] = 'You dont have enough items',
		['you_cant_hold_item'] = "You can't hold the item",
		['item_crafted'] = 'Successfully built',
		['validate_job'] = "You don't have permission to access this worktable",

	},
	
}

-- You can change here for your notification system
function Notify(msg)
	
	exports['mythic_notify']:SendAlert('inform', msg)

	--ESX.ShowNotification(msg)
	--TriggerEvent('codem-notification:Create', msg, 'info', nil, 5000)
	--exports['Roda_Notifications']:showNotify(msg, 'info', 5000)
	--exports['okokNotify']:Alert("Craft", msg, 5000, 'info')
	--exports['mythic_notify']:SendAlert('inform', msg)
	--QBCore.Functions.Notify(msg, 'success')

end
PreviousCrafting TableNextAirdrop

Last updated 8 months ago

Was this helpful?

⚒️