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';
|
|
|
|
|
2020-07-29 18:05:55 +00:00
|
|
|
import Identification from './Identification';
|
2020-07-29 20:39:20 +00:00
|
|
|
import MainSystems from './MainSystems';
|
2020-07-29 23:17:25 +00:00
|
|
|
import Hull from './Hull';
|
2020-07-29 21:08:52 +00:00
|
|
|
import Weapons from './Weapons';
|
2020-07-29 23:17:25 +00:00
|
|
|
import Systems from './Systems';
|
|
|
|
|
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>
|