Skip to content

Commit

Permalink
Moved the examination strings from land-mines.ftl to armable.ftl.
Browse files Browse the repository at this point in the history
  • Loading branch information
Franz - Josef Björck committed Dec 20, 2024
1 parent 8737dff commit 7410cb9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Content.Shared/Armable/ArmableSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ private void OnExamine(EntityUid uid, ArmableComponent comp, ExaminedEvent args)
return;

if(itemToggle.Activated)
args.PushMarkup(Loc.GetString("land-mine-armed", ("name", uid)));
args.PushMarkup(Loc.GetString("examine-armed", ("name", uid)));
else
args.PushMarkup(Loc.GetString("land-mine-not-armed", ("name", uid)));
args.PushMarkup(Loc.GetString("examine-not-armed", ("name", uid)));
}

/// <summary>
Expand Down
2 changes: 2 additions & 0 deletions Resources/Locale/en-US/armable/armable.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
examine-armed = {CAPITALIZE(THE($name))} is [color=red]armed[/color].
examine-not-armed = {CAPITALIZE(THE($name))} needs to be armed.
2 changes: 0 additions & 2 deletions Resources/Locale/en-US/land-mines/land-mines.ftl
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
land-mine-triggered = You step on the { $mine }!
land-mine-verb-begin = Arm
land-mine-armed = {CAPITALIZE(THE($name))} is [color=red]armed[/color].
land-mine-not-armed = {CAPITALIZE(THE($name))} needs to be armed.

0 comments on commit 7410cb9

Please sign in to comment.