-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
193 lines (177 loc) · 7.77 KB
/
index.html
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="apple-touch-icon" sizes="60x60" href="./apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./favicon-16x16.png">
<link rel="manifest" href="./site.webmanifest">
<link rel="mask-icon" href="./safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<title>Cayo Perico Heist Loot Value Counter</title>
<link rel="stylesheet" href="css/style.css?nocache=1009" />
<script>
const nocache = 1010;
</script>
</head>
<body>
<div class="credentials">
<h3>Created by: <a href="https://github.com/MichalD96" target="_blank">Michal__d</a></h3>
<h5>Site build in progress ;)</h5>
<h5>Report all issues <a target="_blank" href="https://github.com/MichalD96/Perico-heist-goods-counter/issues/">Here (GitHub)</a></h5>
<h5>Support the project <a target="_blank" href="https://www.paypal.com/paypalme/Michald96">Here (PayPal)</a></h5>
</div>
<div class="flex">
<div class="main-container">
<div class="custom-input">
<label for="isHardMode">Hard mode:</label>
<select class="input-text" id="isHardMode">
<option value="false">No</option>
<option value="true">Yes</option>
</select>
</div>
<div class="custom-input">
<label for="isWithinCooldown">Within 72h bonus:</label>
<select class="input-text" id="isWithinCooldown">
<option value="false">No</option>
<option value="true">Yes</option>
</select>
</div>
<div class="custom-input">
<label for="primaryTarget">Main Target:</label>
<select class="input-text" id="primaryTarget">
<option value="tequila">Tequila</option>
<option value="ruby_necklace">Ruby Necklace</option>
<option value="bearer_bonds">Bearer Bonds</option>
<option value="pink_diamond" selected>Pink Diamond</option>
<option value="panther_statue">Panther Statue</option>
</select>
</div>
<div class="custom-input">
<label for="amountOfPlayers">Amount of players:</label>
<select class="input-text" id="amountOfPlayers">
<option value="1">1</option>
<option value="2" selected>2</option>
<option value="3">3</option>
<option value="4">4</option>
</select>
</div>
<div class="custom-input">
<label class="darken" for="goldAlone">Collect gold alone?</label>
<select class="input-text" id="goldAlone">
<option value="false">No</option>
<option value="true">Yes</option>
</select>
</div>
<div class="custom-input">
<label for="gold">Gold stacks:</label>
<input type="number" id="gold" name="gold" value="1" min="0" max="6">
</div>
<div class="custom-input">
<label for="cocaine">Cocaine stacks:</label>
<input type="number" id="cocaine" name="cocaine" value="1" min="0" max="12">
</div>
<div class="custom-input">
<label for="weed">Weed stacks:</label>
<input type="number" id="weed" name="weed" value="1" min="0" max="12">
</div>
<div class="custom-input">
<label for="paintings">Paintings:</label>
<input type="number" id="paintings" name="paintings" value="1" min="0" max="5">
</div>
<div class="custom-input">
<label for="cash">Cash stacks:</label>
<input type="number" id="cash" name="cash" value="1" min="0" max="15">
</div>
<h4>Secondary targets average values:</h4>
<div class="stacks-values">
<div class="targets-names">
<div>Target:</div>
<div class="dimmed">Gold:</div>
<div class="dimmed">Cocaine:</div>
<div class="dimmed">Weed:</div>
<div class="dimmed">Painting:</div>
<div class="dimmed">Cash:</div>
</div>
<div class="targets-stacks">
<div>Stack value:</div>
<div class="dimmed" id="gold-stacks-value"></div>
<div class="dimmed" id="cocaine-stacks-value"></div>
<div class="dimmed" id="weed-stacks-value"></div>
<div class="dimmed" id="paintings-stacks-value"></div>
<div class="dimmed" id="cash-stacks-value"></div>
</div>
<div class="targets-bags">
<div>Full bag:</div>
<div class="dimmed" id="gold-bags-value"></div>
<div class="dimmed" id="cocaine-bags-value"></div>
<div class="dimmed" id="weed-bags-value"></div>
<div class="dimmed" id="paintings-bags-value"></div>
<div class="dimmed" id="cash-bags-value"></div>
</div>
<div class="targets-bags">
<div>Bag fill %:</div>
<div class="dimmed" id="gold-bag-percent"></div>
<div class="dimmed" id="cocaine-bag-percent"></div>
<div class="dimmed" id="weed-bag-percent"></div>
<div class="dimmed" id="paintings-bag-percent"></div>
<div class="dimmed" id="cash-bag-percent"></div>
</div>
</div>
</div>
<div class="main-container right">
<div class="dimmed">+ Office safe: <span id="office-safe"></span></div>
<div class="dimmed">- Fencing fee (10%): <span id="fencing-fee"></span></div>
<div class="dimmed">- Pavel fee (2%): <span id="pavel-fee"></span></div>
<div class="dimmed">+ Elite Challenge: <span id="elite-challenge"></span> for every player*</div>
<div class="cuts">
<div class="custom-input-narrow">
<label contenteditable="true" for="leader">Leader</label>
<input type="number" id="leaderCut" value="85" min="15" max="100" step="5">
<span></span>
</div>
<div class="custom-input-narrow">
<label contenteditable="true" for="member1">Member 1</label>
<input type="number" id="member1Cut" value="15" min="15" max="85" step="5">
<span></span>
</div>
<div class="custom-input-narrow">
<label contenteditable="true" for="member2">Member 2</label>
<input type="number" id="member2Cut" value="15" min="15" max="70" step="5">
<span></span>
</div>
<div class="custom-input-narrow">
<label contenteditable="true" for="member3">Member 3</label>
<input type="number" id="member3Cut" value="15" min="15" max="55" step="5">
<span></span>
</div>
</div>
<hr>
<div>Max possible profit: <span id="max-loot-value"></span></div>
<hr>
<p>You can take (in profit order):</p>
<div class="hidden"><span class="big" id="gold-bag">0</span></div>
<div class="hidden"><span class="big" id="cocaine-bag">0</span></div>
<div class="hidden"><span class="big" id="weed-bag">0</span></div>
<div class="hidden"><span class="big" id="paintings-bag">0</span></div>
<div class="hidden"><span class="big" id="cash-bag">0</span></div>
<br>
<hr>
<div>Bags sum: <span id="bags_fill"></span>**</div>
<div class="flex-buttons">
<button id="reset-settings" class="button">Reset settings to default</button>
<button id="link-settings" class="button">Copy link with settings</button>
</div>
<div class="properties">
<p>* - not included to current final value</p>
<p>** - value over amount of players is not a bug, in some specific cases you can pick up more than your bags capacity</p>
</div>
</div>
</div>
<script src="js/loader.js?nocache=1009"></script>
<script src="js/settings.js?nocache=1009"></script>
<script src="js/logic.js?nocache=1009"></script>
</body>
</html>