SHARE
TWEET

PAYDAY 2: Disable Rifleman's zoom bonus

BigSky7 Aug 25th, 2019 134 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
  2. File: mod.txt
  3.  
  4. {
  5.     "name" : "Disable Rifleman's zoom bonus",
  6.     "description" : "",
  7.     "author" : "Big Sky.",
  8.     "contact" : "-",
  9.     "version" : "2.0",
  10.     "blt_version" : 2.0,
  11.     "hooks" : [
  12.         {
  13.             "hook_id" : "lib/tweak_data/skilltreetweakdata",
  14.             "script_path" : "rifleman_zoom_removal.lua"
  15.         }
  16.     ]
  17. }
  18. ——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
  19. File: rifleman_zoom_removal.lua
  20.  
  21. local old_init = SkillTreeTweakData.init
  22.  
  23. function SkillTreeTweakData:init()
  24.  
  25.     old_init(self)
  26.  
  27.     self.skills.rifleman[2].upgrades = {
  28.         "assault_rifle_move_spread_index_addend",
  29.         "snp_move_spread_index_addend",
  30.         "smg_move_spread_index_addend"
  31.     }
  32.  
  33. end
  34. ——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top