-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtools.html
More file actions
59 lines (52 loc) · 1.96 KB
/
tools.html
File metadata and controls
59 lines (52 loc) · 1.96 KB
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
<html>
<head>
<title>DnD Tools</title>
<script type="text/javascript" src="script.js"></script>
<script>
window.onload = function() {
generateQuest();
generateEncounter();
generateNpc();
};
</script>
<link rel="stylesheet" href="style.css"/>
</head>
<body>
<div class="container ">
<div class="blob full">
<h1>Random Quest Generator</h1>
<p id="quest">Click the button to generate a quest.</p>
<button type="button" onclick="generateQuest()">Generate Quest!</button>
</div>
<div class="blob halfL">
<h1>Random Encounter Generator</h1>
<p id="encounter">Click the button for a random encounter.</p>
<button type="button" onclick="generateEncounter()">Roll Encounter!</button>
</div>
<div class="blob halfR">
<h1>Random Travel Generator. Days to travel:
<select name="days" id="days" style="font-size: x-large; text-align-last:center;" onchange="travel(this.value)">
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
</select></h1>
<p id="travelLog">Select the number of days to travel.</p>
<button type="button" onclick="generateDay()">Next day!</button>
</div>
<div class="blob full">
<h1>Random NPC Generator</h1>
<p id="npc">Click the button to generate a person.</p>
<button type="button" onclick="generateNpc()">Generate NPC!</button>
</div>
<p class="footer">version 0.2.2</p>
</div>
</body>
</html>