[Feat] War crime console (#144)

* ADD: Icons, New component. Надо будет рефакторнуть худы в одну систему

* Some govno ebanoe

* ui

* Some govno

* UI and UI lol

* Dermo again

* ы

* Добавлена система консоли. Надо добавить манипуляцию с рекордами и сохранение крим. записей на сервер. Я пометил в туду

* Added functional for Criminal Records UI

* Дропаю это говно

* Рабочая версия крим консоли

* Fuull functional

* Added radio

* Arrest info feature

* improve ui

* another names

* New texturem Sprite viewer

* fix small names

* Added login menu

* Final fix.

* ох

* Убрал логгеры

* fix Comments and Access to proto

* moved dummy code, removed qustyions

* added disposer() when window was close

* Small fixes

* Removed comments. Added DNA check for CriminalityHud

* Small lol

---------

Co-authored-by: DocNITE <docnite0530@gmail.com>
This commit is contained in:
RavMorgan
2023-06-15 13:17:04 +03:00
committed by Aviu00
parent 13c0d15601
commit 5f51cb81de
41 changed files with 1922 additions and 28 deletions

View File

@@ -349,7 +349,7 @@ namespace Content.Server.Administration.Systems
if (TryComp(item, out PdaComponent? pda) &&
TryComp(pda.ContainedId, out StationRecordKeyStorageComponent? keyStorage) &&
keyStorage.Key is { } key &&
_stationRecords.TryGetRecord(key.OriginStation, key, out GeneralStationRecord? record))
_stationRecords.TryGetRecord(GetEntity(key.OriginStation), key, out GeneralStationRecord? record))
{
if (TryComp(entity, out DnaComponent? dna) &&
dna.DNA != record.DNA)
@@ -363,7 +363,7 @@ namespace Content.Server.Administration.Systems
continue;
}
_stationRecords.RemoveRecord(key.OriginStation, key);
_stationRecords.RemoveRecord(GetEntity(key.OriginStation), key);
Del(item);
}
}