-
Notifications
You must be signed in to change notification settings - Fork 13
/
config.lua
107 lines (92 loc) · 5.96 KB
/
config.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
local QBCore = exports['qb-core']:GetCoreObject()
Config = {}
--------------
--MZ-SHROOMS--
--------------
Config.ShroomField = vector3(3266.64, 5215.32, 19.65) -- Location of shroom field - PLEASE NOTE: NO SUPPORT OFFERED FOR LOCATION CHANGES
Config.ShroomHeight = 18.66 -- The height at which you want the shroom prop to appear i.e. set it to the ground level or the "z" level
-- (When setting the zone for shrooms to appear please use flat open areas, not hills.)
Config.ShroomRounded = 19 -- Round the shroom height from the previous variable to the nearest whole number
Config.ShroomProp = `prop_stoneshroom1` -- GTA V prop asset to be collected
Config.NotifyType = "okok" -- Notification type: 'qb' for qb-core standard notifications, 'okok' for okokNotify notifications
Config.UseGloves = false -- Ability to force player to use gloves to pick shrooms (true), (false) Deletes the polyzone to make gloves and allows players to pick without gloves.
-------------
--MZ-SKILLS--
-------------
Config.mzskills = true -- Change to "false" to run resource without regard to mz-skills "Drug Manufacturing"
-- if "Config.mzskills = true", then the following parameters apply:
Config.drugXPlow = 1 -- Lowest "Drug Manufacture" XP awarded to player.
Config.drugXPhigh = 3 -- Highest "Drug Manufacture" XP awarded to player.
Config.drugXPloss = 2 -- "Drug Manufacture" XP lost for failing skill check.
---------------
--SKILL CHECK--
---------------
Config.skillcheck = true -- Change to "false" to remove skillchecks from picking and crafting processes.
Config.SkillUse = 'ps-ui' -- Change to either 'ps-ui' for the picking the mushrooms or, 'skillbar' for the qb-skillbar export.
Config.SkillbarDuration = math.random(2000,4000) -- How long the skillbar runs for.
Config.SkillbarPos = math.random(20,30) -- How far to the right the static box is.
Config.SkillbarWidth = math.random(20,30) -- How wide the static box is.
--Picking shrooms
Config.ShroomskillCheck = 1 -- Lowest number of parses of the skill check
Config.ShroomskillTime = 10 -- Time to complete skill check, the lower - the more difficult.
Config.Doublechance = 10
------------
--CRAFTING--
------------
--Making gloves
Config.MakeGlovesLow = 3 -- Lowest number of parses of the skill check
Config.MakeGlovesHigh = 5 -- Highest number of parses of the skill check
Config.MakeGlovesBarLow = 7 -- Lowest time it takes (in seconds) to craft gardening gloves.
Config.MakeGlovesBarHigh = 12 -- Highest time it takes (in seconds) to craft gardening gloves.
Config.FabricNeeded = 5 -- Amount of fabric needed to craft gardening gloves (fabric comes from mz-bins if not otherwise in the server)
--Making shroom bag
Config.MakeShroomBagsLow = 2 -- Lowest number of parses of the skill check to make shroom bags.
Config.MakeShroomBagsHigh = 4 -- Highest number of parses of the skill check to make shroom bags.
Config.MakeBagTimeLow = 2 -- Lowest time it takes (in seconds) to craft drug bag.
Config.MakeBagTimeHigh = 4 -- Highest time it takes (in seconds) to craft drug bag.
Config.PlasticNeeded = 2 -- Number of plastic needed to make a shroom baggy.
--Bag up shrooms
Config.BagShroomsLow = 3 -- Lowest number of parses of the skill check
Config.BagShroomsHigh = 5 -- Highest number of parses of the skill check
Config.BagShroomsTimeLow = 4 -- Lowest time it takes (in seconds) to bag up shrooms.
Config.BagShroomsTimeHigh = 8 -- Highest time it takes (in seconds) to bag up shrooms.
Config.ShroomsNeeded = 5 -- Number of shrooms needed to make a bag them up.
--Glove tear (removes gloves from player)
Config.GloveTearFailChance = 15 -- percentage chance to remove gloves from player upon player failing skill check (set to 0 to disable)
Config.GloveTearSuccessChance = 2 -- percentage chance to remove gloves from player even if player is successful at skill check (set to 0 to disable)
----------
--OUTPUT--
----------
-- if "Config.mzskills = true", then the following parameters apply:
-- (amount of final product player gets based on Drug Manufacturing level - with mz-skills)
--Level 0--
Config.Shroomlevel0low = 1
Config.Shroomlevel0high = 3
--Level 1--
Config.Shroomlevel1low = 2
Config.Shroomlevel1high = 4
--Level 2--
Config.Shroomlevel2low = 3
Config.Shroomlevel2high = 5
--Level 3--
Config.Shroomlevel3low = 3
Config.Shroomlevel3high = 7
--Level 4--
Config.Shroomlevel4low = 4
Config.Shroomlevel4high = 8
--Level 5--
Config.Shroomlevel5low = 4
Config.Shroomlevel5high = 10
--Level 6--
Config.Shroomlevel6low = 5
Config.Shroomlevel6high = 11
--Level 7--
Config.Shroomlevel7low = 6
Config.Shroomlevel7high = 12
--Level 8--
Config.Shroomlevel8low = 6
Config.Shroomlevel8high = 14
-- if "Config.mzskills = false", then the following parameters apply:
--OUTPUT (amount of final product player gets based on Drug Manufacturing level - with no mz-skills)
Config.ShroomNoXPlow = 4
Config.ShroomNoXPhigh = 8