diff --git a/assets/icons/backgrounds/bg1.webp b/assets/icons/backgrounds/bg1.webp new file mode 100644 index 0000000..84144d2 Binary files /dev/null and b/assets/icons/backgrounds/bg1.webp differ diff --git a/assets/icons/backgrounds/bg2.webp b/assets/icons/backgrounds/bg2.webp new file mode 100644 index 0000000..ce83f34 Binary files /dev/null and b/assets/icons/backgrounds/bg2.webp differ diff --git a/assets/icons/backgrounds/bg3.webp b/assets/icons/backgrounds/bg3.webp new file mode 100644 index 0000000..52497e6 Binary files /dev/null and b/assets/icons/backgrounds/bg3.webp differ diff --git a/assets/icons/backgrounds/bg4.webp b/assets/icons/backgrounds/bg4.webp new file mode 100644 index 0000000..2cad1e7 Binary files /dev/null and b/assets/icons/backgrounds/bg4.webp differ diff --git a/assets/icons/backgrounds/bg5.webp b/assets/icons/backgrounds/bg5.webp new file mode 100644 index 0000000..72dec5d Binary files /dev/null and b/assets/icons/backgrounds/bg5.webp differ diff --git a/assets/icons/logo/banner01.webp b/assets/icons/logo/banner01.webp new file mode 100644 index 0000000..deae56f Binary files /dev/null and b/assets/icons/logo/banner01.webp differ diff --git a/assets/icons/logo/banner02.webp b/assets/icons/logo/banner02.webp new file mode 100644 index 0000000..0cc9f58 Binary files /dev/null and b/assets/icons/logo/banner02.webp differ diff --git a/assets/icons/logo/banner03.webp b/assets/icons/logo/banner03.webp new file mode 100644 index 0000000..b809c85 Binary files /dev/null and b/assets/icons/logo/banner03.webp differ diff --git a/assets/icons/logo/banner04.webp b/assets/icons/logo/banner04.webp new file mode 100644 index 0000000..29ce03b Binary files /dev/null and b/assets/icons/logo/banner04.webp differ diff --git a/lang/de.json b/lang/de.json index a9d1480..d93430a 100644 --- a/lang/de.json +++ b/lang/de.json @@ -80,7 +80,9 @@ "midgard5.effects": "Aktive Effekte", "midgard5.kampfkuenste": "Kampfkünste", - "midgard5.class": "Klasse", + "midgard5.actor-name": "Figur", + "midgard5.level": "Grad", + "midgard5.class": "Typ", "midgard5.race": "Rasse", "midgard5.magicUsing": "Zauberkundig", "midgard5.gender": "Geschlecht", diff --git a/source/module/sheets/M5CharacterSheet.ts b/source/module/sheets/M5CharacterSheet.ts index ff225fe..8690943 100644 --- a/source/module/sheets/M5CharacterSheet.ts +++ b/source/module/sheets/M5CharacterSheet.ts @@ -8,7 +8,7 @@ export default class M5CharacterSheet extends ActorSheet { static get defaultOptions() { return mergeObject(super.defaultOptions, { template: "systems/midgard5/templates/sheets/character/main.hbs", - width: 1200, + width: 1000, height: 800, classes: ["midgard5", "sheet", "character"], tabs: [{ navSelector: ".sheet-navigation", contentSelector: ".sheet-content", initial: "base_values" }], diff --git a/source/style/Character-sheet.less b/source/style/Character-sheet.less index a88acb5..5c9fef3 100644 --- a/source/style/Character-sheet.less +++ b/source/style/Character-sheet.less @@ -9,8 +9,28 @@ flex-wrap: wrap } + .flexcolumn { + flex-wrap: wrap; + } + + .flexcolumn-1{ + flex: 100%; + flex-wrap: wrap; + } + .flexcolumn-2 { flex: 50%; + flex-wrap: wrap; + } + + .flexcolumn-4 { + flex: 25%; + flex-wrap: wrap; + } + + .flexcolumn-5 { + flex: 20%; + flex-wrap: wrap; } .flexpart { @@ -46,6 +66,15 @@ color: white; } + .profile-img { + display: block; + margin-left: auto; + margin-right: auto; + height: 100%; + width: auto; + border: 0px solid black; + } + .sheet.character { form { display: flex; @@ -62,12 +91,6 @@ } } - .profile-img { - max-width: 128px; - height: 128px; - border: 0px solid black; - } - .description { flex: 0 0 100%; margin: 0; @@ -100,6 +123,13 @@ table { background-color: beige; border: 0px solid transparent; + &.bordered{ + border-collapse: separate; + border: 2px solid black; + border-radius: 10px; + font-size: larger; + font-weight: bolder; + } } td, @@ -146,6 +176,10 @@ border: 0px solid transparent; } + input { + border: 0px solid black; + } + input.skill { width: 5rem; } diff --git a/templates/sheets/character/gear.hbs b/templates/sheets/character/gear.hbs index 62ab4d2..361bd6d 100644 --- a/templates/sheets/character/gear.hbs +++ b/templates/sheets/character/gear.hbs @@ -28,11 +28,11 @@ {{localize "TYPES.Item.item"}} - {{localize "midgard5.equipped"}} {{localize "midgard5.item-quantity"}} {{localize "midgard5.item-value"}} - - + + +   @@ -43,11 +43,6 @@ {{item.label}} - - {{#if item.equipped}} - - {{/if}} - {{item.quantity}} @@ -58,6 +53,11 @@ {{item.value}} {{localize (m5concat "midgard5.currency-" item.currency)}} {{/unless}} + + {{#if item.equipped}} + + {{/if}} + {{#if item.rollExist}}{{/if}} @@ -75,10 +75,10 @@ {{localize "TYPES.Item.container"}} - {{localize "midgard5.equipped"}} {{localize "midgard5.item-value"}} - - + + +   @@ -89,16 +89,16 @@ {{item.label}} - - {{#if item.equipped}} - - {{/if}} - {{#unless (or (eq item.value 0) (eq item.currency ""))}} {{item.value}} {{localize (m5concat "midgard5.currency-" item.currency)}} {{/unless}} + + {{#if item.equipped}} + + {{/if}} + {{#if item.rollExist}}{{/if}} @@ -114,12 +114,11 @@ {{localize "TYPES.Item.item"}} - {{localize "midgard5.equipped"}} - {{localize "TYPES.Item.container"}} {{localize "midgard5.item-quantity"}} {{localize "midgard5.item-value"}} - - + + +   @@ -131,14 +130,6 @@ {{item.label}} - - {{#if item.equipped}} - - {{/if}} - - - {{localize "TYPES.Item.container"}} - {{item.quantity}} @@ -149,6 +140,11 @@ {{item.value}} {{localize (m5concat "midgard5.currency-" item.currency)}} {{/unless}} + + {{#if item.equipped}} + + {{/if}} + {{#if item.rollExist}}{{/if}} diff --git a/templates/sheets/character/main.hbs b/templates/sheets/character/main.hbs index a250aaa..ecc0c87 100644 --- a/templates/sheets/character/main.hbs +++ b/templates/sheets/character/main.hbs @@ -1,101 +1,116 @@
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Midgard
{{data.calc.level}}
NameGrad
- - - -
{{localize "midgard5.race"}}{{localize "midgard5.class"}}{{localize "midgard5.occupation"}}
{{localize "midgard5.actor-lp-short"}} -
- - {{#times data.lp.max}} - {{#if (lt this ../data.lp.value)}} -
- {{else}} -
- {{/if}} - {{/times}} - -
-
{{localize "midgard5.actor-ap-short"}} -
- - {{#times data.ap.max}} - {{#if (lt this ../data.ap.value)}} -
- {{else}} -
- {{/if}} - {{/times}} - -
-
{{localize "midgard5.actor-st"}}{{localize "midgard5.actor-gs"}}{{localize "midgard5.actor-gw"}}{{localize "midgard5.actor-ko"}}{{localize "midgard5.actor-in"}}{{localize "midgard5.actor-zt"}}{{localize "midgard5.actor-au"}}{{localize "midgard5.actor-pa"}}{{localize "midgard5.actor-wk"}}{{localize "midgard5.actor-git"}}
{{data.calc.attributes.st.value}}{{data.calc.attributes.gs.value}}{{data.calc.attributes.gw.value}}{{data.calc.attributes.ko.value}}{{data.calc.attributes.in.value}}{{data.calc.attributes.zt.value}}{{data.calc.attributes.au.value}}{{data.calc.attributes.pa.value}}{{data.calc.attributes.wk.value}}{{data.calc.stats.poisonResistance.value}}
+
+ + +
+ Midgard +
+ + +
+ + + + + + + + + + +
{{localize "midgard5.actor-name"}}
{{localize "midgard5.class"}}{{localize "midgard5.level"}}{{data.calc.level}}
+ + + + + + + + + + + +
+ + + +
{{localize "midgard5.race"}}{{localize "midgard5.occupation"}}
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
{{localize "midgard5.actor-st"}}{{localize "midgard5.actor-gs"}}{{localize "midgard5.actor-gw"}}{{localize "midgard5.actor-ko"}}{{localize "midgard5.actor-in"}}{{localize "midgard5.actor-zt"}}{{localize "midgard5.actor-au"}}{{localize "midgard5.actor-pa"}}{{localize "midgard5.actor-wk"}}{{localize "midgard5.actor-git"}}
{{data.calc.attributes.st.value}}{{data.calc.attributes.gs.value}}{{data.calc.attributes.gw.value}}{{data.calc.attributes.ko.value}}{{data.calc.attributes.in.value}}{{data.calc.attributes.zt.value}}{{data.calc.attributes.au.value}}{{data.calc.attributes.pa.value}}{{data.calc.attributes.wk.value}}{{data.calc.stats.poisonResistance.value}}
+
+ + +
+ +
+ + +
+ + + + + + + + + +
{{localize "midgard5.actor-lp-short"}} +
+ + {{#times data.lp.max}} + {{#if (lt this ../data.lp.value)}} +
+ {{else}} +
+ {{/if}} + {{/times}} + +
+
{{localize "midgard5.actor-ap-short"}} +
+ + {{#times data.ap.max}} + {{#if (lt this ../data.ap.value)}} +
+ {{else}} +
+ {{/if}} + {{/times}} + +
+
+
{{!-- Character Sheet Navigation --}}