From 752330bdf51f210beb821b9a3c961944cc236828 Mon Sep 17 00:00:00 2001 From: Yanick Champoux Date: Sun, 6 Mar 2022 23:11:17 -0500 Subject: [PATCH] weapon --- .../Weaponry/Weapon}/Arc.svelte | 0 .../Weaponry/Weapon/Arcs.svelte} | 2 +- .../Weaponry/Weapon/Needle.svelte} | 15 +-- .../ShipEdit/Weaponry/Weapon/index.svelte | 121 ++++++++++++++++++ .../components/ShipEdit/Weaponry/index.svelte | 6 + src/lib/shipDux/weaponry/weapons.js | 13 +- 6 files changed, 143 insertions(+), 14 deletions(-) rename src/lib/components/{Weapons => ShipEdit/Weaponry/Weapon}/Arc.svelte (100%) rename src/lib/components/{Weapon/Arcs/index.svelte => ShipEdit/Weaponry/Weapon/Arcs.svelte} (92%) rename src/lib/components/{Weapon/Needle/index.svelte => ShipEdit/Weaponry/Weapon/Needle.svelte} (64%) create mode 100644 src/lib/components/ShipEdit/Weaponry/Weapon/index.svelte diff --git a/src/lib/components/Weapons/Arc.svelte b/src/lib/components/ShipEdit/Weaponry/Weapon/Arc.svelte similarity index 100% rename from src/lib/components/Weapons/Arc.svelte rename to src/lib/components/ShipEdit/Weaponry/Weapon/Arc.svelte diff --git a/src/lib/components/Weapon/Arcs/index.svelte b/src/lib/components/ShipEdit/Weaponry/Weapon/Arcs.svelte similarity index 92% rename from src/lib/components/Weapon/Arcs/index.svelte rename to src/lib/components/ShipEdit/Weaponry/Weapon/Arcs.svelte index 682bc8a..6657c21 100644 --- a/src/lib/components/Weapon/Arcs/index.svelte +++ b/src/lib/components/ShipEdit/Weaponry/Weapon/Arcs.svelte @@ -12,7 +12,7 @@ diff --git a/src/lib/components/ShipEdit/Weaponry/index.svelte b/src/lib/components/ShipEdit/Weaponry/index.svelte index 2e5af0b..d9b168b 100644 --- a/src/lib/components/ShipEdit/Weaponry/index.svelte +++ b/src/lib/components/ShipEdit/Weaponry/index.svelte @@ -4,6 +4,11 @@ + + {#each weapons as weapon (weapon.id)} + + {/each} +