Advertisement
Lukyspore

sh_config.lua

May 16th, 2024 (edited)
740
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.25 KB | None | 0 0
  1. LDT_Closetter = LDT_Closetter or {}
  2. LDT_Closetter.Config = LDT_Closetter.Config or {}
  3.  
  4. LDT_Closetter.Config.Language = "en" -- Currently there are en, fr, pl, de, sp, it and ru translations available.
  5.  
  6. LDT_Closetter.Config.AdminRanks = {
  7.     ["superadmin"] = true,
  8.     ["admin"] = true
  9. } -- These are the ranks that can spawn new closets. You can add more ranks if you want to.
  10.  
  11. LDT_Closetter.Config.ContextMenuRanks = {
  12.     ["superadmin"] = true,
  13.     ["admin"] = true
  14. } -- These are the ranks that can open the closet from the context menu. You can add more ranks if you want to.
  15.  
  16. LDT_Closetter.Config.ContextMenuJobs = {
  17.     ["Admin Job"] = true,
  18. } -- These are the ranks that can open the closet from the context menu. You can add more ranks if you want to.
  19.  
  20. LDT_Closetter.Config.OpenFromContextMenuOverride = true -- If this is set to true anyone can open the closet from the context menu.
  21.  
  22.  
  23. LDT_Closetter.Config.ConvertOldClosetterLocations = {
  24.     ["superadmin"] = true
  25. } -- These are the ranks that can run the command to convert the Arizard's Bodygroupr locations to this system. You can add more ranks if you want to.
  26.  
  27. -- The chat command to convert the Arizard's Bodygroupr locations to this system is "!closetter convert locations".
  28.  
  29. LDT_Closetter.Config.CanClosetBreak = true -- If this is set to false, the closets will not break when they reach 0 health.
  30. LDT_Closetter.Config.ClosetHealth = 100 -- This is the health of the closet.
  31.  
  32. LDT_Closetter.Config.EnableRandomize = true -- If this is set to true, the randomize button will be displayed and enabled.
  33. LDT_Closetter.Config.EnableCloning = true -- If this is set to true, the clone from other users feature will be displayed and enabled.
  34.  
  35. LDT_Closetter.Config.AdminMenuCommand = "!closetter" -- This is the chat command to open the admin menu.
  36.  
  37. LDT_Closetter.Config.ClosetModel = "models/props_c17/FurnitureDresser001a.mdl" -- This is the model of the closet.
  38. LDT_Closetter.Config.ClosetGroundOffset = 39 -- This is the offset of the closet from the ground. This is used to make the closet sit on the ground properly. Beacuse each model has different sizes, this value may need to be adjusted.
  39.  
  40.  
  41. -- These are the colors for every element of the UI. Feel free to change them to your liking.
  42. LDT_Closetter.Config.Red = Color(228, 58, 7)
  43. LDT_Closetter.Config.RedHover = Color(255, 63, 5)
  44. LDT_Closetter.Config.White = Color(255,255,255)
  45. LDT_Closetter.Config.Grey = Color(47, 54, 64)
  46. LDT_Closetter.Config.GreyHover = Color(57, 65, 77)
  47. LDT_Closetter.Config.GreySecond = Color(31, 34, 41)
  48. LDT_Closetter.Config.GreyTrans = Color(32, 33, 36, 200)
  49. LDT_Closetter.Config.Blue = Color(0, 151, 230)
  50. LDT_Closetter.Config.BlueSecond = Color(2, 161, 247)
  51. LDT_Closetter.Config.ToolBlock = Color(0, 0, 0,220)
  52. LDT_Closetter.Config.Black = Color(0, 0, 0)
  53. LDT_Closetter.Config.BlackEntity = Color(0, 0, 0, 95)
  54.  
  55. -- These are the materials for every element of the UI. Feel free to change them to your liking.
  56. LDT_Closetter.Materials = LDT_Closetter.Materials or {}
  57. LDT_Closetter.Materials.ToolBG = Material("LDT_Closetter/display_bg_small.png", "ignorez")
  58. LDT_Closetter.Materials.XIcon = Material("LDT_Closetter/x.png", "noclamp smooth")
  59. LDT_Closetter.Materials.TrashCan = Material("LDT_Closetter/trash-can.png", "noclamp smooth")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement