Твики (#491)

* Economy additions

* Tweak implant cooldowns

* Cult stuff

* Random appearance aspect nuke ops fix

* Auto shuttle enable on round end

* Holy water threshold
This commit is contained in:
Aviu00
2023-10-17 00:52:02 +09:00
committed by Aviu00
parent 007cf13a71
commit 0962aa2978
12 changed files with 68 additions and 22 deletions

View File

@@ -1,7 +1,10 @@
using System.Linq;
using Content.Server.Access.Systems;
using Content.Server.Humanoid;
using Content.Server.IdentityManagement;
using Content.Server.Mind.Components;
using Content.Server.PDA;
using Content.Server.Roles;
using Content.Shared.Access.Components;
using Content.Shared.Inventory;
using Content.Shared.PDA;
@@ -31,6 +34,10 @@ public sealed class RandomHumanSystem : EntitySystem
_humanoid.LoadProfile(uid, newProfile);
if (TryComp(uid, out MindContainerComponent? mindContainer) && mindContainer.HasMind &&
mindContainer.Mind.Roles.OfType<NukeopsRole>().Any())
return;
_metaData.SetEntityName(uid, newProfile.Name);
if (!_inventorySystem.TryGetSlotEntity(uid, "id", out var idUid))