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-08-02 16:27:17 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-08-02 16:27:17 -0700 |
commit | b27a139c9ed426d7c9042b07d5a61ecddaee0175 (patch) | |
tree | aeacc56d16c93c67460916b5826ec3db4a5e1a7b | |
parent | eb3c919f7d5562e0732349f8382534c618bef448 (diff) |
Add weapons for scenario 2
-rw-r--r-- | public/assets/images/scenario-dragon_hunting.svg | 75 | ||||
-rw-r--r-- | src/modules/record_sheet.js | 30 |
2 files changed, 68 insertions, 37 deletions
diff --git a/public/assets/images/scenario-dragon_hunting.svg b/public/assets/images/scenario-dragon_hunting.svg index 5298b74..0f728c5 100644 --- a/public/assets/images/scenario-dragon_hunting.svg +++ b/public/assets/images/scenario-dragon_hunting.svg @@ -11,104 +11,105 @@ <g class="start-locations" data-attacker-name="liao" data-defender-name="davion"> <g data-edge="north" style="--i: -2"> + </g> + <g data-edge="south" style="--i: 78"> <g data-x="13"> - <g class="counter" data-allegiance="attacker" data-number="1"> - <use class="primary-weapon" href="counters.svg#blazer"/> + <g class="counter" data-allegiance="defender" data-number="1" data-squad="1"> + <use class="primary-weapon" href="#smg"/> <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="counters.svg#rifle"/> + <g class="counter" data-allegiance="defender" data-number="2" data-squad="1"> + <use class="primary-weapon" href="counters.svg#smg"/> <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="counters.svg#rifle"/> + <g class="counter" data-allegiance="defender" data-number="3" data-squad="1"> + <use class="primary-weapon" href="counters.svg#hsplaser"/> <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="counters.svg#smg"/> + <g class="counter" data-allegiance="defender" data-number="4" data-squad="1"> + <use class="primary-weapon" href="counters.svg#lmg"/> <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="counters.svg#smg"/> + <g class="counter" data-allegiance="defender" data-number="5" data-squad="1"> + <use class="primary-weapon" href="counters.svg#lmg"/> <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="counters.svg#smg"/> + <g class="counter" data-allegiance="defender" data-number="6" data-squad="1"> + <use class="primary-weapon" href="counters.svg#srm"/> <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="counters.svg#smg"/> + <g class="counter" data-allegiance="defender" data-number="7" data-squad="1"> + <use class="primary-weapon" href="counters.svg#srm"/> <use class="troop-number" href="counters.svg#number-7"/> <use class="squad-number" href="counters.svg#number-1"/> </g> </g> - </g> - <g data-edge="south" style="--i: 78"> + <g data-x="13"> - <g class="counter" data-allegiance="defender" data-number="1"> - <use class="primary-weapon" href="#blazer"/> + <g class="counter" data-allegiance="defender" data-number="1" data-squad="2"> + <use class="primary-weapon" href="#gl"/> <use class="troop-number" href="counters.svg#number-1"/> - <use class="squad-number" href="counters.svg#number-1"/> + <use class="squad-number" href="counters.svg#number-2"/> </g> </g> <g data-x="14"> - <g class="counter" data-allegiance="defender" data-number="2"> - <use class="primary-weapon" href="counters.svg#rifle"/> + <g class="counter" data-allegiance="defender" data-number="2" data-squad="2"> + <use class="primary-weapon" href="counters.svg#gl"/> <use class="troop-number" href="counters.svg#number-2"/> - <use class="squad-number" href="counters.svg#number-1"/> + <use class="squad-number" href="counters.svg#number-2"/> </g> </g> <g data-x="15"> - <g class="counter" data-allegiance="defender" data-number="3"> - <use class="primary-weapon" href="counters.svg#rifle"/> + <g class="counter" data-allegiance="defender" data-number="3" data-squad="2"> + <use class="primary-weapon" href="counters.svg#gl"/> <use class="troop-number" href="counters.svg#number-3"/> - <use class="squad-number" href="counters.svg#number-1"/> + <use class="squad-number" href="counters.svg#number-2"/> </g> </g> <g data-x="16"> - <g class="counter" data-allegiance="defender" data-number="4"> - <use class="primary-weapon" href="counters.svg#smg"/> + <g class="counter" data-allegiance="defender" data-number="4" data-squad="2"> + <use class="primary-weapon" href="counters.svg#gl"/> <use class="troop-number" href="counters.svg#number-4"/> - <use class="squad-number" href="counters.svg#number-1"/> + <use class="squad-number" href="counters.svg#number-2"/> </g> </g> <g data-x="17"> - <g class="counter" data-allegiance="defender" data-number="5"> - <use class="primary-weapon" href="counters.svg#smg"/> + <g class="counter" data-allegiance="defender" data-number="5" data-squad="2"> + <use class="primary-weapon" href="counters.svg#srm"/> <use class="troop-number" href="counters.svg#number-5"/> - <use class="squad-number" href="counters.svg#number-1"/> + <use class="squad-number" href="counters.svg#number-2"/> </g> </g> <g data-x="18"> - <g class="counter" data-allegiance="defender" data-number="6"> - <use class="primary-weapon" href="counters.svg#smg"/> + <g class="counter" data-allegiance="defender" data-number="6" data-squad="2"> + <use class="primary-weapon" href="counters.svg#srm"/> <use class="troop-number" href="counters.svg#number-6"/> - <use class="squad-number" href="counters.svg#number-1"/> + <use class="squad-number" href="counters.svg#number-2"/> </g> </g> <g data-x="19"> - <g class="counter" data-allegiance="defender" data-number="7"> - <use class="primary-weapon" href="counters.svg#smg"/> + <g class="counter" data-allegiance="defender" data-number="7" data-squad="2"> + <use class="primary-weapon" href="counters.svg#lmg"/> <use class="troop-number" href="counters.svg#number-7"/> - <use class="squad-number" href="counters.svg#number-1"/> + <use class="squad-number" href="counters.svg#number-2"/> </g> </g> </g> diff --git a/src/modules/record_sheet.js b/src/modules/record_sheet.js index 684b84e..384d5d1 100644 --- a/src/modules/record_sheet.js +++ b/src/modules/record_sheet.js @@ -19,6 +19,36 @@ const weapons = { damage: '4L', shortRange: '1-17', longRange: '18-105' + }, + hsplaser: { + name: 'Hvy Semi-Portable Laser', + damage: '14L', + shortRange: '1-100', + longRange: '101-280' + }, + lmg: { + name: 'Light MG', + damage: '5L', + shortRange: '1-30', + longRange: '31-84' + }, + srm: { + name: 'SRM', + damage: '8/4/2 L', + shortRange: '1-44', + longRange: '45-108' + }, + lmg: { + name: 'Light MG', + damage: '5L', + shortRange: '1-30', + longRange: '31-84' + }, + gl: { + name: 'Grenade Launcher', + damage: '4/2/1 L', + shortRange: '1-10', + longRange: '11-24' } } |