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

15 lines
1.3 KiB
XML

<g transform="translate({{ x }} {{ y }})">
<g transform="rotate({{ rotation }} 50 50)">
<path class="pasture" d="M 30 45 H 70 V 55 H 30 Z" />
<path class="pasture{% if resources[1].uuid() in claimable %} claimable{% endif %}" id="resource-1" data-uuid="{{ resources[1].uuid() }}" d="M 0 100 V 55 H 40 V 100 Z" />
<path class="pasture{% if resources[2].uuid() in claimable %} claimable{% endif %}" id="resource-2" data-uuid="{{ resources[2].uuid() }}" d="M 0 0 V 45 H 40 V 0 Z" />
<path class="pasture{% if resources[3].uuid() in claimable %} claimable{% endif %}" id="resource-3" data-uuid="{{ resources[3].uuid() }}" d="M 60 0 V 45 H 100 V 0 Z" />
<path class="pasture{% if resources[4].uuid() in claimable %} claimable{% endif %}" id="resource-4" data-uuid="{{ resources[4].uuid() }}" d="M 60 55 V 100 H 100 V 55 Z" />
<path class="river" d="M 40 0 H 60 V 100 H 40 Z" />
<path class="bridgeshadow" d="M 30 45 H 70 V 55 H 30 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 30 C 50 40, 50 40, 70 45 H 100 V 55 H 70 C 50 50, 50 50, 30 55 H 0 Z" />
<g transform="translate(85 25)">
<path class="inn" transform="rotate(-{{rotation}})" d="M -10 10 V -10 L 0 -20 L 10 -10 V 10 Z" />
</g>
</g>
</g>