Эксклюзив Амура
This commit is contained in:
@@ -4,13 +4,12 @@ using Content.Server._Honk.Speech.Components;
|
||||
using Content.Server._Honk.AspectsSystem.Aspects.Components;
|
||||
using Content.Server._White.AspectsSystem.Base;
|
||||
using Content.Shared.Mind.Components;
|
||||
using Robust.Shared.Random;
|
||||
|
||||
namespace Content.Server._Honk.Aspects;
|
||||
|
||||
public sealed class AlasAccentAspect : AspectSystem<AlasAccentAspectComponent>
|
||||
{
|
||||
[Dependency] private readonly IRobustRandom _random = default!;
|
||||
[Dependency] private readonly ChatHelper _chatHelper = default!;
|
||||
public override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
@@ -41,6 +40,7 @@ public sealed class AlasAccentAspect : AspectSystem<AlasAccentAspectComponent>
|
||||
|
||||
var mob = ev.Mob;
|
||||
EntityManager.EnsureComponent<AlasAccentComponent>(mob);
|
||||
_chatHelper.SendAspectDescription(mob, Loc.GetString("alas-aspect-desc"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,12 +5,15 @@ using Content.Server._Honk.AspectsSystem.Aspects.Components;
|
||||
using Content.Server._White.AspectsSystem.Base;
|
||||
using Content.Shared.Mind.Components;
|
||||
using Robust.Shared.Random;
|
||||
using Content.Server._White.Accent.BomzhAccent;
|
||||
|
||||
namespace Content.Server._Honk.Aspects;
|
||||
|
||||
public sealed class CaucasianAccentAspect : AspectSystem<CaucasianAccentAspectComponent>
|
||||
{
|
||||
[Dependency] private readonly IRobustRandom _random = default!;
|
||||
[Dependency] private readonly ChatHelper _chatHelper = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
@@ -25,6 +28,8 @@ public sealed class CaucasianAccentAspect : AspectSystem<CaucasianAccentAspectCo
|
||||
while (query.MoveNext(out var ent, out _))
|
||||
{
|
||||
EntityManager.EnsureComponent<CaucasianAccentComponent>(ent);
|
||||
if (_random.Prob(0.95f))
|
||||
EntityManager.EnsureComponent<BomzhAccentComponent>(ent);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,6 +46,9 @@ public sealed class CaucasianAccentAspect : AspectSystem<CaucasianAccentAspectCo
|
||||
|
||||
var mob = ev.Mob;
|
||||
EntityManager.EnsureComponent<CaucasianAccentComponent>(mob);
|
||||
if (_random.Prob(0.95f))
|
||||
EntityManager.EnsureComponent<BomzhAccentComponent>(mob);
|
||||
_chatHelper.SendAspectDescription(mob, Loc.GetString("caucasian-accent-aspect-desc"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,3 +8,8 @@ fast-and-furious-aspect-desc = Из-за обстоятельств на ста
|
||||
random-accent-aspect-desc = Из-за обстоятельств на станции - все персонажи получили случайный акцент.
|
||||
random-appearance-aspect-desc = Все персонажи получили случайную внешность.
|
||||
random-item-aspect-desc = НаноТрейзен выдало всем случайный предмет.
|
||||
|
||||
|
||||
# Amour
|
||||
caucasian-accent-aspect-desc = Федерация Волшебников прокляла всех работников этой станции - все персонажи получили очень странный акцент.
|
||||
alas-aspect-desc = Федерация Волшебников прокляла всех работников этой станции, увы.
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
components:
|
||||
- type: Aspect
|
||||
name: "Ежжи брат"
|
||||
sender: Федерация Космических Волшебников
|
||||
description: "Всэгда интэрэсно, какой ежжи брат вы услишитэ слэдующим."
|
||||
weight: 3
|
||||
startAudio:
|
||||
@@ -18,8 +19,20 @@
|
||||
components:
|
||||
- type: Aspect
|
||||
name: "Увы"
|
||||
sender: Федерация Космических Волшебников
|
||||
description: "Экипаж станции преисполнился осознанием бытия. Все проблемы в жизни, вся повседневная суета - это слишком тяжёло, увы."
|
||||
weight: 3
|
||||
weight: 2
|
||||
startAudio:
|
||||
path: /Audio/White/Aspects/accent.ogg
|
||||
- type: AlasAccentAspect
|
||||
|
||||
- type: entity
|
||||
id: DeleteVendingMachineAspect
|
||||
parent: BaseGameRule
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: Aspect
|
||||
name: "DeleteVendingMachineAspect"
|
||||
description: "Какой-то смышлённый агент синдиката украл все торговые автоматы!"
|
||||
weight: 3
|
||||
- type: DeleteVendingMachine
|
||||
|
||||
@@ -375,15 +375,3 @@
|
||||
# startAudio:
|
||||
# path: /Audio/White/Aspects/accent.ogg
|
||||
# - type: SkeletonAspect
|
||||
|
||||
# Amour Start
|
||||
- type: entity
|
||||
id: DeleteVendingMachineAspect
|
||||
parent: BaseGameRule
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: Aspect
|
||||
name: "DeleteVendingMachineAspect"
|
||||
description: "Какой-то смышлённый агент синдиката украл все торговые автоматы!"
|
||||
weight: 3
|
||||
- type: DeleteVendingMachine
|
||||
|
||||
Reference in New Issue
Block a user