This repository has been archived by the owner on May 15, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
items.php
337 lines (292 loc) · 9.58 KB
/
items.php
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
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
<div id="itcontainer">
<!-- chimages -->
<div hidden id="itimg0a" class="itimga">
<div class="itimgclose">X</div>
<img id="itimg0b" class="itimgb" src="credit.png">
</div>
<div hidden id="itimg1a" class="itimga">
<div class="itimgclose">X</div>
<img id="itimg1b" class="itimgb" src="rolactid.png">
</div>
<div hidden id="itimg2a" class="itimga">
<div class="itimgclose">X</div>
<img id="itimg2b" class="itimgb" src="smartwatch.png">
</div>
<div hidden id="itimg3a" class="itimga">
<div class="itimgclose">X</div>
<img id="itimg3b" class="itimgb" src="dice.png">
</div>
<div hidden id="itimg4a" class="itimga">
<div class="itimgclose">X</div>
<img id="itimg4b" class="itimgb" src="usb.png">
</div>
<div hidden id="itimg5a" class="itimga">
<div class="itimgclose">X</div>
<img id="itimg5b" class="itimgb" src="rollershoes.png">
</div>
<div hidden id="itimg6a" class="itimga">
<div class="itimgclose">X</div>
<img id="itimg6b" class="itimgb" src="glasses.png">
</div>
<div hidden id="itimg7a" class="itimga">
<div class="itimgclose">X</div>
<img id="itimg7b" class="itimgb" src="xuhai.png">
</div>
<h1 style="font-family: 'Libre Barcode 128 Text', cursive; font-size: 92px; text-align: center; line-height: 12pt; font-weight: 400;">Items</h1>
<div id="itselect">
<select id="itselecta">
<option>Item Select</option>
<option>Credits</option>
<option>Lucky Dice</option>
<option>Rolactid</option>
<option>Rollershoes</option>
<option>Smartglasses</option>
<option>Smartwatch</option>
<option>USB</option>
<option>XuHai</option>
</select>
</div>
<div hidden id="item0" style="text-align: center; margin: 50px 0px;">
<img id="itimg0" class="itimg" src="credit.png">
<div class="ittitle">Credits</div>
<div class="itparagraph">
<div id="credits1">
</div>
</div>
</div>
<div hidden id="item1" style="text-align: center; margin: 50px 0px;">
<img id="itimg1" class="itimg" src="rolactid.png">
<div class="ittitle">15mg Rolactid</div>
<div class="itparagraph">
12 count 15mg Rolactid supplemental pills.
<br/>To be taken once every 24 hours. Player suffers 1 hour headache, -2 Wisdom & Charisma during that time. Headache goes away after 1 hour. +3 to Perception & Sense Motive as long as pill is taken that day.
</div>
<div style="text-align: center;">Pill Count:
<br/><input type="checkbox" checked="true" disabled><input type="checkbox"><input type="checkbox"><input type="checkbox"><input type="checkbox"><input type="checkbox"><input type="checkbox"><input type="checkbox"><input type="checkbox"><input type="checkbox"><input type="checkbox"><input type="checkbox"></div>
</div>
<div hidden id="item2" style="text-align: center; margin: 50px 0px;">
<img id="itimg2" class="itimg" src="smartwatch.png">
<div class="ittitle">Smartwatch</div>
<div class="itparagraph">
Wrist watch with built-in data storage, social networking, access to news media, and weather apps that adapt and protect the wearer from rainfall, snowfall, and UV rays in the form of translucent and tinted umbrella canopy. +3 to all Knowledge after using Media apps for 1 round. -2 to Dex and Str during use.
</div>
<div style="text-align: center;">Battery Life (days):
<br/><input type="checkbox" checked="true" disabled><input type="checkbox"><input type="checkbox"><input type="checkbox"><input type="checkbox"><input type="checkbox"><input type="checkbox"><input type="checkbox"><input type="checkbox"><input type="checkbox"></div>
</div>
<div hidden id="item3" style="text-align: center; margin: 50px 0px;">
<img id="itimg3" class="itimg" src="dice.png">
<div class="ittitle">Lucky Dice</div>
<div class="itparagraph">
Gold plated six-sided dice.
<br/>These give the player an extra 2D6 bonus to any roll of their choice, once per day.
</div>
<div style="text-align: center;">Daily Uses:
<br/><input type="checkbox"></div>
</div>
<div hidden id="item4" style="text-align: center; margin: 50px 0px;">
<img id="itimg4" class="itimg" src="usb.png">
<div class="ittitle">USB</div>
<div class="itparagraph">
Engraved USB drive.
<br/>+3 to Disable Device/Computer Use/electronic-related checks, as long as USB port is present.
</div>
<div style="text-align: center;">Codes Unlocked:
<br/>Fuchsia
<br/>Inchworm
<br/>Nightlight
<br/>Delta
<br/>_______
<br/>_______
<br/>_______
<br/>_______
<br/>_______
<br/>_______
</div>
</div>
<div hidden id="item5" style="text-align: center; margin: 50px 0px;">
<img id="itimg5" class="itimg" src="rollershoes.png">
<div class="ittitle">Rollershoes</div>
<div class="itparagraph">
Sneakers with hidden skate wheels.
<br/>Light-up Roller shoes that give a bonus of 10ft of movement once per combat, -2 str for one round after activation.
</div>
<div style="text-align: center;">LED Colors:
<br/>Pink
<br/>Blue
<br/>Green
<br/>Yellow
<br/>White
<br/>Red
</div>
</div>
<div hidden id="item6" style="text-align: center; margin: 50px 0px;">
<img id="itimg6" class="itimg" src="glasses.png">
<div class="ittitle">Smartglasses</div>
<div class="itparagraph">
Augmented Reality Glasses
<br/>Gives player +3 Spellcraft/Trapsense & the ability to translate languages. Pay to unlock more languages.
</div>
<div style="text-align: center;">Languages:
<br/>Russian
<br/>_______
<br/>_______
<br/>_______
<br/>_______
<br/>_______
<br/>_______
</div>
</div>
<div hidden id="item7" style="text-align: center; margin: 50px 0px;">
<img id="itimg7" class="itimg" src="xuhai.png">
<div class="ittitle">XuHai</div>
<div class="itparagraph">
Ancient Brass Teapot
<br/>Recently recovered artifact. Currently resides at the Beijing Museum of Natural History, under the supervision of Dr. Clounce Mandela.
</div>
</div>
<script>
$(function() {
$("#itselecta").change(function() {
if ($(this).val() == "Rolactid") {
($("#item1").prop("hidden", false));
} else if ($(this).val() != "Rolactid") {
($("#item1").prop("hidden", true));
}
if ($(this).val() == "Smartwatch") {
$("#item2").prop("hidden", false);
} else if ($(this).val() != "Smartwatch") {
$("#item2").prop("hidden", true);
}
if ($(this).val() == "Lucky Dice") {
$("#item3").prop("hidden", false);
} else if ($(this).val() != "Lucky Dice") {
$("#item3").prop("hidden", true);
}
if ($(this).val() == "USB") {
$("#item4").prop("hidden", false);
} else if ($(this).val() != "USB") {
$("#item4").prop("hidden", true);
}
if ($(this).val() == "Rollershoes") {
$("#item5").prop("hidden", false);
} else if ($(this).val() != "Rollershoes") {
$("#item5").prop("hidden", true);
}
if ($(this).val() == "Credits") {
$("#item0").prop("hidden", false);
} else if ($(this).val() != "Credits") {
$("#item0").prop("hidden", true);
}
if ($(this).val() == "Smartglasses") {
$("#item6").prop("hidden", false);
} else if ($(this).val() != "Smartglasses") {
$("#item6").prop("hidden", true);
}
if ($(this).val() == "XuHai") {
$("#item7").prop("hidden", false);
} else if ($(this).val() != "XuHai") {
$("#item7").prop("hidden", true);
}
});
$(function() {
$("#credits1").load("Credits.php");
});
$('#itimg0').click(function(e) {
$('#itimg0a').toggle();
});
$('#itimg1').click(function(e) {
$('#itimg1a').toggle();
});
$('#itimg2').click(function(e) {
$('#itimg2a').toggle();
});
$('#itimg3').click(function(e) {
$('#itimg3a').toggle();
});
$('#itimg4').click(function(e) {
$('#itimg4a').toggle();
});
$('#itimg5').click(function(e) {
$('#itimg5a').toggle();
});
$('#itimg6').click(function(e) {
$('#itimg6a').toggle();
});
$('#itimg7').click(function(e) {
$('#itimg7a').toggle();
});
$('.itimgclose').click(function(e) {
$(this).parent('.itimga').css('display', 'none');
});
});
</script>
<style>
#itcontainer {
background-color: rgba(222, 222, 222, 0.17);
color: #fd6293;
border-radius: 5px;
padding: 5px;
position: relative;
font-family: Simsun;
width: 850px;
height: auto;
z-index: 1;
border: solid white 1px;
box-shadow: rgba(0, 0, 0, .8) 0 2px 8px;
margin: auto;
font-size: 14pt;
overflow-y: auto;
top: 0px;
}
.itparagraph {
width: 600px;
margin: auto;
list-style: none;
text-align: center;
}
.ittitle {
text-align: center;
font-size: 48pt;
font-family: 'Fredericka the Great', cursive;
}
#itselect {
text-align: center;
}
#itselecta {
position: relative;
top: 0px;
left: -10px;
width: auto;
text-align: center;
list-style: none;
background: #00000099;
font-size: 14pt;
color: #8edc39;
}
.itimg {
border: 1px solid;
height: 250px;
cursor: pointer;
}
.itimga {
position: absolute;
top: 0px;
left: 0px;
background: #00000099;
width: 100%;
height: -webkit-fill-available;
z-index: 3;
text-align: center;
padding: 100px 0px;
}
.itimgb {
width: 250px;
}
.itimgclose {
position: absolute;
top: 10px;
right: 10px;
font-weight: bold;
font-size: 14pt;
}
</style>