- {#each hints as [_a, hint_data]}
- {@const i1_data = hint_data.ingredient_1}
- {@const i2_data = hint_data.ingredient_2}
- {@const prod_data = hint_data.product}
-
-

-
- {i1_data.location}
- from {i1_data.player}
- {i1_data.name}
-
-
-
+
-
-

-
- {i2_data.location}
- from {i2_data.player}
- {i2_data.name}
-
-
-
=
-
-

-
- {prod_data.location}
- from {prod_data.player}
- {prod_data.name}
-
-
+ {#each apstore.hintedElements as [_a, recipes]}
+ {#each recipes as recipe}
+ {@const i1_data =
+ apstore.elementData[recipe.ingredient_1] ??
+ defaultElementData(recipe.ingredient_1)}
+ {@const i2_data =
+ apstore.elementData[recipe.ingredient_2] ??
+ defaultElementData(recipe.ingredient_2)}
+ {@const prod_data =
+ apstore.elementData[recipe.result] ?? defaultElementData(recipe.result)}
+
+
+

+
+ {i1_data.location}
+ from {i1_data.player}
+ {i1_data.name}
+
+
+
+
+
+

+
+ {i2_data.location}
+ from {i2_data.player}
+ {i2_data.name}
+
+
+
=
+
+

+
+ {prod_data.location}
+ to {prod_data.player}
+ {prod_data.name}
+
+
+ {/each}
{/each}