Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-05-30 15:51:47 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-05-30 17:14:25 -0700
commita49c0caff2d8d76941eaceeddb871c20977b7080 (patch)
treeb91a28425daf8ce95d38c8df31b821c0e7dfe9bf /public/assets/images/scenario-dragon_hunting.svg
parent981cc566f05a2c517aef8657bad605477d519b48 (diff)
Build scenario files
Diffstat (limited to 'public/assets/images/scenario-dragon_hunting.svg')
-rw-r--r--public/assets/images/scenario-dragon_hunting.svg149
1 files changed, 43 insertions, 106 deletions
diff --git a/public/assets/images/scenario-dragon_hunting.svg b/public/assets/images/scenario-dragon_hunting.svg
index 4443568..e456f27 100644
--- a/public/assets/images/scenario-dragon_hunting.svg
+++ b/public/assets/images/scenario-dragon_hunting.svg
@@ -1,5 +1,5 @@
<?xml version="1.0" standalone="no"?>
-<svg viewBox="-15.639999389648438 -129.2300262451172 2320.879638671875 4871.5654296875" xmlns="http://www.w3.org/2000/svg">
+<svg viewBox="-10 -10 200 300" xmlns="http://www.w3.org/2000/svg">
<link xmlns="http://www.w3.org/1999/xhtml" rel="stylesheet" href="../css/map.css" type="text/css" />
<style>
g[data-edge="north"] { --i: -2; }
@@ -44,69 +44,6 @@
<use x="-8.66" style="transform-origin: -8.66px 0;" class="ccw-60-deg" href="#ast-line"/>
</pattern>
- <circle id="counter-base" style="r: inherit; stroke: none;" cx="0" cy="0" r="5"/>
-
- <g style="r: inherit;" id="number-1">
- <use style="r: inherit;" href="#counter-base"/>
- <text style="fill: var(--text-fill); transform: translateY(var(--translateY))">1</text>
- </g>
- <g id="number-2">
- <use href="#counter-base"/>
- <text style="fill: var(--text-fill); transform: translateY(var(--translateY))">2</text>
- </g>
- <g id="number-3">
- <use href="#counter-base"/>
- <text style="fill: var(--text-fill); transform: translateY(var(--translateY))">3</text>
- </g>
- <g id="number-4">
- <use href="#counter-base"/>
- <text style="fill: var(--text-fill); transform: translateY(var(--translateY))">4</text>
- </g>
- <g id="number-5">
- <use href="#counter-base"/>
- <text style="fill: var(--text-fill); transform: translateY(var(--translateY))">5</text>
- </g>
- <g id="number-6">
- <use href="#counter-base"/>
- <text style="fill: var(--text-fill); transform: translateY(var(--translateY))">6</text>
- </g>
- <g id="number-7">
- <use href="#counter-base"/>
- <text style="fill: var(--text-fill); transform: translateY(var(--translateY))">7</text>
- </g>
-
- <g id="semi-auto">
- <line x1="-2" y1="1" x2="2" y2="1"/>
- <line x1="-2" y1="2" x2="2" y2="2"/>
- </g>
-
- <g id="auto">
- <line x1="-2" y1="0" x2="2" y2="0"/>
- <line x1="-2" y1="1" x2="2" y2="1"/>
- <line x1="-2" y1="2" x2="2" y2="2"/>
- </g>
-
- <g id="rifle" style="r: inherit;" class="weapon-symbol">
- <use style="r: inherit;" href="#counter-base"/>
- <use href="#semi-auto"/>
- <line x1="0" y1="-5" x2="0" y2="5"/>
- <polyline style="fill: none;" points="-2,-3.5 0,-5 2,-3.5"/>
- </g>
-
- <g id="smg" style="r: inherit;" class="weapon-symbol">
- <use style="r: inherit;" href="#counter-base"/>
- <use href="#auto"/>
- <line x1="0" y1="-5" x2="0" y2="4.5"/>
- <line x1="-2" y1="4.5" x2="2" y2="4.5"/>
- </g>
-
- <g id="blazer" style="r: inherit;" class="weapon-symbol">
- <use style="r: inherit;" href="#counter-base"/>
- <use href="#auto"/>
- <polyline points="0,-5 0,-3 -3,-2.5 3,-1.5 0,-1 0,2.5 -3,3, 3,4 0,4.5 0,5"/>
- <polyline points="-2,-3.5 0,-5 2,-3.5"/>
- </g>
-
<image id="counter-prone" href="counter_prone.jpg" width="10"/>
<image id="counter-grenade" href="counter_grenade.jpg" width="10"/>
</defs>
@@ -129,51 +66,51 @@
<g data-edge="north">
<g data-x="13">
<g class="counter" data-allegiance="attacker" data-number="1">
- <use class="primary-weapon" href="#blazer"/>
- <use class="troop-number" href="#number-1"/>
- <use class="squad-number" href="#number-1"/>
+ <use class="primary-weapon" href="counters.svg#blazer"/>
+ <use class="troop-number" href="counters.svg#number-1"/>
+ <use class="squad-number" href="counters.svg#number-1"/>
</g>
</g>
<g data-x="14">
<g class="counter" data-allegiance="attacker" data-number="2">
- <use class="primary-weapon" href="#rifle"/>
- <use class="troop-number" href="#number-2"/>
- <use class="squad-number" href="#number-1"/>
+ <use class="primary-weapon" href="counters.svg#rifle"/>
+ <use class="troop-number" href="counters.svg#number-2"/>
+ <use class="squad-number" href="counters.svg#number-1"/>
</g>
</g>
<g data-x="15">
<g class="counter" data-allegiance="attacker" data-number="3">
- <use class="primary-weapon" href="#rifle"/>
- <use class="troop-number" href="#number-3"/>
- <use class="squad-number" href="#number-1"/>
+ <use class="primary-weapon" href="counters.svg#rifle"/>
+ <use class="troop-number" href="counters.svg#number-3"/>
+ <use class="squad-number" href="counters.svg#number-1"/>
</g>
</g>
<g data-x="16">
<g class="counter" data-allegiance="attacker" data-number="4">
- <use class="primary-weapon" href="#smg"/>
- <use class="troop-number" href="#number-4"/>
- <use class="squad-number" href="#number-1"/>
+ <use class="primary-weapon" href="counters.svg#smg"/>
+ <use class="troop-number" href="counters.svg#number-4"/>
+ <use class="squad-number" href="counters.svg#number-1"/>
</g>
</g>
<g data-x="17">
<g class="counter" data-allegiance="attacker" data-number="5">
- <use class="primary-weapon" href="#smg"/>
- <use class="troop-number" href="#number-5"/>
- <use class="squad-number" href="#number-1"/>
+ <use class="primary-weapon" href="counters.svg#smg"/>
+ <use class="troop-number" href="counters.svg#number-5"/>
+ <use class="squad-number" href="counters.svg#number-1"/>
</g>
</g>
<g data-x="18">
<g class="counter" data-allegiance="attacker" data-number="6">
- <use class="primary-weapon" href="#smg"/>
- <use class="troop-number" href="#number-6"/>
- <use class="squad-number" href="#number-1"/>
+ <use class="primary-weapon" href="counters.svg#smg"/>
+ <use class="troop-number" href="counters.svg#number-6"/>
+ <use class="squad-number" href="counters.svg#number-1"/>
</g>
</g>
<g data-x="19">
<g class="counter" data-allegiance="attacker" data-number="7">
- <use class="primary-weapon" href="#smg"/>
- <use class="troop-number" href="#number-7"/>
- <use class="squad-number" href="#number-1"/>
+ <use class="primary-weapon" href="counters.svg#smg"/>
+ <use class="troop-number" href="counters.svg#number-7"/>
+ <use class="squad-number" href="counters.svg#number-1"/>
</g>
</g>
</g>
@@ -181,50 +118,50 @@
<g data-x="13">
<g class="counter" data-allegiance="defender" data-number="1">
<use class="primary-weapon" href="#blazer"/>
- <use class="troop-number" href="#number-1"/>
- <use class="squad-number" href="#number-1"/>
+ <use class="troop-number" href="counters.svg#number-1"/>
+ <use class="squad-number" href="counters.svg#number-1"/>
</g>
</g>
<g data-x="14">
<g class="counter" data-allegiance="defender" data-number="2">
- <use class="primary-weapon" href="#rifle"/>
- <use class="troop-number" href="#number-2"/>
- <use class="squad-number" href="#number-1"/>
+ <use class="primary-weapon" href="counters.svg#rifle"/>
+ <use class="troop-number" href="counters.svg#number-2"/>
+ <use class="squad-number" href="counters.svg#number-1"/>
</g>
</g>
<g data-x="15">
<g class="counter" data-allegiance="defender" data-number="3">
- <use class="primary-weapon" href="#rifle"/>
- <use class="troop-number" href="#number-3"/>
- <use class="squad-number" href="#number-1"/>
+ <use class="primary-weapon" href="counters.svg#rifle"/>
+ <use class="troop-number" href="counters.svg#number-3"/>
+ <use class="squad-number" href="counters.svg#number-1"/>
</g>
</g>
<g data-x="16">
<g class="counter" data-allegiance="defender" data-number="4">
- <use class="primary-weapon" href="#smg"/>
- <use class="troop-number" href="#number-4"/>
- <use class="squad-number" href="#number-1"/>
+ <use class="primary-weapon" href="counters.svg#smg"/>
+ <use class="troop-number" href="counters.svg#number-4"/>
+ <use class="squad-number" href="counters.svg#number-1"/>
</g>
</g>
<g data-x="17">
<g class="counter" data-allegiance="defender" data-number="5">
- <use class="primary-weapon" href="#smg"/>
- <use class="troop-number" href="#number-5"/>
- <use class="squad-number" href="#number-1"/>
+ <use class="primary-weapon" href="counters.svg#smg"/>
+ <use class="troop-number" href="counters.svg#number-5"/>
+ <use class="squad-number" href="counters.svg#number-1"/>
</g>
</g>
<g data-x="18">
<g class="counter" data-allegiance="defender" data-number="6">
- <use class="primary-weapon" href="#smg"/>
- <use class="troop-number" href="#number-6"/>
- <use class="squad-number" href="#number-1"/>
+ <use class="primary-weapon" href="counters.svg#smg"/>
+ <use class="troop-number" href="counters.svg#number-6"/>
+ <use class="squad-number" href="counters.svg#number-1"/>
</g>
</g>
<g data-x="19">
<g class="counter" data-allegiance="defender" data-number="7">
- <use class="primary-weapon" href="#smg"/>
- <use class="troop-number" href="#number-7"/>
- <use class="squad-number" href="#number-1"/>
+ <use class="primary-weapon" href="counters.svg#smg"/>
+ <use class="troop-number" href="counters.svg#number-7"/>
+ <use class="squad-number" href="counters.svg#number-1"/>
</g>
</g>
</g>
@@ -232,6 +169,6 @@
<g class="grid"/>
</g>
- <!-- <script href="../../import_external_resources.js"/> -->
+
<script data-cols="33" data-rows="77" href="../../map.js"/>
</svg>