mirror of
https://github.com/corvax-team/ss14-wl.git
synced 2026-02-14 19:29:57 +01:00
@@ -38,7 +38,7 @@ public sealed class BatteryWeaponFireModesSystem : EntitySystem
|
||||
if (!_prototypeManager.TryIndex<EntityPrototype>(fireMode.Prototype, out var proto))
|
||||
return;
|
||||
|
||||
args.PushMarkup(Loc.GetString("gun-set-fire-mode", ("mode", proto.Name)));
|
||||
args.PushMarkup(Loc.GetString("gun-set-fire-mode-examine", ("mode", proto.Name)));
|
||||
}
|
||||
|
||||
private BatteryWeaponFireMode GetMode(BatteryWeaponFireModesComponent component)
|
||||
@@ -124,7 +124,7 @@ public sealed class BatteryWeaponFireModesSystem : EntitySystem
|
||||
_appearanceSystem.SetData(uid, BatteryWeaponFireModeVisuals.State, prototype.ID, appearance);
|
||||
|
||||
if (user != null)
|
||||
_popupSystem.PopupClient(Loc.GetString("gun-set-fire-mode", ("mode", prototype.Name)), uid, user.Value);
|
||||
_popupSystem.PopupClient(Loc.GetString("gun-set-fire-mode-popup", ("mode", prototype.Name)), uid, user.Value);
|
||||
}
|
||||
|
||||
if (TryComp(uid, out BatteryAmmoProviderComponent? batteryAmmoProviderComponent))
|
||||
|
||||
@@ -4,7 +4,8 @@ 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 [color=yellow]{$mode}[/color].
|
||||
gun-set-fire-mode-examine = Set to [color=yellow]{$mode}[/color].
|
||||
gun-set-fire-mode-popup = Changed to {$mode}
|
||||
gun-magazine-whitelist-fail = That won't fit into the gun!
|
||||
gun-magazine-fired-empty = No ammo left!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user