Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove unused config #100

Merged
merged 1 commit into from
Nov 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 7 additions & 83 deletions config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Config.Locations = { -- Edit the various interaction points for players or creat
},

stations = {
[1] = { label = Lang:t('info.pb_hospital'), coords = vec4(304.27, -600.33, 43.28, 272.249) }
{ label = Lang:t('info.pb_hospital'), coords = vec4(304.27, -600.33, 43.28, 272.249) }
}
}

Expand Down Expand Up @@ -136,47 +136,47 @@ Config.Items = { -- Items found in the ambulance shop for players with the ambul
label = Lang:t('info.safe'),
slots = 30,
items = {
[1] = {
{
name = "radio",
price = 0,
amount = 50,
info = {},
type = "item",
slot = 1,
},
[2] = {
{
name = "bandage",
price = 0,
amount = 50,
info = {},
type = "item",
slot = 2,
},
[3] = {
{
name = "painkillers",
price = 0,
amount = 50,
info = {},
type = "item",
slot = 3,
},
[4] = {
{
name = "firstaid",
price = 0,
amount = 50,
info = {},
type = "item",
slot = 4,
},
[5] = {
{
name = "weapon_flashlight",
price = 0,
amount = 50,
info = {},
type = "item",
slot = 5,
},
[6] = {
{
name = "weapon_fireextinguisher",
price = 0,
amount = 50,
Expand All @@ -187,82 +187,6 @@ Config.Items = { -- Items found in the ambulance shop for players with the ambul
}
}

Config.WeaponClasses = { -- Define gta weapon classe numbers
['SMALL_CALIBER'] = 1,
['MEDIUM_CALIBER'] = 2,
['HIGH_CALIBER'] = 3,
['SHOTGUN'] = 4,
['CUTTING'] = 5,
['LIGHT_IMPACT'] = 6,
['HEAVY_IMPACT'] = 7,
['EXPLOSIVE'] = 8,
['FIRE'] = 9,
['SUFFOCATING'] = 10,
['OTHER'] = 11,
['WILDLIFE'] = 12,
['NOTHING'] = 13
}

---@alias Bone 'NONE'|'HEAD'|'NECK'|'SPINE'|'UPPER_BODY'|'LOWER_BODY'|'LARM'|'LHAND'|'LFINGER'|'LLEG'|'LFOOT'|'RARM'|'RHAND'|'RFINGER'|'RLEG'|'RFOOT'
Config.BoneIndexes = { -- Correspond bone labels to their hash number
['NONE'] = 0,
-- ['HEAD'] = 31085,
['HEAD'] = 31086,
['NECK'] = 39317,
-- ['SPINE'] = 57597,
-- ['SPINE'] = 23553,
-- ['SPINE'] = 24816,
-- ['SPINE'] = 24817,
['SPINE'] = 24818,
-- ['UPPER_BODY'] = 10706,
['UPPER_BODY'] = 64729,
['LOWER_BODY'] = 11816,
-- ['LARM'] = 45509,
['LARM'] = 61163,
['LHAND'] = 18905,
-- ['LFINGER'] = 4089,
-- ['LFINGER'] = 4090,
-- ['LFINGER'] = 4137,
-- ['LFINGER'] = 4138,
-- ['LFINGER'] = 4153,
-- ['LFINGER'] = 4154,
-- ['LFINGER'] = 4169,
-- ['LFINGER'] = 4170,
-- ['LFINGER'] = 4185,
-- ['LFINGER'] = 4186,
-- ['LFINGER'] = 26610,
-- ['LFINGER'] = 26611,
-- ['LFINGER'] = 26612,
-- ['LFINGER'] = 26613,
['LFINGER'] = 26614,
-- ['LLEG'] = 58271,
['LLEG'] = 63931,
-- ['LFOOT'] = 2108,
['LFOOT'] = 14201,
-- ['RARM'] = 40269,
['RARM'] = 28252,
['RHAND'] = 57005,
-- ['RFINGER'] = 58866,
-- ['RFINGER'] = 58867,
-- ['RFINGER'] = 58868,
-- ['RFINGER'] = 58869,
-- ['RFINGER'] = 58870,
-- ['RFINGER'] = 64016,
-- ['RFINGER'] = 64017,
-- ['RFINGER'] = 64064,
-- ['RFINGER'] = 64065,
-- ['RFINGER'] = 64080,
-- ['RFINGER'] = 64081,
-- ['RFINGER'] = 64096,
-- ['RFINGER'] = 64097,
-- ['RFINGER'] = 64112,
['RFINGER'] = 64113,
-- ['RLEG'] = 36864,
['RLEG'] = 51826,
-- ['RFOOT'] = 20781,
['RFOOT'] = 52301,
}

Config.VehicleSettings = { -- Enable or disable vehicle extras when pulling them from the ambulance job vehicle spawner
["ambulance"] = { -- Model name
extras = {
Expand Down