diff --git a/RdD.geany b/RdD.geany
index 4313d040..201ff14f 100644
--- a/RdD.geany
+++ b/RdD.geany
@@ -27,9 +27,9 @@ long_line_behaviour=1
long_line_column=72
[files]
-current_page=11
+current_page=1
FILE_NAME_0=8132;JSON;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplate.json;0;2
-FILE_NAME_1=2638;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fmodule%2Factor-sheet.js;0;2
+FILE_NAME_1=0;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fmodule%2Factor-sheet.js;0;2
FILE_NAME_2=10137;HTML;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplates%2Factor-sheet.html;0;2
FILE_NAME_3=1756;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fmodule%2Frdd-roll-dialog.js;0;2
FILE_NAME_4=2092;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fmodule%2Factor.js;0;2
@@ -39,7 +39,7 @@ FILE_NAME_7=543;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2
FILE_NAME_8=1639;HTML;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplates%2Fitem-competence-sheet.html;0;2
FILE_NAME_9=752;HTML;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplates%2Fitem-arme-sheet.html;0;2
FILE_NAME_10=401;JSON;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fsystem.json;0;2
-FILE_NAME_11=146;CSS;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fstyles%2Fsimple.css;0;2
+FILE_NAME_11=10349;CSS;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fstyles%2Fsimple.css;0;2
[VTE]
last_dir=/home/sigmar
diff --git a/icons/armes/icon_arbalete.png b/icons/armes/icon_arbalete.png
new file mode 100644
index 00000000..0de3c451
Binary files /dev/null and b/icons/armes/icon_arbalete.png differ
diff --git a/icons/armes/icon_arc_court.png b/icons/armes/icon_arc_court.png
new file mode 100644
index 00000000..1d155f35
Binary files /dev/null and b/icons/armes/icon_arc_court.png differ
diff --git a/icons/armes/icon_arc_long.png b/icons/armes/icon_arc_long.png
new file mode 100644
index 00000000..3f34be43
Binary files /dev/null and b/icons/armes/icon_arc_long.png differ
diff --git a/icons/armes/icon_arme_hast.png b/icons/armes/icon_arme_hast.png
new file mode 100644
index 00000000..03d03bce
Binary files /dev/null and b/icons/armes/icon_arme_hast.png differ
diff --git a/icons/armes/icon_baton.png b/icons/armes/icon_baton.png
new file mode 100644
index 00000000..4d0ff0a2
Binary files /dev/null and b/icons/armes/icon_baton.png differ
diff --git a/icons/armes/icon_bouclier_leger.png b/icons/armes/icon_bouclier_leger.png
new file mode 100644
index 00000000..a228571e
Binary files /dev/null and b/icons/armes/icon_bouclier_leger.png differ
diff --git a/icons/armes/icon_bouclier_lourd.png b/icons/armes/icon_bouclier_lourd.png
new file mode 100644
index 00000000..0542c422
Binary files /dev/null and b/icons/armes/icon_bouclier_lourd.png differ
diff --git a/icons/armes/icon_bouclier_moyen.png b/icons/armes/icon_bouclier_moyen.png
new file mode 100644
index 00000000..1aa99755
Binary files /dev/null and b/icons/armes/icon_bouclier_moyen.png differ
diff --git a/icons/armes/icon_carquois_carreaux.png b/icons/armes/icon_carquois_carreaux.png
new file mode 100644
index 00000000..a557bd97
Binary files /dev/null and b/icons/armes/icon_carquois_carreaux.png differ
diff --git a/icons/armes/icon_carquois_fleche.png b/icons/armes/icon_carquois_fleche.png
new file mode 100644
index 00000000..02158feb
Binary files /dev/null and b/icons/armes/icon_carquois_fleche.png differ
diff --git a/icons/armes/icon_dague.png b/icons/armes/icon_dague.png
new file mode 100644
index 00000000..85fd2565
Binary files /dev/null and b/icons/armes/icon_dague.png differ
diff --git a/icons/armes/icon_epee_batarde.png b/icons/armes/icon_epee_batarde.png
new file mode 100644
index 00000000..9afa1f22
Binary files /dev/null and b/icons/armes/icon_epee_batarde.png differ
diff --git a/icons/armes/icon_epee_cyane.png b/icons/armes/icon_epee_cyane.png
new file mode 100644
index 00000000..173c7f41
Binary files /dev/null and b/icons/armes/icon_epee_cyane.png differ
diff --git a/icons/armes/icon_epee_dragonne.png b/icons/armes/icon_epee_dragonne.png
new file mode 100644
index 00000000..814bf559
Binary files /dev/null and b/icons/armes/icon_epee_dragonne.png differ
diff --git a/icons/armes/icon_epee_gnome.png b/icons/armes/icon_epee_gnome.png
new file mode 100644
index 00000000..403acee2
Binary files /dev/null and b/icons/armes/icon_epee_gnome.png differ
diff --git a/icons/armes/icon_esparlongue.png b/icons/armes/icon_esparlongue.png
new file mode 100644
index 00000000..efa027b9
Binary files /dev/null and b/icons/armes/icon_esparlongue.png differ
diff --git a/icons/armes/icon_fleau.png b/icons/armes/icon_fleau.png
new file mode 100644
index 00000000..69b1987f
Binary files /dev/null and b/icons/armes/icon_fleau.png differ
diff --git a/icons/armes/icon_fouet.png b/icons/armes/icon_fouet.png
new file mode 100644
index 00000000..8b4a9f45
Binary files /dev/null and b/icons/armes/icon_fouet.png differ
diff --git a/icons/armes/icon_gourdin.png b/icons/armes/icon_gourdin.png
new file mode 100644
index 00000000..b5031004
Binary files /dev/null and b/icons/armes/icon_gourdin.png differ
diff --git a/icons/armes/icon_grande_hache.png b/icons/armes/icon_grande_hache.png
new file mode 100644
index 00000000..5603d9fa
Binary files /dev/null and b/icons/armes/icon_grande_hache.png differ
diff --git a/icons/armes/icon_hache_2_mains.png b/icons/armes/icon_hache_2_mains.png
new file mode 100644
index 00000000..15f05900
Binary files /dev/null and b/icons/armes/icon_hache_2_mains.png differ
diff --git a/icons/armes/icon_hache_de_bataille.png b/icons/armes/icon_hache_de_bataille.png
new file mode 100644
index 00000000..bc6f3157
Binary files /dev/null and b/icons/armes/icon_hache_de_bataille.png differ
diff --git a/icons/armes/icon_hachette.png b/icons/armes/icon_hachette.png
new file mode 100644
index 00000000..c05385be
Binary files /dev/null and b/icons/armes/icon_hachette.png differ
diff --git a/icons/armes/icon_javeline.png b/icons/armes/icon_javeline.png
new file mode 100644
index 00000000..80ecd39f
Binary files /dev/null and b/icons/armes/icon_javeline.png differ
diff --git a/icons/armes/icon_lance.png b/icons/armes/icon_lance.png
new file mode 100644
index 00000000..9266d834
Binary files /dev/null and b/icons/armes/icon_lance.png differ
diff --git a/icons/armes/icon_masse.png b/icons/armes/icon_masse.png
new file mode 100644
index 00000000..e132fda4
Binary files /dev/null and b/icons/armes/icon_masse.png differ
diff --git a/icons/armes/icon_masse_2_mains.png b/icons/armes/icon_masse_2_mains.png
new file mode 100644
index 00000000..c25db12b
Binary files /dev/null and b/icons/armes/icon_masse_2_mains.png differ
diff --git a/icons/armes/token_10.png b/icons/armes/token_10.png
new file mode 100644
index 00000000..5603d9fa
Binary files /dev/null and b/icons/armes/token_10.png differ
diff --git a/icons/armes/token_12.png b/icons/armes/token_12.png
new file mode 100644
index 00000000..17c3b08b
Binary files /dev/null and b/icons/armes/token_12.png differ
diff --git a/icons/armes/token_13.png b/icons/armes/token_13.png
new file mode 100644
index 00000000..f3e15064
Binary files /dev/null and b/icons/armes/token_13.png differ
diff --git a/icons/armes/token_14.png b/icons/armes/token_14.png
new file mode 100644
index 00000000..b631bcdd
Binary files /dev/null and b/icons/armes/token_14.png differ
diff --git a/icons/competence_arbalete.png b/icons/competence_arbalete.png
new file mode 100644
index 00000000..92893234
Binary files /dev/null and b/icons/competence_arbalete.png differ
diff --git a/icons/competence_arc.png b/icons/competence_arc.png
new file mode 100644
index 00000000..5b4ebf84
Binary files /dev/null and b/icons/competence_arc.png differ
diff --git a/icons/competence_armes_hast.png b/icons/competence_armes_hast.png
new file mode 100644
index 00000000..b4f27d23
Binary files /dev/null and b/icons/competence_armes_hast.png differ
diff --git a/icons/competence_bouclier.png b/icons/competence_bouclier.png
new file mode 100644
index 00000000..e09fb29e
Binary files /dev/null and b/icons/competence_bouclier.png differ
diff --git a/icons/competence_corps_a_corps.png b/icons/competence_corps_a_corps.png
new file mode 100644
index 00000000..f011b3c4
Binary files /dev/null and b/icons/competence_corps_a_corps.png differ
diff --git a/icons/competence_dague_jet.png b/icons/competence_dague_jet.png
new file mode 100644
index 00000000..48bbbe17
Binary files /dev/null and b/icons/competence_dague_jet.png differ
diff --git a/icons/competence_epee_1_main.png b/icons/competence_epee_1_main.png
new file mode 100644
index 00000000..928d2716
Binary files /dev/null and b/icons/competence_epee_1_main.png differ
diff --git a/icons/competence_epee_2_mains.png b/icons/competence_epee_2_mains.png
new file mode 100644
index 00000000..5dd526e4
Binary files /dev/null and b/icons/competence_epee_2_mains.png differ
diff --git a/icons/competence_esquive.png b/icons/competence_esquive.png
new file mode 100644
index 00000000..e00c922f
Binary files /dev/null and b/icons/competence_esquive.png differ
diff --git a/icons/competence_fleau.png b/icons/competence_fleau.png
new file mode 100644
index 00000000..c74130b1
Binary files /dev/null and b/icons/competence_fleau.png differ
diff --git a/icons/competence_fouet.png b/icons/competence_fouet.png
new file mode 100644
index 00000000..698239db
Binary files /dev/null and b/icons/competence_fouet.png differ
diff --git a/icons/competence_fronde.png b/icons/competence_fronde.png
new file mode 100644
index 00000000..4cd7cefc
Binary files /dev/null and b/icons/competence_fronde.png differ
diff --git a/icons/competence_hache_a_1_main.png b/icons/competence_hache_a_1_main.png
new file mode 100644
index 00000000..14987b48
Binary files /dev/null and b/icons/competence_hache_a_1_main.png differ
diff --git a/icons/competence_hache_a_2_mains.png b/icons/competence_hache_a_2_mains.png
new file mode 100644
index 00000000..cd2578c3
Binary files /dev/null and b/icons/competence_hache_a_2_mains.png differ
diff --git a/icons/competence_javelot.png b/icons/competence_javelot.png
new file mode 100644
index 00000000..ba31be63
Binary files /dev/null and b/icons/competence_javelot.png differ
diff --git a/icons/competence_lance.png b/icons/competence_lance.png
new file mode 100644
index 00000000..7b0cf91f
Binary files /dev/null and b/icons/competence_lance.png differ
diff --git a/icons/competence_masse_1_main.png b/icons/competence_masse_1_main.png
new file mode 100644
index 00000000..f08d2217
Binary files /dev/null and b/icons/competence_masse_1_main.png differ
diff --git a/icons/competence_masse_2_mains.png b/icons/competence_masse_2_mains.png
new file mode 100644
index 00000000..0558ee73
Binary files /dev/null and b/icons/competence_masse_2_mains.png differ
diff --git a/module/actor.js b/module/actor.js
index 3a7a2977..8018e4aa 100644
--- a/module/actor.js
+++ b/module/actor.js
@@ -96,23 +96,33 @@ export class RdDActor extends Actor {
// Fight management !
let defenseMsg;
+ let encaisser = false;
let specialStr = "
Points de taches : " + rollData.pointsDeTache; // Per default
if ( rollData.arme ) { // In case of fight, replace the "tache" per dommages + localization. "tache" indicates if result is OK or not
- if ( rollData.pointsDeTache > 0 ) {
- let myroll = new Roll("2d10");
- myroll.roll();
- rollData.degats = parseInt(myroll.result) + parseInt(rollData.arme.data.dommages) + parseInt(this.data.data.attributs.plusdom.value);
- rollData.loc = RdDUtility.getLocalisation();
- for (let target of game.user.targets) {
- defenseMsg = RdDutility.buildDefenseChatCard(this, target, rollData );
- specialStr = "
Cible : " + target.actor.data.name;
+ if ( rollData.attackerRoll) {
+ if ( rollData.pointsDeTache > 0 ) { // Réussite !
+ specialStr = "
Attaque parée/esquivée !";
+ } else {
+ specialStr = "
Esquive/Parade échouée, encaissement !";
+ encaisser = true;
+ }
+ } else {
+ if ( rollData.pointsDeTache > 0 ) {
+ let myroll = new Roll("2d10");
+ myroll.roll();
+ rollData.degats = parseInt(myroll.result) + parseInt(rollData.arme.data.dommages) + parseInt(this.data.data.attributs.plusdom.value);
+ rollData.loc = RdDUtility.getLocalisation();
+ for (let target of game.user.targets) {
+ defenseMsg = RdDUtility.buildDefenseChatCard(this, target, rollData );
+ specialStr = "
Cible : " + target.actor.data.name;
+ }
+ specialStr += "
Dommages : " + rollData.degats + "
Localisation : " + rollData.loc.label;
+ } else {
+ specialStr = "
Echec ! Pas de dommages";
}
- specialStr += "
Dommages : " + rollData.degats + "
Localisation : " + rollData.loc.label;
- } else {
- specialStr = "
Echec ! Pas de dommages";
}
}
-
+
// Save it for fight
await this.setFlag( "foundryvtt-reve-de-dragon", "rollData", undefined );
await this.setFlag( "foundryvtt-reve-de-dragon", "rollData", rollData );
@@ -125,9 +135,14 @@ export class RdDActor extends Actor {
}
ChatMessage.create( chatOptions );
+ // This an attack, generate the defense message
if ( defenseMsg ) { // target hit !
ChatMessage.create( defenseMsg );
- }
+ }
+ // Get damages!
+ if ( encaisser ) {
+ this.encaisserDommages( rollData );
+ }
}
/* -------------------------------------------- */
@@ -265,7 +280,7 @@ export class RdDActor extends Actor {
}
/* -------------------------------------------- */
- async rollCompetence( compName, armeItem )
+ async rollCompetence( compName, armeItem=undefined, attackerRoll=undefined )
{
console.log("!!!!!!", compName, armeItem);
let compItem = RdDUtility.findCompetence( this.data.items, compName);
@@ -276,6 +291,7 @@ export class RdDActor extends Actor {
"bonusmalusTable": CONFIG.RDD.bonusmalus,
"etat": this.data.data.compteurs.etat.value,
"bmValue": 0,
+ "attackerRoll": attackerRoll,
"finalLevel": 0
}
@@ -295,10 +311,10 @@ export class RdDActor extends Actor {
}
/* -------------------------------------------- */
- encaisserDommages( attackerActor )
- {
- let attackerRoll = attackerActor.getFlag("foundryvtt-reve-de-dragon", "rollData");
- console.log("RollData!", attackerActor, attackerRoll);
+ encaisserDommages( rollData )
+ {
+ let attackerRoll = rollData.attackerRoll;
+ console.log("RollData from attacker!", rollData);
let degatsReel = attackerRoll.degats - this.computeArmure(attackerRoll.loc);
let result = RdDUtility.computeBlessuresSante(degatsReel);
this.santeIncDec("vie", result.vie);
@@ -317,9 +333,11 @@ export class RdDActor extends Actor {
}
/* -------------------------------------------- */
- parerAttaque( attackerActor, armeId )
+ parerAttaque( attackerRoll, armeId )
{
- console.log("Going to PARY !!!!!!!!!");
+ let armeItem = this.getOwnedItem(armeId); // Item.data.data !
+ console.log("Going to PARY !!!!!!!!!", armeItem, attackerRoll.bmValue);
+ this.rollCompetence( armeItem.data.data.competence, armeItem.data, attackerRoll );
}
/* -------------------------------------------- */
diff --git a/module/rdd-roll-dialog.js b/module/rdd-roll-dialog.js
index 8bd9f6ce..a3f346bf 100644
--- a/module/rdd-roll-dialog.js
+++ b/module/rdd-roll-dialog.js
@@ -75,12 +75,7 @@ export class RdDRollDialog extends Dialog {
$("#bonusmalus").val( rollData.bmValue );
updateRollResult(rollData);
});
-
- // Replace again the button action, as i overwritten it
- //$('button').click((event) => {
- //mydialog.data.actor.performRoll(rollData);
- //});
-
+
// Update !
$('#bonusmalus').click((event) => {
rollData.bmValue = event.currentTarget.value; // Update the selected bonus/malus
diff --git a/module/rdd-utility.js b/module/rdd-utility.js
index 961f39cb..56793ffe 100644
--- a/module/rdd-utility.js
+++ b/module/rdd-utility.js
@@ -1,5 +1,7 @@
/* Common useful functions shared between objects */
+import { RdDActor } from "./actor.js";
+
const level_category = {
"generale": "-4",
"particuliere": "-8",
@@ -370,7 +372,7 @@ export class RdDUtility {
{
for (const item of compList) {
if (item.name == compName) {
- console.log("Found item !", item);
+ //console.log("Found item !", item);
return item;
}
}
@@ -397,9 +399,9 @@ export class RdDUtility {
if ( rollData.competence.data.categorie == "melee" ) { // Melee attack
let defenderArmes = [];
for (const arme of target.actor.data.items) {
- if (arme.type == "arme" && isArmeMelee(arme.data.competence)) {
+ if (arme.type == "arme" && this.isArmeMelee(arme.data.competence)) {
defenderArmes.push( arme );
- defenseMsg.content += "Parer avec " + arme.name + "";
+ defenseMsg.content += "
Parer avec " + arme.name + "";
}
}
}
@@ -416,16 +418,17 @@ export class RdDUtility {
console.log("Encaisser button", event);
let attackerActor = game.actors.get(event.currentTarget.attributes['data-attackerid'].value );
let defenderActor = game.actors.get(event.currentTarget.attributes['data-defenderid'].value );
- defenderActor.encaisserDommages( attackerActor);
+ let rollData = attackerActor.getFlag("foundryvtt-reve-de-dragon", "rollData");
+ defenderActor.encaisserDommages( rollData );
});
html.on("click", '#parer-button', event => {
event.preventDefault();
- console.log("Parer button", event);
let attackerActor = game.actors.get(event.currentTarget.attributes['data-attackerid'].value );
let defenderActor = game.actors.get(event.currentTarget.attributes['data-defenderid'].value );
let armeId = event.currentTarget.attributes['data-armeid'].value;
- defenderActor.parerAttaque( attackerActor, armeId);
+ let rollData = attackerActor.getFlag("foundryvtt-reve-de-dragon", "rollData");
+ defenderActor.parerAttaque( rollData, armeId);
});
}
diff --git a/pic/haut_reve_01.png b/pic/haut_reve_01.png
new file mode 100644
index 00000000..00584bdd
Binary files /dev/null and b/pic/haut_reve_01.png differ
diff --git a/pic/nitouche_01.png b/pic/nitouche_01.png
new file mode 100644
index 00000000..ec8d1ae5
Binary files /dev/null and b/pic/nitouche_01.png differ
diff --git a/pic/terres_medianes.png b/pic/terres_medianes.png
new file mode 100644
index 00000000..890c83ab
Binary files /dev/null and b/pic/terres_medianes.png differ
diff --git a/pic/voyageurs_01.png b/pic/voyageurs_01.png
new file mode 100644
index 00000000..e7d57f01
Binary files /dev/null and b/pic/voyageurs_01.png differ
diff --git a/styles/simple.css b/styles/simple.css
index 389d9ad1..98df0155 100644
--- a/styles/simple.css
+++ b/styles/simple.css
@@ -341,3 +341,131 @@ button {
.flex-fatigue {
flex-grow: 2;
}
+
+/* ======================================== */
+/* Sidebar CSS */
+#sidebar-tabs > .item.active {
+ color: #FFF;
+ border: 1px solid red;
+ box-shadow: 0 0 6px inset #ff6400;
+}
+#sidebar #sidebar-tabs i.fa-comments::before {
+ content: "";
+}
+#sidebar #sidebar-tabs i.fa-comments {
+ content: "";
+ background-image: url("ui/icon_sidebar_chat.png") !important;
+ width: 25px !important;
+ height: 25px !important;
+ display: inline-block !important;
+ background-position:center !important;
+ background-size:cover !important;
+}
+#sidebar #sidebar-tabs i.fa-fist-raised::before {
+ content: "";
+}
+#sidebar #sidebar-tabs i.fa-fist-raised {
+ content: "";
+ background-image: url("ui/icon_sidebar_fight.png") !important;
+ width: 25px !important;
+ height: 25px !important;
+ display: inline-block !important;
+ background-position:center !important;
+ background-size:cover !important;
+}
+#sidebar #sidebar-tabs i.fa-users::before {
+ content: "";
+}
+#sidebar #sidebar-tabs i.fa-users {
+ content: "";
+ background-image: url("ui/icon_sidebar_actor.png") !important;
+ width: 25px !important;
+ height: 25px !important;
+ display: inline-block !important;
+ background-position:center !important;
+ background-size:cover !important;
+}
+#sidebar #sidebar-tabs i.fa-map::before {
+ content: "";
+}
+#sidebar #sidebar-tabs i.fa-map {
+ content: "";
+ background-image: url("ui/icon_sidebar_scene.png") !important;
+ width: 25px !important;
+ height: 25px !important;
+ display: inline-block !important;
+ background-position:center !important;
+ background-size:cover !important;
+}
+#sidebar #sidebar-tabs i.fa-suitcase::before {
+ content: "";
+}
+#sidebar #sidebar-tabs i.fa-suitcase {
+ content: "";
+ background-image: url("ui/icon_sidebar_item.png") !important;
+ width: 25px !important;
+ height: 25px !important;
+ display: inline-block !important;
+ background-position:center !important;
+ background-size:cover !important;
+}
+#sidebar #sidebar-tabs i.fa-book-open::before {
+ content: "";
+}
+#sidebar #sidebar-tabs i.fa-book-open {
+ content: "";
+ background-image: url("ui/icon_sidebar_journal.png") !important;
+ width: 25px !important;
+ height: 25px !important;
+ display: inline-block !important;
+ background-position:center !important;
+ background-size:cover !important;
+}
+#sidebar #sidebar-tabs i.fa-th-list::before {
+ content: "";
+}
+#sidebar #sidebar-tabs i.fa-th-list {
+ content: "";
+ background-image: url("ui/icon_sidebar_rolltable.png") !important;
+ width: 25px !important;
+ height: 25px !important;
+ display: inline-block !important;
+ background-position:center !important;
+ background-size:cover !important;
+}
+#sidebar #sidebar-tabs i.fa-music::before {
+ content: "";
+}
+#sidebar #sidebar-tabs i.fa-music {
+ content: "";
+ background-image: url("ui/icon_sidebar_music.png") !important;
+ width: 25px !important;
+ height: 25px !important;
+ display: inline-block !important;
+ background-position:center !important;
+ background-size:cover !important;
+}
+#sidebar #sidebar-tabs i.fa-atlas::before {
+ content: "";
+}
+#sidebar #sidebar-tabs i.fa-atlas {
+ content: "";
+ background-image: url("ui/icon_sidebar_compendium.png") !important;
+ width: 25px !important;
+ height: 25px !important;
+ display: inline-block !important;
+ background-position:center !important;
+ background-size:cover !important;
+}
+#sidebar #sidebar-tabs i.fa-cogs::before {
+ content: "";
+}
+#sidebar #sidebar-tabs i.fa-cogs {
+ content: "";
+ background-image: url("ui/icon_sidebar_settings.png") !important;
+ width: 25px !important;
+ height: 25px !important;
+ display: inline-block !important;
+ background-position:center !important;
+ background-size:cover !important;
+}
diff --git a/styles/ui/.directory b/styles/ui/.directory
new file mode 100644
index 00000000..15f44b1f
--- /dev/null
+++ b/styles/ui/.directory
@@ -0,0 +1,5 @@
+[Dolphin]
+HeaderColumnWidths=634,87,118
+Timestamp=2020,6,10,17,19,0
+Version=4
+ViewMode=1
diff --git a/styles/ui/icon_sidebar_actor.png b/styles/ui/icon_sidebar_actor.png
new file mode 100644
index 00000000..6d76fb1f
Binary files /dev/null and b/styles/ui/icon_sidebar_actor.png differ
diff --git a/styles/ui/icon_sidebar_chat.png b/styles/ui/icon_sidebar_chat.png
new file mode 100644
index 00000000..c46357df
Binary files /dev/null and b/styles/ui/icon_sidebar_chat.png differ
diff --git a/styles/ui/icon_sidebar_compendium.png b/styles/ui/icon_sidebar_compendium.png
new file mode 100644
index 00000000..4b8064b0
Binary files /dev/null and b/styles/ui/icon_sidebar_compendium.png differ
diff --git a/styles/ui/icon_sidebar_fight.png b/styles/ui/icon_sidebar_fight.png
new file mode 100644
index 00000000..b15f1af3
Binary files /dev/null and b/styles/ui/icon_sidebar_fight.png differ
diff --git a/styles/ui/icon_sidebar_item.png b/styles/ui/icon_sidebar_item.png
new file mode 100644
index 00000000..07a0ac77
Binary files /dev/null and b/styles/ui/icon_sidebar_item.png differ
diff --git a/styles/ui/icon_sidebar_journal.png b/styles/ui/icon_sidebar_journal.png
new file mode 100644
index 00000000..866ff0e1
Binary files /dev/null and b/styles/ui/icon_sidebar_journal.png differ
diff --git a/styles/ui/icon_sidebar_music.png b/styles/ui/icon_sidebar_music.png
new file mode 100644
index 00000000..edc72ef7
Binary files /dev/null and b/styles/ui/icon_sidebar_music.png differ
diff --git a/styles/ui/icon_sidebar_rolltable.png b/styles/ui/icon_sidebar_rolltable.png
new file mode 100644
index 00000000..3d6dd08d
Binary files /dev/null and b/styles/ui/icon_sidebar_rolltable.png differ
diff --git a/styles/ui/icon_sidebar_scene.png b/styles/ui/icon_sidebar_scene.png
new file mode 100644
index 00000000..617b9619
Binary files /dev/null and b/styles/ui/icon_sidebar_scene.png differ
diff --git a/styles/ui/icon_sidebar_settings.png b/styles/ui/icon_sidebar_settings.png
new file mode 100644
index 00000000..3c3e2809
Binary files /dev/null and b/styles/ui/icon_sidebar_settings.png differ
diff --git a/styles/ui/originals/icon_sidebar_actor.png b/styles/ui/originals/icon_sidebar_actor.png
new file mode 100644
index 00000000..fb3d57bf
Binary files /dev/null and b/styles/ui/originals/icon_sidebar_actor.png differ
diff --git a/styles/ui/originals/icon_sidebar_chat.png b/styles/ui/originals/icon_sidebar_chat.png
new file mode 100644
index 00000000..bc54cc6a
Binary files /dev/null and b/styles/ui/originals/icon_sidebar_chat.png differ
diff --git a/styles/ui/originals/icon_sidebar_compendium.png b/styles/ui/originals/icon_sidebar_compendium.png
new file mode 100644
index 00000000..ac9dabea
Binary files /dev/null and b/styles/ui/originals/icon_sidebar_compendium.png differ
diff --git a/styles/ui/originals/icon_sidebar_fight.png b/styles/ui/originals/icon_sidebar_fight.png
new file mode 100644
index 00000000..892b628f
Binary files /dev/null and b/styles/ui/originals/icon_sidebar_fight.png differ
diff --git a/styles/ui/originals/icon_sidebar_item.png b/styles/ui/originals/icon_sidebar_item.png
new file mode 100644
index 00000000..e818ff35
Binary files /dev/null and b/styles/ui/originals/icon_sidebar_item.png differ
diff --git a/styles/ui/originals/icon_sidebar_journal.png b/styles/ui/originals/icon_sidebar_journal.png
new file mode 100644
index 00000000..49525986
Binary files /dev/null and b/styles/ui/originals/icon_sidebar_journal.png differ
diff --git a/styles/ui/originals/icon_sidebar_music.png b/styles/ui/originals/icon_sidebar_music.png
new file mode 100644
index 00000000..c49b1d25
Binary files /dev/null and b/styles/ui/originals/icon_sidebar_music.png differ
diff --git a/styles/ui/originals/icon_sidebar_rolltable.png b/styles/ui/originals/icon_sidebar_rolltable.png
new file mode 100644
index 00000000..8e7011f7
Binary files /dev/null and b/styles/ui/originals/icon_sidebar_rolltable.png differ
diff --git a/styles/ui/originals/icon_sidebar_scene.png b/styles/ui/originals/icon_sidebar_scene.png
new file mode 100644
index 00000000..6b90b727
Binary files /dev/null and b/styles/ui/originals/icon_sidebar_scene.png differ
diff --git a/styles/ui/originals/icon_sidebar_settings.png b/styles/ui/originals/icon_sidebar_settings.png
new file mode 100644
index 00000000..48b7425f
Binary files /dev/null and b/styles/ui/originals/icon_sidebar_settings.png differ