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

45 lines
974 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">
2022-03-01 17:42:33 +00:00
<Hull structure={ship.structure} ship_mass={ship.general.mass} />
2020-07-29 23:17:25 +00:00
2022-03-01 17:42:33 +00:00
<Systems
firecons={ship.weaponry.firecons.nbr}
screens={ship.structure.screens}
/>
</div>
2020-07-29 20:39:20 +00:00
2022-03-01 17:42:33 +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>
2022-03-01 17:42:33 +00:00
import _ from "lodash";
2020-07-29 23:17:25 +00:00
2022-03-01 17:42:33 +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;
2022-03-01 17:42:33 +00:00
import { fly, fade } from "svelte/transition";
2020-07-29 18:05:55 +00:00
</script>
<style>
2022-03-01 17:42:33 +00:00
.ship-sheet {
width: 4.25in;
height: 5.5in;
border: 1px solid black;
padding: 1em;
}
.section-2 {
display: flex;
align-items: start;
}
2020-07-29 18:05:55 +00:00
</style>