From 3506e67e88082ca22dc7b720f52748df36de4ab4 Mon Sep 17 00:00:00 2001 From: Kevin Zheng Date: Thu, 18 Jan 2024 14:26:19 -0800 Subject: [PATCH] Fix drink examine text (#24241) --- Content.Server/Nutrition/EntitySystems/DrinkSystem.cs | 2 +- Resources/Locale/en-US/nutrition/components/drink-component.ftl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/Nutrition/EntitySystems/DrinkSystem.cs b/Content.Server/Nutrition/EntitySystems/DrinkSystem.cs index f75dd93e09..f41ca44437 100644 --- a/Content.Server/Nutrition/EntitySystems/DrinkSystem.cs +++ b/Content.Server/Nutrition/EntitySystems/DrinkSystem.cs @@ -147,7 +147,7 @@ public sealed class DrinkSystem : EntitySystem if (TryComp(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 { diff --git a/Resources/Locale/en-US/nutrition/components/drink-component.ftl b/Resources/Locale/en-US/nutrition/components/drink-component.ftl index d3aede0739..2bbe23dd43 100644 --- a/Resources/Locale/en-US/nutrition/components/drink-component.ftl +++ b/Resources/Locale/en-US/nutrition/components/drink-component.ftl @@ -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! -- 2.51.2