diff --git a/lang/en.json b/lang/en.json index b3d454c..6373ea1 100644 --- a/lang/en.json +++ b/lang/en.json @@ -164,6 +164,11 @@ "BITD.Position": "Position", "BITD.Effect": "Effect", "BITD.Modifier": "Modifier", + + "BITD.Light": "light", + "BITD.Normal": "normal", + "BITD.Encumbered": "encumbered", + "BITD.OverMax": "over max", "BITD.Drain": "Drain", "BITD.Wear": "Wear", diff --git a/module/blades-actor-sheet.js b/module/blades-actor-sheet.js index 7c543ea..2cc6ce7 100644 --- a/module/blades-actor-sheet.js +++ b/module/blades-actor-sheet.js @@ -30,10 +30,10 @@ export class BladesActorSheet extends BladesSheet { data.data.loadout = loadout; // Encumbrance Levels - let load_level=["light","light","light","light","normal","normal","heavy","Encumbered", - "Encumbered","Encumbered","over max"]; - let mule_level=["light","light","light","light","light","light","normal","normal", - "heavy","Encumbered","over max"]; + let load_level=["BITD.Light","BITD.Light","BITD.Light","BITD.Light","BITD.Normal","BITD.Normal","BITD.Heavy","BITD.Encumbered", + "BITD.Encumbered","BITD.Encumbered","BITD.OverMax"]; + let mule_level=["BITD.Light","BITD.Light","BITD.Light","BITD.Light","BITD.Light","BITD.Light","BITD.Normal","BITD.Normal", + "BITD.Heavy","BITD.Encumbered","BITD.OverMax"]; let mule_present=0; //Sanity Check diff --git a/module/blades-crew-sheet.js b/module/blades-crew-sheet.js index e9ae64f..f65a1d0 100644 --- a/module/blades-crew-sheet.js +++ b/module/blades-crew-sheet.js @@ -11,7 +11,7 @@ export class BladesCrewSheet extends BladesSheet { return mergeObject(super.defaultOptions, { classes: ["blades-in-the-dark", "sheet", "actor"], template: "systems/blades-in-the-dark/templates/crew-sheet.html", - width: 930, + width: 940, height: 1020, tabs: [{navSelector: ".tabs", contentSelector: ".tab-content", initial: "turfs"}] }); diff --git a/module/blades-item-sheet.js b/module/blades-item-sheet.js index 4f8073a..884ab7e 100644 --- a/module/blades-item-sheet.js +++ b/module/blades-item-sheet.js @@ -9,7 +9,7 @@ export class BladesItemSheet extends ItemSheet { return mergeObject(super.defaultOptions, { classes: ["blades-in-the-dark", "sheet", "item"], - width: 'auto', + width: 560, height: 'auto', tabs: [{navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description"}] }); diff --git a/scss/style.scss b/scss/style.scss index ed8d73d..a5d607e 100644 --- a/scss/style.scss +++ b/scss/style.scss @@ -80,7 +80,7 @@ $hover-brightness: 0.8; .editor, .editor-content { - min-height: 280px; + min-height: 150px; } .flex-horizontal { @@ -453,10 +453,16 @@ $hover-brightness: 0.8; // Turfs. + #turf-container { + overflow-x: scroll; + overflow-y: clip; + } + #turf-list { display: flex; flex-direction: column; + width: 855px; .turf-row { display: flex; diff --git a/styles/blades.css b/styles/blades.css index 66e6629..b3bee42 100644 --- a/styles/blades.css +++ b/styles/blades.css @@ -74,7 +74,7 @@ } * .editor, * .editor-content { - min-height: 280px; + min-height: 150px; } * .flex-horizontal { display: flex; @@ -693,9 +693,14 @@ * #crew-reputation input[disabled=disabled] + label { background-image: url(assets/teeth/stresstooth-black.png); } +* #turf-container { + overflow-x: scroll; + overflow-y: clip; +} * #turf-list { display: flex; flex-direction: column; + width: 855px; } * #turf-list .turf-row { display: flex; diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html index ad5b882..3af5367 100644 --- a/templates/actor-sheet.html +++ b/templates/actor-sheet.html @@ -272,7 +272,7 @@
@@ -285,7 +285,7 @@ {{!-- Owned Items Tab --}}{{localize "BITD.Loadout"}}: {{data.loadout}}/{{data.load_level}}
+{{localize "BITD.Loadout"}}: {{data.loadout}}/{{localize data.load_level}}
{{localize turf.name}}
{{#if turf.description}} -{{localize turf.description}}
+{{{localize turf.description}}}
{{/if}} {{#noteq id "8"}}