Skip to content

Commit

Permalink
Add requirements to Pokémon on Safari page
Browse files Browse the repository at this point in the history
  • Loading branch information
wormania committed Dec 7, 2023
1 parent 936cfbf commit aa94d99
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pages/Towns/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ <h2>Safari Encounters</h2>
<th class="text-center">Sprite</th>
<th class="text-center">Weight</th>
<th class="text-center">Environment</th>
<th class="text-center">Requirement</th>
</tr>
</thead>
<tbody data-bind="foreach: SafariPokemonList.list[$data.region]().filter(p => !p.requireCaught || !p.showUncaught)">
Expand All @@ -215,6 +216,7 @@ <h2>Safari Encounters</h2>
<td class="align-middle">
<knockout data-bind="text: $data.environments.map(env => SafariEnvironments[env]).join(', ')"></knockout>
</td>
<td class="align-middle" data-bind="text: $data.requireCaught ? 'Must be caught elsewhere first.' : 'N/A'"></td>
</tr>
</tbody>
</table>
Expand Down

0 comments on commit aa94d99

Please sign in to comment.