Guest User

Untitled

a guest
Mar 20th, 2020
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.14 KB | None | 0 0
  1. require 'Items/SuburbsDistributions'
  2.  
  3. local function add(room, container, data)
  4.     local sd = SuburbsDistributions[room][container]
  5.     if not sd then --fix for future updates of the game
  6.         return print('ERROR in SpawnCarWindows: ', room, container);
  7.     end
  8.     for i=1,#data do
  9.         table.insert(sd.items,data[i])
  10.     end
  11. end
  12.  
  13. -- Garage
  14. add("garage","metal_shelves", {
  15.     --Windshield
  16.     "Windshield1",0.2,
  17.     "Windshield2",0.2,
  18.     "Windshield3",0.2,
  19.     --Rearshield
  20.     "RearWindshield1",0.2,
  21.     "RearWindshield2",0.2,
  22.     "RearWindshield3",0.2,
  23.     --FrontWindow
  24.     "FrontWindow1",0.2,
  25.     "FrontWindow2",0.2,
  26.     "FrontWindow3",0.2,
  27.     --RearWindow
  28.     "RearWindow1",0.2,
  29.     "RearWindow2",0.2,
  30.     "RearWindow3",0.2,
  31. });
  32.  
  33.  
  34. -- Garagestorage
  35. --add("garagestorage","metal_shelves", {}); -- Added by devs
  36.  
  37.  
  38. -- Mechanic
  39. add("mechanic","metal_shelves", {
  40.     --Windshield
  41.     "Windshield1",1.2,
  42.     "Windshield2",1.2,
  43.     "Windshield3",1.2,
  44.     --Rearshield
  45.     "RearWindshield1",1.2,
  46.     "RearWindshield2",1.2,
  47.     "RearWindshield3",1.2,
  48.     --FrontWindow
  49.     "FrontWindow1",1.2,
  50.     "FrontWindow2",1.2,
  51.     "FrontWindow3",1.2,
  52.     --RearWindow
  53.     "RearWindow1",1.2,
  54.     "RearWindow2",1.2,
  55.     "RearWindow3",1.2,
  56. });
Advertisement
Add Comment
Please, Sign In to add comment