Skip to content

Commit 192f507

Browse files
committed
v9 prototype 2 compat
1 parent 9a764a8 commit 192f507

13 files changed

+188
-25
lines changed

Diff for: README.md

+6
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ This system provides character sheets and items for your play, if you would lik
3434
[GNU General Public License v3.0](https://choosealicense.com/licenses/gpl-3.0/)
3535

3636
## Release Notes
37+
38+
v2.2.17
39+
- Finally (fingers crossed) squished the css graphical glitch on headers
40+
- verified v9 compatibility for v9 224
41+
- updated spanish localization
42+
3743
v2.2.16
3844
- BUGFIX: [#24 Chat Display Defaults all Weapons to "Close Combat"](https://github.com/fvtt-fria-ligan/vaesen-foundry-vtt/issues/24)
3945

Diff for: less/actor.less

+12-5
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,31 @@
11
@import "./config.less";
22
@import "./common.less";
33

4-
5-
.vaesen {
6-
4+
.vaesen{
75
// character sheet elements
86
.player {
97
background: #f9f8f6;
108
margin: -0px;
119
margin-right: 0px;
1210
padding: 8px;
1311
font-size: 0.94em;
14-
12+
.armors{
13+
.scrollable {
14+
height: fit-content;
15+
}
16+
.armor img.icon {
17+
border: 0;
18+
width: 25px;
19+
height: 25px;
20+
}
21+
}
1522
.motivation, .trauma, .dark-secret, .advantage, .memento{
1623
width: 100%;
1724
}
1825
.sheet-body {
1926
overflow: auto;
2027
flex-grow: 1;
21-
height: 500px;
28+
2229
}
2330
.name input{
2431
color: @primary-color;

Diff for: less/common.less

+4-3
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ h2.module-header{
219219

220220
.vaesen p{
221221
margin: 0px;
222+
padding-bottom: 4px;
222223
}
223224

224225

@@ -508,7 +509,7 @@ img{
508509
padding: 0px;
509510
border: 7px solid transparent;
510511
border-image: url(/systems/vaesen/asset/scooped_corners.svg) round;
511-
border-image-slice: 33% fill;
512+
border-image-slice: 58 fill;
512513
color: @primary-color;
513514
margin-left: 1px;
514515
margin-right: 3px;
@@ -542,7 +543,7 @@ img{
542543
font-family: Lin, sans-serif;
543544
border: 7px solid transparent;
544545
border-image: url(/systems/vaesen/asset/scooped_corners.svg) round;
545-
border-image-slice: 37% fill;
546+
border-image-slice: 58 fill;
546547
background-color: transparent;
547548
margin-top: 3px;
548549
}
@@ -552,7 +553,7 @@ img{
552553
font-family: Lin, sans-serif;
553554
border: 7px solid transparent;
554555
border-image: url(/systems/vaesen/asset/scooped_corners.svg) round;
555-
border-image-slice: 37% fill;
556+
border-image-slice: 58 fill;
556557
background-color: transparent;
557558
margin-top: 3px;
558559
}

Diff for: less/dialog.less

+22
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,31 @@
1212
}
1313

1414
.vaesen{
15+
16+
.roll-dialog {
17+
display: flex;
18+
flex-direction: row;
19+
flex-wrap: wrap;
20+
align-items: center;
21+
}
22+
1523
.roll-fields{
24+
display: flex;
25+
flex-direction: column;
26+
flex-wrap: wrap;
27+
width: 100%;
28+
text-align: center;
29+
align-items: center;
1630
.title{
1731
border-image-slice: 34% fill;
1832
}
33+
input {
34+
background-color: #e7e7e7;
35+
border-color: #826657;
36+
flex-basis: 35px;
37+
margin-bottom: 5px;
38+
}
1939
}
2040
}
41+
42+

Diff for: less/item.less

+57-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,60 @@
77
margin: -10px;
88
padding: 8px;
99
}
10-
}
10+
11+
.armors .armor{
12+
background: none;
13+
margin: 0px;
14+
padding: 0px;
15+
}
16+
}
17+
18+
.vaseen.item {
19+
20+
.attack{
21+
.icon {
22+
border: 1px dashed #826657;
23+
border-radius: 10px;
24+
margin-right: 5px;
25+
}
26+
.name {
27+
flex-basis: 51%;
28+
}
29+
.attribute {
30+
flex-basis: 33%;
31+
}
32+
.damage {
33+
flex-basis: 50%;
34+
}
35+
.range {
36+
flex-basis: 50%;
37+
}
38+
.description {
39+
flex-basis: 100%;
40+
textarea {
41+
height: 187px;
42+
resize: none;
43+
}
44+
}
45+
}
46+
47+
.armor {
48+
.name {
49+
flex-basis: 80%;
50+
}
51+
.protection {
52+
flex-basis: 30%;
53+
54+
}
55+
.agility {
56+
flex-basis: 30%;
57+
}
58+
.availability {
59+
flex-basis: 30%;
60+
}
61+
62+
}
63+
64+
}
65+
66+

Diff for: model/player.html

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<div class="player flex column">
33
<div class="header flex row margin align-center">
44
<div class="flex column heavy-border portrait">
5+
56
<div class="name">
67
<input name="name" type="text" value="{{actor.name}}" style="width: 97%; height: auto;"/>
78
</div>

Diff for: script/sheet/headquarter.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export class HeadquarterCharacterSheet extends ActorSheet {
88
template: "systems/vaesen/model/headquarter.html",
99
width: 900,
1010
height: 750,
11-
resizable: false,
11+
resizable: true,
1212
tabs: [{navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "upgrades"}]
1313
});
1414
}

Diff for: script/sheet/npc.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ export class NpcCharacterSheet extends ActorSheet {
1313
classes: ["vaesen", "sheet", "actor"],
1414
template: "systems/vaesen/model/npc.html",
1515
width: 750,
16-
height: 748,
17-
resizable: false,
16+
height: 800,
17+
resizable: true,
1818
tabs: [{navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "main"}]
1919
});
2020
}

