- added priest in peril quest reqs

This commit is contained in:
Bart van der Braak 2019-04-29 16:16:51 +02:00
parent 093d8de5dd
commit b39bf603e6
4 changed files with 96 additions and 60 deletions

View file

@ -0,0 +1,3 @@
.hover-info {
cursor:help;
}

View file

@ -9,6 +9,7 @@
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css"> <link rel="stylesheet" type="text/css" href="css/style.css">
<script type="text/javascript" src="js/jquery-3.3.1.min.js"></script> <script type="text/javascript" src="js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="js/popper.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script> <script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/datatables.min.js"></script> <script type="text/javascript" src="js/datatables.min.js"></script>
<script type="text/javascript" src="js/script.js"></script> <script type="text/javascript" src="js/script.js"></script>
@ -97,52 +98,57 @@
<div class="row pt-2"> <div class="row pt-2">
<div class="col-6 quests"> <div class="col-6 quests">
<form> <form>
<label><input type="checkbox" name="quest" id="spiritcreatures">
Death Plateau <small>Unlocks Spiritual Creatures</small></label><br>
<label><input type="checkbox" name="quest" id="dragonslayer2">
Dragon Slayer II <small>Unlocks Adamant, Rune Dragons</small></label><br>
<label><input type="checkbox" name="quest" id="brinerats">
Olaf's Quest (partial) <small>Unlocks Brine Rats</small></label><br>
<label><input type="checkbox" name="quest" id="dagannoths">
Horror from the Deep <small>Unlocks Dagannoths</small></label><br>
<label><input type="checkbox" name="quest" id="darkbeasts">
Mourning's End Part II (started) <small>Unlocks Dark Beasts</small></label><br>
<label><input type="checkbox" name="quest" id="dustdevils">
Desert Treasure (started) <small>Unlocks Dust, Smoke Devils</small></label><br>
<label><input type="checkbox" name="quest" id="bonevoyage"> <label><input type="checkbox" name="quest" id="bonevoyage">
Bone Voyage <small>Unlocks Fossil Island Wyverns</small></label><br> Bone Voyage <small>Unlocks Fossil Island Wyverns</small></label><br>
<label><input type="checkbox" name="quest" id="lostcity">
Lost City <small>Unlocks Mutated Zygomites, Otherworldly Beings</small></label><br>
<label><input type="checkbox" name="quest" id="cabinfever"> <label><input type="checkbox" name="quest" id="cabinfever">
Cabin Fever <small>Unlocks Cave, Jungle Horrors</small></label><br> Cabin Fever <small>Unlocks Cave, Jungle Horrors</small></label><br>
<label><input type="checkbox" name="quest" id="scabaras">
Contact! <small>Unlocks Minions of Scabaras</small></label><br>
<label><input type="checkbox" name="quest" id="spiritcreatures">
Death Plateau <small>Unlocks Spiritual Creatures</small></label><br>
<label><input type="checkbox" name="quest" id="molanisks">
Death to the Dorgeshuun <small>Unlocks Molanisks</small></label><br>
<label><input type="checkbox" name="quest" id="dustdevils">
Desert Treasure (started) <small>Unlocks Dust, Smoke Devils</small></label><br>
<label><input type="checkbox" name="quest" id="dragonslayer">
Dragon Slayer <small>Unlocks Dragons</small></label><br>
<label><input type="checkbox" name="quest" id="dragonslayer2">
Dragon Slayer II <small>Unlocks Adamant, Rune Dragons</small></label><br>
<label><input type="checkbox" name="quest" id="skeletalwyverns"> <label><input type="checkbox" name="quest" id="skeletalwyverns">
Elemental Workshop I <small>Unlocks Skeletals Wyverns</small></label><br> Elemental Workshop I <small>Unlocks Skeletals Wyverns</small></label><br>
<label><input type="checkbox" name="quest" id="seasnakes"> <label><input type="checkbox" name="quest" id="killerwatts">
Royal Trouble <small>Unlocks Sea Snakes</small></label><br> Ernest the Chicken <small>Unlocks Killerwatts</small></label><br>
<label><input type="checkbox" name="quest" id="fairytale2">
Fairy Tale II <small>Unlocks Abyssal Demons (without Priest in Peril)</small></label><br>
<label><input type="checkbox" name="quest" id="dagannoths">
Horror from the Deep <small>Unlocks Dagannoths</small></label><br>
</form> </form>
</div> </div>
<div class="col-6 quests"> <div class="col-6 quests">
<form> <form>
<label><input type="checkbox" name="quest" id="firegiants">
Waterfall Quest <small>Unlocks Fire Giants</small></label><br>
<label><input type="checkbox" name="quest" id="killerwatts">
Ernest the Chicken <small>Unlocks Killerwatts</small></label><br>
<label><input type="checkbox" name="quest" id="elves">
Regicide (started) <small>Unlocks Elves</small></label><br>
<label><input type="checkbox" name="quest" id="feverspiders">
Rum Deal (started) <small>Unlocks Fever Spiders</small></label><br>
<label><input type="checkbox" name="quest" id="molanisks">
Death to the Dorgeshuun <small>Unlocks Molanisks</small></label><br>
<label><input type="checkbox" name="quest" id="shadowwarriors"> <label><input type="checkbox" name="quest" id="shadowwarriors">
Legends' Quest <small>Unlocks Shadow Warriors</small></label><br> Legends' Quest <small>Unlocks Shadow Warriors</small></label><br>
<label><input type="checkbox" name="quest" id="dragonslayer"> <label><input type="checkbox" name="quest" id="lostcity">
Dragon Slayer <small>Unlocks Dragons</small></label><br> Lost City <small>Unlocks Mutated Zygomites, Otherworldly Beings</small></label><br>
<label><input type="checkbox" name="quest" id="scabaras">
Contact! <small>Unlocks Minions of Scabaras</small></label><br>
<label><input type="checkbox" name="quest" id="suqahs"> <label><input type="checkbox" name="quest" id="suqahs">
Lunar Diplomacy (partial) <small>Unlocks Suqahs</small></label><br> Lunar Diplomacy (partial) <small>Unlocks Suqahs</small></label><br>
<label><input type="checkbox" name="quest" id="darkbeasts">
Mourning's End Part II (started) <small>Unlocks Dark Beasts</small></label><br>
<label><input type="checkbox" name="quest" id="brinerats">
Olaf's Quest (partial) <small>Unlocks Brine Rats</small></label><br>
<label><input type="checkbox" name="quest" id="priestinperil">
Priest in Peril <small>Unlocks <a href="javascript:void(0)" data-toggle="tooltip" data-original-title="Default tooltip" title="Banshees, Crawling hands, Vampyres, Ghouls, Shades, Werewolves, Bloodvelds, Aberrant spectres, Infernal mages, Nechryaels, Gargoyles and Abyssal Demons">Slayer Tower monsters</a></small></label><br>
<label><input type="checkbox" name="quest" id="elves">
Regicide (started) <small>Unlocks Elves</small></label><br>
<label><input type="checkbox" name="quest" id="seasnakes">
Royal Trouble <small>Unlocks Sea Snakes</small></label><br>
<label><input type="checkbox" name="quest" id="feverspiders">
Rum Deal (started) <small>Unlocks Fever Spiders</small></label><br>
<label><input type="checkbox" name="quest" id="mogres"> <label><input type="checkbox" name="quest" id="mogres">
Skippy and the Mogres (miniquest) <small>Unlocks Mogres</small></label><br> Skippy and the Mogres (miniquest) <small>Unlocks Mogres</small></label><br>
<label><input type="checkbox" name="quest" id="firegiants">
Waterfall Quest <small>Unlocks Fire Giants</small></label><br>
</form> </form>
</div> </div>
</div> </div>

