Ведь без тебя нет смысла жить
This commit is contained in:
@@ -14,20 +14,10 @@ public sealed class AirlockSystem : SharedAirlockSystem
|
|||||||
public override void Initialize()
|
public override void Initialize()
|
||||||
{
|
{
|
||||||
base.Initialize();
|
base.Initialize();
|
||||||
SubscribeLocalEvent<AirlockComponent, BeforeDoorClosedEvent>(OnBeforeDoorClosed);
|
|
||||||
SubscribeLocalEvent<AirlockComponent, ComponentStartup>(OnComponentStartup);
|
SubscribeLocalEvent<AirlockComponent, ComponentStartup>(OnComponentStartup);
|
||||||
SubscribeLocalEvent<AirlockComponent, AppearanceChangeEvent>(OnAppearanceChange);
|
SubscribeLocalEvent<AirlockComponent, AppearanceChangeEvent>(OnAppearanceChange);
|
||||||
}
|
}
|
||||||
|
|
||||||
// А нужен ли ты блять
|
|
||||||
private void OnBeforeDoorClosed(EntityUid uid, AirlockComponent airlock, BeforeDoorClosedEvent args)
|
|
||||||
{
|
|
||||||
if (_appearanceSystem.TryGetData<bool>(uid, DoorVisuals.BoltLights, out var boltLights) && boltLights)
|
|
||||||
{
|
|
||||||
args.Cancel();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void OnComponentStartup(EntityUid uid, AirlockComponent comp, ComponentStartup args)
|
private void OnComponentStartup(EntityUid uid, AirlockComponent comp, ComponentStartup args)
|
||||||
{
|
{
|
||||||
// Has to be on component startup because we don't know what order components initialize in and running this before DoorComponent inits _will_ crash.
|
// Has to be on component startup because we don't know what order components initialize in and running this before DoorComponent inits _will_ crash.
|
||||||
|
|||||||
@@ -1163,26 +1163,17 @@ namespace Content.Client.Preferences.UI
|
|||||||
var hairMarking = Profile.Appearance.HairStyleId switch
|
var hairMarking = Profile.Appearance.HairStyleId switch
|
||||||
{
|
{
|
||||||
HairStyles.DefaultHairStyle => new List<Marking>(),
|
HairStyles.DefaultHairStyle => new List<Marking>(),
|
||||||
_ => [new Marking(Profile.Appearance.HairStyleId, [Profile.Appearance.HairColor])],
|
_ => new List<Marking> { new(Profile.Appearance.HairStyleId, new List<Color> { Profile.Appearance.HairColor }) },
|
||||||
};
|
};
|
||||||
|
|
||||||
var facialHairMarking = Profile.Appearance.FacialHairStyleId switch
|
var facialHairMarking = Profile.Appearance.FacialHairStyleId switch
|
||||||
{
|
{
|
||||||
HairStyles.DefaultFacialHairStyle => new List<Marking>(),
|
HairStyles.DefaultFacialHairStyle => new List<Marking>(),
|
||||||
_ =>
|
_ => new List<Marking> { new(Profile.Appearance.FacialHairStyleId, new List<Color> { Profile.Appearance.FacialHairColor }) },
|
||||||
[
|
|
||||||
new Marking(Profile.Appearance.FacialHairStyleId, [Profile.Appearance.FacialHairColor])
|
|
||||||
],
|
|
||||||
};
|
};
|
||||||
|
|
||||||
_hairPicker.UpdateData(
|
_hairPicker.UpdateData(hairMarking, Profile.Species, 1);
|
||||||
hairMarking,
|
_facialHairPicker.UpdateData(facialHairMarking, Profile.Species, 1);
|
||||||
Profile.Species,
|
|
||||||
1);
|
|
||||||
_facialHairPicker.UpdateData(
|
|
||||||
facialHairMarking,
|
|
||||||
Profile.Species,
|
|
||||||
1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void UpdateCMarkingsHair()
|
private void UpdateCMarkingsHair()
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ public sealed class VoidTeleportSystem : EntitySystem
|
|||||||
[Dependency] private readonly TransformSystem _transform = default!;
|
[Dependency] private readonly TransformSystem _transform = default!;
|
||||||
[Dependency] private readonly PointLightSystem _pointLight = default!;
|
[Dependency] private readonly PointLightSystem _pointLight = default!;
|
||||||
[Dependency] private readonly PullingSystem _pulling = default!;
|
[Dependency] private readonly PullingSystem _pulling = default!;
|
||||||
[Dependency] private readonly RobustRandom _random = default!;
|
[Dependency] private readonly IRobustRandom _random = default!;
|
||||||
|
|
||||||
public override void Initialize()
|
public override void Initialize()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -27,7 +27,6 @@ namespace Content.Server.Bed.Sleep
|
|||||||
SubscribeLocalEvent<SleepingComponent, CanSeeAttemptEvent>(OnSeeAttempt);
|
SubscribeLocalEvent<SleepingComponent, CanSeeAttemptEvent>(OnSeeAttempt);
|
||||||
SubscribeLocalEvent<SleepingComponent, PointAttemptEvent>(OnPointAttempt);
|
SubscribeLocalEvent<SleepingComponent, PointAttemptEvent>(OnPointAttempt);
|
||||||
SubscribeLocalEvent<SleepingComponent, EmoteAttemptEvent>(OnTryEmote); // WD
|
SubscribeLocalEvent<SleepingComponent, EmoteAttemptEvent>(OnTryEmote); // WD
|
||||||
SubscribeLocalEvent<SleepingComponent, EmoteAttemptEvent>(OnTryEmote); // WD
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnTryEmote(EntityUid uid, SleepingComponent component, EmoteAttemptEvent args) // WD
|
private void OnTryEmote(EntityUid uid, SleepingComponent component, EmoteAttemptEvent args) // WD
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
health-analyzer-window-no-patient-data-text = Пациент отсутствует
|
health-analyzer-window-no-patient-data-text = Пациент отсутствует
|
||||||
health-analyzer-window-no-data = Н/Д
|
health-analyzer-window-entity-unknown-text = неизвестный
|
||||||
health-analyzer-window-entity-current-alive-status-text = Статус
|
health-analyzer-window-entity-health-text = Состояние {$entityName}:
|
||||||
health-analyzer-window-entity-current-alive-status-alive-text = Жив
|
health-analyzer-window-entity-temperature-text = Температура: {$temperature}
|
||||||
health-analyzer-window-entity-current-alive-status-critical-text = Критическое
|
health-analyzer-window-entity-blood-level-text = Уровень крови: {$bloodLevel}
|
||||||
health-analyzer-window-entity-current-alive-status-dead-text = Мёртв
|
health-analyzer-window-entity-bleeding-text = Пациент истекает кровью!
|
||||||
health-analyzer-window-entity-temperature-text = Температура
|
|
||||||
health-analyzer-window-entity-blood-level-text = Уровень крови
|
|
||||||
health-analyzer-window-entity-damage-total-text = Общие повреждения
|
health-analyzer-window-entity-damage-total-text = Общие повреждения
|
||||||
health-analyzer-window-damage-group-text = {$damageGroup}: {$amount}
|
health-analyzer-window-damage-group-text = {$damageGroup}: {$amount}
|
||||||
health-analyzer-window-damage-type-text = {$damageType}: {$amount}
|
health-analyzer-window-damage-type-text = {$damageType}: {$amount}
|
||||||
health-analyzer-window-damage-type-duplicate-text = {$damageType}: {$amount} (дубликат)
|
health-analyzer-window-damage-type-duplicate-text = {$damageType}: {$amount} (дубликат)
|
||||||
|
|
||||||
|
health-analyzer-window-scan-mode-text = Режим сканирования:
|
||||||
|
health-analyzer-window-scan-mode-active = ВКЛЮЧЕН
|
||||||
|
health-analyzer-window-scan-mode-inactive = ВЫКЛЮЧЕН
|
||||||
|
|
||||||
health-analyzer-window-damage-group-Brute = Механические: {$amount}
|
health-analyzer-window-damage-group-Brute = Механические: {$amount}
|
||||||
health-analyzer-window-damage-type-Blunt = Удары: {$amount}
|
health-analyzer-window-damage-type-Blunt = Удары: {$amount}
|
||||||
health-analyzer-window-damage-type-Slash = Разрезы: {$amount}
|
health-analyzer-window-damage-type-Slash = Разрезы: {$amount}
|
||||||
|
|||||||
@@ -19,21 +19,21 @@ body-scanner-console-window-damage-group-text = {$damageGroup}: {$amount}
|
|||||||
body-scanner-console-window-damage-type-text = {$damageType}: {$amount}
|
body-scanner-console-window-damage-type-text = {$damageType}: {$amount}
|
||||||
body-scanner-console-window-damage-type-duplicate-text = {$damageType}: {$amount} (дубликат)
|
body-scanner-console-window-damage-type-duplicate-text = {$damageType}: {$amount} (дубликат)
|
||||||
|
|
||||||
body-scanner-console-window-damage-group-Brute = Механические: {$amount}
|
body-scanner-console-window-damage-group-Brute = Механические
|
||||||
body-scanner-console-window-damage-type-Blunt = Удары: {$amount}
|
body-scanner-console-window-damage-type-Blunt = Удары
|
||||||
body-scanner-console-window-damage-type-Slash = Разрезы: {$amount}
|
body-scanner-console-window-damage-type-Slash = Разрезы
|
||||||
body-scanner-console-window-damage-type-Piercing = Уколы: {$amount}
|
body-scanner-console-window-damage-type-Piercing = Уколы
|
||||||
|
|
||||||
body-scanner-console-window-damage-group-Burn = Ожоги: {$amount}
|
body-scanner-console-window-damage-group-Burn = Ожоги
|
||||||
body-scanner-console-window-damage-type-Heat = Термические: {$amount}
|
body-scanner-console-window-damage-type-Heat = Термические
|
||||||
body-scanner-console-window-damage-type-Laser = Лазерный: {$amount}
|
body-scanner-console-window-damage-type-Laser = Лазерный
|
||||||
body-scanner-console-window-damage-type-Shock = Электрические: {$amount}
|
body-scanner-console-window-damage-type-Shock = Электрические
|
||||||
body-scanner-console-window-damage-type-Cold = Обморожение: {$amount}
|
body-scanner-console-window-damage-type-Cold = Обморожение
|
||||||
body-scanner-console-window-damage-type-Caustic = Кислотные: {$amount}
|
body-scanner-console-window-damage-type-Caustic = Кислотные
|
||||||
|
|
||||||
body-scanner-console-window-damage-group-Airloss = Нехватка воздуха: {$amount}
|
body-scanner-console-window-damage-group-Airloss = Нехватка воздуха
|
||||||
body-scanner-console-window-damage-type-Asphyxiation = Удушение: {$amount}
|
body-scanner-console-window-damage-type-Asphyxiation = Удушение
|
||||||
body-scanner-console-window-damage-type-Bloodloss = Кровопотеря: {$amount}
|
body-scanner-console-window-damage-type-Bloodloss = Кровопотеря
|
||||||
|
|
||||||
body-scanner-console-window-damage-group-Toxin = Токсины: {$amount}
|
body-scanner-console-window-damage-group-Toxin = Токсины: {$amount}
|
||||||
body-scanner-console-window-damage-type-Poison = Яды: {$amount}
|
body-scanner-console-window-damage-type-Poison = Яды: {$amount}
|
||||||
|
|||||||
@@ -13,9 +13,6 @@
|
|||||||
layers:
|
layers:
|
||||||
- map: ["enum.PoweredLightLayers.Base"]
|
- map: ["enum.PoweredLightLayers.Base"]
|
||||||
state: base
|
state: base
|
||||||
- map: ["enum.PoweredLightLayers.Glow"]
|
|
||||||
state: glow
|
|
||||||
shader: unshaded
|
|
||||||
state: base
|
state: base
|
||||||
- type: Fixtures
|
- type: Fixtures
|
||||||
fixtures:
|
fixtures:
|
||||||
|
|||||||
@@ -1213,7 +1213,6 @@
|
|||||||
id: FloorShuttleWhite
|
id: FloorShuttleWhite
|
||||||
name: tiles-white-shuttle-floor
|
name: tiles-white-shuttle-floor
|
||||||
sprite: /Textures/Tiles/shuttlewhite.png
|
sprite: /Textures/Tiles/shuttlewhite.png
|
||||||
variants: 4
|
|
||||||
placementVariants:
|
placementVariants:
|
||||||
- 1.0
|
- 1.0
|
||||||
- 1.0
|
- 1.0
|
||||||
@@ -1267,7 +1266,6 @@
|
|||||||
id: FloorShuttleBlue
|
id: FloorShuttleBlue
|
||||||
name: tiles-blue-shuttle-floor
|
name: tiles-blue-shuttle-floor
|
||||||
sprite: /Textures/Tiles/shuttleblue.png
|
sprite: /Textures/Tiles/shuttleblue.png
|
||||||
variants: 4
|
|
||||||
placementVariants:
|
placementVariants:
|
||||||
- 1.0
|
- 1.0
|
||||||
- 1.0
|
- 1.0
|
||||||
@@ -1285,7 +1283,6 @@
|
|||||||
id: FloorShuttleOrange
|
id: FloorShuttleOrange
|
||||||
name: tiles-orange-shuttle-floor
|
name: tiles-orange-shuttle-floor
|
||||||
sprite: /Textures/Tiles/shuttleorange.png
|
sprite: /Textures/Tiles/shuttleorange.png
|
||||||
variants: 4
|
|
||||||
placementVariants:
|
placementVariants:
|
||||||
- 1.0
|
- 1.0
|
||||||
- 1.0
|
- 1.0
|
||||||
@@ -1303,7 +1300,6 @@
|
|||||||
id: FloorShuttlePurple
|
id: FloorShuttlePurple
|
||||||
name: tiles-purple-shuttle-floor
|
name: tiles-purple-shuttle-floor
|
||||||
sprite: /Textures/Tiles/shuttlepurple.png
|
sprite: /Textures/Tiles/shuttlepurple.png
|
||||||
variants: 4
|
|
||||||
placementVariants:
|
placementVariants:
|
||||||
- 1.0
|
- 1.0
|
||||||
- 1.0
|
- 1.0
|
||||||
@@ -1321,7 +1317,6 @@
|
|||||||
id: FloorShuttleRed
|
id: FloorShuttleRed
|
||||||
name: tiles-red-shuttle-floor
|
name: tiles-red-shuttle-floor
|
||||||
sprite: /Textures/Tiles/shuttlered.png
|
sprite: /Textures/Tiles/shuttlered.png
|
||||||
variants: 4
|
|
||||||
placementVariants:
|
placementVariants:
|
||||||
- 1.0
|
- 1.0
|
||||||
- 1.0
|
- 1.0
|
||||||
|
|||||||
Reference in New Issue
Block a user