]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
improve APE desc, battery weapon desc, and locked desc (#41431)
authorlzk <124214523+lzk228@users.noreply.github.com>
Fri, 14 Nov 2025 22:29:14 +0000 (23:29 +0100)
committerGitHub <noreply@github.com>
Fri, 14 Nov 2025 22:29:14 +0000 (22:29 +0000)
* improve APE desc and locked desc

* 2

Content.Shared/Lock/LockSystem.cs
Resources/Locale/en-US/lock/lock-component.ftl
Resources/Locale/en-US/singularity/components/emitter-component.ftl
Resources/Locale/en-US/weapons/ranged/gun.ftl

index 95a681dc38971addf4492d56e1f3d36fe9ab3423..560bb296ac391beebb1c7b10caa98f13d3326252 100644 (file)
@@ -119,7 +119,7 @@ public sealed class LockSystem : EntitySystem
         if (!lockComp.ShowExamine)
             return;
 
-        args.PushText(Loc.GetString(lockComp.Locked
+        args.PushMarkup(Loc.GetString(lockComp.Locked
                 ? "lock-comp-on-examined-is-locked"
                 : "lock-comp-on-examined-is-unlocked",
             ("entityName", Identity.Name(uid, EntityManager))));
index f1455568b9356c692b9e8e9bb9849c865b83c7b6..23ee543b9f5d0cd3b96bf9ed9cba5179858e0689 100644 (file)
@@ -1,5 +1,5 @@
-lock-comp-on-examined-is-locked = The {$entityName} seems to be locked.
-lock-comp-on-examined-is-unlocked = The {$entityName} seems to be unlocked.
+lock-comp-on-examined-is-locked = The {$entityName} seems to be [color=darkred]locked[/color].
+lock-comp-on-examined-is-unlocked = The {$entityName} seems to be [color=darkgreen]unlocked[/color].
 lock-comp-do-lock-success = You lock the {$entityName}.
 lock-comp-do-unlock-success = You unlock the {$entityName}.
 lock-comp-has-user-access-fail = Access denied.
index c71b3d6bdfd73642ba07726f6a1653a574f47d20..5b15154d30feefce9a6cccd48324de64d8b16a18 100644 (file)
@@ -11,5 +11,5 @@ comp-emitter-turned-off = The {$target} turns off.
 # Shows if the user attempts to activate the emitter while it's un-anchored.
 comp-emitter-not-anchored = The {$target} isn't anchored to the ground!
 
-emitter-component-current-type = The current selected type is: {$type}.
+emitter-component-current-type = The current selected type is: [color=yellow]{$type}[/color].
 emitter-component-type-set = Type set to: {$type}
index a364075be951c2264405f2b988cb9e7735e85d2c..08f1f6cb22b6ece341ff39e6b416c6c6314e04b6 100644 (file)
@@ -4,7 +4,7 @@ gun-fire-rate-examine = Fire rate is [color={$color}]{$fireRate}[/color] per sec
 gun-selector-verb = Change to {$mode}
 gun-selected-mode = Selected {$mode}
 gun-disabled = You can't use guns!
-gun-set-fire-mode = Set to {$mode}
+gun-set-fire-mode = Set to [color=yellow]{$mode}[/color].
 gun-magazine-whitelist-fail = That won't fit into the gun!
 gun-magazine-fired-empty = No ammo left!