-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcurrent_loadout.js
158 lines (139 loc) · 4.37 KB
/
current_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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
let currentLoadOut = {
loadout1: {
name:"Ice Cream Loadout",
primary:"m13(Cold Cream)",
secondary: "L-CAR 9",
character: "Ajax-Ice Cream Man",
operatorSkill: "K-9 Unit",
leathal: "C4",
tactical: "HeartBeat sensor",
scoreStreaks:["Care Pacage", "Predotor Missile", "cluster Strike"],
perk: ["Tactican", "Tracker", "Hardline"],
},
loadout2: {
name:"M13 Reg",
primary:"M13",
secondary: "L-CAR 9",
character: "Terrance Brooks-Digtal Hide ",
operatorSkill: "K-9 Unit",
leathal: "C4",
tactical: "HeartBeat Sensor",
scoreStreaks:["Care Pacage", "Predotor Missile", "cluster Strike"],
perk: ["Tactican", "Tracker", "Hardline"],
},
loadout3: {
name:"",
primary:"Oden_Road_Trip",
secondary: "L-CAR 9",
character: "Ajax-Ice Cream Man",
operatorSkill: "K-9 Unit",
leathal: "C4",
tactical: "HeartBeat Sensor",
scoreStreaks:["Care Pacage", "Predotor Missile", "cluster Strike"],
perk: ["Tactican", "Tracker", "Hardline"],
},
loadout4: {
name:"Sniper Loadout",
primary:"Locus Crustacean",
secondary: "L-CAR 9",
character: "Reaper",
operatorSkill: "K-9 Unit",
leathal: "C4",
tactical: "HeartBeat Sensor",
scoreStreaks:["Care Pacage", "Predotor Missile", "cluster Strike"],
perk: ["Tactican", "Tracker", "Hardline"],
},
loadout5:{
name:"",
primary:"DR-H",
secondary: "L-CAR 9",
character: "Nomad",
operatorSkill: "K-9 Unit",
leathal: "C4",
tactical: "HeartBeat Sensor",
scoreStreaks:["Care Pacage", "Predotor Missile", "cluster Strike"],
perk: ["Tactican", "Tracker", "Hardline"],
},
loadout6:{
name:"",
primary:"M13 Cold Cream",
secondary: "L-CAR 9",
character: "Reaper",
operatorSkill: "K-9 Unit",
leathal: "C4",
tactical: "HeartBeat Sensor",
scoreStreaks:["Care Pacage", "Predotor Missile", "cluster Strike"],
perk: ["Tactican", "Tracker", "Hardline"],
},
loadout7:{
name:"Krig6",
primary:"Krig6",
secondary: "Ax Refreshing",
character: "Reaper",
operatorSkill: "K-9 Unit",
leathal: "C4",
tactical: "HeartBeat Sensor",
scoreStreaks:["Care Pacage", "Predotor Missile", "cluster Strike"],
perk: ["Tactican", "Tracker", "Hardline"],
},
loadout8:{
name:"ShotGun_Support",
primary:"KRM-262(ShotGun)",
secondary: "L-CAR 9",
character: "Nomad",
operatorSkill: "K-9 Unit",
leathal: "C4",
tactical: "HeartBeat Sensor",
scoreStreaks:["Care Pacage", "Predotor Missile", "cluster Strike"],
perk: ["Tactican", "Tracker", "Hardline"],
},
loadout9:{
name:"AK-47",
primary:"AK-47",
secondary: "L-CAR 9",
character: "Baker(UnderWater)",
operatorSkill: "K-9 Unit",
leathal: "C4",
tactical: "HeartBeat Sensor",
scoreStreaks:["Care Pacage", "Predotor Missile", "cluster Strike"],
perk: ["Tactican", "Tracker", "Hardline"],
},
loadout10:{
name:"DR-H",
primary:"HVK-30",
secondary: ".50 GS",
character: "Nomad",
operatorSkill: "K-9 Unit",
leathal: "C4",
tactical: "HeartBeat Sensor",
scoreStreaks:["Care Pacage", "Predotor Missile", "cluster Strike"],
perk: ["Tactican", "Tracker", "Hardline"],
},
}
// console.log(currentLoadOut.loadout5.perk[2])
if( (currentLoadOut !== currentLoadOut.loadout5.perk[5])){
console.log(`current loadouts are: ${currentLoadOut}`)
}
// console.table(currentLoadOut)
// 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)