-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcurrent_Gun_Loadout.js
106 lines (91 loc) · 2.11 KB
/
current_Gun_Loadout.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
let currentGunDataBase = {
krig6: {
name:"Krig6",
number:"01",
muzzle: "Agency Suppresor",
barrel: "null",
optic: "Tactical Scope",
perk:"FMJ",
stock:"null",
lazer:"null",
underBarrel:"Feild Agent Forgrip",
aummuntion:"Fast Relaod",
rearGrip:"null",
soldier:"Ajax-Ice Cream Man",
camo: "",
},
m4: {
name:"M4",
number:"02",
muzzle: "Rtc Light Muzzle Break",
barrel: "OWC Marksman",
optic: "4x Tactical",
perk:"FMJ",
stock:"Null",
lazer:"Null",
underBarrel:"Ranger ForeGrip",
aummuntion:"40 Round Extended Mag",
rearGrip:"Null",
},
odenRoadTrip: {
name:"Oden",
number:"03",
muzzle: "Null",
barrel: "MIP Light Barrel",
optic: "Classic Red Dot Sight",
perk:"Sleight Of Hand",
stock:"Null",
lazer:"Null",
underBarrel:"Null",
aummuntion:"Extended Mag A",
rearGrip:"Stippled Grip Tape",
},
locusCrustaceanBlue: {
name:"",
number:"04",
muzzle: "",
barrel: "",
optic: "",
perk:"",
stock:"",
lazer:"",
underBarrel:"",
aummuntion:"",
rearGrip:"",
},
m13:{
name:"",
number:"05",
muzzle: "",
barrel: "",
optic: "",
perk:"",
stock:"",
lazer:"",
underBarrel:"",
aummuntion:"",
rearGrip:"",
}
}
// const dinner = {
// hamburger: 12,
// steak: 20,
// soup: 8,
// macAndCheese: 14,
// soupAndSalad: 16
// };
// let totalCost = 0;
// for (const individualMeal in dinner) {
// totalCost += dinner[individualMeal];
// }
// const prices = Object.values(dinner);
// let totalCost = 0;
// for (let i = 0; i < prices.length; i++) {
// totalCost += prices[i];
// }
// console.log(totalCost);
// console.log(totalCost);
// console.log(Object.keys(dinner));
// console.log(Object.values(dinner));
console.log(currentGunDataBase.krig6.muzzle)
console.log(currentGunDataBase.odenRoadTrip.optic)