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

35 lines
628 B
Svelte
Raw Normal View History

2020-07-29 18:05:55 +00:00
<div>
<Identification {...ship.general} />
2020-07-29 20:09:05 +00:00
<Armour armour={ship.structure.armour} />
2020-07-29 19:56:19 +00:00
<Integrity
rating={ship.structure.hull.rating}
advanced={ship.structure.hull.advanced}
ship_mass={ship.general.mass}
/>
2020-07-29 20:39:20 +00:00
<MainSystems
ftl={ship.ftl.type}
engine={ship.engine.rating}
/>
2020-07-29 18:05:55 +00:00
</div>
<script>
import Identification from './Identification';
2020-07-29 19:56:19 +00:00
import Integrity from './Hull/Integrity';
2020-07-29 20:09:05 +00:00
import Armour from './Hull/Armour';
2020-07-29 20:39:20 +00:00
import MainSystems from './MainSystems';
2020-07-29 18:05:55 +00:00
export let ship;
</script>
<style>
div {
width: 4.25in;
height: 5.5in;
border: 1px solid black;
padding: 1em;
}
</style>