Configuration
Gravediggers Config
Config = {}
Config.Target = 'qb-target' -- Options: 'qb-target', 'ox_target', 'none'
Config.DeliveryTime = 5000 -- Time in MS for delivering
Config.FuelScript = 'LegacyFuel' -- Options: "cdn-fuel", "LegacyFuel", "ox_fuel"
Config.GraveItem = "bodypart"
Config.PoliceDispatch = "none" -- Options: "ps-dispatch", "cd_dispatch", "qs-dispatch", "none"
-- Lifestyle Restrictions (QB only for now)
Config.UseLifestyles = true -- Set to false to allow all players
Config.AllowedLifestyles = {
"gang"
}
-- Config for Payment on Delivery
Config.Pay = {
min = 125,
max = 855,
item = "dirtymoney" -- Configurable payout item
}
Config.SkillChecks = {
GraveDigging = { -- DIGGING GRAVES
difficulties = { 'easy', 'easy', 'easy' },
keys = { 'w', 'a', 's', 'd' }
},
Delivery = { -- DELIVERING PACKAGES
difficulties = { 'easy', 'easy', 'easy' },
keys = { 'w', 'a', 's', 'd' }
}
}
-- Ped Configuration
Config.Ped = {
location = vector4(-1685.0, -292.37, 51.89, 167.53),
model = "a_m_m_og_boss_01",
}
-- Blip Configuration (uses ped location)
Config.Blip = {
sprite = 310,
color = 31,
size = 0.7,
label = "Gravedigger Job",
}
-- Target Settings for the Ped
Config.TargetSettings = {
label = "Talk to Gravesman",
distance = 1.5,
size = 1.0,
}
Config.ReturnLocation = { x = -1686.69, y = -299.45, z = 51.81 } -- GRAVEYARDS
Config.GraveDigging = {
locations = { -- List of possible grave digging locations
vector3(-1731.07, -286.94, 49.83),
vector3(-1750.19, -261.37, 50.29),
vector3(-1754.59, -251.43, 51.66),
vector3(-1750.0, -291.42, 48.28)
},
radius = 1.5,
label = "Break The Soil",
animation = {
dict = "anim@amb@drug_field_workers@rake@male_a@base",
name = "base",
duration = 25000, -- Duration in milliseconds
prop = {
model = "prop_tool_shovel006",
bone = 28422,
placement = {0.0, 0.1, -0.6, 0.0, 0.0, 180.0}
}
},
policeAlertChance = 40 -- 40% chance to alert police
}
-- Delivery Settings
Config.Deliveries = {
vehicle = 'burrito3',
spawnLocations = { -- Multiple parking spots
vector4(-1675.89, -299.04, 51.81, 146.87),
vector4(-1672.62, -301.76, 51.81, 140.67),
vector4(-1663.91, -297.43, 51.76, 233.21)
},
-- Package Delivery Locations
locations = {
[1] = {
location = vector3(-555.02, 828.08, 197.54)
},
[2] = {
location = vector3(227.1, 1150.22, 225.59)
},
[3] = {
location = vector3(556.25, 2674.32, 42.17)
},
-- ADD MORE LOCATIONS
}
}
Locales = {
grave_failed = "You failed to dig properly. Try again!",
grave_cancelled = "You stopped digging up the grave.",
grave_prompt = "Dig up the grave out back... the boss will handle the rest!",
already_delivering = "You are already in the middle of a delivery.",
delivery_started = "The delivery vehicle is ready. Check the parking lot.",
delivery_start_label = "Start a Delivery",
delivery_start_desc = "Start delivering packages around to clients.",
delivery_stop_label = "Stop Delivering",
delivery_stop_desc = "Stop delivering packages and return the vehicle.",
delivery_header = "Sketchy Graveyard Work",
delivery_package_prompt = "[E] Deliver Package",
delivery_progress_label = "Delivering Package...",
delivery_complete = "Delivered a package, client left some bread... Next location!",
delivery_cancelled = "You stopped delivering the package.",
all_done = "Youโve completed all deliveries! Return the vehicle to the graveyard for payment.",
return_paid = "Hope we do business again, take this payment.",
return_no_vehicle = "You need to be in a vehicle to return it!",
delivery_stop = "Youโve stopped delivering packages. Come back for another job!",
no_nearby_delivery = "You are not near a valid delivery location!",
not_active = "You are not currently delivering packages.",
no_bodypart = "You do not have a body part to deliver!",
found_remains = "You found some remains...",
full_inventory = "Your pockets are full, cannot carry body parts!",
delivery_failed_reward = "Failed to deliver body part.",
delivery_thanks = "Thank you for the delivery. You have received dirty money.",
dispatch_digging = "Someone is digging in the cemetery.",
dispatch_delivery = "A suspicious package has been delivered in the city.",
lifestyle_not_allowed = "Your lifestyle does not allow you to do this job.",
}
return Config
Last updated