@@ -18,6 +18,7 @@ public sealed class BattledAspect : AspectSystem<BattledAspectComponent>
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private readonly SharedHandsSystem _handsSystem = default!;
|
||||
[Dependency] private readonly IRobustRandom _robustRandom = default!;
|
||||
[Dependency] private readonly ChatHelper _chatHelper = default!;
|
||||
|
||||
private NonPeacefulRoundItemsPrototype _nonPeacefulRoundItemsPrototype = default!;
|
||||
|
||||
@@ -32,7 +33,7 @@ public sealed class BattledAspect : AspectSystem<BattledAspectComponent>
|
||||
{
|
||||
base.Started(uid, component, gameRule, args);
|
||||
|
||||
var prototypes = _prototypeManager.EnumeratePrototypes<NonPeacefulRoundItemsPrototype>().ToList();
|
||||
var prototypes = _prototypeManager.EnumeratePrototypes<NonPeacefulRoundItemsPrototype>().ToList();
|
||||
|
||||
if (prototypes.Count == 0)
|
||||
ForceEndSelf(uid, gameRule);
|
||||
@@ -61,6 +62,7 @@ public sealed class BattledAspect : AspectSystem<BattledAspectComponent>
|
||||
var mob = ev.Mob;
|
||||
|
||||
GiveItem(mob);
|
||||
_chatHelper.SendAspectDescription(mob, Loc.GetString("battled-aspect-desc"));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -72,10 +74,10 @@ public sealed class BattledAspect : AspectSystem<BattledAspectComponent>
|
||||
|
||||
var transform = CompOrNull<TransformComponent>(player);
|
||||
|
||||
if(transform == null)
|
||||
if (transform == null)
|
||||
return;
|
||||
|
||||
if(!HasComp<HandsComponent>(player))
|
||||
if (!HasComp<HandsComponent>(player))
|
||||
return;
|
||||
|
||||
var weaponEntity = EntityManager.SpawnEntity(item, transform.Coordinates);
|
||||
|
||||
@@ -21,6 +21,7 @@ public sealed class CatEarsAspect : AspectSystem<CatEarsAspectComponent>
|
||||
[Dependency] private readonly IPrototypeManager _protoMan = default!;
|
||||
[Dependency] private readonly IRobustRandom _random = default!;
|
||||
[Dependency] private readonly ChatSystem _chat = default!;
|
||||
[Dependency] private readonly ChatHelper _chatHelper = default!;
|
||||
|
||||
private MarkingPrototype _ears = default!;
|
||||
private MarkingPrototype _tail = default!;
|
||||
@@ -81,6 +82,7 @@ public sealed class CatEarsAspect : AspectSystem<CatEarsAspectComponent>
|
||||
return;
|
||||
|
||||
AddMarkings(ev.Mob);
|
||||
_chatHelper.SendAspectDescription(ev.Mob, Loc.GetString("cat-ears-aspect-desc"));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -94,18 +96,18 @@ public sealed class CatEarsAspect : AspectSystem<CatEarsAspectComponent>
|
||||
case "Felinid":
|
||||
return;
|
||||
case "Human":
|
||||
{
|
||||
if (!appearance.MarkingSet.TryGetCategory(MarkingCategories.HeadTop, out var markings) ||
|
||||
markings.Count == 0)
|
||||
AddEars(appearance);
|
||||
{
|
||||
if (!appearance.MarkingSet.TryGetCategory(MarkingCategories.HeadTop, out var markings) ||
|
||||
markings.Count == 0)
|
||||
AddEars(appearance);
|
||||
|
||||
if (!appearance.MarkingSet.TryGetCategory(MarkingCategories.Tail, out markings) || markings.Count == 0)
|
||||
AddTail(appearance);
|
||||
if (!appearance.MarkingSet.TryGetCategory(MarkingCategories.Tail, out markings) || markings.Count == 0)
|
||||
AddTail(appearance);
|
||||
|
||||
Dirty(uid, appearance);
|
||||
ChangeEmotesVoice(uid, appearance);
|
||||
return;
|
||||
}
|
||||
Dirty(uid, appearance);
|
||||
ChangeEmotesVoice(uid, appearance);
|
||||
return;
|
||||
}
|
||||
default:
|
||||
AddEars(appearance);
|
||||
AddTail(appearance);
|
||||
|
||||
@@ -11,6 +11,8 @@ namespace Content.Server._White.AspectsSystem.Aspects;
|
||||
|
||||
public sealed class DancingAspect : AspectSystem<DancingAspectComponent>
|
||||
{
|
||||
[Dependency] private readonly ChatHelper _chatHelper = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
@@ -45,6 +47,7 @@ public sealed class DancingAspect : AspectSystem<DancingAspectComponent>
|
||||
var mob = ev.Mob;
|
||||
|
||||
EnsureComp<DancingComponent>(mob);
|
||||
_chatHelper.SendAspectDescription(mob, Loc.GetString("dancing-aspect-desc"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,6 +11,7 @@ namespace Content.Server._White.AspectsSystem.Aspects;
|
||||
public sealed class DrunkAspect : AspectSystem<DrunkAspectComponent>
|
||||
{
|
||||
[Dependency] private readonly SharedDrunkSystem _drunkSystem = default!;
|
||||
[Dependency] private readonly ChatHelper _chatHelper = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
@@ -44,6 +45,8 @@ public sealed class DrunkAspect : AspectSystem<DrunkAspectComponent>
|
||||
var mob = ev.Mob;
|
||||
|
||||
_drunkSystem.TryApplyDrunkenness(mob, 50);
|
||||
|
||||
_chatHelper.SendAspectDescription(mob, Loc.GetString("drunk-aspect-desc"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,6 +13,7 @@ namespace Content.Server._White.AspectsSystem.Aspects;
|
||||
|
||||
public sealed class FastAndFuriousAspect : AspectSystem<FastAndFuriousAspectComponent>
|
||||
{
|
||||
[Dependency] private readonly ChatHelper _chatHelper = default!;
|
||||
public override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
@@ -49,10 +50,18 @@ public sealed class FastAndFuriousAspect : AspectSystem<FastAndFuriousAspectComp
|
||||
|
||||
private void HandleLateJoin(PlayerSpawnCompleteEvent ev)
|
||||
{
|
||||
if (!ev.LateJoin)
|
||||
return;
|
||||
var query = EntityQueryEnumerator<FastAndFuriousAspectComponent, GameRuleComponent>();
|
||||
while (query.MoveNext(out var ruleEntity, out _, out var gameRule))
|
||||
{
|
||||
if (!GameTicker.IsGameRuleAdded(ruleEntity, gameRule))
|
||||
continue;
|
||||
|
||||
ModifySpeedIfActive(ev.Mob);
|
||||
if (!ev.LateJoin)
|
||||
return;
|
||||
|
||||
ModifySpeedIfActive(ev.Mob);
|
||||
_chatHelper.SendAspectDescription(ev.Mob, Loc.GetString("fast-and-furious-aspect-desc"));
|
||||
}
|
||||
}
|
||||
|
||||
private void ModifySpeedIfActive(EntityUid mob)
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using System.Numerics;
|
||||
using Content.Server.GameTicking.Rules.Components;
|
||||
using System.Numerics;
|
||||
using Content.Server._White.AspectsSystem.Aspects.Components;
|
||||
using Content.Server._White.AspectsSystem.Base;
|
||||
using Content.Server.GameTicking;
|
||||
@@ -8,18 +7,14 @@ using Content.Shared._White.Telescope;
|
||||
using Content.Shared.Humanoid;
|
||||
using Content.Shared.Movement.Components;
|
||||
using Content.Shared.Movement.Systems;
|
||||
using Content.Server.Chat.Managers;
|
||||
using Robust.Shared.Player;
|
||||
|
||||
namespace Content.Server._White.AspectsSystem.Aspects;
|
||||
|
||||
public sealed class ImmersiveAspect : AspectSystem<ImmersiveAspectComponent>
|
||||
{
|
||||
|
||||
[Dependency] private readonly SharedContentEyeSystem _eye = default!;
|
||||
[Dependency] private readonly SharedTelescopeSystem _telescope = default!;
|
||||
[Dependency] private readonly IChatManager _chatManager = default!;
|
||||
[Dependency] private readonly ISharedPlayerManager _playerManager = default!;
|
||||
[Dependency] private readonly ChatHelper _chatHelper = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
@@ -48,9 +43,7 @@ public sealed class ImmersiveAspect : AspectSystem<ImmersiveAspectComponent>
|
||||
|
||||
FuckUpEye(entity, 0.6f);
|
||||
AddTelescope(entity);
|
||||
_playerManager.TryGetSessionByEntity(entity, out var session);
|
||||
if (session != null)
|
||||
_chatManager.DispatchServerMessage(session, Loc.GetString("immersive-aspect-desc"));
|
||||
_chatHelper.SendAspectDescription(entity, Loc.GetString("immersive-aspect-desc"));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -83,9 +76,7 @@ public sealed class ImmersiveAspect : AspectSystem<ImmersiveAspectComponent>
|
||||
|
||||
FuckUpEye(ev.Mob, 0.6f);
|
||||
AddTelescope(ev.Mob);
|
||||
_playerManager.TryGetSessionByEntity(ev.Mob, out var session);
|
||||
if (session != null)
|
||||
_chatManager.DispatchServerMessage(session, Loc.GetString("immersive-aspect-desc"));
|
||||
_chatHelper.SendAspectDescription(ev.Mob, Loc.GetString("immersive-aspect-desc"));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@ namespace Content.Server._White.AspectsSystem.Aspects;
|
||||
public sealed class RandomAccentAspect : AspectSystem<RandomAccentAspectComponent>
|
||||
{
|
||||
[Dependency] private readonly IRobustRandom _random = default!;
|
||||
[Dependency] private readonly ChatHelper _chatHelper = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
@@ -43,8 +44,8 @@ public sealed class RandomAccentAspect : AspectSystem<RandomAccentAspectComponen
|
||||
return;
|
||||
|
||||
var mob = ev.Mob;
|
||||
|
||||
ApplyRandomAccent(mob);
|
||||
_chatHelper.SendAspectDescription(mob, Loc.GetString("random-accent-aspect-desc"));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -11,10 +11,11 @@ namespace Content.Server._White.AspectsSystem.Aspects;
|
||||
|
||||
public sealed class RandomAppearanceAspect : AspectSystem<RandomAppearanceAspectComponent>
|
||||
{
|
||||
[Dependency] private readonly ChatHelper _chatHelper = default!;
|
||||
public override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
SubscribeLocalEvent<PlayerSpawnCompleteEvent>(HandleLateJoin, after: new [] {typeof(StationRecordsSystem)});
|
||||
SubscribeLocalEvent<PlayerSpawnCompleteEvent>(HandleLateJoin, after: new[] { typeof(StationRecordsSystem) });
|
||||
}
|
||||
|
||||
protected override void Started(EntityUid uid, RandomAppearanceAspectComponent component, GameRuleComponent gameRule, GameRuleStartedEvent args)
|
||||
@@ -41,6 +42,7 @@ public sealed class RandomAppearanceAspect : AspectSystem<RandomAppearanceAspect
|
||||
var mob = ev.Mob;
|
||||
|
||||
EnsureComp<RandomHumanComponent>(mob);
|
||||
_chatHelper.SendAspectDescription(mob, Loc.GetString("random-appearance-aspect-desc"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,6 +14,7 @@ public sealed class RandomItemAspect : AspectSystem<RandomItemAspectComponent>
|
||||
{
|
||||
[Dependency] private readonly SharedHandsSystem _handsSystem = default!;
|
||||
[Dependency] private readonly RandomGiftSystem _giftSystem = default!;
|
||||
[Dependency] private readonly ChatHelper _chatHelper = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
@@ -48,6 +49,7 @@ public sealed class RandomItemAspect : AspectSystem<RandomItemAspectComponent>
|
||||
var mob = ev.Mob;
|
||||
|
||||
GiveItem(mob, component);
|
||||
_chatHelper.SendAspectDescription(mob, Loc.GetString("random-item-aspect-desc"));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -62,10 +64,10 @@ public sealed class RandomItemAspect : AspectSystem<RandomItemAspectComponent>
|
||||
|
||||
var transform = CompOrNull<TransformComponent>(player);
|
||||
|
||||
if(transform == null)
|
||||
if (transform == null)
|
||||
return;
|
||||
|
||||
if(!HasComp<HandsComponent>(player))
|
||||
if (!HasComp<HandsComponent>(player))
|
||||
return;
|
||||
|
||||
var weaponEntity = EntityManager.SpawnEntity(component.Item, transform.Coordinates);
|
||||
|
||||
@@ -13,6 +13,7 @@ namespace Content.Server._White.AspectsSystem.Aspects;
|
||||
|
||||
public sealed class SkeletonAspect : AspectSystem<SkeletonAspectComponent>
|
||||
{
|
||||
[Dependency] private readonly ChatHelper _chatHelper = default!;
|
||||
// [Dependency] private readonly IPrototypeManager _protoMan = default!;
|
||||
// [Dependency] private readonly PolymorphSystem _polymorph = default!;
|
||||
// [Dependency] private readonly HumanoidAppearanceSystem _humanoidAppearance = default!;
|
||||
@@ -43,6 +44,7 @@ public sealed class SkeletonAspect : AspectSystem<SkeletonAspectComponent>
|
||||
{
|
||||
PolymorphEntity(ent.Key, ent.Value);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void HandleLateJoin(PlayerSpawnCompleteEvent ev)
|
||||
@@ -57,6 +59,8 @@ public sealed class SkeletonAspect : AspectSystem<SkeletonAspectComponent>
|
||||
return;
|
||||
|
||||
PolymorphEntity(ev.Mob);
|
||||
|
||||
_chatHelper.SendAspectDescription(ev.Mob, Loc.GetString("skeleton-aspect-desc"));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -12,6 +12,8 @@ public sealed partial class AspectComponent : Component
|
||||
|
||||
[DataField] public string? Requires;
|
||||
|
||||
[DataField] public string? Sender;
|
||||
|
||||
[DataField] public float Weight = 1.0f;
|
||||
|
||||
[DataField] public bool IsForbidden;
|
||||
|
||||
@@ -66,8 +66,10 @@ public abstract class AspectSystem<T> : GameRuleSystem<T> where T : Component
|
||||
|
||||
if (aspect is { Description: not null, IsHidden: false })
|
||||
{
|
||||
_chatSystem.DispatchGlobalAnnouncement(aspect.Description, playSound: false,
|
||||
colorOverride: Color.Aquamarine);
|
||||
_chatSystem.DispatchGlobalAnnouncement(aspect.Description,
|
||||
sender: aspect.Sender ??= "Центральное Командование",
|
||||
playSound: false,
|
||||
colorOverride: Color.Aquamarine);
|
||||
}
|
||||
|
||||
_audio.PlayGlobal(aspect.StartAudio, Filter.Broadcast(), true);
|
||||
@@ -105,14 +107,17 @@ public abstract class AspectSystem<T> : GameRuleSystem<T> where T : Component
|
||||
|
||||
if (aspect is { Name: not null, IsHidden: false })
|
||||
{
|
||||
_chatSystem.DispatchGlobalAnnouncement($"Именем аспекта являлось: {aspect.Name}", playSound: false,
|
||||
colorOverride: Color.Aquamarine);
|
||||
|
||||
_chatSystem.DispatchGlobalAnnouncement($"Именем аспекта являлось: {aspect.Name}",
|
||||
sender: aspect.Sender ??= "Центральное Командование",
|
||||
playSound: false,
|
||||
colorOverride: Color.Aquamarine);
|
||||
}
|
||||
|
||||
_audio.PlayGlobal(aspect.EndAudio, Filter.Broadcast(), true);
|
||||
}
|
||||
|
||||
#region Helpers
|
||||
#region Helpers
|
||||
|
||||
/// <summary>
|
||||
/// Forces this aspect to end prematurely.
|
||||
@@ -140,5 +145,5 @@ public abstract class AspectSystem<T> : GameRuleSystem<T> where T : Component
|
||||
return grids.Count > 0;
|
||||
}
|
||||
|
||||
#endregion
|
||||
#endregion
|
||||
}
|
||||
|
||||
19
Content.Server/_White/AspectsSystem/Base/ChatHelper.cs
Normal file
19
Content.Server/_White/AspectsSystem/Base/ChatHelper.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Content.Server.Chat.Managers;
|
||||
using Robust.Shared.Player;
|
||||
|
||||
namespace Content.Server._White.AspectsSystem.Base;
|
||||
|
||||
public sealed class ChatHelper : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly ISharedPlayerManager _playerManager = default!;
|
||||
[Dependency] private readonly IChatManager _chatManager = default!;
|
||||
|
||||
public void SendAspectDescription(EntityUid mob, string messageKey)
|
||||
{
|
||||
_playerManager.TryGetSessionByEntity(mob, out var session);
|
||||
if (session != null)
|
||||
{
|
||||
_chatManager.DispatchServerMessage(session, Loc.GetString(messageKey));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -23,7 +23,7 @@ public sealed class RandomArtifactsSystem : EntitySystem
|
||||
[Dependency] private readonly StationSystem _station = default!;
|
||||
[Dependency] private readonly IComponentFactory _componentFactory = default!;
|
||||
|
||||
private float _itemToArtifactRatio; // from 0 to 100. In % percents. Default is 0.4%
|
||||
private float _itemToArtifactRatio; // from 0 to 100. In % percents. Default is 0.5%
|
||||
private bool _artifactsEnabled;
|
||||
|
||||
public override void Initialize()
|
||||
@@ -76,7 +76,7 @@ public sealed class RandomArtifactsSystem : EntitySystem
|
||||
continue;
|
||||
|
||||
// var artifactComponent = EnsureComp<ArtifactComponent>(entity);
|
||||
var comp = (ArtifactComponent) _componentFactory.GetComponent("Artifact");
|
||||
var comp = (ArtifactComponent)_componentFactory.GetComponent("Artifact");
|
||||
comp.Owner = entity;
|
||||
_artifactsSystem.SafeRandomizeArtifact(entity, ref comp);
|
||||
AddComp(entity, comp);
|
||||
@@ -88,7 +88,7 @@ public sealed class RandomArtifactsSystem : EntitySystem
|
||||
|
||||
private HashSet<ItemComponent> GetPercentageOfHashSet(List<ItemComponent> sourceList, float percentage)
|
||||
{
|
||||
var countToAdd = (int) Math.Round((double) sourceList.Count * percentage / 100);
|
||||
var countToAdd = (int)Math.Round((double)sourceList.Count * percentage / 100);
|
||||
|
||||
return sourceList.Where(x => !Transform(x.Owner).Anchored).Take(countToAdd).ToHashSet();
|
||||
}
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
using Robust.Shared.Configuration;
|
||||
using Content.Server._White.AspectsSystem.Base;
|
||||
using Content.Server.Chat.Managers;
|
||||
using Robust.Shared.Configuration;
|
||||
using Robust.Shared.Player;
|
||||
|
||||
namespace Content.Server._White;
|
||||
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
using Content.Shared.Standing.Systems;
|
||||
|
||||
namespace Content.Server._White._Engi.DirectBallsHit;
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed partial class DirectBallsHitComponent : Component
|
||||
{
|
||||
[DataField]
|
||||
public TimeSpan KnockdownTime = TimeSpan.FromSeconds(2.0f);
|
||||
|
||||
[DataField]
|
||||
public TimeSpan JitterTime = TimeSpan.FromSeconds(2.0f);
|
||||
|
||||
[DataField]
|
||||
public TimeSpan StutterTime = TimeSpan.FromSeconds(2.0f);
|
||||
|
||||
[DataField]
|
||||
public SharedStandingStateSystem.DropHeldItemsBehavior KnockDownBehavior = SharedStandingStateSystem.DropHeldItemsBehavior.AlwaysDrop;
|
||||
|
||||
[DataField]
|
||||
public bool RequireWield = true;
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
using Content.Shared.Stunnable;
|
||||
using Content.Shared.Weapons.Melee.Events;
|
||||
using Content.Shared.Wieldable.Components;
|
||||
using Content.Shared.Jittering;
|
||||
using Content.Shared.Speech.EntitySystems;
|
||||
using Content.Shared.StatusEffect;
|
||||
using Content.Shared.Standing;
|
||||
using Content.Shared.Electrocution;
|
||||
using Content.Shared.Popups;
|
||||
using Content.Shared._White.Implants.NeuroControl;
|
||||
using Robust.Shared.Timing;
|
||||
using Content.Server.Chat.Systems;
|
||||
|
||||
namespace Content.Server._White._Engi.DirectBallsHit;
|
||||
|
||||
public sealed class DirectBallsHitSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly SharedStunSystem _stun = default!;
|
||||
[Dependency] private readonly SharedJitteringSystem _jitter = default!;
|
||||
[Dependency] private readonly SharedStutteringSystem _stutter = default!;
|
||||
[Dependency] private readonly SharedElectrocutionSystem _electrocution = default!;
|
||||
[Dependency] private readonly SharedPopupSystem _popupSystem = default!;
|
||||
[Dependency] private readonly ChatSystem _chat = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
|
||||
SubscribeLocalEvent<DirectBallsHitComponent, MeleeHitEvent>(OnHit);
|
||||
}
|
||||
|
||||
private void OnHit(Entity<DirectBallsHitComponent> ent, ref MeleeHitEvent args)
|
||||
{
|
||||
if (ent.Comp.RequireWield)
|
||||
{
|
||||
if (!TryComp<WieldableComponent>(args.Weapon, out var weapon))
|
||||
return;
|
||||
|
||||
if (!weapon.Wielded)
|
||||
return;
|
||||
}
|
||||
|
||||
foreach (var uid in args.HitEntities)
|
||||
{
|
||||
_popupSystem.PopupEntity(
|
||||
Loc.GetString("direct-balls-hit", ("uid", uid)),
|
||||
uid,
|
||||
PopupType.SmallCaution);
|
||||
|
||||
Timer.Spawn(TimeSpan.FromSeconds(0.5f), () => _chat.TryEmoteWithChat(uid, "Scream"));
|
||||
|
||||
if (HasComp<NeuroStabilizationComponent>(uid))
|
||||
{
|
||||
_electrocution.TryDoElectrocution(uid, null, 30, TimeSpan.FromSeconds(1), false, 0.5f, null, true);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (TryComp(uid, out StandingStateComponent? standingState) && standingState.CanLieDown)
|
||||
_stun.TryKnockdown(uid, ent.Comp.KnockdownTime, true, behavior: ent.Comp.KnockDownBehavior);
|
||||
|
||||
if (TryComp(uid, out StatusEffectsComponent? statusEffects))
|
||||
{
|
||||
_jitter.DoJitter(uid, ent.Comp.JitterTime, true, status: statusEffects);
|
||||
_stutter.DoStutter(uid, ent.Comp.StutterTime, true, statusEffects);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9,6 +9,7 @@ using Content.Shared.Database;
|
||||
using Content.Shared.Hands;
|
||||
using Content.Shared.Mobs;
|
||||
using Content.Shared.Mobs.Components;
|
||||
using Content.Shared.Mobs.Systems;
|
||||
using Content.Shared.Movement.Events;
|
||||
using Content.Shared.Movement.Systems;
|
||||
using Content.Shared.Standing;
|
||||
@@ -29,6 +30,7 @@ public abstract class SharedStunSystem : EntitySystem
|
||||
[Dependency] private readonly SharedStandingStateSystem _standingState = default!;
|
||||
[Dependency] private readonly StatusEffectsSystem _statusEffect = default!;
|
||||
[Dependency] private readonly SharedContainerSystem _container = default!;
|
||||
[Dependency] private readonly MobStateSystem _mobStateSystem = default!; // WD
|
||||
|
||||
/// <summary>
|
||||
/// Friction modifier for knocked down players.
|
||||
@@ -117,7 +119,7 @@ public abstract class SharedStunSystem : EntitySystem
|
||||
if (!TryComp(uid, out StandingStateComponent? standing) || !(!standing.CanLieDown || standing.AutoGetUp)) // WD edit
|
||||
return;
|
||||
|
||||
if (standing.AutoGetUp && !_container.IsEntityInContainer(uid)) // WD edit
|
||||
if (standing.AutoGetUp && !_container.IsEntityInContainer(uid) && _mobStateSystem.IsAlive(uid)) // WD edit
|
||||
{
|
||||
_standingState.TryStandUp(uid, standing);
|
||||
return;
|
||||
|
||||
@@ -26,17 +26,17 @@ public sealed class KnockDownOnHitSystem : EntitySystem
|
||||
if (time <= TimeSpan.Zero)
|
||||
return;
|
||||
|
||||
if (ent.Comp.RequireWield)
|
||||
{
|
||||
if (!TryComp<WieldableComponent>(args.Weapon, out var weapon))
|
||||
return;
|
||||
|
||||
if (!weapon.Wielded)
|
||||
return;
|
||||
}
|
||||
|
||||
foreach (var uid in args.HitEntities)
|
||||
{
|
||||
if (ent.Comp.RequireWield)
|
||||
{
|
||||
if (!TryComp<WieldableComponent>(args.Weapon, out var weapon))
|
||||
continue;
|
||||
|
||||
if (!weapon.Wielded)
|
||||
continue;
|
||||
}
|
||||
|
||||
_stun.TryKnockdown(uid, time, true, behavior: ent.Comp.KnockDownBehavior);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -418,7 +418,7 @@ public sealed class WhiteCVars
|
||||
CVarDef.Create("white.random_artifacts_enabled", true, CVar.SERVERONLY);
|
||||
|
||||
public static readonly CVarDef<float> ItemToArtifactRatio =
|
||||
CVarDef.Create("white.random_artifacts_ratio", 0.4f, CVar.SERVERONLY);
|
||||
CVarDef.Create("white.random_artifacts_ratio", 0.5f, CVar.SERVERONLY);
|
||||
|
||||
public static readonly CVarDef<string> ACWebhook =
|
||||
CVarDef.Create("ac.webhook", "", CVar.SERVERONLY);
|
||||
|
||||
27
Content.Shared/_White/_Engi/Limping/LimpingComponent.cs
Normal file
27
Content.Shared/_White/_Engi/Limping/LimpingComponent.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared._White._Engi.Limping;
|
||||
|
||||
/// <summary>
|
||||
/// WD.
|
||||
/// This is used for the Limping trait.
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
public sealed partial class LimpingComponent : Component
|
||||
{
|
||||
[DataField]
|
||||
public float SpeedModifier = 0.3f;
|
||||
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class LimpingComponentState : ComponentState
|
||||
{
|
||||
public float SpeedModifier;
|
||||
|
||||
public LimpingComponentState(float speedModifier)
|
||||
{
|
||||
SpeedModifier = speedModifier;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
namespace Content.Shared._White._Engi.Limping;
|
||||
|
||||
/// <summary>
|
||||
/// WD.
|
||||
/// This is used for the Limping trait to reduce it.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed partial class LimpingHelperComponent : Component
|
||||
{
|
||||
|
||||
}
|
||||
80
Content.Shared/_White/_Engi/Limping/LimpingSystem.cs
Normal file
80
Content.Shared/_White/_Engi/Limping/LimpingSystem.cs
Normal file
@@ -0,0 +1,80 @@
|
||||
using Content.Shared.Hands;
|
||||
using Content.Shared.Movement.Systems;
|
||||
using Robust.Shared.Timing;
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Containers;
|
||||
|
||||
namespace Content.Shared._White._Engi.Limping;
|
||||
|
||||
public sealed class LimpingSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly IGameTiming _gameTiming = default!;
|
||||
[Dependency] private readonly MovementSpeedModifierSystem _movementSpeed = default!;
|
||||
[Dependency] private readonly SharedContainerSystem _container = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
SubscribeLocalEvent<LimpingHelperComponent, GotEquippedHandEvent>(OnGotEquipped);
|
||||
SubscribeLocalEvent<LimpingHelperComponent, GotUnequippedHandEvent>(OnGotUnequipped);
|
||||
|
||||
SubscribeLocalEvent<LimpingComponent, RefreshMovementSpeedModifiersEvent>(OnRefreshMoveSpeed);
|
||||
SubscribeLocalEvent<LimpingComponent, ComponentShutdown>(OnShutdown);
|
||||
|
||||
SubscribeLocalEvent<LimpingComponent, ComponentGetState>(OnGetState);
|
||||
SubscribeLocalEvent<LimpingComponent, ComponentHandleState>(OnHandleState);
|
||||
}
|
||||
|
||||
private void OnShutdown(Entity<LimpingComponent> ent, ref ComponentShutdown args)
|
||||
{
|
||||
_movementSpeed.RefreshMovementSpeedModifiers(ent);
|
||||
}
|
||||
|
||||
private void OnRefreshMoveSpeed(EntityUid uid, LimpingComponent component, RefreshMovementSpeedModifiersEvent args)
|
||||
{
|
||||
args.ModifySpeed(component.SpeedModifier, component.SpeedModifier);
|
||||
}
|
||||
|
||||
private void OnGotEquipped(Entity<LimpingHelperComponent> ent, ref GotEquippedHandEvent args)
|
||||
{
|
||||
if (_gameTiming.ApplyingState)
|
||||
return;
|
||||
|
||||
if (!TryComp<LimpingComponent>(args.User, out var comp))
|
||||
return;
|
||||
|
||||
if (_gameTiming.IsFirstTimePredicted)
|
||||
comp.SpeedModifier = 0.5f;
|
||||
|
||||
_movementSpeed.RefreshMovementSpeedModifiers(args.User);
|
||||
}
|
||||
|
||||
private void OnGotUnequipped(Entity<LimpingHelperComponent> ent, ref GotUnequippedHandEvent args)
|
||||
{
|
||||
if (!TryComp<LimpingComponent>(args.User, out var comp))
|
||||
return;
|
||||
|
||||
if (_gameTiming.IsFirstTimePredicted)
|
||||
comp.SpeedModifier = 0.3f;
|
||||
|
||||
_movementSpeed.RefreshMovementSpeedModifiers(args.User);
|
||||
}
|
||||
|
||||
private void OnGetState(EntityUid uid, LimpingComponent component, ref ComponentGetState args)
|
||||
{
|
||||
args.State = new LimpingComponentState(component.SpeedModifier);
|
||||
}
|
||||
|
||||
private void OnHandleState(EntityUid uid, LimpingComponent component, ref ComponentHandleState args)
|
||||
{
|
||||
if (args.Current is not LimpingComponentState state)
|
||||
return;
|
||||
|
||||
var diff = !MathHelper.CloseTo(component.SpeedModifier, state.SpeedModifier);
|
||||
|
||||
if (diff && _container.TryGetContainingContainer(uid, out var container))
|
||||
{
|
||||
component.SpeedModifier = state.SpeedModifier;
|
||||
_movementSpeed.RefreshMovementSpeedModifiers(container.Owner);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,23 +1,4 @@
|
||||
Entries:
|
||||
- author: Valtos
|
||||
changes:
|
||||
- message: "\u0414\u043E\u0431\u0430\u0432\u043B\u0435\u043D \u043F\u0440\u0438\u0437\
|
||||
\u0440\u0430\u043A Krokozyabra."
|
||||
type: Add
|
||||
id: 151
|
||||
time: '2024-02-21T10:30:04.0000000+00:00'
|
||||
url: https://api.github.com/repos/frosty-dev/ss14-core/pulls/106
|
||||
- author: Valtos
|
||||
changes:
|
||||
- message: "\u0422\u0435\u043F\u0435\u0440\u044C \u043F\u0435\u0440\u0435\u0437\u0430\
|
||||
\u043F\u0443\u0441\u043A\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0434\
|
||||
\u043E\u043B\u0436\u043D\u044B \u0431\u044B\u0442\u044C \u043F\u043B\u0430\u0432\
|
||||
\u043D\u044B\u043C\u0438 \u0438 \u0431\u0435\u0437 \u0432\u044B\u043B\u0435\u0442\
|
||||
\u043E\u0432."
|
||||
type: Add
|
||||
id: 152
|
||||
time: '2024-02-21T11:07:26.0000000+00:00'
|
||||
url: https://api.github.com/repos/frosty-dev/ss14-core/pulls/107
|
||||
- author: Aviu
|
||||
changes:
|
||||
- message: "\u041F\u0440\u0435\u0434\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\
|
||||
@@ -8878,3 +8859,43 @@
|
||||
id: 650
|
||||
time: '2025-01-04T21:01:53.0000000+00:00'
|
||||
url: https://api.github.com/repos/frosty-dev/ss14-core/pulls/871
|
||||
- author: Ivangelion
|
||||
changes:
|
||||
- message: "\u041F\u0435\u0440\u0435\u0440\u0430\u0431\u043E\u0442\u0430\u043D\u044B\
|
||||
\ \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u044F \u0430\u0441\u043F\u0435\u043A\
|
||||
\u0442\u043E\u0432."
|
||||
type: Tweak
|
||||
id: 651
|
||||
time: '2025-01-05T16:13:49.0000000+00:00'
|
||||
url: https://api.github.com/repos/frosty-dev/ss14-core/pulls/860
|
||||
- author: BIG_ZI_348
|
||||
changes:
|
||||
- message: "\u0414\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0430 \u043D\u043E\u0432\
|
||||
\u0430\u044F \u0447\u0435\u0440\u0442\u0430: \u0445\u0440\u043E\u043C\u043E\u0442\
|
||||
\u0430 (\u0438\u0434\u0451\u0442 \u0432 \u043A\u043E\u043C\u043F\u043B\u0435\
|
||||
\u043A\u0442\u0435 \u0441 \u0442\u0440\u043E\u0441\u0442\u044C\u044E)."
|
||||
type: Add
|
||||
- message: "\u0418\u0441\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u043E \u043F\u043E\
|
||||
\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438 \u043F\u043E\u043F\
|
||||
\u044B\u0442\u043A\u0435 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\
|
||||
\u0435\u0441\u043A\u0438 \u0432\u0441\u0442\u0430\u0442\u044C \u0431\u0443\u0434\
|
||||
\u0443\u0447\u0438 \u043C\u0451\u0440\u0442\u0432\u044B\u043C."
|
||||
type: Fix
|
||||
- message: "\u0418\u0441\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u043E \u043E\u0442\
|
||||
\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0443\u0432\u0435\u0434\
|
||||
\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u043F\u0440\u0438 \u043F\u043E\u043F\
|
||||
\u044B\u0442\u043A\u0435 \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0438\u0442\
|
||||
\u044C \u0433\u0435\u043D\u043E\u043A\u0440\u0430\u0434\u0430 \u0438\u043C\u043F\
|
||||
\u043B\u0430\u043D\u0442\u0435\u0440\u043E\u043C."
|
||||
type: Fix
|
||||
- message: "\u0418\u043D\u0441\u043F\u0435\u043A\u0442\u043E\u0440 \u0442\u0435\u043F\
|
||||
\u0435\u0440\u044C \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0447\u0430\
|
||||
\u0441\u0442\u044C\u044E \u043A\u043E\u043C\u0430\u043D\u0434\u043E\u0432\u0430\
|
||||
\u043D\u0438\u044F."
|
||||
type: Fix
|
||||
- message: "\u041F\u0440\u0430\u0432\u043A\u0438 \u043F\u0435\u0440\u0435\u0432\u043E\
|
||||
\u0434\u043E\u0432 \u043C\u0435\u043B\u043E\u0447\u0435\u0439."
|
||||
type: Fix
|
||||
id: 652
|
||||
time: '2025-01-05T20:40:31.0000000+00:00'
|
||||
url: https://api.github.com/repos/frosty-dev/ss14-core/pulls/872
|
||||
|
||||
1
Resources/Locale/ru-RU/_Engi/direct-balls-hit.ftl
Normal file
1
Resources/Locale/ru-RU/_Engi/direct-balls-hit.ftl
Normal file
@@ -0,0 +1 @@
|
||||
direct-balls-hit = { CAPITALIZE($uid) } получает точный удар в пах!
|
||||
@@ -1 +1,10 @@
|
||||
immersive-aspect-desc = Для осмотра своего окружение, нажмите клавишу присмотреться/прицелиться (по умолчанию - Пробел).
|
||||
skeleton-aspect-desc = Из-за обстоятельств на станции - все персонажи стали скелетами.
|
||||
battled-aspect-desc = Чтобы то ни было ранее, но у вас с собой оказалось случайное оружие.
|
||||
cat-ears-aspect-desc = Из-за ошибки в системе клонирования на ЦК все члены экипажа стали походить на фелинидов.
|
||||
dancing-aspect-desc = Федерация Волшебников прокляла всех работников этой станции на танец до смерти.
|
||||
drunk-aspect-desc = Ваш персонаж слишком хорошо отгулял в своё свободное время.
|
||||
fast-and-furious-aspect-desc = Из-за обстоятельств на станции - все персонажи передвигаются быстрее обычного.
|
||||
random-accent-aspect-desc = Из-за обстоятельств на станции - все персонажи получили случайный акцент.
|
||||
random-appearance-aspect-desc = Все персонажи получили случайную внешность.
|
||||
random-item-aspect-desc = НаноТрейзен выдало всем случайный предмет.
|
||||
|
||||
@@ -81,3 +81,6 @@ ent-TentacleArmGun = рука-щупальце
|
||||
|
||||
ent-AbsorbMoreDnaObjective = Поглотите больше людей, чем кто-либо еще в Улье
|
||||
.desc = Поглотите столько, сколько сможете.
|
||||
|
||||
ent-ChangelingShopImplant = неестественный орган
|
||||
.desc = Магазин генокрада реализован как имплант и при попытке его извлечь пусть игроки видят имя - неестественный орган.
|
||||
|
||||
@@ -91,7 +91,10 @@ alerts-pulling-name = Вы тянете
|
||||
alerts-pulling-desc = Вы что-то тянете. Щелкните по иконке, чтобы перестать.
|
||||
|
||||
alerts-bleed-name = [color=red]Кровотечение[/color]
|
||||
alerts-bleeding-desc = У вас [color=#C10000]кровотечение[/color], вколите [color=#3D9CBF]экстренный медипен[/color] или перебинтуйтесь.
|
||||
alerts-bleed-desc = У вас [color=#C10000]кровотечение[/color], вколите [color=#3D9CBF]экстренный медипен[/color] или перебинтуйтесь.
|
||||
|
||||
alerts-bleeding-name = { alerts-bleed-name }
|
||||
alerts-bleeding-desc = { alerts-bleed-desc }
|
||||
|
||||
alerts-pacified-name = [color=green]Пацифизм[/color]
|
||||
alerts-pacified-desc = Вы чувствуете себя умиротворенно и не можете вредить живым существам.
|
||||
|
||||
@@ -3,3 +3,4 @@ scannable-solution-verb-message = Изучить химический соста
|
||||
scannable-solution-main-text = Содержит следующие химикаты:
|
||||
scannable-solution-empty-container = Не содержит химических веществ.
|
||||
scannable-solution-chemical = - {$amount}ед. [color={$color}]{$type}[/color]
|
||||
scannable-solution-temperature = Температура раствора: { $temperature }K
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
# Damage examines
|
||||
damage-examinable-verb-text = Повреждения
|
||||
damage-examinable-verb-message = Изучить показатели урона.
|
||||
|
||||
damage-hitscan = хитскан
|
||||
damage-projectile = снаряд
|
||||
damage-melee = ближний бой
|
||||
damage-throw = метательное
|
||||
|
||||
damage-examine = Наносит следующие повреждения:
|
||||
damage-examine-type = Наносит следующие повреждения ({ $type }):
|
||||
damage-value =
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
Blunt: 3
|
||||
- type: UseDelay
|
||||
delay: 1
|
||||
- type: LimpingHelper # WD
|
||||
|
||||
- type: entity
|
||||
name: cane blade
|
||||
|
||||
@@ -179,7 +179,7 @@
|
||||
- type: DamageOtherOnHit
|
||||
damage:
|
||||
types:
|
||||
Piercing: 10 # WD
|
||||
Slash: 10 # WD
|
||||
- type: Sprite
|
||||
sprite: Clothing/Head/Hats/greyflatcap.rsi
|
||||
- type: Clothing
|
||||
|
||||
@@ -14,17 +14,28 @@
|
||||
time: 36000 #10 hrs
|
||||
- !type:AgeRequirement
|
||||
requiredAge: 20
|
||||
- !type:SpeciesRequirement
|
||||
species:
|
||||
- Human
|
||||
- Felinid
|
||||
weight: 10
|
||||
icon: "JobIconInspector"
|
||||
arrivalNotificationPrototype: InspectorArrivalNotification
|
||||
supervisors: job-supervisors-captain
|
||||
whitelistedSpecies:
|
||||
- Human
|
||||
- Felinid
|
||||
canBeAntag: true
|
||||
access:
|
||||
- Service
|
||||
- Lawyer
|
||||
- Brig
|
||||
- Maintenance
|
||||
- Command
|
||||
special:
|
||||
- !type:AddComponentSpecial
|
||||
components:
|
||||
- type: CommandStaff
|
||||
|
||||
- type: startingGear
|
||||
id: InspectorGear
|
||||
|
||||
@@ -79,3 +79,14 @@
|
||||
description: trait-snoring-desc
|
||||
components:
|
||||
- type: Snoring
|
||||
|
||||
- type: trait # WD
|
||||
id: Limping
|
||||
traitGear: Cane
|
||||
name: Хромота
|
||||
description: Слабость в ногах мешает вам нормально передвигаться, трость может немного помочь.
|
||||
blacklist:
|
||||
components:
|
||||
- BorgChassis
|
||||
components:
|
||||
- type: Limping
|
||||
|
||||
@@ -5,7 +5,8 @@
|
||||
components:
|
||||
- type: Aspect
|
||||
name: Акценты вне контроля
|
||||
description: Всегда интересно, какой акцент вы услышите следующим
|
||||
sender: Федерация Космических Волшебников
|
||||
description: Всегда интересно, какой акцент вы услышите следующим.
|
||||
weight: 3
|
||||
startAudio:
|
||||
path: /Audio/White/Aspects/accent.ogg
|
||||
@@ -18,7 +19,7 @@
|
||||
components:
|
||||
- type: Aspect
|
||||
name: Fast and Furious
|
||||
description: Люди спешат и не важно куда
|
||||
description: Новейшие разработки в области фильтрации питьевой воды привели к непредвиденным результатам. КПД двигательных систем большинства органических и неорганических существ возрос на 60%!
|
||||
weight: 3
|
||||
startAudio:
|
||||
path: /Audio/White/Aspects/accent.ogg
|
||||
@@ -58,7 +59,7 @@
|
||||
components:
|
||||
- type: Aspect
|
||||
name: Drunk
|
||||
description: На станции стоит явный запах вчерашнего веселья... и кажется оно только начинается
|
||||
description: На станции стоит явный запах вчерашнего веселья... и кажется оно только начинается.
|
||||
weight: 3
|
||||
startAudio:
|
||||
path: /Audio/White/Aspects/accent.ogg
|
||||
@@ -71,7 +72,7 @@
|
||||
components:
|
||||
- type: Aspect
|
||||
name: Cargo Rich
|
||||
description: Карго работало усердно в прошлую смену, за что они и были награждены премией в размере 100000 кредитов
|
||||
description: Карго работало усердно в прошлую смену, за что они и были награждены премией в размере 100000 кредитов.
|
||||
weight: 2
|
||||
startAudio:
|
||||
path: /Audio/White/Aspects/accent.ogg
|
||||
@@ -97,7 +98,7 @@
|
||||
components:
|
||||
- type: Aspect
|
||||
name: Weak Walls
|
||||
description: На стенах явно экономили
|
||||
description: В связи с невыполнением экономических показателей за предыдущий финансовый период - было принято решение на экономии строительных материалов для стен.
|
||||
weight: 2
|
||||
startAudio:
|
||||
path: /Audio/White/Aspects/accent.ogg
|
||||
@@ -110,7 +111,7 @@
|
||||
components:
|
||||
- type: Aspect
|
||||
name: No engine
|
||||
description: Какой-то смышлённый агент синдиката решил украсть все ваши генераторы энергии целиком
|
||||
description: Какой-то смышлённый агент синдиката решил украсть все ваши генераторы энергии целиком.
|
||||
weight: 2
|
||||
startAudio:
|
||||
path: /Audio/White/Aspects/accent.ogg
|
||||
@@ -123,7 +124,8 @@
|
||||
components:
|
||||
- type: Aspect
|
||||
name: Airunlock
|
||||
description: Кого волнует безопасность? Экипаж свободно может ходить по всем отсекам, ведь все шлюзы теперь для них доступны
|
||||
sender: Федерация Космических Волшебников
|
||||
description: Кого волнует безопасность? Экипаж свободно может ходить по всем отсекам, ведь все шлюзы теперь для них доступны.
|
||||
weight: 2
|
||||
startAudio:
|
||||
path: /Audio/White/Aspects/accent.ogg
|
||||
@@ -137,7 +139,8 @@
|
||||
components:
|
||||
- type: Aspect
|
||||
name: Bloody
|
||||
description: В эту смену любая незначительная травма может оказаться летальной
|
||||
sender: Федерация Космических Волшебников
|
||||
description: В эту смену любая незначительная травма может оказаться летальной.
|
||||
weight: 2
|
||||
startAudio:
|
||||
path: /Audio/White/Aspects/accent.ogg
|
||||
@@ -150,6 +153,7 @@
|
||||
components:
|
||||
- type: Aspect
|
||||
name: Weak
|
||||
sender: Федерация Космических Волшебников
|
||||
description: Удары стали слабее. Пули мягче. К чему это приведёт?
|
||||
weight: 1
|
||||
startAudio:
|
||||
@@ -163,7 +167,7 @@
|
||||
components:
|
||||
- type: Aspect
|
||||
name: Battled
|
||||
description: Люди очень насторожены и готовы дать отпор в любую секунду
|
||||
description: Люди очень насторожены и готовы дать отпор в любую секунду.
|
||||
weight: 1
|
||||
startAudio:
|
||||
path: /Audio/White/Aspects/accent.ogg
|
||||
@@ -189,6 +193,7 @@
|
||||
components:
|
||||
- type: Aspect
|
||||
name: Presents
|
||||
sender: Федерация Космических Волшебников
|
||||
description: А вы верите в Деда Мороза?
|
||||
weight: 3
|
||||
startAudio:
|
||||
@@ -202,6 +207,7 @@
|
||||
components:
|
||||
- type: Aspect
|
||||
name: Dance
|
||||
sender: Федерация Космических Волшебников
|
||||
description: Танцуют все!
|
||||
weight: 3
|
||||
startAudio:
|
||||
@@ -215,7 +221,8 @@
|
||||
components:
|
||||
- type: Aspect
|
||||
name: Reflect
|
||||
description: Ваше отражение повсюду
|
||||
sender: Федерация Космических Волшебников
|
||||
description: Ваше отражение повсюду.
|
||||
weight: 2
|
||||
startAudio:
|
||||
path: /Audio/White/Aspects/accent.ogg
|
||||
@@ -228,7 +235,8 @@
|
||||
components:
|
||||
- type: Aspect
|
||||
name: Slippery
|
||||
description: Постарайтесь не поскальзываться!
|
||||
sender: Федерация Космических Волшебников
|
||||
description: Постарайтесь не подскальзываться!
|
||||
weight: 2
|
||||
startAudio:
|
||||
path: /Audio/White/Aspects/accent.ogg
|
||||
@@ -241,7 +249,7 @@
|
||||
components:
|
||||
- type: Aspect
|
||||
name: Extra TC
|
||||
description: Синдикат выделил 10 дополнительных телекристаллов для предателей
|
||||
description: Синдикат выделил 10 дополнительных телекристаллов для предателей.
|
||||
requires: Traitors
|
||||
weight: 3
|
||||
isHidden: true
|
||||
@@ -254,7 +262,8 @@
|
||||
components:
|
||||
- type: Aspect
|
||||
name: Whisper
|
||||
description: Из-за боли в горле речь дается вам с трудом
|
||||
sender: Федерация Космических Волшебников
|
||||
description: Вы слишком шумные, мы запрещаем вам повышать голос!
|
||||
weight: 3
|
||||
startAudio:
|
||||
path: /Audio/White/Aspects/accent.ogg
|
||||
@@ -268,6 +277,7 @@
|
||||
components:
|
||||
- type: Aspect
|
||||
name: Darkness
|
||||
sender: Федерация Космических Волшебников
|
||||
description: Почему все так темно?
|
||||
weight: 2
|
||||
startAudio:
|
||||
@@ -281,7 +291,7 @@
|
||||
components:
|
||||
- type: Aspect
|
||||
name: Stolen Floor
|
||||
description: Рабочие забыли положить плитку при строительстве станции
|
||||
description: Рабочие забыли положить плитку при строительстве станции.
|
||||
weight: 3
|
||||
startAudio:
|
||||
path: /Audio/White/Aspects/accent.ogg
|
||||
@@ -294,7 +304,7 @@
|
||||
components:
|
||||
- type: Aspect
|
||||
name: Are We In Dungeon
|
||||
description: В связи с невероятной хрупкостью окон было решено заменить их на стены
|
||||
description: В связи с невероятной хрупкостью окон было решено заменить их на стены.
|
||||
weight: 3
|
||||
startAudio:
|
||||
path: /Audio/White/Aspects/accent.ogg
|
||||
@@ -307,7 +317,7 @@
|
||||
components:
|
||||
- type: Aspect
|
||||
name: Cat Ears And Tail
|
||||
description: Из-за ошибки в системе клонирования на ЦК все члены экипажа стали походить на фелинидов
|
||||
description: Из-за ошибки в системе клонирования на ЦК все члены экипажа стали походить на фелинидов.
|
||||
weight: 3
|
||||
startAudio:
|
||||
path: /Audio/White/Aspects/accent.ogg
|
||||
@@ -333,7 +343,7 @@
|
||||
components:
|
||||
- type: Aspect
|
||||
name: Random item
|
||||
description: ЦК выдало каждому члену экипажа определённый предмет
|
||||
description: ЦК выдало каждому члену экипажа определённый предмет.
|
||||
weight: 3
|
||||
startAudio:
|
||||
path: /Audio/White/Aspects/accent.ogg
|
||||
@@ -346,7 +356,7 @@
|
||||
components:
|
||||
- type: Aspect
|
||||
name: Immersive
|
||||
description: В связи с недавними трагичными событиями экипаж станции погрузился в себя
|
||||
description: В связи с недавними трагичными событиями экипаж станции погрузился в себя.
|
||||
weight: 3
|
||||
startAudio:
|
||||
path: /Audio/White/Aspects/accent.ogg
|
||||
@@ -374,6 +384,6 @@
|
||||
components:
|
||||
- type: Aspect
|
||||
name: "DeleteVendingMachineAspect"
|
||||
description: "Некий Жабак украл все торговые автоматы!"
|
||||
description: "Какой-то смышлённый агент синдиката украл все торговые автоматы!"
|
||||
weight: 3
|
||||
- type: DeleteVendingMachine
|
||||
|
||||
@@ -347,7 +347,7 @@
|
||||
- type: MeleeWeapon
|
||||
soundHit:
|
||||
path: /Audio/White/Items/hit/chainhit.ogg
|
||||
range: 1.5
|
||||
range: 2
|
||||
attackRate: 0.5
|
||||
damage:
|
||||
types:
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
- type: entity
|
||||
parent: Cane
|
||||
id: OldCane
|
||||
name: трость старика
|
||||
description: Изношенная деревянная трость.
|
||||
components:
|
||||
- type: MeleeWeapon
|
||||
wideAnimationRotation: 45
|
||||
damage:
|
||||
types:
|
||||
Blunt: 5
|
||||
- type: StaminaDamageOnHit
|
||||
damage: 25
|
||||
- type: Wieldable
|
||||
- type: IncreaseDamageOnWield
|
||||
damage:
|
||||
types:
|
||||
Blunt: 5
|
||||
- type: DirectBallsHit
|
||||
- type: MeleeThrowOnHit
|
||||
lifetime: 0.1
|
||||
speed: 3
|
||||
requireWield: true
|
||||
- type: UseDelay
|
||||
delay: 1
|
||||
- type: Prying
|
||||
- type: Tool
|
||||
qualities:
|
||||
- Prying
|
||||
useSound:
|
||||
path: /Audio/Items/crowbar.ogg
|
||||
Reference in New Issue
Block a user