Revert "Merge pull request #253 from frosty-dev/CRAB17"
This reverts commit1aa050914b, reversing changes made tof1f191270d.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
using Content.Shared._White.Economy;
|
||||
using Content.Shared.DoAfter;
|
||||
using Content.Shared.Examine;
|
||||
using Content.Shared.Interaction;
|
||||
using Content.Shared.Interaction.Events;
|
||||
using Content.Shared.Popups;
|
||||
@@ -23,7 +22,6 @@ public abstract class SharedProtocolCRAB17System : EntitySystem
|
||||
SubscribeLocalEvent<ProtocolCRAB17Component, UseInHandEvent>(OnUseInHand);
|
||||
SubscribeLocalEvent<ProtocolCRAB17Component, ProtocolCRAB17DoAfterEvent>(OnDoAfter);
|
||||
SubscribeLocalEvent<ProtocolCRAB17Component, InteractUsingEvent>(OnInteractUsing);
|
||||
SubscribeLocalEvent<ProtocolCRAB17Component, ExaminedEvent>(OnExamine);
|
||||
}
|
||||
|
||||
private void OnInteractUsing(EntityUid uid, ProtocolCRAB17Component component, InteractUsingEvent args)
|
||||
@@ -68,20 +66,6 @@ public abstract class SharedProtocolCRAB17System : EntitySystem
|
||||
args.Handled = true;
|
||||
}
|
||||
|
||||
private void OnExamine(EntityUid uid, ProtocolCRAB17Component component, ExaminedEvent args)
|
||||
{
|
||||
if (!TryComp<ProtocolCRAB17Component>(uid, out var comp))
|
||||
return;
|
||||
|
||||
if (!args.IsInDetailsRange)
|
||||
return;
|
||||
|
||||
string bankID = component.BankAccountId != null ? ((int) component.BankAccountId).ToString() : "отсутствует";
|
||||
|
||||
var message = Loc.GetString("protocol-CRAB17-cardID", ("item", bankID));
|
||||
args.PushMarkup(message);
|
||||
}
|
||||
|
||||
public abstract void OnDoAfter(Entity<ProtocolCRAB17Component> ent, ref ProtocolCRAB17DoAfterEvent args);
|
||||
|
||||
}
|
||||
|
||||
@@ -7,7 +7,6 @@ protocol-CRAB17-try-activate = Вы вводите комбинацию и ож
|
||||
protocol-CRAB17-activated = Инициация протокола КРАБ-17 завершена. Ожидайте благополучных новостей.
|
||||
protocol-CRAB17-event-running = Протокол уже запущен, ваши средства в безопасности!
|
||||
protocol-CRAB17-timeout = Линия занята, повторите попытку позже...
|
||||
protocol-CRAB17-cardID = Привязанная карта: { $item }.
|
||||
|
||||
protocol-CRAB17-stage-1 = Внимание! В централизованной системе учёта финансов обнаружена критическая ошибка. Сброс банковских данных станции неизбежен. Персоналу необходимо в кратчайшие сроки обналичить все счета, для избежания потери средств.
|
||||
protocol-CRAB17-stage-2 = Системы банковского учёта сброшены до последней стабильной версии и готовы к дальнейшей работе. Оценочная суммарная потеря средств составляет: { $amount } кредитов.
|
||||
|
||||
Reference in New Issue
Block a user