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

12 lines
1.3 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 H 100 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 100 H 55 V 55 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 H 45 V 55 H 0 Z" />
<path class="road{% if resources[4].uuid() in claimable %} claimable{% endif %}" id="resource-4" data-uuid="{{ resources[4].uuid() }}" d="M 45 100 V 60 H 55 V 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="road" d="M 40 45 L 45 40 H 55 L 60 45 V 55 L 55 60 H 45 L 40 55 Z" />
<g transform="translate(80 30)">
<path class="inn" transform="rotate(-{{rotation}})" d="M -10 10 V -10 L 0 -20 L 10 -10 V 10 Z" />
</g>
</g>