add the hull to the print component
This commit is contained in:
parent
cab1036498
commit
50139bba7c
@ -17,6 +17,7 @@
|
|||||||
export let advanced = false;
|
export let advanced = false;
|
||||||
export let shipMass = 10;
|
export let shipMass = 10;
|
||||||
|
|
||||||
|
// TODO advanced hull?
|
||||||
let nbr_rows;
|
let nbr_rows;
|
||||||
$: nbr_rows = advanced ? 3 : 4;
|
$: nbr_rows = advanced ? 3 : 4;
|
||||||
|
|
||||||
|
@ -3,7 +3,11 @@
|
|||||||
<div class="print-output">
|
<div class="print-output">
|
||||||
<Identification {...identification} />
|
<Identification {...identification} />
|
||||||
|
|
||||||
<div class="section-2" />
|
<Hull
|
||||||
|
shipMass={identification.reqs.mass}
|
||||||
|
advanced={false}
|
||||||
|
rating={structure.hull?.rating}
|
||||||
|
/>
|
||||||
|
|
||||||
<MainSystems {...propulsion} />
|
<MainSystems {...propulsion} />
|
||||||
</div>
|
</div>
|
||||||
@ -11,10 +15,11 @@
|
|||||||
<script>
|
<script>
|
||||||
import Identification from "./Identification.svelte";
|
import Identification from "./Identification.svelte";
|
||||||
import MainSystems from "./MainSystems/index.svelte";
|
import MainSystems from "./MainSystems/index.svelte";
|
||||||
import Hull from "./Hull.svelte";
|
import Hull from "./Hull/index.svelte";
|
||||||
|
|
||||||
export let identification = {};
|
export let identification = {};
|
||||||
export let propulsion = {};
|
export let propulsion = {};
|
||||||
|
export let structure = {};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
Loading…
Reference in New Issue
Block a user