Little component to make batteries examinable. (#3982)

This commit is contained in:
20kdc
2021-05-13 00:10:57 +01:00
committed by GitHub
parent 28d59908ca
commit e0f7ca7740
4 changed files with 55 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
### UI
# Shown when the battery is examined in details range
examinable-battery-component-examine-detail = The battery is [color={$markupPercentColor}]{$percent}%[/color] full.

View File

@@ -39,6 +39,7 @@
- type: Battery
maxCharge: 1000
startingCharge: 1000
- type: ExaminableBattery
- type: NodeContainer
examinable: true
nodes:
@@ -95,6 +96,7 @@
- type: Battery
maxCharge: 1000
startingCharge: 1000
- type: ExaminableBattery
- type: NodeContainer
examinable: true
nodes:
@@ -148,6 +150,7 @@
- type: Battery
maxCharge: 10000
startingCharge: 10000
- type: ExaminableBattery
- type: NodeContainer
examinable: true
nodes: