213 lines
12 KiB
Lua
213 lines
12 KiB
Lua
Config = {}
|
|
|
|
Config.useModernUI = true -- In March 2023 the jobs have passed huge rework, and the UI has been changed. Set it to false, to use OLD no longer supported UI.
|
|
Config.splitReward = false -- This option work's only when useModernUI is false. If this option is true, the payout is: (Config.OnePercentWorth * Progress ) / PartyCount, if false then: (Config.OnePercentWorth * Progress)
|
|
Config.UseBuiltInNotifications = false -- Set to false if you want to use ur framework notification style. Otherwise, the built in modern notifications will be used.=
|
|
|
|
Config.letBossSplitReward = true -- If it's true, then boss can manage whole party rewards percent in menu. If you'll set it to false, then everybody will get same amount.
|
|
Config.multiplyRewardWhileWorkingInGroup = true -- If it's false, then reward will stay by default. For example $1000 for completing whole job. If you'll set it to true, then the payout will depend on how many players is there in the group. For example, if for full job there's $1000, then if player will work in 4 member group, the reward will be $4000. (baseReward * partyCount)
|
|
Config.reward = 3000 -- Reward for one treasure. If you want to use a item reward then modify Pay() function under /server/functions.lua
|
|
|
|
Config.UseTarget = true -- Change it to true if you want to use a target system. All setings about the target system are under target.lua file.
|
|
|
|
|
|
Config.SharedTreasureFeature = true -- Set to false, to make every group have treasure in different location.
|
|
Config.RequiredJob = "hunter" -- Set to "none" if you dont want using jobs. If you are using target, you have to set "job" parameter inside every export in target.lua
|
|
Config.RequireJobAlsoForFriends = true -- If it's false, then only host needs to have the job, if it's true then everybody from group needs to have the Config.RequiredJob
|
|
Config.RequireOneFriendMinimum = false -- Set to true if you want to force players to create teams
|
|
Config.JobVehicleModel = "17mov_TreasureBoat" -- Job Boat model
|
|
Config.TreasureProp = `prop_box_wood01a` -- Treasure Prop Model
|
|
Config.EasyMode = true -- Set to true if you want smaller radius on map, and display marker above treasure. Stay false for more immsersive searching :D
|
|
Config.EnableTrackerSound = true -- Tracker Sound on idle
|
|
Config.TrakcerSoundMinimumDistance = 30.0 -- if Player Distance to treasure is smaller than this value, loop the tracker distance
|
|
Config.ShowBlipWhenNearby = true -- Show blip on map when player is nearby, and play a sound. Set to false if you want more immersive seaarching :D
|
|
Config.TreaureBlipDistance = 15.0 -- If Player distance to the treasure is smaller than this value, then shut down the tracker sound, and show blip on map
|
|
Config.FakeLocationChance = 0 -- Chance to randomize a location and not spawn any treasure. [FAKE LOCATION WITHOUT TREASURE]
|
|
Config.FakeRestart = 25000 * 60 -- Restart location if treasure is fake after 45 seconds, if treasure is real, then location will be active as long as somebody will find it.
|
|
Config.AnchorBone = "bodyshell" -- Bone used only when Config.UseTarget == false. On coords of this bone script display a 3D Text.
|
|
|
|
Config.EnableCloakroom = true -- Hide cloakroom part from starting job UI
|
|
Config.RequireWorkClothes = true -- Set it to true, to change players clothes everytime when they're starting job.
|
|
Config.RequiredItem = "none" -- Set it to anything you want, to require players to have some item in their inventory before they start the job
|
|
Config.RequireItemFromWholeTeam = true -- If it's false, then only host needs to have the required item, otherwise all team needs it.
|
|
|
|
Config.PenaltyAmount = 500 -- Penalty that is levied when a player finishes work without a company vehicle
|
|
Config.EnableVehicleTeleporting = true -- If its true, then the script will teleport the host to the company vehicle. If its false, then the company vehicle will apeear, but the whole squad need to go enter the car manually
|
|
Config.DontPayRewardWithoutVehicle = false -- Set to true if you want to dont pay reward to players who want's to end without company vehicle (accepting the penalty)
|
|
Config.DeleteVehicleWithPenalty = false -- Delete Vehicle even if its not company veh
|
|
Config.JobCooldown = 0 * 60 -- 10 * 60 -- 0 minutes cooldown between making jobs (in brackets there's example for 10 minutes)
|
|
Config.GiveKeysToAllLobby = true -- Set to false if you want to give keys only for group creator while starting job
|
|
Config.ProgressBarOffset = "25px" -- Value in px of counter offset on screen
|
|
Config.ProgressBarAlign = "bottom-right" -- Align of the progressbar
|
|
|
|
-- ^ Options: top-left, top-center, top-right, bottom-left, bottom-center, bottom-right
|
|
|
|
Config.RewardItemsToGive = {
|
|
-- {
|
|
-- item_name = "water",
|
|
-- chance = 100,
|
|
-- amountPerTreasure = 1,
|
|
-- },
|
|
}
|
|
|
|
Config.RestrictBlipToRequiredJob = false -- Set to true, to hide job blip for players, who dont have RequiredJob. If requried job is "none", then this option will not have any effect.
|
|
Config.Blips = { -- Here you can configure Company blip.
|
|
[1] = {
|
|
Sprite = 351,
|
|
Color = 0,
|
|
Scale = 0.9,
|
|
Pos = vector3(167.82, -2222.7, 7.24),
|
|
Label = 'Loc de Munca Vanator de Comori'
|
|
},
|
|
}
|
|
|
|
Config.MarkerSettings = { -- used only when Config.UseTarget = false. Colors of the marker. Active = when player stands inside the marker.
|
|
Active = {
|
|
r = 255,
|
|
g = 0,
|
|
b = 0,
|
|
a = 200,
|
|
},
|
|
UnActive = {
|
|
r = 140,
|
|
g = 10,
|
|
b = 10,
|
|
a = 200,
|
|
}
|
|
}
|
|
|
|
Config.Locations = { -- Here u can change all of the base job locations.
|
|
DutyToggle = {
|
|
Coords = {
|
|
vector3(167.82, -2222.7, 7.24),
|
|
},
|
|
CurrentAction = 'open_dutyToggle',
|
|
CurrentActionMsg = 'Apasa ~INPUT_CONTEXT~ pentru a ~y~incepe/termina~s~ munca.',
|
|
type = 'duty',
|
|
scale = {x = 1.0, y = 1.0, z = 1.0}
|
|
},
|
|
FinishJob = {
|
|
Coords = {
|
|
vector3(163.3, -2263.33, 1.5),
|
|
},
|
|
CurrentAction = 'finish_job',
|
|
CurrentActionMsg = 'Apasa ~INPUT_CONTEXT~ pentru a ~y~termina ~s~munca.',
|
|
scale = {x = 3.0, y = 3.0, z = 3.0}
|
|
},
|
|
|
|
}
|
|
|
|
Config.SpawnPoint = vector4(163.3, -2263.33, 0.11, 268.86) -- Vehicle spawn point
|
|
|
|
Config.Clothes = {
|
|
male = {
|
|
["mask"] = {clotheId = 0, variation = 0},
|
|
["arms"] = {clotheId = 8, variation = 0},
|
|
["pants"] = {clotheId = 94, variation = 0},
|
|
["bag"] = {clotheId = 0, variation = 0},
|
|
["shoes"] = {clotheId = 67, variation = 0},
|
|
["t-shirt"] = {clotheId = 15, variation = 0},
|
|
["torso"] = {clotheId = 243, variation = 0},
|
|
["decals"] = {clotheId = 0, variation = 0},
|
|
["kevlar"] = {clotheId = 0, variation = 0},
|
|
},
|
|
|
|
female = {
|
|
["mask"] = {clotheId = 0, variation = 0},
|
|
["arms"] = {clotheId = 3, variation = 0},
|
|
["pants"] = {clotheId = 97, variation = 0},
|
|
["bag"] = {clotheId = 0, variation = 0},
|
|
["shoes"] = {clotheId = 70, variation = 0},
|
|
["t-shirt"] = {clotheId = 15, variation = 0},
|
|
["torso"] = {clotheId = 251, variation = 0},
|
|
["decals"] = {clotheId = 0, variation = 0},
|
|
["kevlar"] = {clotheId = 0, variation = 0},
|
|
}
|
|
}
|
|
|
|
Config.Lang = {
|
|
|
|
-- Here you can changea all translations used in client.lua, and server.lua. Dont forget to translate it also under the HTML and JS file.
|
|
|
|
-- Client
|
|
["no_permission"] = "Doar liderul echipei poate face asta!",
|
|
["keybind"] = 'Interactiune Marker Vanator de Comori',
|
|
["too_far"] = "Echipa ta a inceput lucrul, dar esti prea departe de sediu",
|
|
["kicked"] = "L-ai dat afara pe %s din echipa",
|
|
["alreadyWorking"] = "Mai intai, termina comanda anterioara",
|
|
["quit"] = "Ai parasit echipa",
|
|
["cantSpawnVeh"] = "Locul de spawning al vehiculului este ocupat.",
|
|
["nobodyNearby"] = "Nu este nimeni in apropiere",
|
|
["newTarget"] = "Comoara a fost gasita sau seful a indicat o noua locatie",
|
|
["treasureBlipName"] = "Locatia Comorii",
|
|
["collectTreasure"] = "Colecteaza Comoara",
|
|
["dropAnchor"] = "Ridica sau coboara ancora",
|
|
["anchorNotifytrue"] = "Ancora a fost coborata",
|
|
["anchorNotifyfalse"] = "Ancora a fost ridicata",
|
|
["wrongCar"] = "Acesta nu este vehiculul companiei tale",
|
|
["treasure"] = "Locatia Comorii",
|
|
["spawnpointOccupied"] = "Locul de parcare al masinii este ocupat",
|
|
["CarNeeded"] = "Ai nevoie de vehiculul companiei pentru a termina munca.",
|
|
["notADriver"] = "Trebuie sa fii soferul vehiculului pentru a termina munca",
|
|
["cantInvite"] = "Pentru a putea invita mai multe persoane, trebuie sa termini mai intai munca",
|
|
["wrongReward1"] = "Procentul de plata trebuie sa fie intre 0 si 100",
|
|
["wrongReward2"] = "Procentul total al tuturor platilor a depasit 100%",
|
|
["tutorial"] = "Munca implica vanatoarea de comori. Seful iti va atribui locatia potentialei comori cand incepi lucrul. Imparti un loc cu toate celelalte echipe, asa ca grabeste-te sa o gasesti inaintea tuturor. Cu toate acestea, cand cineva te depaseste, o alta locatie va fi desemnata si vei fi informat. Nu uita sa porti echipamentul de lucru pentru a putea scufunda mai mult si sa cobori ancora cand ajungi acolo, o vei gasi in partea din fata a barcii",
|
|
["inviteSent"] = "Invitatie trimisa!",
|
|
["partyIsFull"] = "Invitatia nu a putut fi trimisa, grupul tau este plin",
|
|
["cantLeaveLobby"] = "Nu poti parasi lobby-ul in timp ce lucrezi. Mai intai, termina munca.",
|
|
["exploit"] = "Nu poti lua comoara cat timp cineva este in apropiere",
|
|
|
|
-- Server
|
|
["isAlreadyHost"] = "Acest jucator conduce propria echipa.",
|
|
["isBusy"] = "Acest jucator apartine deja unei alte echipe.",
|
|
["hasActiveInvite"] = "Acest jucator are deja o invitatie activa de la cineva.",
|
|
["HaveActiveInvite"] = "Ai deja o invitatie activa de a te alatura echipei.",
|
|
["InviteDeclined"] = "Invitatia ta a fost refuzata.",
|
|
["InviteAccepted"] = "Invitatia ta a fost acceptata!",
|
|
["error"] = "A aparut o problema la alaturarea echipei. Te rugam sa incerci din nou mai tarziu.",
|
|
["kickedOut"] = "Ai fost dat afara din echipa!",
|
|
["reward"] = "Ai primit o plata de $",
|
|
["RequireOneFriend"] = "Aceasta munca necesita cel putin un membru in echipa",
|
|
["yourTeamWon"] = "Echipa ta a gasit o comoara. Mergi la baza si termina munca pentru a fi platit, sau continua sa cauti!",
|
|
["penalty"] = "Ai platit o amenda in valoare de ",
|
|
["clientsPenalty"] = "Liderul echipei a acceptat penalizarea. Nu ai primit plata",
|
|
["dontHaveReqItem"] = "Tu sau cineva din echipa ta nu are obiectul necesar pentru a incepe munca",
|
|
["notEverybodyHasRequiredJob"] = "Nu toti prietenii tai au meseria necesara",
|
|
["someoneIsOnCooldown"] = "%s nu poate incepe munca acum (cooldown: %s)",
|
|
["hours"] = "h",
|
|
["minutes"] = "m",
|
|
["seconds"] = "s",
|
|
["newBoss"] = "Liderul anterior al lobby-ului a parasit serverul. Tu esti acum liderul echipei",
|
|
}
|
|
|
|
Config.TreasureLocations = {
|
|
|
|
-- Here you can modify/add some treasure coords.
|
|
|
|
vector3(1815.49768, -2954.997, -45.5570831),
|
|
vector3(1864.00513, -2943.36328, -45.1559143),
|
|
vector3(2087.157, -3039.93726, -47.4239426),
|
|
vector3(2193.7627, -3127.48364, -94.57767),
|
|
vector3(2378.85034, -2499.71631, -35.8349953),
|
|
vector3(2627.7478, -2413.352, -54.75626),
|
|
vector3(2626.367, -2423.33521, -55.3033142),
|
|
vector3(2846.15332, -2222.815, -41.333744),
|
|
vector3(2859.74365, -1891.47119, -34.197506),
|
|
vector3(2984.12964, -1498.41418, -27.9075184),
|
|
vector3(3177.29468, -581.065247, -127.739563),
|
|
vector3(3281.40527, -402.4866, -117.204651),
|
|
vector3(3299.69238, -406.8575, -124.827339),
|
|
vector3(3299.3125, -397.5286, -116.688576),
|
|
vector3(3256.39038, -420.755249, -77.03309),
|
|
vector3(3201.50244, -402.942261, -25.67505),
|
|
vector3(3412.09766, -74.54607, -140.977844),
|
|
vector3(3460.43457, 378.9865, -122.711594),
|
|
vector3(3422.76685, 965.6635, -128.906647),
|
|
vector3(3317.28442, 1120.36389, -112.818596),
|
|
vector3(3355.995, 1508.01233, -139.310776),
|
|
vector3(3410.40137, 1958.86682, -51.6830864),
|
|
vector3(3902.61035, 3058.50049, -29.4393253),
|
|
vector3(3883.802, 3039.01636, -25.3941383),
|
|
vector3(3583.80859, 2718.93262, -27.3160973),
|
|
} |