Багфиксы и всякое (#47)

* - tweak: Tweak CPR speed.

* - fix: Cult action fix.

* Revert "Put entity resetting behind command flag (#24436)"

This reverts commit 5267d3c601.

* - fix: Mindshield fixes.

* - tweak: Give security security glasses.

* - fix: Fix warning.

* - fix: Fix ling TTS.

* - fix: Fix gun cycle.

* - fix: Mark cultist and lings as antags.

* - fix: Fix borg name.

* - fix: Fix carrying throw.

* - fix: Fix gun bolt with no mag.
This commit is contained in:
Aviu00
2024-02-13 01:22:36 +09:00
committed by GitHub
parent a68c1d13b7
commit 5b4164e118
27 changed files with 60 additions and 70 deletions

View File

@@ -20,6 +20,7 @@ using Content.Shared.Roles.Jobs;
using Content.Shared.Station;
using Content.Shared.StatusIcon;
using Content.Shared._White.CharacterExamine;
using Content.Shared.NameIdentifier;
using JetBrains.Annotations;
using Robust.Shared.Configuration;
using Robust.Shared.Map;
@@ -215,15 +216,18 @@ public sealed class StationSpawningSystem : SharedStationSpawningSystem
jobSpecial.AfterEquip(entity);
}
if (prototype.ID.Contains("Cyborg"))
if (prototype.ID.Contains("Borg"))
{
if (!TryComp<NameIdentifierComponent>(entity, out var identifier))
return;
if (_randomizeCharacters || profile == null)
{
_metaSystem.SetEntityName(entity, HumanoidCharacterProfile.GetBorgName());
_metaSystem.SetEntityName(entity, $"{HumanoidCharacterProfile.GetBorgName()} {identifier.FullIdentifier}");
}
else
{
_metaSystem.SetEntityName(entity, profile.BorgName);
_metaSystem.SetEntityName(entity, $"{profile.BorgName} {identifier.FullIdentifier}");
}
}