5
js/popper.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -43,9 +43,10 @@ function setBlocklists() {
$(document).ready(function () { $(document).ready(function () {
// starting functions on page load // starting functions on page load
applyChanges('krystilia'); applyChanges('krystilia');
toggleQuestAll($('#toggleQuests')); toggleQuestAll($('#toggleQuests'));
$('[data-toggle="tooltip"]').tooltip()
}); });
function filterTasks(data) { function filterTasks(data) {
@ -58,37 +59,37 @@ function filterTasks(data) {
// Slayer point unlocks // Slayer point unlocks
case 'RED DRAGONS': case 'RED DRAGONS':
if ($("#reddrags").prop("checked") == false) { if ($("#reddrags").prop("checked") === false) {
index_list.unshift(i) index_list.unshift(i)
} }
break; break;
case 'MITHRIL DRAGONS': case 'MITHRIL DRAGONS':
if ($("#mithdrags").prop("checked") == false) { if ($("#mithdrags").prop("checked") === false) {
index_list.unshift(i) index_list.unshift(i)
} }
break; break;
case 'AVIANSIES': case 'AVIANSIES':
if ($("#aviansies").prop("checked") == false) { if ($("#aviansies").prop("checked") === false) {
index_list.unshift(i) index_list.unshift(i)
} }
break; break;
case 'TZHAAR': case 'TZHAAR':
if ($("#tzhaar").prop("checked") == false) { if ($("#tzhaar").prop("checked") === false) {
index_list.unshift(i) index_list.unshift(i)
} }
break; break;
case 'LIZARDMEN': case 'LIZARDMEN':
if ($("#lizardmen").prop("checked") == false) { if ($("#lizardmen").prop("checked") === false) {
index_list.unshift(i) index_list.unshift(i)
} }
break; break;
case 'BOSSES': case 'BOSSES':
if ($("#bosses").prop("checked") == false) { if ($("#bosses").prop("checked") === false) {
index_list.unshift(i) index_list.unshift(i)
} }
break; break;
case 'FOSSIL ISLAND WYVERNS': case 'FOSSIL ISLAND WYVERNS':
if ($("#fossilwyverns").prop("checked") == true) { if ($("#fossilwyverns").prop("checked") === true) {
index_list.unshift(i) index_list.unshift(i)
} }
break; break;
@ -96,91 +97,91 @@ function filterTasks(data) {
// Quest task unlocks // Quest task unlocks
case 'SPIRITUAL CREATURES': case 'SPIRITUAL CREATURES':
if ($("#spiritcreatures").prop("checked") == false) { if ($("#spiritcreatures").prop("checked") === false) {
index_list.unshift(i) index_list.unshift(i)
} }
break; break;
case 'RUNE DRAGONS': case 'RUNE DRAGONS':
case 'ADAMANT DRAGONS': case 'ADAMANT DRAGONS':
if ($("#dragonslayer2").prop("checked") == false) { if ($("#dragonslayer2").prop("checked") === false) {
index_list.unshift(i) index_list.unshift(i)
} }
break; break;
case 'BRINE RATS': case 'BRINE RATS':
if ($("#brinerats").prop("checked") == false) { if ($("#brinerats").prop("checked") === false) {
index_list.unshift(i) index_list.unshift(i)
} }
break; break;
case 'DAGANNOTHS': case 'DAGANNOTHS':
if ($("#dagannoths").prop("checked") == false) { if ($("#dagannoths").prop("checked") === false) {
index_list.unshift(i) index_list.unshift(i)
} }
break; break;
case 'DARK BEASTS': case 'DARK BEASTS':
if ($("#darkbeasts").prop("checked") == false) { if ($("#darkbeasts").prop("checked") === false) {
index_list.unshift(i) index_list.unshift(i)
} }
break; break;
case 'DUST DEVILS': case 'DUST DEVILS':
case 'SMOKE DEVILS': case 'SMOKE DEVILS':
if ($("#dustdevils").prop("checked") == false) { if ($("#dustdevils").prop("checked") === false) {
index_list.unshift(i) index_list.unshift(i)
} }
break; break;
case 'FOSSIL ISLAND WYVERNS': case 'FOSSIL ISLAND WYVERNS':
if ($("#bonevoyage").prop("checked") == false) { if ($("#bonevoyage").prop("checked") === false) {
index_list.unshift(i) index_list.unshift(i)
} }
break; break;
case 'MUTATED ZYGOMITES': case 'MUTATED ZYGOMITES':
case 'OTHERWORLDLY BEINGS': case 'OTHERWORLDLY BEINGS':
if ($("#lostcity").prop("checked") == false) { if ($("#lostcity").prop("checked") === false) {
index_list.unshift(i) index_list.unshift(i)
} }
break; break;
case 'CAVE HORRORS': case 'CAVE HORRORS':
case 'JUNGLE HORRORS': case 'JUNGLE HORRORS':
if ($("#cabinfever").prop("checked") == false) { if ($("#cabinfever").prop("checked") === false) {
index_list.unshift(i) index_list.unshift(i)
} }
break; break;
case 'SKELETAL WYVERNS': case 'SKELETAL WYVERNS':
if ($("#skeletalwyverns").prop("checked") == false) { if ($("#skeletalwyverns").prop("checked") === false) {
index_list.unshift(i) index_list.unshift(i)
} }
break; break;
case 'SEA SNAKES': case 'SEA SNAKES':
if ($("#seasnakes").prop("checked") == false) { if ($("#seasnakes").prop("checked") === false) {
index_list.unshift(i) index_list.unshift(i)
} }
break; break;
case 'FIRE GIANTS': case 'FIRE GIANTS':
if ($("#firegiants").prop("checked") == false) { if ($("#firegiants").prop("checked") === false) {
index_list.unshift(i) index_list.unshift(i)
} }
break; break;
case 'KILLERWATTS': case 'KILLERWATTS':
if ($("#killerwatts").prop("checked") == false) { if ($("#killerwatts").prop("checked") === false) {
index_list.unshift(i) index_list.unshift(i)
} }
break; break;
case 'ELVES': case 'ELVES':
if ($("#elves").prop("checked") == false) { if ($("#elves").prop("checked") === false) {
index_list.unshift(i) index_list.unshift(i)
} }
break; break;
case 'FEVER SPIDERS': case 'FEVER SPIDERS':
if ($("#feverspiders").prop("checked") == false) { if ($("#feverspiders").prop("checked") === false) {
index_list.unshift(i) index_list.unshift(i)
} }
break; break;
case 'MOLANISKS': case 'MOLANISKS':
if ($("#molanisks").prop("checked") == false) { if ($("#molanisks").prop("checked") === false) {
index_list.unshift(i) index_list.unshift(i)
} }
break; break;
case 'SHADOW WARRIORS': case 'SHADOW WARRIORS':
if ($("#shadowwarriors").prop("checked") == false) { if ($("#shadowwarriors").prop("checked") === false) {
index_list.unshift(i) index_list.unshift(i)
} }
break; break;
@ -191,22 +192,43 @@ function filterTasks(data) {
case 'BRONZE DRAGONS': case 'BRONZE DRAGONS':
case 'IRON DRAGONS': case 'IRON DRAGONS':
case 'STEEL DRAGONS': case 'STEEL DRAGONS':
if ($("#dragonslayer").prop("checked") == false) { if ($("#dragonslayer").prop("checked") === false) {
index_list.unshift(i) index_list.unshift(i)
} }
break; break;
case 'MINIONS OF SCABARAS': case 'MINIONS OF SCABARAS':
if ($("#scabaras").prop("checked") == false) { if ($("#scabaras").prop("checked") === false) {
index_list.unshift(i) index_list.unshift(i)
} }
break; break;
case 'SUQAHS': case 'SUQAHS':
if ($("#suqahs").prop("checked") == false) { if ($("#suqahs").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'BANSHEES':
case 'CRAWLING HANDS':
case 'VAMPYRES':
case 'GHOULS':
case 'SHADES':
case 'WEREWOLVES':
case 'BLOODVELDS':
case 'ABERRANT SPECTRES':
case 'INFERNAL MAGES':
case 'NECHRYAELS':
case 'GARGOYLES':
if ($("#priestinperil").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'ABYSSAL DEMONS':
if ($("#priestinperil").prop("checked") === false &&
$("#fairytale2").prop("checked") === false) {
index_list.unshift(i) index_list.unshift(i)
} }
break; break;
case 'MOGRES': case 'MOGRES':
if ($("#mogres").prop("checked") == false) { if ($("#mogres").prop("checked") === false) {
index_list.unshift(i) index_list.unshift(i)
} }
@ -243,7 +265,7 @@ function filterTasks(data) {
unique_list = index_list.filter(onlyUnique); unique_list = index_list.filter(onlyUnique);
for (var i in unique_list) { for (var i in unique_list) {
console.log(data[unique_list[i]]) // console.log(data[unique_list[i]])
data.splice(unique_list[i], 1) data.splice(unique_list[i], 1)
} }