diff --git a/fonts/Ciutadella-Medium.otf b/fonts/Ciutadella-Medium.otf
new file mode 100644
index 0000000..6100843
Binary files /dev/null and b/fonts/Ciutadella-Medium.otf differ
diff --git a/fonts/Ciutadella-Medium.ttf b/fonts/Ciutadella-Medium.ttf
new file mode 100644
index 0000000..d46f42c
Binary files /dev/null and b/fonts/Ciutadella-Medium.ttf differ
diff --git a/fonts/UniversLTStd-Cn.otf b/fonts/UniversLTStd-Cn.otf
new file mode 100644
index 0000000..a8b89a0
Binary files /dev/null and b/fonts/UniversLTStd-Cn.otf differ
diff --git a/fonts/UniversLTStd-Cn.ttf b/fonts/UniversLTStd-Cn.ttf
new file mode 100644
index 0000000..69e3787
Binary files /dev/null and b/fonts/UniversLTStd-Cn.ttf differ
diff --git a/fonts/middlesaxonytext.ttf b/fonts/middlesaxonytext.ttf
deleted file mode 100755
index ceb8483..0000000
Binary files a/fonts/middlesaxonytext.ttf and /dev/null differ
diff --git a/fonts/zag_bold.otf b/fonts/zag_bold.otf
deleted file mode 100755
index 4088867..0000000
Binary files a/fonts/zag_bold.otf and /dev/null differ
diff --git a/fonts/zag_regular.otf b/fonts/zag_regular.otf
deleted file mode 100755
index 0574594..0000000
Binary files a/fonts/zag_regular.otf and /dev/null differ
diff --git a/images/icons/Sans_titre_-_1-02.svg b/images/icons/Sans_titre_-_1-02.svg
new file mode 100644
index 0000000..0b7bf4d
--- /dev/null
+++ b/images/icons/Sans_titre_-_1-02.svg
@@ -0,0 +1,44 @@
+
+
+
diff --git a/images/icons/Sans_titre_-_1-03.svg b/images/icons/Sans_titre_-_1-03.svg
new file mode 100644
index 0000000..6f75e3f
--- /dev/null
+++ b/images/icons/Sans_titre_-_1-03.svg
@@ -0,0 +1,37 @@
+
+
+
diff --git a/images/icons/Sans_titre_-_1-04.svg b/images/icons/Sans_titre_-_1-04.svg
new file mode 100644
index 0000000..bfdb29d
--- /dev/null
+++ b/images/icons/Sans_titre_-_1-04.svg
@@ -0,0 +1,43 @@
+
+
+
diff --git a/images/icons/Sans_titre_-_1-05.svg b/images/icons/Sans_titre_-_1-05.svg
new file mode 100644
index 0000000..be4710e
--- /dev/null
+++ b/images/icons/Sans_titre_-_1-05.svg
@@ -0,0 +1,37 @@
+
+
+
diff --git a/images/icons/Sans_titre_-_1-06.svg b/images/icons/Sans_titre_-_1-06.svg
new file mode 100644
index 0000000..92f921f
--- /dev/null
+++ b/images/icons/Sans_titre_-_1-06.svg
@@ -0,0 +1,55 @@
+
+
+
diff --git a/images/icons/ame.webp b/images/icons/ame.webp
new file mode 100644
index 0000000..96f7217
Binary files /dev/null and b/images/icons/ame.webp differ
diff --git a/images/icons/ame_transparent.webp b/images/icons/ame_transparent.webp
new file mode 100644
index 0000000..367c6b4
Binary files /dev/null and b/images/icons/ame_transparent.webp differ
diff --git a/images/icons/archetype.svg b/images/icons/archetype.svg
new file mode 100644
index 0000000..2b1eaec
--- /dev/null
+++ b/images/icons/archetype.svg
@@ -0,0 +1,47 @@
+
+
+
diff --git a/images/icons/archetype.webp b/images/icons/archetype.webp
new file mode 100644
index 0000000..30f78d9
Binary files /dev/null and b/images/icons/archetype.webp differ
diff --git a/images/icons/archetype2.png b/images/icons/archetype2.png
new file mode 100644
index 0000000..c353c18
Binary files /dev/null and b/images/icons/archetype2.png differ
diff --git a/images/icons/archetype2.svg b/images/icons/archetype2.svg
new file mode 100644
index 0000000..86c2a5d
--- /dev/null
+++ b/images/icons/archetype2.svg
@@ -0,0 +1,153 @@
+
+
+
+
diff --git a/images/icons/archetype_transparent.webp b/images/icons/archetype_transparent.webp
new file mode 100644
index 0000000..a8d7f76
Binary files /dev/null and b/images/icons/archetype_transparent.webp differ
diff --git a/images/icons/capacite_transparent.webp b/images/icons/capacite_transparent.webp
new file mode 100644
index 0000000..43ee32b
Binary files /dev/null and b/images/icons/capacite_transparent.webp differ
diff --git a/images/icons/entropie.webp b/images/icons/entropie.webp
new file mode 100644
index 0000000..8f755fc
Binary files /dev/null and b/images/icons/entropie.webp differ
diff --git a/images/icons/nature.webp b/images/icons/nature.webp
new file mode 100644
index 0000000..b8051af
Binary files /dev/null and b/images/icons/nature.webp differ
diff --git a/images/icons/nature_transparent.webp b/images/icons/nature_transparent.webp
new file mode 100644
index 0000000..bcb7845
Binary files /dev/null and b/images/icons/nature_transparent.webp differ
diff --git a/images/icons/paradigme.webp b/images/icons/paradigme.webp
new file mode 100644
index 0000000..3cc3da8
Binary files /dev/null and b/images/icons/paradigme.webp differ
diff --git a/images/icons/paradigme_transparent.webp b/images/icons/paradigme_transparent.webp
new file mode 100644
index 0000000..b56b676
Binary files /dev/null and b/images/icons/paradigme_transparent.webp differ
diff --git a/images/icons/ressources.webp b/images/icons/ressources.webp
new file mode 100644
index 0000000..d7cbb58
Binary files /dev/null and b/images/icons/ressources.webp differ
diff --git a/images/ui/logo_imperium5.webp b/images/ui/logo_imperium5.webp
new file mode 100644
index 0000000..42908ba
Binary files /dev/null and b/images/ui/logo_imperium5.webp differ
diff --git a/modules/imperium5-actor-sheet.js b/modules/imperium5-actor-sheet.js
index c1faf56..d7bd0e5 100644
--- a/modules/imperium5-actor-sheet.js
+++ b/modules/imperium5-actor-sheet.js
@@ -15,7 +15,7 @@ export class Imperium5ActorSheet extends ActorSheet {
return mergeObject(super.defaultOptions, {
classes: ["fvtt-imperium5", "sheet", "actor"],
template: "systems/fvtt-imperium5/templates/actor-sheet.html",
- width: 920,
+ width: 800,
height: 720,
tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "combat" }],
dragDrop: [{ dragSelector: ".item-list .item", dropSelector: null }],
@@ -41,6 +41,13 @@ export class Imperium5ActorSheet extends ActorSheet {
archetype: this.actor.getArchetype(),
specialites: this.actor.getSpecialites(),
familiarites: this.actor.getFamiliarites(),
+ nature: this.actor.getNatureProfonde(),
+ traits: this.actor.getTraits(),
+ symbioses: this.actor.getSymbioses(),
+ equipements: this.actor.getEquipements(),
+ capacites: this.actor.getCapacites(),
+ singularites: this.actor.getSingularites(),
+ contacts: this.actor.getContacts(),
effects: this.object.effects.map(e => foundry.utils.deepClone(e.data)),
limited: this.object.limited,
options: this.options,
diff --git a/modules/imperium5-actor.js b/modules/imperium5-actor.js
index 14515d8..29b6dca 100644
--- a/modules/imperium5-actor.js
+++ b/modules/imperium5-actor.js
@@ -79,6 +79,34 @@ export class Imperium5Actor extends Actor {
let item = duplicate(this.data.items.filter( it => it.type == "familiarite") || [] )
return item
}
+ getNatureProfonde() {
+ let item = duplicate( this.data.items.find( it => it.type == "nature") || [])
+ return item
+ }
+ getTraits() {
+ let item = duplicate(this.data.items.filter( it => it.type == "trait") || [] )
+ return item
+ }
+ getSymbioses() {
+ let item = duplicate(this.data.items.filter( it => it.type == "symbiose") || [] )
+ return item
+ }
+ getEquipements() {
+ let item = duplicate(this.data.items.filter( it => it.type == "equipement") || [] )
+ return item
+ }
+ getCapacites() {
+ let item = duplicate(this.data.items.filter( it => it.type == "capacite") || [] )
+ return item
+ }
+ getSingularites(){
+ let item = duplicate(this.data.items.filter( it => it.type == "singularite") || [] )
+ return item
+ }
+ getContacts(){
+ let item = duplicate(this.data.items.filter( it => it.type == "contact") || [] )
+ return item
+ }
/* -------------------------------------------- */
getItemById(id) {
diff --git a/modules/imperium5-item.js b/modules/imperium5-item.js
index bd61122..8338fc5 100644
--- a/modules/imperium5-item.js
+++ b/modules/imperium5-item.js
@@ -1,6 +1,11 @@
export const defaultItemImg = {
- archetype: "systems/fvtt-imperium5/images/icons/archetype.webp",
+ archetype: "systems/fvtt-imperium5/images/icons/archetype_transparent.webp",
+ familiarite: "systems/fvtt-imperium5/images/icons/archetype_transparent.webp",
+ specialite: "systems/fvtt-imperium5/images/icons/archetype_transparent.webp",
+ nature: "systems/fvtt-imperium5/images/icons/nature_transparent.webp",
+ trait: "systems/fvtt-imperium5/images/icons/nature_transparent.webp",
+ symbiose: "systems/fvtt-imperium5/images/icons/nature_transparent.webp",
}
/**
diff --git a/styles/simple.css b/styles/simple.css
index b57faec..581309d 100644
--- a/styles/simple.css
+++ b/styles/simple.css
@@ -1,5 +1,13 @@
/* ==================== (A) Fonts ==================== */
-
+ @font-face {
+ font-family: "ciutadella";
+ src: url('../fonts/Ciutadella-Medium.ttf') format('ttf');
+ }
+ @font-face {
+ font-family: "univers";
+ src: url('../fonts/UniversLTStd-Cn.ttf') format('ttf');
+ }
+
:root {
/* =================== 1. ACTOR SHEET FONT STYLES =========== */
--window-header-title-font-size: 1.3rem;
@@ -36,11 +44,17 @@
/*@import url("https://fonts.googleapis.com/css2?family=Martel:wght@400;800&family=Roboto:wght@300;400;500&display=swap");*/
/* Global styles & Font */
.window-app {
+ font-family: "univers";
text-align: justify;
font-size: 16px;
letter-spacing: 1px;
}
+.title-font {
+ font-family: "ciutadella";
+ font-size: 1.1rem;
+}
+
/* Fonts */
.sheet header.sheet-header h1 input, .window-app .window-header, #actors .directory-list, #navigation #scene-list .scene.nav-item {
font-size: 1.0rem;
@@ -53,7 +67,7 @@
}
.window-header{
- background: rgba(0,0,0,0.75);
+ /*background: rgba(0,0,0,0.75);*/
}
.window-app.sheet .window-content {
@@ -217,9 +231,10 @@ table {border: 1px solid #7a7971;}
-webkit-box-flex: 0;
-ms-flex: 0 0 128px;
flex: 0 0 128px;
- width: 64px;
+ width: 48px;
height: auto;
- max-height:128px;
+ min-height:48px;
+ max-height:96px;
margin-top: 0px;
margin-right: 10px;
margin-right: 10px;
@@ -388,7 +403,7 @@ table {border: 1px solid #7a7971;}
.window-app.sheet .window-content .sheet-header input[type="text"], .window-app.sheet .window-content .sheet-header input[type="number"], .window-app.sheet .window-content .sheet-header input[type="password"], .window-app.sheet .window-content .sheet-header input[type="date"], .window-app.sheet .window-content .sheet-header input[type="time"] {
color: rgba(36, 37, 37, 0.75);
- background: rgba(245, 245, 241, 0.95);
+ background: white; /*rgba(245, 245, 241, 0.95);*/
border: 1 none;
margin-bottom: 0.25rem;
margin-left: 2px;
@@ -396,7 +411,8 @@ table {border: 1px solid #7a7971;}
.window-app.sheet .window-content .sheet-body input[type="text"], .window-app.sheet .window-content .sheet-body input[type="number"], .window-app.sheet .window-content .sheet-body input[type="password"], .window-app.sheet .window-content .sheet-body input[type="date"], .window-app.sheet .window-content .sheet-body input[type="time"] {
color: rgba(36, 37, 37, 0.75);
- background: rgba(245, 245, 241, 0.95);
+ background: white;
+ /*background: rgba(245, 245, 241, 0.95);*/
border: 1 none;
margin-bottom: 0.25rem;
margin-left: 2px;
@@ -404,7 +420,8 @@ table {border: 1px solid #7a7971;}
.window-app.sheet .window-content .sheet-body select, .window-app.sheet .window-content .sheet-header select {
color: rgba(36, 37, 37, 0.75);
- background: rgba(245, 245, 241, 0.95);
+ background: white;
+ /*background: rgba(245, 245, 241, 0.95);*/
border: 1 none;
margin-bottom: 0.25rem;
margin-left: 2px;
@@ -412,7 +429,8 @@ table {border: 1px solid #7a7971;}
.window-app .window-content, .window-app.sheet .window-content .sheet-body{
font-size: 0.8rem;
- background: rgba(245,245,240,0.6);
+ background: white;
+ /*background: rgba(245,245,240,0.6);*/
/*background: url("../images/ui/pc_sheet_bg.webp") repeat left top;.*/
}
@@ -438,7 +456,8 @@ section.sheet-body{padding: 0.25rem 0.5rem;}
line-height: 1.5rem;
border-top: 0 none;
border-bottom: 0 none;
- background-color:black;
+ border-right: 0 none;
+ background-color:#B8A799F0;
color:beige;
}
@@ -456,7 +475,7 @@ nav.sheet-tabs .item:after {
right: 0;
height: 2rem;
width: 1px;
- border-right: 1px dashed rgba(52, 52, 52, 0.25);
+ /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/
}
.sheet .tab[data-tab] {
@@ -509,8 +528,8 @@ ul, li {
}
.sheet li {
- margin: 0.010rem;
- padding: 0.25rem;
+ /*margin: 0.010rem;*/
+ /*padding: 0.25rem;*/
}
.header-fields li {
margin: 0;
@@ -545,7 +564,7 @@ ul, li {
display: flex !important;
}
.list-item-shadow {
- background:rgba(87, 60, 32, 0.35);
+ background:rgba(151, 103, 52, 0.35);
flex-grow: 0;
flex-wrap: nowrap;
justify-content: flex-start;
@@ -607,7 +626,6 @@ ul, li {
.devotion-label,
.sort-label,
.technique-label,
-.ame-label,
.arme-label,
.armure-label,
.equipement-label,
@@ -615,6 +633,11 @@ ul, li {
flex-grow: 2;
margin-left: 4px;
}
+.ame-label {
+ flex-grow: 2;
+ margin-left: 4px;
+ font-weight: bold;
+}
.status-header-label {
margin-left: 2px;
}
@@ -709,6 +732,11 @@ ul, li {
.small-label {
margin-top: 5px;
}
+.ame-checkbox-label {
+ flex-grow: 2;
+ font-size: 0.6rem;
+ min-width: 24px;
+}
.padd-right {
margin-right: 8px;
@@ -716,7 +744,9 @@ ul, li {
.padd-left {
margin-left: 8px;
}
-
+.ame-padding {
+ margin-left: 20px;
+}
.stack-left {
align-items:center;
flex-shrink: 1;
@@ -1235,7 +1265,7 @@ ul, li {
color: #CCC
}
#pause > img {
- content: url(../images/ui/pegasus_logo_v1.webp);
+ content: url(../images/ui/logo_imperium5.webp);
height: 160px;
width: 256px;
top: -80px;
@@ -1243,7 +1273,7 @@ ul, li {
}
#logo {
- content : url(../images/ui/pegasus_logo_v1.webp);
+ content : url(../images/ui/logo_imperium5.webp);
width: 100px;
height: 60px;
}
@@ -1265,7 +1295,6 @@ ul, li {
*/
.sheet-box {
border-radius: 5%;
- background-color: #403f3eB0;
border-width: 1px;
padding: 0.4rem;
margin: 0.2rem;
@@ -1276,7 +1305,7 @@ ul, li {
background: black;
}
.color-class-common {
- background: rgba(185, 183, 40, 0.45);
+ /*background: rgba(185, 183, 40, 0.45);*/
}
.status-small-label {
font-size: 0.65rem;
@@ -1308,9 +1337,13 @@ ul, li {
.ame-block {
min-width: 160px;
}
+.ame-subtitle {
+ font-size: 1.1rem;
+ font-weight: bold;
+}
.ame-margin {
margin-left: 4px;
- margin-top: 5px;
+ margin-top: 2px;
}
.combat-margin {
margin-left: 4px;
@@ -1320,12 +1353,14 @@ ul, li {
color: white;
}
.item-ame-roll {
- max-height: 42px;
- min-height: 36px;
+ /*max-height: 42px;*/
+ /*min-height: 36px;*/
}
-.item-ame-roll select, .item-ame-roll input {
- margin-top: 4px;
+.cohesion-input,
+.item-ame-roll select,
+.item-ame-roll input {
margin-right: 2px;
+ margin-bottom: 1px;
}
.table-momentum {
background: none;
@@ -1338,7 +1373,7 @@ ul, li {
}
.items-title-bg {
margin-top: 6px;
- background: black;
+ /*background: black;*/
color: white;
}
.items-title-text {
@@ -1359,13 +1394,14 @@ ul, li {
}
.item-name-label-header {
flex-grow:2;
- max-width: 12rem;
- min-width: 12rem;
+ max-width: 10rem;
+ min-width: 10rem;
}
.item-name-label {
flex-grow:2;
- max-width: 10rem;
- min-width: 10rem;
+ margin-left: 4px;
+ max-width: 8rem;
+ min-width: 8rem;
}
.item-name-label-level2 {
flex-grow:2;
@@ -1395,10 +1431,22 @@ ul, li {
flex-wrap: nowrap;
}
.item-filler {
- flex-grow: 6;
- flex-shrink: 7;
+ flex-grow: 4;
+ flex-shrink: 5;
}
.item-controls-fixed {
min-width:2rem;
max-width: 2rem;
+}
+.color-bg-ame {
+ background-color: #D4D0CCFF;
+}
+.color-bg-archetype {
+ background-color: #D4D0CC80;
+}
+.color-bg-paradigme {
+ background-color: #97B5AEFF;
+}
+.color-text-ame {
+ color: #806B64;
}
\ No newline at end of file
diff --git a/system.json b/system.json
index e6abb86..19ce1cf 100644
--- a/system.json
+++ b/system.json
@@ -30,9 +30,9 @@
"styles": [
"styles/simple.css"
],
- "templateVersion": 4,
+ "templateVersion": 47,
"title": "Imperium5 RPG",
"url": "https://www.uberwald.me/data/files/fvtt-imperium5",
- "version": "0.0.4",
+ "version": "0.0.7",
"background" : "./images/ui/imperium5_welcome_page.webp"
}
diff --git a/template.json b/template.json
index 9f2b86f..6b4d4a9 100644
--- a/template.json
+++ b/template.json
@@ -19,11 +19,38 @@
"memories": "",
"whoami": "",
"description": "",
+ "rebuild": "",
+ "contacts": "",
"gmnotes": ""
}
},
"core": {
"subactors": [],
+ "amestype": {
+ "physique": {
+ "label": "Physique",
+ "malus": 0,
+ "cohesionmax": 0,
+ "cohesion": 0
+ },
+ "mental": {
+ "label": "Mental",
+ "malus": 0,
+ "cohesionmax": 0,
+ "cohesion": 0
+ },
+ "social": {
+ "label": "Social",
+ "malus": 0,
+ "cohesionmax": 0,
+ "cohesion": 0
+ }
+ },
+ "karma": {
+ "value": 0,
+ "xp": 0,
+ "source": 0
+ },
"ames": {
"brutalite": {
"label": "Brutalité",
@@ -66,26 +93,31 @@
"humanite": {
"label": "Humanité",
"value": 0,
+ "used": false,
"editable": false
},
"punk": {
"label": "Punk",
"value": 0,
+ "used": false,
"editable": false
},
"cyber": {
"label": "Cyber",
"value": 0,
+ "used": false,
"editable": false
},
"virtuel": {
"label": "Virtuel",
"value": 0,
+ "used": false,
"editable": false
},
"perso": {
"label": "Perso",
"value": 0,
+ "used": false,
"editable": true
}
},
@@ -114,7 +146,8 @@
"ressource",
"capacite",
"singularite",
- "contact"
+ "contact",
+ "equipement"
],
"archetype": {
"description": ""
@@ -140,12 +173,18 @@
},
"capacite": {
"type": "",
+ "aide": 0,
+ "ressource": 0,
"description": ""
},
"singularite": {
"value": 0,
"description": ""
},
+ "equipement": {
+ "value": 0,
+ "description": ""
+ },
"contact": {
"value": 0,
"description": ""
diff --git a/templates/actor-partial-ames.html b/templates/actor-partial-ames.html
index 2bf1b00..2250f5d 100644
--- a/templates/actor-partial-ames.html
+++ b/templates/actor-partial-ames.html
@@ -1,13 +1,29 @@
-{{#each data.ames as |ame key|}}
+
+ {{typedata.label}}
+