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

12 lines
1.7 KiB
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, 30 30, 45 30 V 45 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 0 C 70 30, 70 30, 55 30 V 45 H 100 Z" />
<path class="pasture{% if resources[3].uuid() in claimable %} claimable{% endif %}" id="resource-3" data-uuid="{{ resources[3].uuid() }}" d="M 0 100 C 30 70, 30 70, 45 70 V 55 H 0 Z" />
<path class="pasture{% if resources[4].uuid() in claimable %} claimable{% endif %}" id="resource-4" data-uuid="{{ resources[4].uuid() }}" d="M 100 100 C 70 70, 70 70, 45 70 V 55 H 100 Z" />
<path class="road{% if resources[5].uuid() in claimable %} claimable{% endif %}" id="resource-5" data-uuid="{{ resources[5].uuid() }}" d="M 0 45 H 40 V 55 H 0 Z" />
<path class="road{% if resources[6].uuid() in claimable %} claimable{% endif %}" id="resource-6" data-uuid="{{ resources[6].uuid() }}" d="M 100 45 H 60 V 55 H 100 Z" />
<path class="city{% if resources[7].uuid() in claimable %} claimable{% endif %}" id="resource-7" data-uuid="{{ resources[7].uuid() }}" d="M 0 0 C 30 30, 30 30, 45 30 H 55 C 70 30, 70 30, 100 0 Z" />
<path class="city{% if resources[8].uuid() in claimable %} claimable{% endif %}" id="resource-8" data-uuid="{{ resources[8].uuid() }}" d="M 0 100 C 30 70, 30 70, 45 70 H 55 C 70 70, 70 70, 100 100 Z" />
<path class="road" d="M 40 45 L 45 40 H 55 L 60 45 V 55 L 55 60 H 45 L 40 55 Z" />
<path class="road" d="M 45 30 H 55 V 70 H 45 Z" />
</g>