webgames/templates/carcassonne/123.svg
2021-10-31 14:44:14 +01:00

6 lines
853 B
XML

<g transform="translate({{ x }} {{ y }}) 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 30, 70 30, 100 0 V 45 C 45 45, 45 45, 45 100 H 0 Z" />
<path class="pasture{% if resources[2].uuid() in claimable %} claimable{% endif %}" id="resource-2" data-uuid="{{ resources[2].uuid() }}" d="M 100 100 V 55 C 55 55, 55 55, 55 100 Z" />
<path class="road{% if resources[3].uuid() in claimable %} claimable{% endif %}" id="resource-3" data-uuid="{{ resources[3].uuid() }}" d="M 45 100 C 45 45, 45 45, 100 45 V 55 C 55 55, 55 55, 55 100 Z" />
<path class="city{% if resources[4].uuid() in claimable %} claimable{% endif %}" id="resource-4" data-uuid="{{ resources[4].uuid() }}" d="M 0 0 C 30 30, 70 30, 100 0 Z" />
</g>