Skip to content

Commit

Permalink
unifying ability names
Browse files Browse the repository at this point in the history
  • Loading branch information
Mawex committed Apr 5, 2024
1 parent e9df9c8 commit 3d234a2
Show file tree
Hide file tree
Showing 15 changed files with 13 additions and 11 deletions.
9 changes: 7 additions & 2 deletions components/ability-view.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<nuxt-link class="ability-view" :to="{name: 'search-query', params: $route.params, query: {ability}}" :class="{inline}">
<img class="ability-icon" :src="`/media/abilities/${ability}.png`" :alt="ability">
<img class="ability-icon" :src="`/media/abilities/${abilityImageName}.png`" :alt="ability">
{{ abilityDisplayString }}
</nuxt-link>
</template>
Expand All @@ -17,8 +17,13 @@
},
computed: {
abilityDisplayString() {
return this.ability.replace(/\b[a-z]/g, letter => letter.toUpperCase())
const displayString = this.ability.replace('-',' ')
return displayString.replace(/\b[a-z]/g, letter => letter.toUpperCase())
},
abilityImageName(){
return this.ability.replace(/\W+/g,'')
}
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions content/seedgen/headers.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ Here is a list of all the prebuilt headers in the seed generator:
* Bonus+: Adds new powerfull upgrades such as the ability to bash uncharged grenades. Learn more what items are added by this header by reading the [New Items](/features/new-items#bonus) page. This header have option to specify how many of each pickups you want to add to the item pool
* Key Hints: Lupo, Opher and Twillen sell [hints](/features/hints) which reveal the areas in which you can find Clean Water, Burrow, Water Dash, Grenade, Glide, Flap, Flash, Bash, and Bow.
* No Branch: Shorten the Tree Keeper quest by getting the Tree seed directly instead of getting a branch which you need to give to Tuley
* Vanilla Opher Upgrades: Places the vanilla weapon upgrades such as Exploding Spike at their vanilla location, in Opher's shop
* Vanilla Opher Upgrades: Places the vanilla weapon upgrades such as Exploding Spear at their vanilla location, in Opher's shop
* Open Mode: Removes many one-way doors in the game, allowing you to go through them from the other side. Logic will account for these changes
* Bonus Opher Upgrade: Opher will be guaranteed to sell five weapon upgrades unique to the randomizer: Spike, Shuriken, Blaze and Sentry efficiency which reduce the cost of the respective weapon by half and Rapid Smash which increase the speed of Hammer
* Bonus Opher Upgrade: Opher will be guaranteed to sell five weapon upgrades unique to the randomizer: Spear, Shuriken, Blaze and Sentry efficiency which reduce the cost of the respective weapon by half and Rapid Smash which increase the speed of Hammer
* No Trials: Spirit Trials won't give any items
* Trial Hints: When activating a Spirit Trial, reveals what the reward for finishing this Spirit Trial is
* Glades Done: Start with every seed planted in Glades as well as every Glades rebuilding project already finished
Expand Down
2 changes: 1 addition & 1 deletion content/tutorials/misc/charged-blaze-blob.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ tags:
zone:
- wellspring
---
Charged Blaze can be used to destroy certain blobs from a distance, like the ones in wellspring.
Charged Blaze can be used to destroy certain blobs from a distance, like the ones in wellspring.

Wellspring 2nd Floor:
There is a tiny bit of wall/ledge above the grapple bud in the second floor of Wellspring.
Expand Down
3 changes: 2 additions & 1 deletion content/tutorials/misc/projectile-redirection.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
title: Projectile redirection
tags:
abilities:
- deflector
- sword
- hammer
- grenade
- sentry
- dash
- launch
shards:
- deflector
---

Changing the direction of a projectile lets you break walls that can not be broken otherwise. Even if it is usually done by bashing a projectile, there are other options for it.
Expand Down
1 change: 0 additions & 1 deletion content/tutorials/misc/spear-wall.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
title: Spear going through walls
tags:
abilities:
- spike
- spear
---

Expand Down
1 change: 0 additions & 1 deletion content/tutorials/movement/extending-momentum-spear.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title: Extending Momentum with Spear
tags:
abilities:
- spear
- spike
- bash
---

Expand Down
1 change: 0 additions & 1 deletion content/tutorials/movement/spear-jumps.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title: Spear jumps
tags:
abilities:
- spear
- spike
---

With Spear, you can make a jump mid-air without a double jump. This can be useful when you lack vertical movement options. Spear jumping does not use your double jump so you can view it as an additional jump.
Expand Down
1 change: 0 additions & 1 deletion content/tutorials/movement/weapon-energy-movement.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ tags:
- flash
- bow
- shuriken
- spike
---

When using energy weapons, Ori makes a little hop which can be used in order to get just a little bit more air time or reach higher up platforms.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Dash swim
title: Water Dash
tags:
abilities:
- water-dash
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes

0 comments on commit 3d234a2

Please sign in to comment.