9 lines
920 B
XML
9 lines
920 B
XML
<g transform="translate({{ x }} {{ y }})">
|
|
<g transform="rotate({{rotation}} 50 50)">
|
|
<path class="pasture{% if resources[1].uuid() in claimable %} claimable{% endif %}" id="resource-1" data-uuid="{{ resources[1].uuid() }}" d="M 0 0 C 30 0, 100 70, 100 100 H 55 C 55 45, 55 45, 0 45 Z" />
|
|
<path class="pasture{% if resources[2].uuid() in claimable %} claimable{% endif %}" id="resource-2" data-uuid="{{ resources[2].uuid() }}" d="M 0 100 H 45 C 45 55, 45 55, 0 55 Z" />
|
|
<path class="road{% if resources[3].uuid() in claimable %} claimable{% endif %}" id="resource-3" data-uuid="{{ resources[3].uuid() }}" d="M 0 45 C 55 45, 55 45, 55 100 H 45 C 45 55, 45 55, 0 55 Z" />
|
|
<path class="city{% if resources[4].uuid() in claimable %} claimable{% endif %}" id="resource-4" data-uuid="{{ resources[4].uuid() }}" d="M 100 0 V 100 C 100 70, 30 0, 0 0 Z" />
|
|
{% include "carcassonne/defense.svg" %}
|
|
</g>
|
|
</g>
|