- added new quest unlocks

This commit is contained in:
Bart van der Braak 2019-04-29 13:57:28 +02:00
parent 26d0dfdfbf
commit 056696e00c
2 changed files with 44 additions and 12 deletions

View file

@ -77,10 +77,10 @@
</div>
<div class="col-6">
<h5>Quest unlocks</h5>
<h5>Quest unlocks</h5>
</div>
<div class="col-6">
<label><input type="checkbox" id="toggleQuests" onclick="toggleQuestAll($(this))" > Completed all (or ignore quests)</label>
<label><input type="checkbox" id="toggleQuests" onclick="toggleQuestAll($(this))" > Completed all (or ignore quests)</label>
</div>
<div class="col-6 quests">
@ -88,7 +88,7 @@
<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>
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">
@ -96,19 +96,27 @@
<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 Devils</small></label><br>
Desert Treasure (started) <small>Unlocks Dust, Smoke Devils</small></label><br>
<label><input type="checkbox" name="quest" id="bonevoyage">
Bone Voyage <small>Unlocks Fossil Island Wyverns</small></label><br>
<label><input type="checkbox" name="quest" id="mutatedzygomites">
Lost City <small>Unlocks Mutated Zygomites</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">
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="skeletalwyverns">
Elemental Workshop I <small>Unlocks Skeletals Wyverns</small></label><br>
<label><input type="checkbox" name="quest" id="seasnakes">
Royal Trouble <small>Unlocks Sea Snakes</small></label><br>
</form>
</div>
<div class="col-6 quests">
<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>
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">
@ -116,14 +124,14 @@
<label><input type="checkbox" name="quest" id="shadowwarriors">
Legends' Quest <small>Unlocks Shadow Warriors</small></label><br>
<label><input type="checkbox" name="quest" id="dragonslayer">
Dragon Slayer <small>Unlocks Dragons (Blue, Black, Red, Iron, Steel)</small></label><br>
Dragon Slayer <small>Unlocks Dragons</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">
Lunar Diplomacy (partial) <small>Unlocks Suqahs</small></label><br>
<label><input type="checkbox" name="quest" id="mogres">
Skippy and the Mogres (Miniquest) <small>Unlocks Mogres</small></label><br>
</form>
Skippy and the Mogres (miniquest) <small>Unlocks Mogres</small></label><br>
</form>
</div>
<div class="col-12">
<table width="100%">

View file

@ -122,6 +122,7 @@ function filterTasks(data) {
}
break;
case 'DUST DEVILS':
case 'SMOKE DEVILS':
if ($("#dustdevils").prop("checked") == false) {
index_list.unshift(i)
}
@ -132,7 +133,8 @@ function filterTasks(data) {
}
break;
case 'MUTATED ZYGOMITES':
if ($("#mutatedzygomites").prop("checked") == false) {
case 'OTHERWORLDLY BEINGS':
if ($("#lostcity").prop("checked") == false) {
index_list.unshift(i)
}
break;
@ -142,6 +144,26 @@ function filterTasks(data) {
index_list.unshift(i)
}
break;
case 'SKELETAL WYVERNS':
if ($("#skeletalwyverns").prop("checked") == false) {
index_list.unshift(i)
}
break;
case 'SEA SNAKES':
if ($("#seasnakes").prop("checked") == false) {
index_list.unshift(i)
}
break;
case 'FIRE GIANTS':
if ($("#firegiants").prop("checked") == false) {
index_list.unshift(i)
}
break;
case 'KILLERWATTS':
if ($("#killerwatts").prop("checked") == false) {
index_list.unshift(i)
}
break;
case 'ELVES':
if ($("#elves").prop("checked") == false) {
index_list.unshift(i)
@ -162,9 +184,11 @@ function filterTasks(data) {
index_list.unshift(i)
}
break;
case 'GREEN DRAGONS':
case 'BLUE DRAGONS':
case 'BLACK DRAGONS':
case 'RED DRAGONS':
case 'BRONZE DRAGONS':
case 'IRON DRAGONS':
case 'STEEL DRAGONS':
if ($("#dragonslayer").prop("checked") == false) {