]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix drink examine text (#24241)
authorKevin Zheng <kevinz5000@gmail.com>
Thu, 18 Jan 2024 22:26:19 +0000 (14:26 -0800)
committerGitHub <noreply@github.com>
Thu, 18 Jan 2024 22:26:19 +0000 (09:26 +1100)
Content.Server/Nutrition/EntitySystems/DrinkSystem.cs
Resources/Locale/en-US/nutrition/components/drink-component.ftl

index f75dd93e0979209f23bcb7d2dd3453d1bba42e05..f41ca44437b1e61adbd2d26a1903dad9377277a4 100644 (file)
@@ -147,7 +147,7 @@ public sealed class DrinkSystem : EntitySystem
         if (TryComp<ExaminableSolutionComponent>(entity, out var comp))
         {
             //provide exact measurement for beakers
-            args.AddMarkup(Loc.GetString("drink-component-on-examine-exact-volume", ("amount", DrinkVolume(entity, entity.Comp))));
+            args.PushText(Loc.GetString("drink-component-on-examine-exact-volume", ("amount", DrinkVolume(entity, entity.Comp))));
         }
         else
         {
index d3aede0739806eac5b10ddd0a94f7ce19267ccc4..2bbe23dd43753cdd25cd2a8c16e2b96d8649fd09 100644 (file)
@@ -6,7 +6,7 @@ drink-component-on-examine-is-mostly-full = Mostly Full
 drink-component-on-examine-is-half-full = Halfway Full
 drink-component-on-examine-is-half-empty = Halfway Empty
 drink-component-on-examine-is-mostly-empty = Mostly Empty
-drink-component-on-examine-exact-volume = {$amount}u Full
+drink-component-on-examine-exact-volume = It contains {$amount}u.
 drink-component-try-use-drink-not-open = Open {$owner} first!
 drink-component-try-use-drink-is-empty = {$entity} is empty!
 drink-component-try-use-drink-cannot-drink = You can't drink anything!