Skip to content

Commit

Permalink
feat(item): improve attachments
Browse files Browse the repository at this point in the history
* port changes to vehicle stuff

#1215
  • Loading branch information
wrycu committed Jan 13, 2025
1 parent 8540c65 commit ae745e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion styles/mandar.css
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ img {
height: calc(100% - 40rem);
}
.starwarsffg.sheet.v2 .sheet-body.shipweapon {
height: calc(100% - 35rem);
height: calc(100% - 27rem);
}

.starwarsffg.sheet .sheet-body.itemattachment {
Expand Down
7 changes: 3 additions & 4 deletions templates/items/ffg-shipweapon-sheet.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,6 @@ <h1 class="charname"><input name="name" type="text" value="{{item.name}}" placeh
<input type="text" name="data.encumbrance.adjusted" value="{{data.encumbrance.adjusted}}" data-dtype="Number" />
<input type="text" name="data.range.adjusted" value="{{data.range.adjusted}}" data-dtype="String" />
</div>

<div class="container flex-group-center weapon-values">
{{> "systems/starwarsffg/templates/parts/shared/ffg-block.html" (object blocktype="pills" title="SWFFG.ItemQualities" name="itemmodifier" fields=data.adjusteditemmodifier)}} {{> "systems/starwarsffg/templates/parts/shared/ffg-block.html" (object blocktype="pills" title="SWFFG.ItemAttachments" name="itemattachment" fields=data.itemattachment)}}
</div>
</div>
</div>
</div>
Expand All @@ -108,6 +104,9 @@ <h1 class="charname"><input name="name" type="text" value="{{item.name}}" placeh

{{!-- Modifiers Tab --}}
<div class="tab attributes" data-group="primary" data-tab="attributes">
<div class="attachments items">
{{> "systems/starwarsffg/templates/parts/ffg-qualities-attachments-mods.html"}}
</div>
{{> "systems/starwarsffg/templates/parts/shared/ffg-modifiers.html"}}
</div>
<div class="tab configuration" data-group="primary" data-tab="configuration">
Expand Down

0 comments on commit ae745e7

Please sign in to comment.