Show TEG theoretical supply on inspect (#37957)

* Show TEG theoretical supply on inspect

* revert autoformatting changes
This commit is contained in:
ArtisticRoomba
2025-05-30 14:41:30 -07:00
committed by GitHub
parent 57e5a091b2
commit c4c528035b
2 changed files with 8 additions and 2 deletions

View File

@@ -101,7 +101,12 @@ public sealed class TegSystem : EntitySystem
else else
{ {
var supplier = Comp<PowerSupplierComponent>(uid); var supplier = Comp<PowerSupplierComponent>(uid);
using (args.PushGroup(nameof(TegGeneratorComponent)))
{
args.PushMarkup(Loc.GetString("teg-generator-examine-power", ("power", supplier.CurrentSupply))); args.PushMarkup(Loc.GetString("teg-generator-examine-power", ("power", supplier.CurrentSupply)));
args.PushMarkup(Loc.GetString("teg-generator-examine-power-max-output", ("power", supplier.MaxSupply)));
}
} }
} }

View File

@@ -1,2 +1,3 @@
teg-generator-examine-power = It's generating [color=yellow]{ POWERWATTS($power) }[/color]. teg-generator-examine-power = It's currently supplying [color=yellow]{ POWERWATTS($power) }[/color].
teg-generator-examine-power-max-output = It's capable of supplying [color=yellow]{ POWERWATTS($power) }[/color].
teg-generator-examine-connection = To function, a [color=white]circulator[/color] must be attached on both sides. teg-generator-examine-connection = To function, a [color=white]circulator[/color] must be attached on both sides.