Advertisement
taka_qiao

Untitled

Jul 20th, 2019
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 9.36 KB | None | 0 0
  1. --[[  
  2.     Addon: Night Club System
  3.     By: SlownLS & Slawer
  4. ]]
  5.  
  6. NightClub.Config = NightClub.Config or {}
  7.  
  8. -- Current addon language
  9. NightClub.Config.Language = "cn"
  10.  
  11. -- Time between each employee's cash inflow (from the employee)
  12. NightClub.Config.DelayEmployeeMakeMoney = 1 -- in minutes
  13.  
  14. -- Energy that the employee spends when working (called when makes money)
  15. NightClub.Config.ValueEmployeeLooseEnergy = 2
  16.  
  17. -- Delay between each energy regeneration (when not working)
  18. NightClub.Config.DelayEmployeeRegenEnergy = 1 -- in minutes
  19.  
  20. -- Energy regeneration value
  21. NightClub.Config.ValueEmployeeRegenEnergy = 3
  22.  
  23. -- Minimum energy the employee must have to work
  24. NightClub.Config.MinEmployeeEnergyToWork = 10
  25.  
  26. NightClub.Config.Jobs = {
  27.     ['夜店老板'] = true,
  28. }
  29.  
  30. -- Jobs working in the night club
  31. NightClub.Config.JobsAvailable = {
  32.     [0] = { name = "DJ" },
  33.     [1] = { name = "舞者" },
  34. }
  35.  
  36. -- List of sequences availables
  37. NightClub.Config.DanceSequences = {
  38.     "Wave_close",
  39.     "deathpose_back",
  40.     "deathpose_front",
  41.     "deathpose_left",
  42.     "deathpose_right",
  43.     "PreSkewer",
  44.     "Startle_Behind",
  45. }
  46.  
  47. -- Upgrades that can do the manager // Don't touch the order of this table
  48. NightClub.Config.Upgrades = {
  49.     {
  50.         name = "余额限制",
  51.         description = "允许你存储更多钱",
  52.         steps = {
  53.             -- Default
  54.             [1] = {
  55.                 value = 3000,
  56.                 price = 0,
  57.             },
  58.             -- Others
  59.             [2] = {
  60.                 value = 5000,
  61.                 price = 3000,
  62.             },
  63.             [3] = {
  64.                 value = 10000,
  65.                 price = 5000,
  66.             },
  67.             [4] = {
  68.                 value = 50000,
  69.                 price = 10000,
  70.             },
  71.             [5] = {
  72.                 value = 100000,
  73.                 price = 50000,
  74.             },
  75.             [6] = {
  76.                 value = 250000,
  77.                 price = 100000,
  78.             },
  79.             [7] = {
  80.                 value = 500000,
  81.                 price = 250000,
  82.             },
  83.             [8] = {
  84.                 value = 1000000,
  85.                 price = 500000,
  86.             },
  87.         }
  88.     },
  89.     {
  90.         name = "存储空间",
  91.         description = "允许你存储更多食物",
  92.         steps = {
  93.             -- Default
  94.             [1] = {
  95.                 value = 10,
  96.                 price = 0,
  97.             },
  98.             -- Others
  99.             [2] = {
  100.                 value = 20,
  101.                 price = 400,
  102.             },
  103.             [3] = {
  104.                 value = 30,
  105.                 price = 600,
  106.             },
  107.             [4] = {
  108.                 value = 50,
  109.                 price = 1000,
  110.             },
  111.             [5] = {
  112.                 value = 100,
  113.                 price = 2000,
  114.             },
  115.             [6] = {
  116.                 value = 250,
  117.                 price = 5000,
  118.             },
  119.             [7] = {
  120.                 value = 500,
  121.                 price = 10000,
  122.             },
  123.         }        
  124.     },
  125.     {
  126.         name = "跳舞点",
  127.         description = "允许增加跳舞位置数量点",
  128.         steps = {
  129.             -- Default
  130.             [1] = {
  131.                 value = 1,
  132.                 price = 0,
  133.             },
  134.             -- Others
  135.             [2] = {
  136.                 value = 2,
  137.                 price = 1500,
  138.             },
  139.             [3] = {
  140.                 value = 3,
  141.                 price = 1500,
  142.             },
  143.             [4] = {
  144.                 value = 4,
  145.                 price = 1500,
  146.             },
  147.             [5] = {
  148.                 value = 5,
  149.                 price = 1500,
  150.             },
  151.             [6] = {
  152.                 value = 6,
  153.                 price = 1500,
  154.             },
  155.         }        
  156.     },
  157.     {
  158.         name = "DJ 打碟机",
  159.         description = "DJ打碟机质量更棒",
  160.         steps = {
  161.             -- Default
  162.             [1] = {
  163.                 value = 1,
  164.                 price = 0,
  165.             },
  166.             -- Others
  167.             [2] = {
  168.                 value = 1.25,
  169.                 price = 10000,
  170.             },
  171.             [3] = {
  172.                 value = 1.5,
  173.                 price = 30000,
  174.             },
  175.             [4] = {
  176.                 value = 2,
  177.                 price = 75000,
  178.             },
  179.         }
  180.     },
  181. }
  182.  
  183. -- Employees available
  184. NightClub.Config.Employees = {
  185.     {
  186.         name = "Josh",
  187.         model = "models/Humans/Group02/male_06.mdl",
  188.         job = 0,
  189.         gain = 100,
  190.         description = "Apprentice DJ, he was a baker",
  191.         price = 3000
  192.     },
  193.     {
  194.         name = "DJ Sona Kinetic",
  195.         model = "models/Player_djsonakinetic.mdl",
  196.         job = 0,
  197.         gain = 1000,
  198.         description = "DJ Sona Kinetic",
  199.         price = 30000
  200.     },
  201.     {
  202.         name = "DJ Sona Concussive",
  203.         model = "models/Player_djsonaconcussive.mdl",
  204.         job = 0,
  205.         gain = 1000,
  206.         description = "DJ Sona Concussive",
  207.         price = 30000
  208.     },
  209.     {
  210.         name = "DJ Sona Ethereal",
  211.         model = "models/Player_djsonaethereal.mdl",
  212.         job = 0,
  213.         gain = 1000,
  214.         description = "DJ Sona Ethereal",
  215.         price = 30000
  216.     },
  217.     {
  218.         name = "Thomas",
  219.         model = "models/Humans/Group01/male_02.mdl",
  220.         job = 1,
  221.         gain = 35,
  222.         description = "As an intern dancer, he does his best.",
  223.         price = 250
  224.     },
  225.     {
  226.         name = "Sarah",
  227.         model = "models/Humans/Group01/Female_06.mdl",
  228.         job = 1,
  229.         gain = 50,
  230.         description = "Beginner dancer, she still makes some mistakes.",
  231.         price = 500
  232.     },
  233.     {
  234.         name = "Gloria",
  235.         model = "models/Humans/Group01/Female_07.mdl",
  236.         job = 1,
  237.         gain = 60,
  238.         description = "Dancer for 1 year, she has the dance in her skin.",
  239.         price = 700
  240.     },
  241.     {
  242.         name = "Jimmy",
  243.         model = "models/Humans/Group01/male_07.mdl",
  244.         job = 1,
  245.         gain = 60,
  246.         description = "Dancer for 1 year and a half, trained by his father",
  247.         price = 700
  248.     },
  249.     {
  250.         name = "Margaret",
  251.         model = "models/Humans/Group01/Female_02.mdl",
  252.         job = 1,
  253.         gain = 65,
  254.         description = "Dancer for 8 years, she is passionate and experienced.",
  255.         price = 800
  256.     },
  257.     {
  258.         name = "Carla",
  259.         model = "models/Humans/Group01/Female_06.mdl",
  260.         job = 1,
  261.         gain = 80,
  262.         description = "Dancer known for her wild rhythm.",
  263.         price = 1150
  264.     },
  265.     {
  266.         name = "Diane",
  267.         model = "models/Humans/Group01/Female_01.mdl",
  268.         job = 1,
  269.         gain = 100,
  270.         description = "Dancer known worldwide for her quality services.",
  271.         price = 1400
  272.     },
  273.     {
  274.         name = "Overwatch-D.Va",
  275.         model = "models/player/tfa_seds_ow_dva.mdl",
  276.         job = 1,
  277.         gain = 1000,
  278.         description = "Overwatch-D.Va",
  279.         price = 14000
  280.     },
  281.     {
  282.         name = "Overwatch-Mercy",
  283.         model = "models/player/tfa_ow_mercy.mdl",
  284.         job = 1,
  285.         gain = 1000,
  286.         description = "Overwatch-Mercy",
  287.         price = 14000
  288.     },
  289.     {
  290.         name = "Tda Hatsune Miku",
  291.         model = "models/captainbigbutt/vocaloid/miku_classic.mdl",
  292.         job = 1,
  293.         gain = 1000,
  294.         description = "Tda Hatsune Miku",
  295.         price = 14000
  296.     },
  297. }
  298.  
  299. -- Shop items available
  300. NightClub.Config.Shop = {
  301.     {
  302.         name = "Coca Cola",
  303.         model = "models/props_junk/PopCan01a.mdl",
  304.         infos = {
  305.             class = "spawned_food",
  306.             type = 3, // 1 = ent, 2 = weapon, 3 = food
  307.             energy = 20,
  308.         },
  309.         price = 800,
  310.     }
  311. }
  312.  
  313. -- Podiums positions of dancers
  314. NightClub.Config.Podiums = {
  315.     {
  316.         pos = Vector(5546.866699,8967.521484,5664.031250),
  317.         ang = Angle(0,-90,0),
  318.     },
  319.     {
  320.         pos = Vector(5737.615234,8965.027344,5664.031250),
  321.         ang = Angle(0,-90,0),
  322.     },
  323.     {
  324.         pos = Vector(5866.630371,9035.381836,5728.031250),
  325.         ang = Angle(0,-90,0),
  326.     },
  327.  
  328.     {
  329.         pos = Vector(5396.845215,9027.619141,5728.031250),
  330.         ang = Angle(0,-90,0),
  331.     },
  332.     {
  333.         pos = Vector(5397.705078,8497.099609,5728.031250),
  334.         ang = Angle(0,-90,0),
  335.     },
  336.     {
  337.         pos = Vector(5867.397461,8495.979492,5728.030762),
  338.         ang = Angle(0,-90,0),
  339.     },
  340. }
  341.  
  342. -- DJ Pos
  343. NightClub.Config.DJ = {
  344.     pos = {
  345.         Vector(5617.772949,9176.606445,5888.031250),
  346.         Angle(0,-90,0)
  347.     },
  348.     -- as high as possible in the nightclub (will define is he'll hear the radio)
  349.     radiopos = Vector(5615.399902,9021.138672,5898.125488),
  350.     -- music volume
  351.     volume = 10,
  352.     -- must be a direct radio
  353.     radio = "http://edge-2049.dus-lg.cdn.addradio.net/hr/youfm/justmusic/mp3/128/stream.mp3?ar-distributor=f0a0",
  354.     animations = {
  355.         "cheer1",
  356.         "cheer2",
  357.     }
  358. }
  359.  
  360. -- Colors
  361. NightClub.Config.Colors = {
  362.     primary = Color(32,32,32),
  363.     secondary = Color(36,36,36),
  364.      
  365.     blue = Color(41,128,185,100),
  366.     blue2 = Color(41,128,185,150),
  367.  
  368.     red = Color(190,71,71),
  369.     red2 = Color(190,71,71,150),
  370.  
  371.     green = Color(29,131,72),
  372.     green2 = Color(35,155,86,100),
  373.  
  374.     text = Color(188,188,188),
  375.     text2 = Color(138, 138, 138),
  376.     outline = Color(44,44,44),
  377. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement