forked from Daboss7173/Daboss7173.github.io
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathprodigyde-mods.html
185 lines (160 loc) · 6.39 KB
/
prodigyde-mods.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Prodigy Definitive Edition Mod Menu</title>
<link rel="stylesheet" href="styles.css">
<style>
body {
font-family: BrianneTod, Pipe Dream;
margin: 0;
padding: 0;
background-color: #f0f4f8;
}
header {
background-color: #0066cc;
color: #fff;
padding: 20px 0;
text-align: center;
}
main {
padding: 50px 20px;
text-align: center;
}
select, button {
padding: 10px 20px;
margin: 20px 0;
font-size: 16px;
border-radius: 5px;
border: 1px solid #ccc;
}
button {
background-color: #0066cc;
color: white;
cursor: pointer;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #004d99;
}
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 20px 0;
margin-top: 40px;
}
footer a {
color: #fff;
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<header>
<h1>Prodigy Definitive Edition Mod Menu</h1>
</header>
<main>
<h2>Select a Version and Mods</h2>
<!-- Dropdown for selecting version -->
<label for="version">Choose Version:</label>
<select id="version">
<option value="prodigyde">ProdigyDE</option>
<option value="pde2015">PDE2015</option>
<option value="oldprodigyde">Old ProdigyDE</option>
<option value="pdewinter2016">PDE Winter 2016</option>
<option value="pdenot1.50.0">PDE Not 1.50.0</option>
<option value="pde1500">PDE1500</option>
<option value="pde2017">PDE2017</option>
<option value="pde1700">PDE1700</option>
<option value="pde2018">PDE2018</option>
<option value="pde2019">PDE2019</option>
</select>
<!-- Checkboxes for mods -->
<div id="modOptions">
<label><input type="checkbox" id="walkSpeed" disabled> WalkSpeed</label><br>
<label><input type="checkbox" id="fastGameSpeed" disabled> FastGameSpeed</label><br>
<label><input type="checkbox" id="classicFaces"> ClassicFaces</label><br>
<label><input type="checkbox" id="coyBlush"> CoyBlush</label><br>
<label><input type="checkbox" id="rebalancedBattles"> RebalancedBattles</label><br>
<label><input type="checkbox" id="imitationTitan"> ImitationTitan</label><br>
</div>
<button onclick="applyMods()">Apply</button>
</main>
<footer>
</footer>
<script>
const versionSelect = document.getElementById("version");
const walkSpeed = document.getElementById("walkSpeed");
const fastGameSpeed = document.getElementById("fastGameSpeed");
const classicFaces = document.getElementById("classicFaces");
const coyBlush = document.getElementById("coyBlush");
const rebalancedBattles = document.getElementById("rebalancedBattles");
const imitationTitan = document.getElementById("imitationTitan");
versionSelect.addEventListener("change", updateModOptions);
function updateModOptions() {
const selectedVersion = versionSelect.value;
// Default state for all mods
walkSpeed.disabled = false;
fastGameSpeed.disabled = false;
classicFaces.disabled = false;
coyBlush.disabled = false;
rebalancedBattles.disabled = false;
imitationTitan.disabled = false;
// Reset mod checkboxes
walkSpeed.checked = false;
fastGameSpeed.checked = false;
classicFaces.checked = false;
coyBlush.checked = false;
rebalancedBattles.checked = false;
imitationTitan.checked = false;
// Modify mod options based on the selected version
switch (selectedVersion) {
case "oldprodigyde":
walkSpeed.disabled = true; // Disable WalkSpeed for oldprodigyde
break;
case "pde2015":
case "prodigyde":
coyBlush.disabled = false; // Enable CoyBlush for ProdigyDE and PDE2015
break;
case "pde1500":
classicFaces.disabled = false; // Enable ClassicFaces for PDE1500
break;
case "pde1700":
rebalancedBattles.disabled = false; // Enable RebalancedBattles for PDE1700
imitationTitan.disabled = false; // Enable ImitationTitan for PDE1700
break;
case "pde2018":
rebalancedBattles.disabled = false; // Enable RebalancedBattles for PDE2018
break;
case "pde2019":
imitationTitan.disabled = false; // Enable ImitationTitan for PDE2019
break;
default:
// Default settings for all other versions
break;
}
}
function applyMods() {
const selectedVersion = versionSelect.value;
const selectedMods = [];
// Collect mods that are checked
if (walkSpeed.checked) selectedMods.push("WalkSpeed");
if (fastGameSpeed.checked) selectedMods.push("FastGameSpeed");
if (classicFaces.checked) selectedMods.push("ClassicFaces");
if (coyBlush.checked) selectedMods.push("CoyBlush");
if (rebalancedBattles.checked) selectedMods.push("RebalancedBattles");
if (imitationTitan.checked) selectedMods.push("ImitationTitan");
// Construct the URL with the selected version and mods
const modsParam = selectedMods.join(",");
const redirectUrl = `https://xpmuser.github.io/oldprodigy/${selectedVersion}/?mods=${modsParam}`;
// Redirect to the new URL
window.location.href = redirectUrl;
}
</script>
</body>
</html>