-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
224 lines (213 loc) · 12.6 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
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="HadesRandomizer.css">
<title>Hades Randomizer</title>
</head>
<body onload="randomize()">
<div class="row">
<div class="column">
<div class="static">
<label for="paramtile">Escape parameters<button class="buttonright"
onclick="randomize()">Again!</button></label>
<input type="checkbox" id="paramtile" />
<p class="hiddentext">
<span class="prompt">Infernal Arm:</span> <span id="text_weapon"></span><br />
<span class="prompt">Keepsakes:</span> <span id="text_keepsakes"></span><br />
<span class="prompt">Companion:</span> <span id="text_companion"></span><br />
<span class="internalaccordion">
<input type="checkbox" id="mirrorrankstile">
<label for="mirrorrankstile"><span class="prompt">Mirror choices: </span><span class="arrow"></span></label>
<span class="hiddentext" id="text_mirror"></span>
</span>
<br />
<span class="internalaccordion">
<input type="checkbox" id="pactrankstile">
<label for="pactrankstile"><span class="prompt">Pact rank order: </span><span class="arrow"></span></label>
<span class="hiddentext" id="text_heat"></span>
</span>
</p>
</div>
<div class="accordion">
<input type="checkbox" id="optionstile" />
<label for="optionstile">Options <span class="arrow"></span></label>
<p class="hiddentext">
<button onclick="checkall()">Check All</button>
<button onclick="uncheckall()">Uncheck All</button>
<input type="checkbox" id="verbosetext">Verbose?
<a class="buttonright" href="https://github.com/regularwave/HadesRandomizer">Instructions</a>
</p>
</div>
</div>
<div class="column">
<div class="accordion">
<input type="checkbox" id="heattile" />
<label for="heattile">Pact of Punishment <span class="arrow"></span></label>
<p class="hiddentext">
<span class="buttonright">
<button onclick="reset_heat()">Reset</button>
<br /><button onclick="zero_heat()">Zero</button>
</span>
<input type="number" min="0" max="5" step="1" value="5" id="heat_hlv">Hard Labor
<br /><input type="number" min="0" max="4" step="1" value="4" id="heat_lcv">Lasting Consequences
<br /><input type="number" min="0" max="2" step="1" value="2" id="heat_cfv">Convenience Fee
<br /><input type="number" min="0" max="3" step="1" value="3" id="heat_jsv">Jury Summons
<br /><input type="number" min="0" max="4" step="1" value="4" id="heat_emv">Extreme Measures
<br /><input type="number" min="0" max="2" step="1" value="2" id="heat_cpv">Calisthenics Program
<br /><input type="number" min="0" max="2" step="1" value="2" id="heat_bpv">Benefits Package
<br /><input type="number" min="0" max="1" step="1" value="1" id="heat_mmv">Middle Management
<br /><input type="number" min="0" max="1" step="1" value="1" id="heat_ucv">Underworld Customs
<br /><input type="number" min="0" max="2" step="1" value="2" id="heat_fov">Forced Overtime
<br /><input type="number" min="0" max="1" step="1" value="1" id="heat_hsv">Heightened Security
<br /><input type="number" min="0" max="4" step="1" value="4" id="heat_riv">Routine Inspection
<br /><input type="number" min="0" max="2" step="1" value="2" id="heat_dcv">Damage Control
<br /><input type="number" min="0" max="2" step="1" value="2" id="heat_apv">Approval Process
<br /><input type="number" min="0" max="3" step="1" value="3" id="heat_tdv">Tight Deadline
</p>
</div>
<div class="accordion">
<input type="checkbox" id="mirrortile" />
<label for="mirrortile">Mirror of Night <span class="arrow"></span></label>
<p class="hiddentext">
<span class="buttonright">
<button onclick="cbgroup_mirror()">⇔</button>
<br /><button onclick="cbgroup_mirror_red()">Red</button>
<br /><button onclick="cbgroup_mirror_green()">Green</button>
</span>
<input type="checkbox" name="cb" id="mirror_ShPr" checked><span class="mred">Shadow Presence</span>
<input type="checkbox" name="cb" id="mirror_FiPr" checked> <span class="mgreen">Fiery Presence</span>
<br />
<input type="checkbox" name="cb" id="mirror_ChVi" checked><span class="mred">Chthonic Vitality</span>
<input type="checkbox" name="cb" id="mirror_DaRe" checked> <span class="mgreen">Dark Regeneration</span>
<br />
<input type="checkbox" name="cb" id="mirror_DeDe" checked><span class="mred">Death Defiance</span>
<input type="checkbox" name="cb" id="mirror_StDe" checked> <span class="mgreen">Stubborn Defiance</span>
<br />
<input type="checkbox" name="cb" id="mirror_GrRe" checked><span class="mred">Greater Reflex</span>
<input type="checkbox" name="cb" id="mirror_RuRe" checked> <span class="mgreen">Ruthless Reflex</span>
<br />
<input type="checkbox" name="cb" id="mirror_BoBl" checked><span class="mred">Boiling Blood</span>
<input type="checkbox" name="cb" id="mirror_AbBl" checked> <span class="mgreen">Abyssal Blood</span>
<br />
<input type="checkbox" name="cb" id="mirror_InSo" checked><span class="mred">Infernal Soul</span>
<input type="checkbox" name="cb" id="mirror_StSo" checked> <span class="mgreen">Stygian Soul</span>
<br />
<input type="checkbox" name="cb" id="mirror_DePo" checked><span class="mred">Deep Pockets</span>
<input type="checkbox" name="cb" id="mirror_GoTo" checked> <span class="mgreen">Golden Touch</span>
<br />
<input type="checkbox" name="cb" id="mirror_ThSk" checked><span class="mred">Thick Skin</span>
<input type="checkbox" name="cb" id="mirror_HiCo" checked> <span class="mgreen">High Confidence</span>
<br />
<input type="checkbox" name="cb" id="mirror_PrSt" checked><span class="mred">Privileged Status</span>
<input type="checkbox" name="cb" id="mirror_FaFa" checked> <span class="mgreen">Family Favorite</span>
<br />
<input type="checkbox" name="cb" id="mirror_OlFa" checked><span class="mred">Olympian Favor</span>
<input type="checkbox" name="cb" id="mirror_DaFo" checked> <span class="mgreen">Dark Foresight</span>
<br />
<input type="checkbox" name="cb" id="mirror_GoPr" checked><span class="mred">Gods' Pride</span>
<input type="checkbox" name="cb" id="mirror_GoLe" checked> <span class="mgreen">Gods' Legacy</span>
<br />
<input type="checkbox" name="cb" id="mirror_FaAu" checked><span class="mred">Fated Authority</span>
<input type="checkbox" name="cb" id="mirror_FaPe" checked> <span class="mgreen">Fated Persuasion</span>
</p>
</div>
<div class="accordion">
<input type="checkbox" id="weaponstile" />
<label for="weaponstile">Infernal Arms <span class="arrow"></span></label>
<p class="hiddentext">
<button onclick="cbgroup_weapons()" class="buttonright">⇔</button>
<span onclick="cbgroup_sword()">Sword</span>
<input type="checkbox" name="cb" id="sword_zag" checked>Zagreus
<input type="checkbox" name="cb" id="sword_nem" checked>Nemesis
<input type="checkbox" name="cb" id="sword_pos" checked>Poseidon
<input type="checkbox" name="cb" id="sword_art" checked>Arthur
<br />
<span onclick="cbgroup_spear()">Spear</span>
<input type="checkbox" name="cb" id="spear_zag" checked>Zagreus
<input type="checkbox" name="cb" id="spear_ach" checked>Achilles
<input type="checkbox" name="cb" id="spear_had" checked>Hades
<input type="checkbox" name="cb" id="spear_gua" checked>Guan Yu
<br />
<span onclick="cbgroup_shield()">Shield</span>
<input type="checkbox" name="cb" id="shield_zag" checked>Zagreus
<input type="checkbox" name="cb" id="shield_cha" checked>Chaos
<input type="checkbox" name="cb" id="shield_zeu" checked>Zeus
<input type="checkbox" name="cb" id="shield_beo" checked>Beowulf
<br />
<span onclick="cbgroup_bow()">Bow</span>
<input type="checkbox" name="cb" id="bow_zag" checked>Zagreus
<input type="checkbox" name="cb" id="bow_chi" checked>Chiron
<input type="checkbox" name="cb" id="bow_her" checked>Hera
<input type="checkbox" name="cb" id="bow_ram" checked>Rama
<br />
<span onclick="cbgroup_fists()">Fists</span>
<input type="checkbox" name="cb" id="fists_zag" checked>Zagreus
<input type="checkbox" name="cb" id="fists_tal" checked>Talos
<input type="checkbox" name="cb" id="fists_dem" checked>Demeter
<input type="checkbox" name="cb" id="fists_gil" checked>Gilgamesh
<br />
<span onclick="cbgroup_rail()">Rail</span>
<input type="checkbox" name="cb" id="rail_zag" checked>Zagreus
<input type="checkbox" name="cb" id="rail_eri" checked>Eris
<input type="checkbox" name="cb" id="rail_hes" checked>Hestia
<input type="checkbox" name="cb" id="rail_luc" checked>Lucifer
</p>
</div>
<div class="accordion">
<input type="checkbox" id="keepsakestile" />
<label for="keepsakestile">Keepsakes <span class="arrow"></span></label>
<p class="hiddentext">
<button onclick="cbgroup_keepsakes()" class="buttonright">⇔</button>
<input type="checkbox" name="cb" id="keep_cer" checked>Cerberus
<input type="checkbox" name="cb" id="keep_ach" checked>Achilles
<input type="checkbox" name="cb" id="keep_nyx" checked>Nyx
<input type="checkbox" name="cb" id="keep_tha" checked>Thanatos
<input type="checkbox" name="cb" id="keep_char" checked>Charon
<br />
<input type="checkbox" name="cb" id="keep_hyp" checked>Hypnos
<input type="checkbox" name="cb" id="keep_meg" checked>Megaera
<input type="checkbox" name="cb" id="keep_orp" checked>Orpheus
<input type="checkbox" name="cb" id="keep_dus" checked>Dusa
<input type="checkbox" name="cb" id="keep_ske" checked>Skelly
<br />
<input type="checkbox" name="cb" id="keep_zeu" checked>Zeus
<input type="checkbox" name="cb" id="keep_pos" checked>Poseidon
<input type="checkbox" name="cb" id="keep_ath" checked>Athena
<input type="checkbox" name="cb" id="keep_aph" checked>Aphrodite
<input type="checkbox" name="cb" id="keep_are" checked>Ares
<br />
<input type="checkbox" name="cb" id="keep_art" checked>Artemis
<input type="checkbox" name="cb" id="keep_dio" checked>Dionysus
<input type="checkbox" name="cb" id="keep_her" checked>Hermes
<input type="checkbox" name="cb" id="keep_dem" checked>Demeter
<input type="checkbox" name="cb" id="keep_chao" checked>Chaos
<br />
<input type="checkbox" name="cb" id="keep_sis" checked>Sisyphus
<input type="checkbox" name="cb" id="keep_eur" checked>Eurydice
<input type="checkbox" name="cb" id="keep_pat" checked>Patroclus
<input type="checkbox" name="cb" id="keep_per" checked>Persephone
<input type="checkbox" name="cb" id="keep_had" checked>Hades
</p>
</div>
<div class="accordion">
<input type="checkbox" id="companiontile" />
<label for="companiontile">Chthonic Companions <span class="arrow"></span></label>
<p class="hiddentext">
<button onclick="cbgroup_companions()" class="buttonright">⇔</button>
<input type="checkbox" name="cb" id="comp_bat" checked>Battie
<input type="checkbox" name="cb" id="comp_mor" checked>Mort
<input type="checkbox" name="cb" id="comp_rib" checked>Rib
<input type="checkbox" name="cb" id="comp_sha" checked>Shady
<input type="checkbox" name="cb" id="comp_fid" checked>Fidi
<input type="checkbox" name="cb" id="comp_ant" checked>Antos
</p>
</div>
</div>
</div>
<footer>
<p> Hades is (c) Supergiant Games. Issues? Report them on <a href="https://github.com/regularwave/HadesRandomizer" target="_blank">GitHub</a>.</p>
</footer>
<script type="text/javascript" src="HadesRandomizer.js"></script>
</body>