(Created page with "<html> <p>Welcome to our items database. Here you can find information about the various items in GrinderScape, including the sources of the items, their uses, minimum and max...") |
|||
Line 2: | Line 2: | ||
<p>Welcome to our items database. Here you can find information about the various items in GrinderScape, including the sources of the items, their uses, minimum and maximum prices, combat statistics, skill requirements and other useful information. There are currently <span id="db_length"></span> items in the database.</p> | <p>Welcome to our items database. Here you can find information about the various items in GrinderScape, including the sources of the items, their uses, minimum and maximum prices, combat statistics, skill requirements and other useful information. There are currently <span id="db_length"></span> items in the database.</p> | ||
<div style="width: 260px;"> | <div style="width: 260px;"> | ||
− | <input id="database_input" type="text" list=" | + | <input id="database_input" type="text" list="monster_datalist" placeholder="Search monster..." style="width: 100%; box-sizing: border-box;"> |
<button id="database_button" style="display: block; width: 100%; margin-top: 10px;">Search</button> | <button id="database_button" style="display: block; width: 100%; margin-top: 10px;">Search</button> | ||
</div> | </div> | ||
<div id="search_results" hidden> | <div id="search_results" hidden> | ||
− | <h1 id=" | + | <h1 id="monster_name"></h1> |
<table style="width: 425px; table-layout: fixed; text-align: center;"> | <table style="width: 425px; table-layout: fixed; text-align: center;"> | ||
<tr> | <tr> | ||
− | <td id="picture" rowspan=" | + | <td id="picture" rowspan="3" colspan="2"></th> |
− | <th style="text-align: center!important;"> | + | <th style="text-align: center!important;"><img title="Combat level" src="https://i.imgur.com/lFeARW8.png" style="height: 25px;"></th> |
− | <td id=" | + | <td id="combat_level" colspan="2"></td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <th style="text-align: center!important;"> | + | <th style="text-align: center!important;"><img title="Life points" src="https://i.imgur.com/SwPB2vN.png" style="height: 25px;"></th> |
− | <td id=" | + | <td id="lifepoints" colspan="2"></td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <th style="text-align: center!important;"> | + | <th style="text-align: center!important;"><img title="Attack type(s)" src="http://vignette4.wikia.nocookie.net/runescape2/images/b/bf/Style_All_Large.png/revision/latest?cb=20150709031104" style="height: 25px;"></th> |
− | <td id=" | + | <td id="attack_type" colspan="2"></td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <th style="text-align: center!important;"> | + | <th style="text-align: center!important;" colspan="2">Always drops</th> |
− | <td id=" | + | <td id="always_drops" colspan="3" style="text-align: left;"></td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <th style="text-align: center!important;"> | + | <th style="text-align: center!important;" colspan="2">Location(s)</th> |
− | <td id=" | + | <td id="locations" colspan="3" style="text-align: left;"></td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <th style="text-align: center!important;" | + | <th style="text-align: center!important;" colspan="2">Assignable</th> |
− | + | <th style="text-align: center!important;" colspan="2">Aggressive</th> | |
− | <th style="text-align: center!important;" | + | <th style="text-align: center!important;">Poisonous</th> |
− | |||
− | <th style="text-align: center!important;"> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td id=" | + | <td id="assignable" colspan="2"></td> |
− | + | <td id="aggressive" colspan="2"></td> | |
− | <td id=" | + | <td id="poisonous"></td> |
− | |||
− | <td id=" | ||
</tr> | </tr> | ||
</table> | </table> | ||
+ | </div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<div id="no_results" hidden> | <div id="no_results" hidden> | ||
− | <h1> | + | <h1>Monster not found</h1> |
<p>Your search didn't match any listings. This may be due to one of the following reasons:</p> | <p>Your search didn't match any listings. This may be due to one of the following reasons:</p> | ||
<ul> | <ul> | ||
<li>Your input contains spelling errors.</li> | <li>Your input contains spelling errors.</li> | ||
− | <li>The | + | <li>The monster you're looking for is not in the database.</li> |
</ul> | </ul> | ||
− | <p>If you have information about | + | <p>If you have information about a monster we are missing, please contact a member of the <a href="https://newwiki.grinderscape.org/Main_Page/Wiki_team">wiki team</a>!</p> |
</div> | </div> | ||
− | <script> | + | <script type="text/javascript"> |
− | function | + | function searchDatabase() { |
var input = $( "input#database_input" ).val().toLowerCase(); | var input = $( "input#database_input" ).val().toLowerCase(); | ||
− | if ( $( 'div# | + | if ( $( 'div#monster_database > div[monster="' + input + '"]' ).length > 0 ) { |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | var data = $( 'div#monster_database > div[monster="' + input + '"]' ).html().split( ";" ); | |
− | + | // Variables | |
− | |||
− | |||
− | |||
− | |||
− | + | var monster_name = data[0]; | |
− | |||
− | |||
− | |||
− | |||
− | + | var picture = data[1]; | |
− | + | var combat_level = data[2]; | |
+ | var lifepoints = data[3]; | ||
+ | var attack_type = data[4]; | ||
+ | var aggressive = data[5]; | ||
+ | var poisonous = data[6]; | ||
+ | var assignable = data[7]; | ||
+ | var req_slayer_level = data[8]; | ||
+ | var req_equipment = data[9]; | ||
+ | var always_drops = data[10]; | ||
+ | var locations = data[11]; | ||
− | + | // Update the table | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | $( "td# | + | $( "h1#monster_name" ).html( monster_name ); |
− | $( "td# | + | $( "td#lifepoints" ).html( lifepoints ); |
− | $( "td# | + | $( "td#combat_level" ).html( combat_level ); |
+ | $( "td#attack_type" ).html( attack_type ); | ||
+ | $( "td#always_drops" ).html( always_drops ); | ||
+ | $( "td#locations" ).html( locations ); | ||
+ | $( "td#assignable" ).html( assignable ); | ||
+ | $( "td#poisonous" ).html( poisonous ); | ||
+ | $( "td#aggressive" ).html( aggressive ); | ||
// Show results | // Show results | ||
Line 277: | Line 110: | ||
<!------------------------ COPY THE DATABASE CODE HERE ------------------------> | <!------------------------ COPY THE DATABASE CODE HERE ------------------------> | ||
− | <div id=' | + | <div id='monster_database' hidden><div monster="aberrant spectre">Aberrant spectre;;96;90;Melee;No;No;Yes;60;Nose peg;Bones;Slayer tower, Pollnivneach slayer dungeon</div><div monster="abyssal demon">Abyssal demon;;124;150;Melee;No;No;Yes;85;None;Infernal ashes;Premium training, Slayer tower</div><div monster="al kharid warrior">Al kharid warrior;;9;19;Melee;No;No;Yes;1;None;Bones;Al kharid</div><div monster="aquanite">Aquanite;;114;103;Melee;No;No;Yes;78;None;Bones;Slayer cave</div><div monster="aviansie">Aviansie;;83;80;Ranged;No;No;Yes;1;None;Bones;God wars dungeon</div><div monster="baby black dragon">Baby black dragon;;;;;;;;;;;</div><div monster="baby blue dragon">Baby blue dragon;;;;;;;;;;;</div><div monster="banshee">Banshee;X;23;22;;No;No;Yes;15;Earmuffs;Ashes;Slayer tower</div><div monster="basilisk">Basilisk;X;61;75;;No;No;Yes;39;Mirror shield;Bones;Slayer cave, Pollnivneach slayer dungeon</div><div monster="bird">Bird;;5;5;;No;No;Yes;1;None;Bones;Ape atoll</div><div monster="black demon">Black demon;;172;157;;No;No;Yes;1;None;;Brimhaven dungeon, Taverley dungeon, Chaos tunnels</div><div monster="black dragon">Black dragon;;227;220;;No;No;Yes;1;None;;Chaos tunnels, Taverley dungeon</div><div monster="bloodveld">Bloodveld;;76;120;;No;No;Yes;50;None;Bones;Slayer tower</div><div monster="blue dragon">Blue dragon;;111;120;;No;No;Yes;1;None;;Taverley dungeon, Donator zone 2</div><div monster="brine rat">Brine rat;;70;50;;No;No;Yes;47;None;Bones;Chaos tunnels</div><div monster="bronze dragon">Bronze dragon;;131;125;;No;No;;1;None;Dragon bones;Brimhaven dungeon, Chaos tunnels</div><div monster="cave bug">Cave bug;;6;20;;No;No;Yes;5;None;Bones, Green charms;Chaos tunnels</div><div monster="cave crawler">Cave crawler;X;23;22;;No;No;Yes;10;None;Bones;Slayer cave</div><div monster="cave slime">Cave slime;;23;25;;No;No;Yes;17;None;Bones;Chaos tunnels</div><div monster="chaos dwarf">Chaos dwarf;;48;62;;No;No;Yes;1;None;Bones;Taverley dungeon</div><div monster="crawling hand">Crawling hand;;8;16;;No;No;Yes;5;None;Bones;Slayer tower</div><div monster="crocodile">Crocodile;;63;63;;No;No;Yes;1;None;Bones;South of Pollnivneach</div><div monster="cyclop">Cyclop;X;81;65;;No;No;Yes;1;None;Bones;God wars dungeon</div></div><datalist id='monster_datalist'><option value="Aberrant spectre">Aberrant spectre</option><option value="Abyssal demon">Abyssal demon</option><option value="Al kharid warrior">Al kharid warrior</option><option value="Aquanite">Aquanite</option><option value="Aviansie">Aviansie</option><option value="Baby black dragon">Baby black dragon</option><option value="Baby blue dragon">Baby blue dragon</option><option value="Banshee">Banshee</option><option value="Basilisk">Basilisk</option><option value="Bird">Bird</option><option value="Black demon">Black demon</option><option value="Black dragon">Black dragon</option><option value="Bloodveld">Bloodveld</option><option value="Blue dragon">Blue dragon</option><option value="Brine rat">Brine rat</option><option value="Bronze dragon">Bronze dragon</option><option value="Cave bug">Cave bug</option><option value="Cave crawler">Cave crawler</option><option value="Cave slime">Cave slime</option><option value="Chaos dwarf">Chaos dwarf</option><option value="Crawling hand">Crawling hand</option><option value="Crocodile">Crocodile</option><option value="Cyclop">Cyclop</option></datalist> |
<!------------------------ COPY THE DATABASE CODE HERE ------------------------> | <!------------------------ COPY THE DATABASE CODE HERE ------------------------> |
Revision as of 20:59, 28 April 2016
Welcome to our items database. Here you can find information about the various items in GrinderScape, including the sources of the items, their uses, minimum and maximum prices, combat statistics, skill requirements and other useful information. There are currently items in the database.
![]() |
||||
---|---|---|---|---|
![]() |
||||
![]() |
||||
Always drops | ||||
Location(s) | ||||
Assignable | Aggressive | Poisonous | ||
Monster not found
Your search didn't match any listings. This may be due to one of the following reasons:
- Your input contains spelling errors.
- The monster you're looking for is not in the database.
If you have information about a monster we are missing, please contact a member of the wiki team!