Skip to content

Commit

Permalink
Key Items page (#107)
Browse files Browse the repository at this point in the history
* Key items

* caughgt
  • Loading branch information
CypherX authored Aug 4, 2023
1 parent ebda4cb commit f15af22
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 0 deletions.
12 changes: 12 additions & 0 deletions bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -12428,6 +12428,7 @@ App.game = new Game(
App.game.farming.initialize();
App.game.breeding.initialize();
App.game.oakItems.initialize();
App.game.keyItems.initialize();
QuestLineHelper.loadQuestLines();
SafariPokemonList.generateKantoSafariList();
BattleFrontierRunner.stage(100);
Expand Down Expand Up @@ -14390,6 +14391,17 @@ const searchOptions = [
type: 'Baby Pokémon',
page: '',
},
// Key Items
{
display: 'Key Items',
type: 'Key Items',
page: '',
},
...App.game.keyItems.itemList.map(k => ({
display: k.displayName,
type: 'Key Items',
page: '',
})),
];
// Differentiate our different links with the same name
searchOptions.forEach(a => {
Expand Down
27 changes: 27 additions & 0 deletions data/Key Items/overview_description.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
**Key Items** are special items obtained as the player progresses through the game.

### Usage

Key Items are active automatically upon acquisition. To see acquired Key Items go to Start Menu > Items > Key Items.

### List of Items

| Item | How to Obtain | Effect |
| --- | --- | --- |
| [[File:Teachy_tv.png\|20px]] Teachy TV | Given by Professor Oak at the start of the game. | N/A |
| [[File:Coin_case.png\|20px]] Coin Case | Given by Professor Oak at the start of the game. | N/A |
| [[File:Pokeball_bag.png\|20px]] Pokéball Bag | Given by Professor Oak at the start of the game. | N/A |
| [[File:Town_map.png\|20px]] Town Map | Defeat 10 Pokémon on Kanto Route 1. | Unlocks the Town Map panel. |
| [[File:Dungeon_ticket.png\|20px]] Dungeon Ticket | Purchasable at [[Towns/Viridian City]] in Kanto for 100 Quest Points [[File:questPoint.svg\|20px]]. | Allows entry to [[Dungeons]] at the cost of Dungeon Tokens [[File:dungeonToken.svg\|20px]]. |
| [[File:Super_rod.png\|20px]] Super Rod | Defeat 10 Pokémon on Kanto Route 12. | Allows water Pokémon to be encountered and caught in the wild. |
| [[File:Holo_caster.png\|20px]] Holo Caster | Catch 110 unique Pokémon. | View and track Achievements. |
| [[File:Mystery_egg.png\|20px]] Mystery Egg | Defeat 10 Pokémon on Kanto Route 5. | Grants access to the [[Hatchery]]. |
| [[File:Safari_ticket.png\|20px]] Safari Ticket | Clear the [[Gyms/Fuchsia City]] Gym in Kanto. | Allows entry to the Kanto Safari Zone. |
| [[File:Wailmer_pail.png\|20px]] Wailmer Pail | Unlock Kanto Route 14. | Allows entry to the [[Farm]]. |
| [[File:Explorer_kit.png\|20px]] Explorer Kit | Purchasable at [[Towns/Cinnabar Island]] in Kanto for 5,000 Quest Points [[File:questPoint.svg\|20px]]. | Allows entry to the Underground. |
| [[File:Eon_ticket.png\|20px]] Eon Ticket | Obtained by redeeming a code during the [[Quest Lines/The Eon Duo]] quest line. | Grants access to [[Towns/Southern Island]] in Hoenn. |
| [[File:Event_calendar.png\|20px]] Event Calendar | Purchasable at [[Towns/Hammerlocke]] in Galar for 100,000 Quest Points [[File:questPoint.svg\|20px]]. | Allows starting [[Events]] early at the cost of Quest Points [[File:questPoint.svg\|20px]]. |
| [[File:Gem_case.png\|20px]] Gem Case | Clear the [[Gyms/Viridian City]] Gym in Kanto. | Allows the collection of [[Gems]] and the purchase of Gem Upgrades. |
| [[File:DNA_splicers.png\|20px]] DNA Splicers | Clear the [[Dungeons/Giant Chasm]] dungeon in Unova. | N/A |
| [[File:Pokerus_virus.png\|20px]] Pokérus Virus | Clear the [[Dungeons/Distortion World]] dungeon in Sinnoh. | Gives the player access to [[Pokérus]] and EVs. |
| [[File:Reins_of_unity.png\|20px]] Reins of Unity | Progress through the [[Quest Lines/The Crown of Galar]] quest line. | N/A |
Empty file added pages/Key Items/overview.html
Empty file.
1 change: 1 addition & 0 deletions pages/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<a href="#!Hatchery" class="btn btn-primary text-nowrap">Hatchery</a>
<a href="#!Hatchery_Helpers" class="btn btn-primary text-nowrap">Hatchery Helpers</a>
<a href="#!Oak_Items" class="btn btn-primary text-nowrap">Oak Items</a>
<a href="#!Key_Items" class="btn btn-primary text-nowrap">Key Items</a>
<a href="#!Weather" class="btn btn-primary text-nowrap">Weather</a>
<a href="#!Daily_Deals" class="btn btn-primary text-nowrap">Daily Deals</a>
<a href="#!Temporary_Battles" class="btn btn-primary text-nowrap">Temporary Battles</a>
Expand Down
1 change: 1 addition & 0 deletions scripts/game.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ App.game = new Game(
App.game.farming.initialize();
App.game.breeding.initialize();
App.game.oakItems.initialize();
App.game.keyItems.initialize();
QuestLineHelper.loadQuestLines();
SafariPokemonList.generateKantoSafariList();
BattleFrontierRunner.stage(100);
Expand Down
11 changes: 11 additions & 0 deletions scripts/typeahead.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,17 @@ const searchOptions = [
type: 'Baby Pokémon',
page: '',
},
// Key Items
{
display: 'Key Items',
type: 'Key Items',
page: '',
},
...App.game.keyItems.itemList.map(k => ({
display: k.displayName,
type: 'Key Items',
page: '',
})),
];
// Differentiate our different links with the same name
searchOptions.forEach(a => {
Expand Down

0 comments on commit f15af22

Please sign in to comment.