Skip to content

Commit

Permalink
feat(mods): display pre-'Arx Libertatis 1.3' support
Browse files Browse the repository at this point in the history
  • Loading branch information
meszaros-lajos-gyorgy committed Oct 25, 2024
1 parent 6322dc1 commit 6a245e0
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 7 deletions.
11 changes: 4 additions & 7 deletions mods/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,9 @@ <h2>Mods</h2>
<a href="https://github.com/meszaros-lajos-gyorgy/arx-mod-unshittify" target="_blank">Unshittify</a>
<span>Improves in-game texts to increase clarity of puzzles and in-game mechanisms</span>
</li>
<li data-type="vanilla fix">
<li data-type="vanilla fix" data-before-al13-support="partial">
<a href="https://github.com/meszaros-lajos-gyorgy/arx-mod-potion-guard" target="_blank">Potion guard</a>
<span
>Prevents accidental waste of potions when player health or mana is full (Arx Libertatis 1.3+ recommended,
partially working in older versions)</span
>
<span>Prevents accidental waste of potions when player health or mana is full</span>
</li>
<li data-type="vanilla fix">
<a href="https://github.com/meszaros-lajos-gyorgy/arx-mod-outpost-ambience-fix" target="_blank"
Expand All @@ -88,11 +85,11 @@ <h2>Mods</h2>
<span>Randomizes runes</span>
</li>

<li data-type="challenge">
<li data-type="challenge" data-before-al13-support="no">
<a href="https://github.com/meszaros-lajos-gyorgy/arx-mod-empty-manabar-damage" target="_blank"
>Empty manabar damage</a
>
<span>Makes the player take damage when his manapool completely drains (Arx Libertatis 1.3+ only)</span>
<span>Makes the player take damage when his manapool completely drains</span>
</li>

<br />
Expand Down
21 changes: 21 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -226,3 +226,24 @@ abbr {
.mods li[data-type="other"]::before {
background: hsl(95, 56%, 30%); // green
}

.mods li[data-before-al13-support] a::after {
display: inline-block;
background: var(--bistre);
color: var(--cornsilk);
font-size: 0.75rem;
padding: 0 4px;
border-radius: 3px;
line-height: 20px;
vertical-align: top;
margin-left: 5px;
font-weight: normal;
}

.mods li[data-before-al13-support="partial"] a::after {
content: "Arx Libertatis 1.3+ recommended";
}

.mods li[data-before-al13-support="no"] a::after {
content: "Arx Libertatis 1.3+ required";
}

0 comments on commit 6a245e0

Please sign in to comment.