ChangelogHonk (#161)

* ChangelogHonk

* шлюха

* optimizaaaaaations (#769)

* Переводы (#770)

* Мелочёчки

* А когда ты будешь делать что-то полезное, кроме переводов?

* Я удалил НаноТрейзен

* Automatic changelog update

---------

Co-authored-by: Valtos <valtos@spaces.ru>
Co-authored-by: BIGZi0348 <118811750+BIGZi0348@users.noreply.github.com>
Co-authored-by: RavmorganButOnCocaine <valtos@nextmail.ru>
This commit is contained in:
Jabak
2024-11-05 22:40:00 +03:00
committed by GitHub
parent 4a6f91fe92
commit ada2b18c6d
101 changed files with 466 additions and 289 deletions

View File

@@ -56,7 +56,11 @@ public sealed class ChangelingConditionsSystem : EntitySystem
{
var title = Loc.GetString("objective-condition-absorb-dna", ("count", component.NeedToAbsorb));
var description = Loc.GetString("objective-condition-absorb-dna-desc");
_metaData.SetEntityName(uid, title, args.Meta);
_metaData.SetEntityDescription(uid, description, args.Meta);
}
private void OnAbsorbDnaGetProgress(EntityUid uid, AbsorbDnaConditionComponent component, ref ObjectiveGetProgressEvent args)
@@ -74,7 +78,7 @@ public sealed class ChangelingConditionsSystem : EntitySystem
if (requiredDna == absorbed)
return 1f;
var progress = MathF.Min(absorbed/(float)requiredDna, 1f);
var progress = MathF.Min(absorbed / (float) requiredDna, 1f);
return progress;
}
@@ -156,7 +160,7 @@ public sealed class ChangelingConditionsSystem : EntitySystem
private float GetAbsorbChangelingProgress(MindComponent mind, EntityUid target)
{
if(!_mind.TryGetMind(mind.CurrentEntity!.Value, out var selfMindId, out _))
if (!_mind.TryGetMind(mind.CurrentEntity!.Value, out var selfMindId, out _))
return 0f;
if (!TryComp<MindComponent>(target, out var targetMind))

View File

@@ -97,7 +97,7 @@ namespace Content.Server._White.AspectsSystem.Aspects
{
var traitors = _traitorRuleSystem.GetOtherTraitorMindsAliveAndConnected(null);
var msg = "Станция, служба контрразведки нанотрейзен рассекретила секретную передачу Синдиката и выяснила имена проникниших на вашу станцию агентов. Агенты имеют следующие имена: \n";
var msg = "Станция, служба контрразведки НаноТрейзен рассекретила секретную передачу Синдиката и выяснила имена проникниших на вашу станцию агентов. Агенты имеют следующие имена: \n";
foreach (var traitor in traitors)
{