Main files for Loot distribution. requires you to download the items.json from the Albion tools repository
29 lines
1.4 KiB
HTML
29 lines
1.4 KiB
HTML
<!doctype html><html><head><meta charset="utf-8">
|
|
<title>Tanuki loot distribution</title>
|
|
<link rel="stylesheet" href="style.css">
|
|
<link rel="icon" href="favicon.ico" type="image/x-icon"></head><body>
|
|
<h1>Tanuki loot distribution</h1>
|
|
|
|
|
|
<section><h2>Players</h2>
|
|
<input id="playerName" placeholder="Player name">
|
|
<button id="addPlayer">Add</button>
|
|
<div id="players"></div></section>
|
|
|
|
<section><h2>Loot</h2>
|
|
<input id="search" placeholder="Search item..." disabled autocomplete="off">
|
|
<div id="results"></div>
|
|
<p><b>Selected:</b> <span id="selected">None</span></p>
|
|
<label>Quantity <input id="qty" type="number" value="1" min="1"></label>
|
|
<label>Price Each <input id="priceEach" type="number" value="0" min="0"></label><div>Last Updated: <span id="lastUpdated">Never</span></div>
|
|
<p>Total: <span id="totalValue">0</span></p>
|
|
<label><input type="checkbox" id="keepTogether"> Keep Stack Together</label><br><button id="addLoot">Add Loot</button>
|
|
|
|
<table id="loot"><thead><tr>
|
|
<th>Item</th><th>Qty</th><th>Each</th><th>Total</th><th></th>
|
|
</tr></thead><tbody></tbody></table><div id="summary"><hr><p>Total Stacks: <span id="sumStacks">0</span> | Total Items: <span id="sumItems">0</span> | Total Value: <span id="sumValue">0</span> | Target Share: <span id="targetShare">0</span></p></div>
|
|
<button id="distribute">🎲 Distribute Loot</button>
|
|
</section>
|
|
|
|
<section><h2>Distribution</h2><div id="distribution"></div></section>
|
|
<script src="app.js"></script></body></html> |