From a9bba6a60b1fff4f224a54cea168819da8dd0fb8 Mon Sep 17 00:00:00 2001 From: Mael Date: Mon, 21 Sep 2020 14:46:32 +0200 Subject: [PATCH 1/3] Ebauche de fiche "boulot covoit" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Calculs de coin de table, rien de sérieux. --- data/actions/transport.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/data/actions/transport.yaml b/data/actions/transport.yaml index 37e0f343c..1a45a1c00 100644 --- a/data/actions/transport.yaml +++ b/data/actions/transport.yaml @@ -14,6 +14,7 @@ arrêter l'avion: éco-conduite: + titre: Faire de l'éco-conduite icônes: 🚗📉 formule: transport . voiture . impact usage * 10% description: | @@ -24,3 +25,18 @@ arrêter l'avion: L'abus de la climatisation peut conduire à une surconsommation allant jusqu'à 7 %. AFAIRE : que veut dire "l'abus de la climatisation" ? + +covoiturage: + +covoiturage . boulot: + formule: km domicile travail * empreinte au km covoiturage + + +km domicile travail: + formule: 52 * 2 * distance domicile travail + +distance domicile travail: + question: Quelle distance faites vous tous les jours pour aller au travail + par défaut: 10 km + +empreinte au km covoiturage: 0.2 kgCO2e/km From 693cd16ef4b3efb23df6a90c95473109f505643d Mon Sep 17 00:00:00 2001 From: Mael Date: Mon, 21 Sep 2020 16:15:35 +0200 Subject: [PATCH 2/3] =?UTF-8?q?Fiche=20action=20"devenir=20v=C3=A9g=C3=A9t?= =?UTF-8?q?arien"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/actions/alimentation.yaml | 14 ++++++++++++++ data/actions/index.yaml | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/data/actions/alimentation.yaml b/data/actions/alimentation.yaml index 1729ee71a..14ca96edb 100644 --- a/data/actions/alimentation.yaml +++ b/data/actions/alimentation.yaml @@ -4,3 +4,17 @@ réduire viande . par quatre: titre: Diviser ma consommation de viande par 4 formule: 1000 # chiffre au pif, à personnaliser icônes: 🍽🍖 + +alimentation . devenir végétarien: + formule: par semaine * 52 + icônes: 🌿🧀 + description: Adopter un régime végétarien, donc sans viande (mais avec des oeufs, du lait). + +alimentation . devenir végétarien . par semaine: + titre: Différence par semaine + formule: plats - une semaine végétarienne + +alimentation . une semaine végétarienne: + formule: 14 * plats . végétarien + + diff --git a/data/actions/index.yaml b/data/actions/index.yaml index 965b5116a..c18beb69a 100644 --- a/data/actions/index.yaml +++ b/data/actions/index.yaml @@ -2,6 +2,6 @@ actions: formule: somme: - arrêter l'avion - - réduire viande . par quatre + - alimentation . devenir végétarien - éteindre appareils - éco-conduite From 406e1c129c4998d32ac2d8189a6fd4b4d20fa5ff Mon Sep 17 00:00:00 2001 From: Mael Date: Mon, 21 Sep 2020 17:32:14 +0200 Subject: [PATCH 3/3] =?UTF-8?q?:bug:=20Grosse=20erreur=20dans=20les=20acti?= =?UTF-8?q?ons=20"devenir=20v=C3=A9g=C3=A9-x"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/actions/alimentation.yaml | 15 +++++++++++++-- data/actions/index.yaml | 1 + 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/data/actions/alimentation.yaml b/data/actions/alimentation.yaml index 14ca96edb..ce3c5d435 100644 --- a/data/actions/alimentation.yaml +++ b/data/actions/alimentation.yaml @@ -7,7 +7,7 @@ réduire viande . par quatre: alimentation . devenir végétarien: formule: par semaine * 52 - icônes: 🌿🧀 + icônes: 🥗🧀 description: Adopter un régime végétarien, donc sans viande (mais avec des oeufs, du lait). alimentation . devenir végétarien . par semaine: @@ -15,6 +15,17 @@ alimentation . devenir végétarien . par semaine: formule: plats - une semaine végétarienne alimentation . une semaine végétarienne: - formule: 14 * plats . végétarien + formule: 14 * plats . végétarien . empreinte +alimentation . devenir végétalien: + formule: par semaine * 52 + icônes: 🥗🌾 + description: Adopter un régime végétarien, donc sans viande (mais avec des oeufs, du lait). + +alimentation . devenir végétalien . par semaine: + titre: Différence par semaine + formule: plats - une semaine végétalien + +alimentation . une semaine végétalien: + formule: 14 * plats . végétalien . empreinte diff --git a/data/actions/index.yaml b/data/actions/index.yaml index c18beb69a..024401c7c 100644 --- a/data/actions/index.yaml +++ b/data/actions/index.yaml @@ -3,5 +3,6 @@ actions: somme: - arrêter l'avion - alimentation . devenir végétarien + - alimentation . devenir végétalien - éteindre appareils - éco-conduite