All checks were successful
Release Creation / build (release) Successful in 1m21s
91 lines
2.7 KiB
Handlebars
91 lines
2.7 KiB
Handlebars
<section
|
|
class="starship-main starship-main-{{ifThen isPlayMode 'play' 'edit'}}"
|
|
>
|
|
|
|
<fieldset>
|
|
<legend>{{localize "FTLNOMAD.Label.starship"}}</legend>
|
|
<div class="starship-pc starship-pc-{{ifThen isPlayMode 'play' 'edit'}}">
|
|
<div class="starship-left">
|
|
<div class="starship-left-image">
|
|
<img
|
|
class="starship-img"
|
|
src="{{actor.img}}"
|
|
data-edit="img"
|
|
data-action="editImage"
|
|
data-tooltip="{{actor.name}}"
|
|
/>
|
|
</div>
|
|
<fieldset class="spec">
|
|
{{formField systemFields.agility value=system.agility localize=true}}
|
|
{{formField systemFields.armor value=system.armor localize=true}}
|
|
{{formField
|
|
systemFields.endurance
|
|
value=system.endurance
|
|
localize=true
|
|
}}
|
|
</fieldset>
|
|
|
|
</div>
|
|
|
|
<div class="starship-right">
|
|
<div class="starship-name">
|
|
{{formInput
|
|
fields.name
|
|
value=source.name
|
|
rootId=partId
|
|
disabled=isPlayMode
|
|
}}
|
|
<a
|
|
class="control"
|
|
data-action="toggleSheet"
|
|
data-tooltip="FTLNOMAD.ToggleSheet"
|
|
data-tooltip-direction="UP"
|
|
>
|
|
<i class="fa-solid fa-user-{{ifThen isPlayMode 'lock' 'pen'}}"></i>
|
|
</a>
|
|
</div>
|
|
|
|
<fieldset class="capacity">
|
|
<legend>{{localize "FTLNOMAD.Label.capacity"}}</legend>
|
|
<div class="flexrow">
|
|
{{formField
|
|
systemFields.hullType
|
|
value=system.hullType
|
|
localize=true
|
|
}}
|
|
{{formField systemFields.cost value=system.cost localize=true}}
|
|
|
|
</div>
|
|
<div class="flexrow">
|
|
{{formField
|
|
systemFields.travelMultiplier
|
|
value=system.travelMultiplier
|
|
localize=true
|
|
}}
|
|
{{formField
|
|
systemFields.monthlyCost
|
|
value=system.monthlyCost
|
|
localize=true
|
|
}}
|
|
</div>
|
|
|
|
<div class="flexrow-guns rollable" data-roll-type="starship-guns">
|
|
<i class="fa-regular fa-dice dice-2d6"></i>
|
|
{{formField systemFields.guns value=system.guns localize=true}}
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
<fieldset class="cargo">
|
|
<legend>{{localize "FTLNOMAD.Label.cargo"}}</legend>
|
|
<div class="flexrow">
|
|
{{formField systemFields.crew value=system.crew localize=true}}
|
|
{{formField systemFields.cargo value=system.cargo localize=true}}
|
|
</div>
|
|
</fieldset>
|
|
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
|
|
</section> |