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

View File

@ -12,14 +12,14 @@
<div class="flexcol">
<span class="flexrow">
<label class="generic-label">Niveau : </label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.niveau"
value="{{data.niveau}}" data-dtype="Number" />
<input type="text" class="padd-right status-small-label color-class-common" name="system.niveau"
value="{{system.niveau}}" data-dtype="Number" />
</span>
<span class="flexrow">
<label class="generic-label">Attribut 1 : </label>
<select class="status-small-label color-class-common" type="text" name="system.attribut1"
value="{{data.attribut1}}" data-dtype="string">
{{#select data.attribut1}}
value="{{system.attribut1}}" data-dtype="string">
{{#select system.attribut1}}
{{#each attributs as |attrLabel attrKey|}}
<option value="{{attrKey}}">{{attrLabel}}</option>
{{/each}}
@ -29,9 +29,9 @@
<span class="flexrow">
<label class="generic-label">Attribut 2 : </label>
<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>
{{#select data.attribut2}}
{{#select system.attribut2}}
{{#each attributs as |attrLabel attrKey|}}
<option value="{{attrKey}}">{{attrLabel}}</option>
{{/each}}
@ -41,9 +41,9 @@
<span class="flexrow">
<label class="generic-label">Attribut 3 : </label>
<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>
{{#select data.attribut3}}
{{#select system.attribut3}}
{{#each attributs as |attrLabel attrKey|}}
<option value="{{attrKey}}">{{attrLabel}}</option>
{{/each}}
@ -51,21 +51,17 @@
</select>
</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">
<h3>Prédilections</h3>
</span>
<ul>
{{#each data.predilections as |predilection key|}}
{{#each system.predilections as |predilection key|}}
<li class="prediction-item item flexrow" data-prediction-index="{{key}}">
<input type="text" class="padd-right color-class-common edit-prediction"
name="system.predilections[{{key}}]" value="{{predilection.name}}" data-dtype="String" />
<label class="generic-label">Utilisée ? <input class="use-prediction" 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>
<input type="text" class="padd-right color-class-common edit-predilection" 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">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>
</li>
{{/each}}
</ul>

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>