Crap-Head

Bank Robbery 2 Config

May 15th, 2023
334
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.58 KB | None | 0 0
  1. CH_BankVault = CH_BankVault or {}
  2. CH_BankVault.Config = CH_BankVault.Config or {}
  3. CH_BankVault.Content = CH_BankVault.Content or {}
  4. CH_BankVault.Design = CH_BankVault.Design or {}
  5. CH_BankVault.CurrentRobbers = CH_BankVault.CurrentRobbers or { "NONE" }
  6.  
  7. -- General config options.
  8. CH_BankVault.Config.StartMoney = 1500 -- Amount of money the bank will have from server startup. [Default = 1500]
  9. CH_BankVault.Config.MoneyTimer = 60 -- This is the time that defines when money is added to the bank. In seconds! [Default = 60]
  10. CH_BankVault.Config.MoneyOnTime = 1000 -- This is the amount of money to be added to the bank every x minutes/seconds. Defined by the setting above. [Default = 1000]
  11. CH_BankVault.Config.Max = 30000 -- The maximum the bank can have. Set to 0 for no limit. [Default = 30000]
  12.  
  13. CH_BankVault.Config.AliveTime = 60 -- The amount of SECONDS the player must stay alive before he will receive what the bank has. [Default = 60 seconds]
  14. -- If you own the transport dlc this is also the time the robbers needs to complete the heist/transport of the money in. If not, the mission will fail.
  15.  
  16. CH_BankVault.Config.CooldownTime = 600 -- The amount of SECONDS the bank is on a cooldown after a robbery! [Default = 600 (10 min)]
  17. CH_BankVault.Config.PlayerLimit = 5 -- The amount of players there must be on the server before you can rob the bank. [Default = 5]
  18. CH_BankVault.Config.PoliceRequired = 3 -- The amount of police officers there must be before a person can rob the bank. [Default = 3]
  19.  
  20. CH_BankVault.Config.RobberyDistance = 300000 -- The amount of space the player can move away from the armory entity, before the robbery fails. [Default = 300000]
  21. CH_BankVault.Config.DropMoneyOnSucces = false -- Should money drop from the bank when a robbery is successful? true/false option. [Default = false]
  22.  
  23. CH_BankVault.Config.KillReward = 1750 -- The amount of money a person is rewarded for killing the bank robber. [Default = 1750]
  24. CH_BankVault.Config.RobbersCanJoin = 120 -- Amount of seconds before robbers are no longer able to join a robbery after it has first been started. [Default = 120 (2 minutes)]
  25.  
  26. -- Alarm Sound Configs
  27. CH_BankVault.Config.EmitSoundOnRob = true -- Should an alarm go off when the bank vault gets robbed. [Default = true]
  28. CH_BankVault.Config.TheSound = "ambient/alarms/alarm_citizen_loop1.wav" -- The sound to be played. [Default = ambient/alarms/alarm1.wav - default gmod sound]
  29. CH_BankVault.Config.SoundVolume = 100 -- The sound volume for the alarm sound. [Default = 100] -- AVAILABLE VALUES https://wiki.facepunch.com/gmod/Enums/SNDLVL
  30. CH_BankVault.Config.SoundDuration = 20 -- Amount of seconds the sound should play for. [Default = 20]
  31.  
  32. -- Model Requirementsa
  33. CH_BankVault.Config.UseRequiredModels = false -- Should the robber be a specific model to be able to rob the bank? Uses the models from the table below. [Default = false]
  34.  
  35. CH_BankVault.Config.RequiredModels = { -- These are the models required to rob the bank. These only come in use if the option above (CH_BankVault.Config.UseRequiredModels) is enabled.  
  36.     ["models/player/Group01/Male_01.mdl"] = true,
  37.     ["models/player/Group01/Male_02.mdl"] = true,
  38.     ["models/player/Group01/Male_03.mdl"] = true,
  39.     ["models/player/Group01/Male_04.mdl"] = true,
  40.     ["models/player/Group01/Male_05.mdl"] = true,
  41.     ["models/player/Group01/Male_06.mdl"] = true,
  42.     ["models/player/Group01/Male_07.mdl"] = true,
  43.     ["models/player/Group01/Male_08.mdl"] = true,
  44.     ["models/player/Group01/Male_09.mdl"] = true,
  45. }
  46.  
  47. -- Team Configuration
  48. CH_BankVault.Config.GovernmentTeams = { -- These teams are considered police/government teams. They will count towards the requirement to start a robbery, receive notifications, and so on.
  49.     ["Civil Protection"] = true,
  50.     ["Civil Protection Chief"] = true,
  51.     ["Police Officer"] = true,
  52.     ["Mayor"] = true,
  53. }
  54.  
  55. CH_BankVault.Config.AllowedTeams = { -- These are the teams that are allowed to rob the bank.
  56.     ["Citizen"] = true,
  57.     ["Gangster"] = true,
  58.     ["Mob boss"] = true,
  59.     ["Gun Dealer"] = true,
  60.     ["Medic"] = true,
  61.     ["Hobo"] = true,
  62. }
  63.  
  64. --[[
  65.     XP SUPPORT
  66. --]]
  67. CH_BankVault.Config.SuccessfulBankRobberyMinXP = 20 -- Amount of XP given when succesfully robbing the bank (minimum amount)
  68. CH_BankVault.Config.SuccessfulBankRobberyMaxXP = 50 -- Amount of XP given when succesfully robbing the bank (maximum amount). The amount is randomized between these two values.
  69.  
  70. CH_BankVault.Config.KillingRobberMinXP = 20 -- Amount of XP given when killing a robber (minimum amount)
  71. CH_BankVault.Config.KillingRobberMaxXP = 50 -- Amount of XP given when killing a robber (maximum amount). The amount is randomized between these two values.
Advertisement
Add Comment
Please, Sign In to add comment