Skip to content

Commit

Permalink
added in ability to disable checkboxes on speedrun page, so you can r…
Browse files Browse the repository at this point in the history
…eference stuff without risking checking it off (ex: starting a quest).
  • Loading branch information
MichaelEbert committed Sep 15, 2021
1 parent 570585b commit 609543d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 14 deletions.
3 changes: 3 additions & 0 deletions injection.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ function replaceElements(){
//step 2: create the internal stuff.
element.innerText = "";
var newElement = initInjectedElement(elementjson, elementclass)
if(element.getAttribute("disabled") == "true"){
newElement.children[1].disabled = true;
}
element.replaceWith(newElement);
//step 3: load current data from cookies
linkedElements.push(new LinkedElement(newElement, elementclass, elementid))
Expand Down
28 changes: 14 additions & 14 deletions speedrun-3.html
Original file line number Diff line number Diff line change
Expand Up @@ -483,13 +483,13 @@ <h3>Made by Ben Songster (MeemawHustlin) with help from the PRCLive community.</
<li>Riverview:
<ul><li><span class="nirnroot">Nirnroot</span> at top of stairs.</li></ul></li>
<li>Ganredhel’s House:
<ul><li>Talk to <span class="npc">Ganredhel</span> to start the <span class="replaceable" clid="quest147">Acrobatics Training</span> quest using <span class="spellname">B_Acrobatics</span>. Wait until 1pm-2pm before entering the house.</li>
<ul><li>Talk to <span class="npc">Ganredhel</span> to start the <span class="replaceable" clid="quest147" disabled="true">Acrobatics Training</span> quest using <span class="spellname">B_Acrobatics</span>. Wait until 1pm-2pm before entering the house.</li>
<li>Read <span class="replaceable" clid="book4">A Dance in Fire, v1 [Acrobatics]</span> on the dresser upstairs.</li></ul></li>
<li>The Great Chapel of Arkay:
<ul><li>Talk to <span class="npc">Gruiand Garrana</span> to start the <span class="replaceable" clid="quest167">Speechcraft Training</span> quest using <span class="spellname">B_Speechcraft</span>.</li>
<li>Talk to <span class="npc">Ohtesse</span> downstairs in the Chapel Hall to start the <span class="replaceable" clid="quest164">Restoration Training</span> quest using <span class="spellname">B_Restoration</span>.</li></ul></li>
<ul><li>Talk to <span class="npc">Gruiand Garrana</span> to start the <span class="replaceable" clid="quest167" disabled="true">Speechcraft Training</span> quest using <span class="spellname">B_Speechcraft</span>.</li>
<li>Talk to <span class="npc">Ohtesse</span> downstairs in the Chapel Hall to start the <span class="replaceable" clid="quest164" disabled="true">Restoration Training</span> quest using <span class="spellname">B_Restoration</span>.</li></ul></li>
<li>Misc:
<ul><li>Fast travel to Castle Cheydinhal and go through the first door on the left inside the hall to talk to <span class="npc">Ra’qanar</span> and start the <span class="replaceable" clid="quest157">Hand to Hand Training</span> quest using <span class="spellname">B_HandtoHand</span>.</li>
<ul><li>Fast travel to Castle Cheydinhal and go through the first door on the left inside the hall to talk to <span class="npc">Ra’qanar</span> and start the <span class="replaceable" clid="quest157" disabled="true">Hand to Hand Training</span> quest using <span class="spellname">B_HandtoHand</span>.</li>
</ul></li>
</ol>
</div>
Expand All @@ -506,25 +506,25 @@ <h3>Made by Ben Songster (MeemawHustlin) with help from the PRCLive community.</
</ul></li>
<li>Fighters Guild:
<ul><li><b>Invest</b> in <span class="replaceable" clid="store35">Sabine Laul</span> if you haven’t. Usually in the basement.</li>
<li>Talk to <span class="npc">Lum gro-Baroth </span>to start the <span class="replaceable" clid="quest153">Block Training</span> quest using <span class="spellname">B_Block</span>. Usually in the basement.
<li>Talk to <span class="npc">Lum gro-Baroth </span>to start the <span class="replaceable" clid="quest153" disabled="true">Block Training</span> quest using <span class="spellname">B_Block</span>. Usually in the basement.
<ul><li>If he is not in the basement, check the back outdoor area.</li>
<li>If <span class="npc">Honditar</span> is there, start the <span class="replaceable" clid="quest151">Athletics Training </span>quest using <span class="spellname">B_Athletics</span>.</li></ul></li>
<li>If <span class="npc">Honditar</span> is there, start the <span class="replaceable" clid="quest151" disabled="true">Athletics Training </span>quest using <span class="spellname">B_Athletics</span>.</li></ul></li>
</ul></li>
<li>Mages Guild:
<ul><li><b>Invest</b> in <span class="replaceable" clid="store31">Angalmo</span>.</li>
<li>Talk to <span class="npc">Alberic Litte</span> to start the <span class="replaceable" clid="quest155">Conjuration Training</span> quest using <span class="spellname">B_Conjuration</span>.</li>
<li>Talk to <span class="npc">Athrager</span> to start the <span class="replaceable" clid="quest149">Alteration Training</span> quest using <span class="spellname">B_Alteration</span>.</li>
<li>Talk to <span class="npc">Alberic Litte</span> to start the <span class="replaceable" clid="quest155" disabled="true">Conjuration Training</span> quest using <span class="spellname">B_Conjuration</span>.</li>
<li>Talk to <span class="npc">Athrager</span> to start the <span class="replaceable" clid="quest149" disabled="true">Alteration Training</span> quest using <span class="spellname">B_Alteration</span>.</li>
<li>Get the Silver Pitcher and 4 Silver Glasses on the second floor library.</li>
</ul></li>
<li>Outside by tree:
<ul><li>If you haven’t talked to <span class="npc">Honditar</span>, wait until 10am to 8pm to talk to him and start the <span class="replaceable" clid="quest151">Athletics Training </span>quest using <span class="spellname">B_Athletics</span>.</li>
<ul><li>If you haven’t talked to <span class="npc">Honditar</span>, wait until 10am to 8pm to talk to him and start the <span class="replaceable" clid="quest151" disabled="true">Athletics Training </span>quest using <span class="spellname">B_Athletics</span>.</li>
</ul></li>
<li>The Oak and Crosier:
<ul><li><b>Invest</b> in <span class="replaceable" clid="store37">Talasma</span>.</li>
</ul></li>
<li>Northern Goods and Trade:
<ul><li><b>Invest</b> in <span class="replaceable" clid="store36">Seed-Neeus</span>.</li>
<li>Start the <span class="replaceable" clid="quest162">Mercantile Training</span> quest by using <span class="spellname">B_Mercantile</span>.
<li>Start the <span class="replaceable" clid="quest162" disabled="true">Mercantile Training</span> quest by using <span class="spellname">B_Mercantile</span>.
<ol><li>Buy 5 levels of Mercantile training using <span class="spellname">C_Mercantile</span>.</li>
</ol></li>
</ul></li>
Expand Down Expand Up @@ -554,14 +554,14 @@ <h3>Made by Ben Songster (MeemawHustlin) with help from the PRCLive community.</
</ul></li>
<li><span class="nirnroot">Nirnroot </span>by the statue.</li>
<li>Fighters Guild:
<ul><li>Talk to <span class="npc">Azzan</span> to start the <span class="replaceable" clid="quest154">Blunt Training</span> quest using <span class="spellname">B_Blunt</span>.
<ul><li>Talk to <span class="npc">Azzan</span> to start the <span class="replaceable" clid="quest154" disabled="true">Blunt Training</span> quest using <span class="spellname">B_Blunt</span>.
<ol>
<li>Dialogue: Join the Fighters Guild.</li>
<li>Dialogue: Yes. Sign me up. (This completes <span class="replaceable" clid="quest56">Join the Fighters Guild</span>.)</li>
<li>Dialogue: Contract.</li>
<li>Dialogue: Rats. (This starts a future quest.)</li>
</ol></li>
<li>Talk to <span class="npc">Rhano</span> to start the <span class="replaceable" clid="quest152">Blade Training</span> quest using <span class="spellname">B_Blade</span>.</li>
<li>Talk to <span class="npc">Rhano</span> to start the <span class="replaceable" clid="quest152" disabled="true">Blade Training</span> quest using <span class="spellname">B_Blade</span>.</li>
</ul></li>
<li>Mages Guild:
<ul><li><b>Invest</b> in <span class="replaceable" clid="store1">Felen Relas</span>.</li>
Expand All @@ -579,7 +579,7 @@ <h3>Made by Ben Songster (MeemawHustlin) with help from the PRCLive community.</
</ul></li>
<li>Pinarus Inventius’ House:
<ul><li>Talk to <span class="npc">Pinarus Inventius</span>.
<ul><li>Bribe to max disposition and start the <span class="replaceable" clid="quest161">Marksman Training</span> quest using <span class="spellname">B_Marksman</span>.</li></ul></li>
<ul><li>Bribe to max disposition and start the <span class="replaceable" clid="quest161" disabled="true">Marksman Training</span> quest using <span class="spellname">B_Marksman</span>.</li></ul></li>
</ul></li>
</ol>
</div>
Expand All @@ -595,7 +595,7 @@ <h3>Made by Ben Songster (MeemawHustlin) with help from the PRCLive community.</
<li>The Best Defense:
<ul><li><b>Invest</b> in <span class="replaceable" clid="store42">Maro Rufus</span>.</li>
<li><b>Invest</b> in <span class="replaceable" clid="store52">Varnado</span>.
<ul><li>Start the <span class="replaceable" clid="quest158">Heavy Armor Training</span> quest using <span class="spellname">B_HeavyArmor</span>.</li></ul></li>
<ul><li>Start the <span class="replaceable" clid="quest158" disabled="true">Heavy Armor Training</span> quest using <span class="spellname">B_HeavyArmor</span>.</li></ul></li>
</ul></li>
<li>The Gilded Carafe:
<ul><li><b>Invest</b> in <span class="replaceable" clid="store38">Claudette Perrick</span>.</li>
Expand Down

0 comments on commit 609543d

Please sign in to comment.