Parking calculator for D4DJ
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
d4djparkingcalculator/parkingcalc.html

105 lines
4.5 KiB

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="muni.css" />
<title class="translate1">D4DJ Parking Calculator | Powered by Muni</title>
<script src="english.js"></script>
<script src="japanese.js"></script>
</head>
<body>
<h1 class="translate2">D4DJ Event Parking Calculator</h1>
<fieldset>
<legend class="translate3">Parking Configuration</legend>
<input type="radio" id="Poker" name="type" value="Poker" checked />
<label for="Poker" class="translate4">Poker/Raid</label>
&nbsp;&nbsp;&nbsp;
<input type="radio" id="Bingo" name="type" value="Bingo" />
<label for="Bingo" class="translate5">Bingo</label>
&nbsp;&nbsp;&nbsp;
<input type="radio" id="Medley" name="type" value="Medley" />
<label for="Medley" class="translate6">Medley</label>
&nbsp;&nbsp;&nbsp;
<hr />
<div class="grid">
<div class="munigrid">
<label for="team" class="translate7">Event Team Bonus:</label>
<select id="team" name="team">
<option value="0">0%</option>
<option value="0.2">20%</option>
<option value="0.4">40%</option>
<option value="0.6">60%</option>
<option value="0.8">80%</option>
<option value="1.0">100%</option>
<option value="1.2">120%</option>
<option value="1.4">140%</option>
<option value="1.6" selected>160%</option>
</select>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="tooltip"><label for="flexible" alt="Yes"
><b class="translate17">Flexible Team?</b></label
><input id="flexible" type="checkbox" />
<span class="tooltiptext translate8">If turned on, calculates scoring options using lower % teams also.</span>
</span>
<br />
<br />
<span class="tooltip"><label for="maxscore"><b class="translate18">Max Free Live Score: </b> </label
><input id="maxscore" min="0" type="number" max="5000000" value="650000" /> <span class="tooltiptext translate9">
The maximum score you can get from playing a song using <font color="aqua">Free Live</font>.<br>
<sub>(Use 0 for Rehearsals Only)</sub></span></span>
</div>
<div class="munigrid">
<span class="tooltip"><label for="advanced" alt="Yes"
><b class="translate10">Advanced Options?</b></label
><input id="advanced" type="checkbox" onclick="toggle()" /><span class="tooltiptext translate11">
Enable voltage & EP limits.</span></span>
<div id="advanced2" style="visibility:hidden">
<label for="lowest" class="translate12">
Use voltage until:
</label><input style="width:96px;" id="lowest" type="number" min="10" step="2" value="80"> EP<br>
<label for="maxvolt" class="translate13">
Max Voltage to use:
</label> <input style="width:64px;" id="maxvolt" type="number" min="0" value="20">
</div>
</div>
</div>
<hr />
<b><label for="starting" class="translate14">Starting EP: </label
></b><input id="starting" min="0" type="number" value="100000" />
<span style="font-size: 32px; padding: 0px 10px 0px 10px"></span>
<b><label for="ending" class="translate15">Target EP: </label
></b><input id="ending" min="0" type="number" value="104000" />
<br />
<br />
<button
id="calculate"
style="
background-color: #ccddff;
margin-left: 20px;
width: 240px;
height: 32px;
font-size: 18px;
"
onclick="test()" class="translate16"
>
Calculate
</button>
</fieldset>
<div style="display: flex; justify-content: stretch; align-items: center">
<textarea rows="20" cols="160" id="console" disabled> </textarea>
</div>
<sub><u>Tips</u></sub>
<ul>
<li class="translate19">Here's the Light on EX or Synchrogazer on Hard/EX difficulty are some of the highest scoring songs you can pick.</li>
<li class="translate20">When you get close to the score you need in Free Live, purposely fail the song. Notes are worth 10% their normal value when you have 0 health so you can finish easily.</li>
<li class="translate21">The <b>"Flexible Team"</b> option gives you the fastest park, but at the expense of more voltage.</li>
</ul>
<script src="muni.js"></script>
<script>
document.getElementById("ips").value = "";
</script>
</body>
</html>