2025-02-08 13:35:55 +02:00
|
|
|
{% macro drop(label) %}
|
|
|
|
<div class="category">
|
|
|
|
<img
|
|
|
|
src="../assets/materials/{{ category.kind }}/{{ label }}.webp"
|
|
|
|
width="64"
|
|
|
|
height="64"
|
|
|
|
/>
|
|
|
|
<h1>{{ category.kind|capitalize +}} {{+ label|capitalize }}</h1>
|
|
|
|
</div>
|
|
|
|
<div class="enemies">
|
|
|
|
{% for drop in category.drops(label) %}
|
|
|
|
<div class="drop">
|
2025-02-08 19:09:16 +02:00
|
|
|
<div
|
|
|
|
style="background-image: url('../assets/enemies/{{ drop.texture() }}.webp');"
|
|
|
|
></div>
|
2025-02-08 13:35:55 +02:00
|
|
|
<span>{{ drop.from +}}</span>
|
|
|
|
<span>{{+ drop.chance }}%</span>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% endmacro %}
|