Wiremod : wall of fonctionnality (power)

FR

Plutôt que de refaire cela à chaque fois j'ai décidé de créer un blueprint clé en main pour afficher tout un tas d'informations liées à l'énergie via wiremod. Exemple du résultat sur l'image 2 (ignorez les petites mods blancs, c'était du test d'une version précédente)

Instruction : posez le mur quelque part (une petite pièce cachée par exemple) puis connectez un poteau d'énergie au gros bouton vert

Puis, reliez chaque bouton blanc que vous désirez à un écran, pour afficher le contenu ou la fonction.

Par exemple : je prends "battery storage capacity 100%" = cela va m'afficher en %, sur mon écran, ce qu'il me reste d'énergie (entre 0 et 100%). (string text)

L'écran se mettra automatiquement à jour à mesure que ce pourcentage baisse ou monte.

Ensuite, je prends "string text color" et je le relie à ce même écran, en choisissant "text color" : si la batterie est pleine, alors l'écriture sera verte. Sinon, rouge. / si ma production d'énergie est supérieure à ma consommation, alors l'écriture sera verte, sinon rouge.

Ensuite, je prends "back not empty" et je fais la même chose, mais avec "back color" sur mon écran : si la batterie est vide, alors mon fond devient rouge (et mon écriture aussi) : bouton tout rouge. Si je ne suis pas à 0%, alors l'écran reste noir (et l'écriture rouge ou verte)

D'autres fonctionnalités de couleurs seront ajoutées au fur et à mesure. Notamment la possibilité, sur cette même condition (si je surproduis ou si je surconsomme) la possibilité d'afficher un écran (je surconsomme) surconsommation, avec le % en rouge. L'autre écran s'éteint (écriture noire). Mais si je surproduis, alors l'écran surconsommation s'éteint (écriture noire), et l'écran surproduction s'allume en vert. Ce qui donne l'illusion d'une bascule.

Ajouts : suppression des chiffres après la virgule. Ajouts de symbole quand nécessaire (%/MWh). Conversion des secondes en timer.

Si vous voulez d'autres fonctions, demandez. Si je peux, je les ajouterai.

Tutoriel : https://youtu.be/CY7TTc6a5R0

EN

Rather than doing this every time I decided to create a turnkey blueprint to display a lot of energy-related information via wiremod. Example of the result on image 2 (ignore the small white mods, it was a test of a previous version)

Instruction: put the wall somewhere (a small hidden room for example) then connect a power pole to the big green button

Then, connect each white button you want to a screen, to display the content or function.

For example: I take "battery storage capacity 100%" = this will show me in %, on my screen, what energy I have left (between 0 and 100%). (string text)

The screen will automatically update as this percentage goes down or up.

Then I take "string text color" and I link it to this same screen, choosing "text color": if the battery is full, then the writing will be green. Otherwise, red.

Then, I take "back not empty" and I do the same thing, but with "back color" on my screen: if the battery is empty, then my background becomes red (and my writing too): button all red. If I'm not at 0%, then the screen remains black (and the writing red or green)

If you want other functions, ask. If I can, I will add them.

  • Created on Feb 14, 2023, 12:55:50 PM