Diff for: script/sheet/player.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class PlayerCharacterSheet extends ActorSheet {
1717
template: "systems/vaesen/model/player.html",
1818
width: 750,
1919
height: 930,
20-
resizable: false,
20+
resizable: true,
2121
tabs: [{navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "main"}]
2222
});
2323
}

Diff for: script/sheet/vaesen.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ export class VaesenCharacterSheet extends ActorSheet {
1313
classes: ["vaesen", "sheet", "actor"],
1414
template: "systems/vaesen/model/vaesen.html",
1515
width: 750,
16-
height: 748,
17-
resizable: false,
16+
height: 800,
17+
resizable: true,
1818
tabs: [{navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "main"}]
1919
});
2020
}

Diff for: style/common.css

+5-4
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
.vaesen .sheet-body {
183183
overflow: hidden;
184184
flex-grow: 1;
185-
height: 500px;
185+
186186
}
187187

188188
.vaesen .sheet-tabs {
@@ -289,6 +289,7 @@
289289

290290
.vaesen p{
291291
margin: 0px;
292+
padding-bottom: 4px;
292293
}
293294

294295

@@ -538,7 +539,7 @@ border: none;
538539
padding: 0px;
539540
border: 7px solid transparent;
540541
border-image: url(/systems/vaesen/asset/scooped_corners.svg) round;
541-
border-image-slice: 33% fill;
542+
border-image-slice: 58 fill;
542543

543544
margin-left: 1px;
544545
margin-right: 3px;
@@ -565,7 +566,7 @@ border: none;
565566
font-family: Lin, sans-serif;
566567
border: 7px solid transparent;
567568
border-image: url(/systems/vaesen/asset/scooped_corners.svg) round;
568-
border-image-slice: 33% fill;
569+
border-image-slice: 58 fill;
569570
background-color: transparent;
570571
margin-top: 3px;
571572
}
@@ -575,7 +576,7 @@ border: none;
575576
font-family: Lin, sans-serif;
576577
border: 7px solid transparent;
577578
border-image: url(/systems/vaesen/asset/scooped_corners.svg) round;
578-
border-image-slice: 34% fill;
579+
border-image-slice: 58 fill;
579580
background-color: transparent;
580581
margin-top: 3px;
581582
}

Diff for: system.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"name": "vaesen",
44
"title": "Vaesen",
55
"description": "Nordic horror role-playing",
6-
"version": "2.2.16",
6+
"version": "2.2.17",
77
"minimumCoreVersion": "0.8.6",
8-
"compatibleCoreVersion": "0.8.9",
8+
"compatibleCoreVersion": "9.224",
99
"templateVersion": 2,
1010
"author": "perfectro, Dr Ogres, fvtt-fria-ligan",
1111
"scripts": [],

0 commit comments

Comments
 (0)