diff --git a/assets/images/avatars/vermine-clint.png b/assets/images/avatars/vermine-clint.png new file mode 100644 index 0000000..14e2c8c Binary files /dev/null and b/assets/images/avatars/vermine-clint.png differ diff --git a/css/style.css b/css/style.css index 145b957..95a97a3 100644 --- a/css/style.css +++ b/css/style.css @@ -293,6 +293,14 @@ .totem .sheet-body .tab .editor { height: 100%; } +.totem .sheet-body .editor { + min-height:75px; + margin-bottom:1rem; +} + +.totem editor:hover .editor-edit { + display: block; +} .totem .tox .tox-editor-container { background: #fff; } diff --git a/css/totem.css b/css/totem.css index e220bc1..c38f4e3 100644 --- a/css/totem.css +++ b/css/totem.css @@ -52,7 +52,8 @@ ul.unstyled li { } .padding-with-frieze { - margin: 0 23% !important; + margin-left:18% !important; + margin-right:10% !important; } .padding-with-frieze li { @@ -91,11 +92,7 @@ ul.unstyled li { } .actor.sheet .form aside { - display: flex; grid-row: span 1 / span 1; - flex-direction: column; - justify-content: space-between; - align-items: center; background-image: url(/systems/totem/assets/images/ui/barre_lateral.webp); background-repeat: no-repeat; background-position: bottom center; @@ -106,6 +103,23 @@ ul.unstyled li { grid-row: span 1 / span 1; } +.actor.sheet .form aside .image-wrapper { + margin: 1rem auto 3rem; + text-align: center; +} +.actor.sheet .form aside .image-wrapper img { + width:170px; + height:145px; +} +.actor.sheet .form aside .paper { + margin-top: 1rem; + height: 350px; +} +.actor.sheet .form aside .second-paper { + margin-top: 4rem; + height: 150px; +} + .actor.sheet .form h3 { font-family: "DistressBlack", sans-serif; text-align: center; @@ -137,10 +151,13 @@ ul.unstyled li { .system-totem .sheet.actor .sheet-body { height: calc(100% - 35px); - overflow: hidden; + overflow-y: auto; + overflow-x: hidden; display: flex; flex-direction: column; flex-wrap: nowrap; + max-height: 720px; + padding-bottom:1rem; } .system-totem .sheet.actor form { width: 100%; diff --git a/lang/en.json b/lang/en.json index 56db96f..59e0efc 100644 --- a/lang/en.json +++ b/lang/en.json @@ -121,8 +121,8 @@ "animal": { "name": "L'Animal" }, "tool": { "name": "L'Outil" }, "weapon": { "name": "L'Arme" }, - "survival": { "name": "Les Terres Sauvages" }, - "world": { "name": "L'Inconnu" } + "survival": { "name": "La Survie" }, + "world": { "name": "La Terre" } }, "SKILLS": { "arts": { "name": "Arts"}, diff --git a/system.json b/system.json index 07b2c6a..75b6e42 100644 --- a/system.json +++ b/system.json @@ -2,7 +2,7 @@ "id": "totem", "title": "Totem", "description": "The Totem system for FoundryVTT!", - "version": "0.0.8", + "version": "0.0.9", "compatibility": { "minimum": 10, "verified": "10.287", diff --git a/templates/actor/actor-character-sheet.html b/templates/actor/actor-character-sheet.html index e312e99..54cf791 100644 --- a/templates/actor/actor-character-sheet.html +++ b/templates/actor/actor-character-sheet.html @@ -44,9 +44,8 @@ {{> "systems/totem/templates/actor/parts/character-features.hbs"}} -
+

Totem

- {{> "systems/totem/templates/actor/parts/actor-totem.hbs"}}
@@ -61,11 +60,19 @@
-

Histoire

-
- - {{editor system.stories.biography target="system.stories.biography" button=true owner=owner editable=editable}} -
+

Histoire

+

{{ localize 'IDENTITY.theme'}}

+ {{editor system.identity.theme target="system.identity.theme" button=true owner=owner}} +

{{ localize 'IDENTITY.instincts'}}

+ {{editor system.identity.instincts target="system.identity.instincts" button=true owner=owner editable=editable}} +

{{ localize 'IDENTITY.prohibits'}}

+ {{editor system.identity.prohibits target="system.identity.prohibits" button=true owner=owner editable=editable}} +

{{ localize 'IDENTITY.objectives'}}

+ {{editor system.identity.objectives target="system.identity.objectives" button=true owner=owner editable=editable}} +

{{ localize 'IDENTITY.relations'}}

+ {{editor system.identity.relations target="system.identity.relations" button=true owner=owner editable=editable}} +

{{ localize 'IDENTITY.biography'}}

+ {{editor system.identity.biography target="system.identity.biography" button=true owner=owner editable=editable}}
diff --git a/templates/actor/parts/actor-id.hbs b/templates/actor/parts/actor-id.hbs index 3f42bf3..6faeab6 100644 --- a/templates/actor/parts/actor-id.hbs +++ b/templates/actor/parts/actor-id.hbs @@ -1,11 +1,7 @@ - + {{#if system.identity.relations}} + + {{/if}}