New icons

This commit is contained in:
sladecraven 2022-10-22 23:15:55 +02:00
parent 45273e5e43
commit 782b39d0be
43 changed files with 80 additions and 312 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

BIN
assets/icons/artefact.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

BIN
assets/icons/distance.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

BIN
assets/icons/melee.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

BIN
assets/icons/profil.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

BIN
assets/icons/talent.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

BIN
assets/icons/tir.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

View File

@ -2,17 +2,15 @@ import { HawkmoonUtility } from "./hawkmoon-utility.js";
export const defaultItemImg = { export const defaultItemImg = {
competence: "systems/fvtt-hawkmoon-cyd/assets/icons/competence.webp", competence: "systems/fvtt-hawkmoon-cyd/assets/icons/competence.webp",
arme: "systems/fvtt-hawkmoon-cyd/assets/icons/arme.webp", arme: "systems/fvtt-hawkmoon-cyd/assets/icons/melee.webp",
capacite: "systems/fvtt-hawkmoon-cyd/assets/icons/capacite.webp",
don: "systems/fvtt-hawkmoon-cyd/assets/icons/don.webp",
equipement: "systems/fvtt-hawkmoon-cyd/assets/icons/equipement.webp", equipement: "systems/fvtt-hawkmoon-cyd/assets/icons/equipement.webp",
monnaie: "systems/fvtt-hawkmoon-cyd/assets/icons/monnaie.webp", monnaie: "systems/fvtt-hawkmoon-cyd/assets/icons/monnaie.webp",
pacte: "systems/fvtt-hawkmoon-cyd/assets/icons/pacte.webp",
predilection: "systems/fvtt-hawkmoon-cyd/assets/icons/predilection.webp", predilection: "systems/fvtt-hawkmoon-cyd/assets/icons/predilection.webp",
protection: "systems/fvtt-hawkmoon-cyd/assets/icons/protection.webp", protection: "systems/fvtt-hawkmoon-cyd/assets/icons/protection.webp",
rune: "systems/fvtt-hawkmoon-cyd/assets/icons/rune.webp", talent: "systems/fvtt-hawkmoon-cyd/assets/icons/talent.webp",
tendance: "systems/fvtt-hawkmoon-cyd/assets/icons/tendance.webp", historique: "systems/fvtt-hawkmoon-cyd/assets/icons/historique.webp",
traitchaotique: "systems/fvtt-hawkmoon-cyd/assets/icons/traitchaotique.webp", profil: "systems/fvtt-hawkmoon-cyd/assets/icons/profil.webp",
artefact: "systems/fvtt-hawkmoon-cyd/assets/icons/artefact.webp",
} }
/** /**

View File

@ -65,31 +65,19 @@
"value": 0 "value": 0
}, },
"sante": { "sante": {
"base": 0, "vigueur": 0,
"bonus": 0, "etat": 0
"nonletaux": 0,
"letaux": 0,
"sequelles": ""
}, },
"ame": { "adversite": {
"fullmax": 0, "bleue": 0,
"currentmax": 0, "rouge": 0,
"value": 0, "noire": 0
"traumatismes": ""
}, },
"combat": { "combat": {
"initbonus": 0, "initbonus": 0,
"vitessebonus": 0, "vitessebonus": 0,
"bonusdegats": 0, "bonusdegats": 0,
"defensebonus": 0 "defensebonus": 0
},
"balance": {
"loi": 0,
"chaos": 0,
"aspect": 0,
"marge": 0,
"pointschaos": 0,
"pointsloi": 0
} }
}, },
"npccore": { "npccore": {
@ -116,48 +104,46 @@
} }
}, },
"types": [ "types": [
"arme", "talent",
"historique",
"profil",
"competence", "competence",
"arme",
"protection", "protection",
"pacte",
"traitchaotique",
"monnaie", "monnaie",
"don",
"tendance",
"rune",
"equipement", "equipement",
"capacite", "artefact"
"origine",
"heritage",
"metier",
"runeeffect",
"bouclier"
], ],
"runeeffect": { "talents": {
"rune": "", "durees": "",
"mode": "", "prerequis": "",
"isbonus": false,
"isbonusba": false,
"coutba": 0,
"bonus": 0,
"bonuscompetence": "",
"duree": "", "duree": "",
"pointame": 0, "pointame": 0,
"templates": [ "templates": [
"base" "base"
] ]
}, },
"origine": { "historique": {
"bonusmalus": "",
"templates": [ "templates": [
"base" "base"
] ]
}, },
"heritage": { "profil": {
"templates": [ "exemples": "",
"base" "attribut1": "",
] "attribut2": "",
}, "talentsinities": "",
"metier": { "prerequisaguerri": "",
"templates": [ "talentsaguerri": "",
"base" "prerequismaitre": "",
] "talentsmaitre": "",
}, "equipement": "",
"capacite": {
"templates": [ "templates": [
"base" "base"
] ]
@ -169,25 +155,6 @@
"base" "base"
] ]
}, },
"arme": {
"typearme": "",
"isdefense": false,
"bonusmaniementoff": 0,
"bonusmaniementdef": 0,
"degats": "",
"nonletaux": false,
"deuxmains": false,
"courte": 0,
"moyenne": 0,
"longue": 0,
"tr": 0,
"rarete": 0,
"prix": 0,
"equipped": false,
"templates": [
"base"
]
},
"competence": { "competence": {
"niveau": 0, "niveau": 0,
"attribut1": "", "attribut1": "",
@ -199,10 +166,27 @@
"base" "base"
] ]
}, },
"arme": {
"typearme": "",
"isdefense": false,
"bonusmaniementoff": 0,
"bonusmaniementdef": 0,
"degats": "",
"deuxmains": false,
"courte": 0,
"moyenne": 0,
"longue": 0,
"tr": 0,
"rarete": 0,
"prix": 0,
"equipped": false,
"templates": [
"base"
]
},
"protection": { "protection": {
"typeprotection": "", "typeprotection": "",
"protection": 0, "protection": 0,
"degats": "",
"rarete": 0, "rarete": 0,
"prix": 0, "prix": 0,
"equipped": false, "equipped": false,
@ -210,55 +194,26 @@
"base" "base"
] ]
}, },
"bouclier": {
"bonusdefense": 0,
"degats": "",
"nonletaux": false,
"rarete": 0,
"prix": 0,
"equipped": false,
"templates": [
"base"
]
},
"pacte": {
"allegeance": "",
"templates": [
"base"
]
},
"traitchaotique": {
"templates": [
"base"
]
},
"monnaie": { "monnaie": {
"templates": [ "templates": [
"base" "base"
] ]
}, },
"don": { "artefact": {
"allegeance": "", "complexite": 0,
"prerequis": "", "branche": "",
"sacrifice": "", "dureerealisation": "",
"templates": [ "tempsroute": "",
"base" "effetdejeu": "",
] "defautcourant": "",
}, "autrescarac": "",
"tendance": { "avantagespossibles": "",
"allegeance": "", "avantages": "",
"templates": [ "competences": "",
"base"
]
},
"rune": {
"formule": "",
"seuil": 0,
"prononcee": "",
"tracee": "",
"templates": [ "templates": [
"base" "base"
] ]
} }
} }
} }

View File

@ -12,14 +12,14 @@
<div class="flexcol"> <div class="flexcol">
<span class="flexrow"> <span class="flexrow">
<label class="generic-label">Niveau : </label> <label class="generic-label">Niveau : </label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.niveau" <input type="text" class="padd-right status-small-label color-class-common" name="system.niveau"
value="{{data.niveau}}" data-dtype="Number" /> value="{{system.niveau}}" data-dtype="Number" />
</span> </span>
<span class="flexrow"> <span class="flexrow">
<label class="generic-label">Attribut 1 : </label> <label class="generic-label">Attribut 1 : </label>
<select class="status-small-label color-class-common" type="text" name="system.attribut1" <select class="status-small-label color-class-common" type="text" name="system.attribut1"
value="{{data.attribut1}}" data-dtype="string"> value="{{system.attribut1}}" data-dtype="string">
{{#select data.attribut1}} {{#select system.attribut1}}
{{#each attributs as |attrLabel attrKey|}} {{#each attributs as |attrLabel attrKey|}}
<option value="{{attrKey}}">{{attrLabel}}</option> <option value="{{attrKey}}">{{attrLabel}}</option>
{{/each}} {{/each}}
@ -29,9 +29,9 @@
<span class="flexrow"> <span class="flexrow">
<label class="generic-label">Attribut 2 : </label> <label class="generic-label">Attribut 2 : </label>
<select class="status-small-label color-class-common" type="text" name="system.attribut2" <select class="status-small-label color-class-common" type="text" name="system.attribut2"
value="{{data.attribut2}}" data-dtype="string"> value="{{system.attribut2}}" data-dtype="string">
<option value="none">Aucun</option> <option value="none">Aucun</option>
{{#select data.attribut2}} {{#select system.attribut2}}
{{#each attributs as |attrLabel attrKey|}} {{#each attributs as |attrLabel attrKey|}}
<option value="{{attrKey}}">{{attrLabel}}</option> <option value="{{attrKey}}">{{attrLabel}}</option>
{{/each}} {{/each}}
@ -41,9 +41,9 @@
<span class="flexrow"> <span class="flexrow">
<label class="generic-label">Attribut 3 : </label> <label class="generic-label">Attribut 3 : </label>
<select class="status-small-label color-class-common" type="text" name="system.attribut3" <select class="status-small-label color-class-common" type="text" name="system.attribut3"
value="{{data.attribut3}}" data-dtype="string"> value="{{system.attribut3}}" data-dtype="string">
<option value="none">Aucun</option> <option value="none">Aucun</option>
{{#select data.attribut3}} {{#select system.attribut3}}
{{#each attributs as |attrLabel attrKey|}} {{#each attributs as |attrLabel attrKey|}}
<option value="{{attrKey}}">{{attrLabel}}</option> <option value="{{attrKey}}">{{attrLabel}}</option>
{{/each}} {{/each}}
@ -51,20 +51,16 @@
</select> </select>
</span> </span>
<span class="flexrow">
<label class="generic-label">Les bonus de Bonne Aventure et d'Eclat peuvent être doublés (cf. Métier) ? </label>
<input class="" type="checkbox" name="system.doublebonus" {{checked data.doublebonus}}/>
</span>
<span class="flexrow"> <span class="flexrow">
<h3>Prédilections</h3> <h3>Prédilections</h3>
</span> </span>
<ul> <ul>
{{#each data.predilections as |predilection key|}} {{#each system.predilections as |predilection key|}}
<li class="prediction-item item flexrow" data-prediction-index="{{key}}"> <li class="prediction-item item flexrow" data-prediction-index="{{key}}">
<input type="text" class="padd-right color-class-common edit-prediction" <input type="text" class="padd-right color-class-common edit-predilection" name="system.predilections[{{key}}]" value="{{predilection.name}}" data-dtype="String" />
name="system.predilections[{{key}}]" value="{{predilection.name}}" data-dtype="String" /> <input type="text" class="padd-right color-class-common edit-predilection-description" name="system.predilections[{{key}}]" value="{{predilection.description}}" data-dtype="String" />
<label class="generic-label">Utilisée ? <input class="use-prediction" type="checkbox" name="predilection.used" {{checked predilection.used}} /></label> <label class="generic-label">Maitrise ? <input class="predilection-maitrise" type="checkbox" name="predilection.maitrise" {{checked predilection.maitrise}} /></label>
<label class="generic-label">Utilisée ? <input class="use-predilection" type="checkbox" name="predilection.used" {{checked predilection.used}} /></label>
<a class="item-control delete-prediction" title="Supprimer une predilection"><i class="fas fa-trash"></i></a> <a class="item-control delete-prediction" title="Supprimer une predilection"><i class="fas fa-trash"></i></a>
</li> </li>
{{/each}} {{/each}}

View File

@ -1,43 +0,0 @@
<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
</div>
</header>
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="flexcol">
<span class="flexrow">
<label class="generic-label">Allégeance : </label>
<select class="status-small-label color-class-common" type="text" name="system.allegeance" value="{{data.allegeance}}" data-dtype="string" >
{{#select data.allegeance}}
<option value="tous">Tous</option>
<option value="chaos">Chaos</option>
<option value="loi">Loi</option>
<option value="betes">Seigneurs des Bêtes</option>
<option value="elementaires">Seigneurs Elementaires</option>
{{/select}}
</select>
</span>
<span class="flexrow">
<label class="generic-label">Prérequis : </label>
<input type="text" class="padd-right status-small-label color-class-common" name="system.prerequis" value="{{data.prerequis}}" data-dtype="String" />
</span>
<span>
<h3>Sacrifices</h3>
</span>
<div class="small-editor item-text-long-line">
{{editor sacrifice target="system.sacrifice" button=true owner=owner editable=editable}}
</div>
{{> systems/fvtt-mournblade/templates/partial-item-description.html}}
</div>
</section>
</form>

View File

@ -1,18 +0,0 @@
<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
</div>
</header>
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="flexcol">
{{> systems/fvtt-mournblade/templates/partial-item-description.html}}
</div>
</section>
</form>

View File

@ -1,18 +0,0 @@
<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
</div>
</header>
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="flexcol">
{{> systems/fvtt-mournblade/templates/partial-item-description.html}}
</div>
</section>
</form>

View File

@ -1,39 +0,0 @@
<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
</div>
</header>
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="flexcol">
<span class="flexrow">
<label class="generic-label">Haut-Parler : </label>
<input type="text" class="padd-right status-small-label color-class-common" name="system.formule" value="{{data.formule}}" data-dtype="String" />
</span>
<span class="flexrow">
<label class="generic-label">Seuil de difficulté : </label>
<input type="text" class="padd-right status-small-label color-class-common" name="system.seuil" value="{{data.seuil}}" data-dtype="Number" />
</span>
<span class="flexrow">
<label class="generic-label">Rune prononcée : </label>
</span>
<span class="flexrow">
<input type="text" class="padd-right status-small-label color-class-common" name="system.prononcee" value="{{data.prononcee}}" data-dtype="String" />
</span>
<span class="flexrow">
<label class="generic-label">Rune tracée : </label>
</span>
<span class="flexrow">
<input type="text" class="padd-right status-small-label color-class-common" name="system.tracee" value="{{data.tracee}}" data-dtype="String" />
</span>
{{> systems/fvtt-mournblade/templates/partial-item-description.html}}
</div>
</section>
</form>

View File

@ -1,44 +0,0 @@
<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
</div>
</header>
{{!-- Sheet Body --}}
<section class="sheet-body">
<span class="flexrow">
<label class="generic-label">Rune </label>
<input type="text" class="padd-right status-small-label color-class-common" name="system.rune" value="{{data.rune}}" data-dtype="String" />
</span>
<span class="flexrow">
<label class="generic-label">Mode </label>
<select class="status-small-label color-class-common" type="text" name="system.mode"
value="{{data.mode}}" data-dtype="string">
{{@select data.mode}}
<option value="prononcee">Prononcée</option>
<option value="inscrite">Inscrite</option>
{{/select}}
</select>
</span>
<span class="flexrow">
<label class="generic-label">Points d'âme </label>
<input type="text" class="padd-right status-small-label color-class-common" name="system.pointame" value="{{data.pointame}}" data-dtype="Number" />
</span>
<span class="flexrow">
<label class="generic-label">Durée </label>
<input type="text" class="padd-right status-small-label color-class-common" name="system.duree" value="{{data.duree}}" data-dtype="String" />
</span>
<div class="flexcol">
{{> systems/fvtt-mournblade/templates/partial-item-description.html}}
</div>
</section>
</form>

View File

@ -1,19 +0,0 @@
<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
</div>
</header>
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="flexcol">
{{> systems/fvtt-mournblade/templates/partial-item-description.html}}
</div>
</section>
</form>