index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-05-02 16:58:00 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-05-02 16:58:00 -0700 |
commit | ddd32d47c5210eeda6209c6caa36a426a668cc21 (patch) | |
tree | 823ae0c533c81a74dcf6f9ef46df89de60eb3346 /public/assets/images | |
parent | e0019128a04933870c74740b47016cfed85e6065 (diff) |
Generate weapon data dynamically from counters
Diffstat (limited to 'public/assets/images')
-rw-r--r-- | public/assets/images/map1.svg | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/public/assets/images/map1.svg b/public/assets/images/map1.svg index fe64a5e..bdb6a53 100644 --- a/public/assets/images/map1.svg +++ b/public/assets/images/map1.svg @@ -65,7 +65,7 @@ <symbol id="n0" viewBox="0 0 18 22" width="18" height="22"><use href="#numbers"/></symbol> </defs> - <rect id="background" x="-18" y="-10" width="2320" height="3106"/> + <rect id="background"/> <g id="image-maps"> <image id="map2" class="map-scans" href="scans/map2.jpg" width="2284" height="1518"/> @@ -81,48 +81,48 @@ <g class="start-locations" data-attacker-name="liao" data-defender-name="davion"> <g data-edge="north"> <g data-x="13"> - <g class="counter" data-allegiance="attacker" data-number="1"><use href="#t-1"/></g> + <g class="counter" data-allegiance="attacker" data-number="1"><use href="#counter-base"/><use class="troop-number" href="#t-1"/><use class="squad-number" href="#t-1"/><use class="primary-weapon" href="#rifle"/></g> </g> <g data-x="14"> - <g class="counter" data-allegiance="attacker" data-number="2"><use href="#t-2"/></g> + <g class="counter" data-allegiance="attacker" data-number="2"><use href="#counter-base"/><use class="troop-number" href="#t-2"/><use class="squad-number" href="#t-1"/><use class="primary-weapon" href="#rifle"/></g> </g> <g data-x="15"> - <g class="counter" data-allegiance="attacker" data-number="3"><use href="#t-3"/></g> + <g class="counter" data-allegiance="attacker" data-number="3"><use href="#counter-base"/><use class="troop-number" href="#t-3"/><use class="squad-number" href="#t-1"/><use class="primary-weapon" href="#smg"/></g> </g> <g data-x="16"> - <g class="counter" data-allegiance="attacker" data-number="4"><use href="#t-4"/></g> + <g class="counter" data-allegiance="attacker" data-number="4"><use href="#counter-base"/><use class="troop-number" href="#t-4"/><use class="squad-number" href="#t-1"/><use class="primary-weapon" href="#smg"/></g> </g> <g data-x="17"> - <g class="counter" data-allegiance="attacker" data-number="5"><use href="#t-5"/></g> + <g class="counter" data-allegiance="attacker" data-number="5"><use href="#counter-base"/><use class="troop-number" href="#t-5"/><use class="squad-number" href="#t-1"/><use class="primary-weapon" href="#smg"/></g> </g> <g data-x="18"> - <g class="counter" data-allegiance="attacker" data-number="6"><use href="#t-6"/></g> + <g class="counter" data-allegiance="attacker" data-number="6"><use href="#counter-base"/><use class="troop-number" href="#t-6"/><use class="squad-number" href="#t-1"/><use class="primary-weapon" href="#smg"/></g> </g> <g data-x="19"> - <g class="counter" data-allegiance="attacker" data-number="7"><use href="#t-7"/></g> + <g class="counter" data-allegiance="attacker" data-number="7"><use href="#counter-base"/><use class="troop-number" href="#t-7"/><use class="squad-number" href="#t-1"/><use class="primary-weapon" href="#blazer"/></g> </g> </g> <g data-edge="south"> <g data-x="13"> - <g class="counter" data-allegiance="defender" data-number="1"><use href="#t-1"/></g> + <g class="counter" data-allegiance="defender" data-number="1"><use href="#counter-base"/><use class="troop-number" href="#t-1"/><use class="squad-number" href="#t-1"/><use class="primary-weapon" href="#rifle"/></g> </g> <g data-x="14"> - <g class="counter" data-allegiance="defender" data-number="2"><use href="#t-2"/></g> + <g class="counter" data-allegiance="defender" data-number="2"><use href="#counter-base"/><use class="troop-number" href="#t-2"/><use class="squad-number" href="#t-1"/><use class="primary-weapon" href="#rifle"/></g> </g> <g data-x="15"> - <g class="counter" data-allegiance="defender" data-number="3"><use href="#t-3"/></g> + <g class="counter" data-allegiance="defender" data-number="3"><use href="#counter-base"/><use class="troop-number" href="#t-3"/><use class="squad-number" href="#t-1"/><use class="primary-weapon" href="#smg"/></g> </g> <g data-x="16"> - <g class="counter" data-allegiance="defender" data-number="4"><use href="#t-4"/></g> + <g class="counter" data-allegiance="defender" data-number="4"><use href="#counter-base"/><use class="troop-number" href="#t-4"/><use class="squad-number" href="#t-1"/><use class="primary-weapon" href="#smg"/></g> </g> <g data-x="17"> - <g class="counter" data-allegiance="defender" data-number="5"><use href="#t-5"/></g> + <g class="counter" data-allegiance="defender" data-number="5"><use href="#counter-base"/><use class="troop-number" href="#t-5"/><use class="squad-number" href="#t-1"/><use class="primary-weapon" href="#smg"/></g> </g> <g data-x="18"> - <g class="counter" data-allegiance="defender" data-number="6"><use href="#t-6"/></g> + <g class="counter" data-allegiance="defender" data-number="6"><use href="#counter-base"/><use class="troop-number" href="#t-6"/><use class="squad-number" href="#t-1"/><use class="primary-weapon" href="#smg"/></g> </g> <g data-x="19"> - <g class="counter" data-allegiance="defender" data-number="7"><use href="#t-7"/></g> + <g class="counter" data-allegiance="defender" data-number="7"><use href="#counter-base"/><use class="troop-number" href="#t-7"/><use class="squad-number" href="#t-1"/><use class="primary-weapon" href="#blazer"/></g> </g> </g> </g> |