2021-08-02 23:03:32 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<title>{{ player_name }}'s Tracker</title>
|
2021-08-04 20:09:20 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='styles/minecraftTracker.css') }}"/>
|
|
|
|
<script type="application/ecmascript" src="{{ url_for('static', filename='assets/minecraftTracker.js') }}"></script>
|
2021-08-04 17:28:57 +00:00
|
|
|
<link rel="stylesheet" media="screen" href="https://fontlibrary.org//face/minecraftia" type="text/css"/>
|
2021-08-02 23:03:32 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2023-11-18 18:29:35 +00:00
|
|
|
{# TODO: Replace this with a proper wrapper for each tracker when developing TrackerAPI. #}
|
|
|
|
<div style="margin-bottom: 0.5rem">
|
|
|
|
<a href="{{ url_for("get_generic_game_tracker", tracker=room.tracker, tracked_team=team, tracked_player=player) }}">Switch To Generic Tracker</a>
|
|
|
|
</div>
|
|
|
|
|
2021-08-02 23:03:32 +00:00
|
|
|
<div id="player-tracker-wrapper" data-tracker="{{ room.tracker|suuid }}">
|
|
|
|
<table id="inventory-table">
|
|
|
|
<tr>
|
|
|
|
<td><img src="{{ tools_url }}" class="{{ 'acquired' }}" title="Progressive Tools" /></td>
|
|
|
|
<td><img src="{{ weapons_url }}" class="{{ 'acquired' }}" title="Progressive Weapons" /></td>
|
|
|
|
<td><img src="{{ armor_url }}" class="{{ 'acquired' }}" title="Progressive Armor" /></td>
|
2023-11-18 18:29:35 +00:00
|
|
|
<td><img src="{{ resource_crafting_url }}" class="{{ 'acquired' if 'Progressive Resource Crafting' in acquired_items }}"
|
2021-08-04 22:34:55 +00:00
|
|
|
title="Progressive Resource Crafting" /></td>
|
2021-08-02 23:03:32 +00:00
|
|
|
<td><img src="{{ icons['Brewing Stand'] }}" class="{{ 'acquired' if 'Brewing' in acquired_items }}" title="Brewing" /></td>
|
|
|
|
<td>
|
|
|
|
<div class="counted-item">
|
|
|
|
<img src="{{ icons['Ender Pearl'] }}" class="{{ 'acquired' if '3 Ender Pearls' in acquired_items }}" title="Ender Pearls" />
|
|
|
|
<div class="item-count">{{ pearls_count }}</div>
|
|
|
|
</div>
|
|
|
|
</td>
|
2021-08-04 22:34:55 +00:00
|
|
|
</tr>
|
2021-08-02 23:03:32 +00:00
|
|
|
<tr>
|
|
|
|
<td><img src="{{ icons['Bucket'] }}" class="{{ 'acquired' if 'Bucket' in acquired_items }}" title="Bucket" /></td>
|
|
|
|
<td><img src="{{ icons['Bow'] }}" class="{{ 'acquired' if 'Archery' in acquired_items }}" title="Archery" /></td>
|
|
|
|
<td><img src="{{ icons['Shield'] }}" class="{{ 'acquired' if 'Shield' in acquired_items }}" title="Shield" /></td>
|
|
|
|
<td><img src="{{ icons['Red Bed'] }}" class="{{ 'acquired' if 'Bed' in acquired_items }}" title="Bed" /></td>
|
2021-08-04 22:34:55 +00:00
|
|
|
<td><img src="{{ icons['Water Bottle'] }}" class="{{ 'acquired' if 'Bottles' in acquired_items }}" title="Bottles" /></td>
|
2021-08-02 23:03:32 +00:00
|
|
|
<td>
|
|
|
|
<div class="counted-item">
|
|
|
|
<img src="{{ icons['Netherite Scrap'] }}" class="{{ 'acquired' if '8 Netherite Scrap' in acquired_items }}" title="Netherite Scrap" />
|
|
|
|
<div class="item-count">{{ scrap_count }}</div>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><img src="{{ icons['Flint and Steel'] }}" class="{{ 'acquired' if 'Flint and Steel' in acquired_items }}" title="Flint and Steel" /></td>
|
|
|
|
<td><img src="{{ icons['Enchanting Table'] }}" class="{{ 'acquired' if 'Enchanting' in acquired_items }}" title="Enchanting" /></td>
|
|
|
|
<td><img src="{{ icons['Fishing Rod'] }}" class="{{ 'acquired' if 'Fishing Rod' in acquired_items }}" title="Fishing Rod" /></td>
|
|
|
|
<td><img src="{{ icons['Campfire'] }}" class="{{ 'acquired' if 'Campfire' in acquired_items }}" title="Campfire" /></td>
|
MC: 1.17 support (#120)
* MC: add death_link option
* Minecraft: 1.17 advancements and logic support
* Update Minecraft tracker to 1.17
* Minecraft: add tests for new advancements
* removed jdk/forge download install out of iss and into MinecraftClient.py using flag --install
* Add required_bosses option
choices are none, ender_dragon, wither, both
postgame advancements are set according to the required boss for completion
* fix docstring for PostgameAdvancements
* Minecraft: add starting_items
List of dicts: item, amount, nbt
* Update descriptions for AdvancementGoal and EggShardsRequired
* Minecraft: fix tests for required_bosses attribute
* Minecraft: updated logic for various dragon-related advancements
Split the logic into can_respawn and can_kill dragon
Free the End, Monsters Hunted, The End Again still require both respawn and kill, since the player needs to kill and be credited with the kill
You Need a Mint and Is It a Plane now require only respawn, since the dragon need only be alive; if killed out of logic, it's ok
The Next Generation only requires kill, since the egg spawns regardless of whether the player was credited with the kill or not
* Minecraft client: ignore prereleases unless --prerelease flag is on
* explicitly state all defaults
change structure shuffle and structure compass defaults to true
update install tutorial to point to player-settings page, as well as removing instructions for manual install
* Minecraft client: add Minecraft version check
Adds a minecraft_version field in the apmc, and downloads only mods which contain that version in the name of the .jar file.
This ensures that the client remains compatible even if new mods are released for later versions, since they won't download a mod for a later version than the apmc says.
Co-authored-by: Kono Tyran <Kono.Tyran@gmail.com>
2021-12-01 01:37:11 +00:00
|
|
|
<td><img src="{{ icons['Spyglass'] }}" class="{{ 'acquired' if 'Spyglass' in acquired_items }}" title="Spyglass" /></td>
|
2022-11-05 13:41:03 +00:00
|
|
|
<td>
|
|
|
|
<div class="counted-item">
|
|
|
|
<img src="{{ icons['Dragon Egg Shard'] }}" class="{{ 'acquired' if 'Dragon Egg Shard' in acquired_items }}" title="Dragon Egg Shard" />
|
|
|
|
<div class="item-count">{{ shard_count }}</div>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><img src="{{ icons['Lead'] }}" class="{{ 'acquired' if 'Lead' in acquired_items }}" title="Lead" /></td>
|
|
|
|
<td><img src="{{ icons['Saddle'] }}" class="{{ 'acquired' if 'Saddle' in acquired_items }}" title="Saddle" /></td>
|
|
|
|
<td><img src="{{ icons['Channeling Book'] }}" class="{{ 'acquired' if 'Channeling Book' in acquired_items }}" title="Channeling Book" /></td>
|
|
|
|
<td><img src="{{ icons['Silk Touch Book'] }}" class="{{ 'acquired' if 'Silk Touch Book' in acquired_items }}" title="Silk Touch Book" /></td>
|
|
|
|
<td><img src="{{ icons['Piercing IV Book'] }}" class="{{ 'acquired' if 'Piercing IV Book' in acquired_items }}" title="Piercing IV Book" /></td>
|
2021-08-04 22:34:55 +00:00
|
|
|
</tr>
|
2021-08-02 23:03:32 +00:00
|
|
|
</table>
|
|
|
|
<table id="location-table">
|
2021-08-04 17:28:57 +00:00
|
|
|
{% for area in checks_done %}
|
2021-08-04 20:09:20 +00:00
|
|
|
<tr class="location-category" id="{{area}}-header">
|
|
|
|
<td>{{ area }} {{'▼' if area != 'Total'}}</td>
|
|
|
|
<td class="counter">{{ checks_done[area] }} / {{ checks_in_area[area] }}</td>
|
|
|
|
</tr>
|
|
|
|
<tbody class="locations hide" id="{{area}}">
|
|
|
|
{% for location in location_info[area] %}
|
2021-08-02 23:03:32 +00:00
|
|
|
<tr>
|
2021-08-04 20:09:20 +00:00
|
|
|
<td class="location-name">{{ location }}</td>
|
|
|
|
<td class="counter">{{ '✔' if location_info[area][location] else '' }}</td>
|
2021-08-02 23:03:32 +00:00
|
|
|
</tr>
|
2021-08-04 20:09:20 +00:00
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
2021-08-04 17:28:57 +00:00
|
|
|
{% endfor %}
|
2021-08-02 23:03:32 +00:00
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|