aotds-docks/src/components/Output/Print/index.svelte

54 lines
963 B
Svelte
Raw Normal View History

2020-07-30 00:29:21 +00:00
<aside class="ship-sheet" transition:fade>
2020-07-29 18:05:55 +00:00
<Identification {...ship.general} />
2020-07-29 20:09:05 +00:00
2020-07-29 21:08:52 +00:00
<Weapons weapons={ship.weaponry.weapons} />
2020-07-29 23:17:25 +00:00
<div class="section-2">
<Hull structure={ship.structure}
ship_mass={ship.general.mass} />
<Systems
firecons={ship.weaponry.firecons.nbr}
screens={ship.structure.screens}
2020-07-29 19:56:19 +00:00
/>
2020-07-29 23:17:25 +00:00
</div>
2020-07-29 20:39:20 +00:00
<MainSystems
ftl={ship.ftl.type}
engine={ship.engine.rating}
/>
2020-07-30 00:29:21 +00:00
</aside>
2020-07-29 18:05:55 +00:00
<script>
2020-07-29 23:17:25 +00:00
import _ from 'lodash';
2021-05-17 13:48:31 +00:00
import Identification from './Identification/index.svelte';
import MainSystems from './MainSystems/index.svelte';
import Hull from './Hull/index.svelte';
import Weapons from './Weapons/index.svelte';
import Systems from './Systems/index.svelte';
2020-07-29 23:17:25 +00:00
2020-07-29 18:05:55 +00:00
export let ship;
2020-07-30 00:29:21 +00:00
import { fly, fade } from 'svelte/transition';
2020-07-29 18:05:55 +00:00
</script>
<style>
2020-07-29 23:17:25 +00:00
.ship-sheet {
2020-07-29 18:05:55 +00:00
width: 4.25in;
height: 5.5in;
border: 1px solid black;
padding: 1em;
}
2020-07-29 23:17:25 +00:00
.section-2 {
display: flex;
align-items: start;
}
2020-07-29 18:05:55 +00:00
</style>