Merge remote-tracking branch 'WD-core/master' into upstream-core

This commit is contained in:
BIGZi0348
2025-01-01 19:40:47 +03:00
31 changed files with 298 additions and 54 deletions

View File

@@ -1,10 +1,10 @@
using Content.Server.Administration.Logs;
using Content.Server.Body.Components;
using Content.Server.Body.Systems;
using Content.Server.Chemistry.Containers.EntitySystems;
using Content.Server.Medical.Components;
using Content.Server.Popups;
using Content.Server.Stack;
using Content.Shared.Chemistry.EntitySystems;
using Content.Shared.Audio;
using Content.Shared.Damage;
using Content.Shared.Database;
@@ -36,7 +36,7 @@ public sealed class HealingSystem : EntitySystem
[Dependency] private readonly SharedInteractionSystem _interactionSystem = default!;
[Dependency] private readonly MobThresholdSystem _mobThresholdSystem = default!;
[Dependency] private readonly PopupSystem _popupSystem = default!;
[Dependency] private readonly SolutionContainerSystem _solutionContainerSystem = default!;
[Dependency] private readonly SharedSolutionContainerSystem _solutionContainerSystem = default!;
public override void Initialize()
{
@@ -72,7 +72,6 @@ public sealed class HealingSystem : EntitySystem
_bloodstreamSystem.TryModifyBleedAmount(entity.Owner, healing.BloodlossModifier);
if (isBleeding != bloodstream.BleedAmount > 0)
{
dontRepeat = true;
_popupSystem.PopupEntity(Loc.GetString("medical-item-stop-bleeding"), entity, args.User);
}
}
@@ -116,7 +115,7 @@ public sealed class HealingSystem : EntitySystem
_audio.PlayPvs(healing.HealingEndSound, entity.Owner, AudioHelpers.WithVariation(0.125f, _random).WithVolume(1f));
// Logic to determine the whether or not to repeat the healing action
args.Repeat = (HasDamage(entity.Comp, healing) && !dontRepeat);
args.Repeat = ((HasDamage(entity.Comp, healing) || HasBleedingToHeal(entity, healing)) && !dontRepeat); // WD added HasBleedingToHeal()
if (!args.Repeat && !dontRepeat)
_popupSystem.PopupEntity(Loc.GetString("medical-item-finished-using", ("item", args.Used)), entity.Owner, args.User);
args.Handled = true;
@@ -174,6 +173,7 @@ public sealed class HealingSystem : EntitySystem
return false;
var anythingToDo =
HasBleedingToHeal(target, component) || // WD Edit
HasDamage(targetDamage, component) ||
component.ModifyBloodLevel > 0 // Special case if healing item can restore lost blood...
&& TryComp<BloodstreamComponent>(target, out var bloodstream)
@@ -191,17 +191,11 @@ public sealed class HealingSystem : EntitySystem
var isNotSelf = user != target;
//Amour
if (isNotSelf)
{
var msg = Loc.GetString("medical-item-popup-target", ("user", Identity.Entity(user, EntityManager)), ("item", uid));
_popupSystem.PopupEntity(msg, target, target, PopupType.Medium);
}
//Amour
var delay = isNotSelf
? component.Delay
: component.Delay * GetScaledHealingPenalty(user, component);
var doAfterEventArgs =
new DoAfterArgs(EntityManager, user, delay, new HealingDoAfterEvent(), target, target: target, used: uid)
@@ -237,4 +231,21 @@ public sealed class HealingSystem : EntitySystem
var modifier = percentDamage * (component.SelfHealPenaltyMultiplier - 1) + 1;
return Math.Max(modifier, 1);
}
/// <summary>
/// WD.
/// </summary>
private bool HasBleedingToHeal(EntityUid target, HealingComponent healing)
{
if (healing.BloodlossModifier == float.NegativeZero)
return false;
if (!TryComp<BloodstreamComponent>(target, out var bloodstream))
return false;
var isBleeding = bloodstream.BleedAmount > 0;
return isBleeding;
}
}

View File

@@ -30,7 +30,7 @@ public sealed partial class ArtifactSystem
_usedNodeIds.Clear();
var uninitializedNodes = new List<ArtifactNode> { new(){ Id = GetValidNodeId() } };
var uninitializedNodes = new List<ArtifactNode> { new() { Id = GetValidNodeId() } };
var createdNodes = 1;
while (uninitializedNodes.Count > 0)
@@ -50,7 +50,7 @@ public sealed partial class ArtifactSystem
break;
}
var child = new ArtifactNode {Id = GetValidNodeId(), Depth = node.Depth + 1};
var child = new ArtifactNode { Id = GetValidNodeId(), Depth = node.Depth + 1 };
node.Edges.Add(child.Id);
child.Edges.Add(node.Id);
@@ -240,4 +240,73 @@ public sealed partial class ArtifactSystem
{
return nodes.First(x => x.Id == id);
}
/// <summary>
/// WD.
/// Generate an Artifact tree with fully developed nodes.
/// </summary>
private void GenerateSafeArtifactNodeTree(EntityUid artifact, ref List<ArtifactNode> allNodes, int nodesToCreate)
{
if (nodesToCreate < 1)
{
Log.Error($"nodesToCreate {nodesToCreate} is less than 1. Aborting artifact tree generation.");
return;
}
_usedNodeIds.Clear();
var uninitializedNodes = new List<ArtifactNode> { new() { Id = GetValidNodeId() } };
var createdNodes = 1;
while (uninitializedNodes.Count > 0)
{
var node = uninitializedNodes[0];
uninitializedNodes.Remove(node);
node.Trigger = GetRandomTrigger(artifact, ref node);
node.Effect = GetRandomEffect(artifact, ref node);
var maxChildren = _random.Next(1, MaxEdgesPerNode - 1);
for (var i = 0; i < maxChildren; i++)
{
if (nodesToCreate <= createdNodes)
{
break;
}
var child = new ArtifactNode { Id = GetValidNodeId(), Depth = node.Depth + 1 };
node.Edges.Add(child.Id);
child.Edges.Add(node.Id);
uninitializedNodes.Add(child);
createdNodes++;
}
allNodes.Add(node);
}
foreach (var item in allNodes)
{
if (item.Depth <= 3)
item.Effect = GetSafeRandomEffect(artifact, item.Depth);
}
}
/// <summary>
/// WD.
/// </summary>
private string GetSafeRandomEffect(EntityUid artifact, int nodeDepth)
{
var allEffects = _prototype.EnumeratePrototypes<ArtifactEffectPrototype>()
.Where(x => (x.Whitelist?.IsValid(artifact, EntityManager) ?? true) && (!x.Blacklist?.IsValid(artifact, EntityManager) ?? true) && x.Safe).ToList();
var validDepth = allEffects.Select(x => x.TargetDepth).Distinct().ToList();
var weights = GetDepthWeights(validDepth, nodeDepth);
var selectedRandomTargetDepth = GetRandomTargetDepth(weights);
var targetEffects = allEffects
.Where(x => x.TargetDepth == selectedRandomTargetDepth).ToList();
return _random.Pick(targetEffects).ID;
}
}

View File

@@ -296,4 +296,17 @@ public sealed partial class ArtifactSystem : EntitySystem
{
return allNodes.First(n => n.Depth == 0);
}
/// <summary>
/// WD. Randomize a given artifact.
/// </summary>
[PublicAPI]
public void SafeRandomizeArtifact(EntityUid uid, ref ArtifactComponent component)
{
var nodeAmount = _random.Next(component.NodesMin, component.NodesMax);
GenerateSafeArtifactNodeTree(uid, ref component.NodeTree, nodeAmount);
var firstNode = GetRootNode(component.NodeTree);
EnterNode(uid, ref firstNode, component);
}
}

View File

@@ -0,0 +1,12 @@
namespace Content.Server._White.RandomArtifactDesc
{
/// <summary>
/// WD.
/// Добавляет описание предмету.
/// </summary>
[RegisterComponent]
public sealed partial class RandomArtifactDescComponent : Component
{
}
}

View File

@@ -0,0 +1,22 @@
using Content.Shared.Examine;
namespace Content.Server._White.RandomArtifactDesc;
public sealed class RandomArtifactDescSystem : EntitySystem
{
public override void Initialize()
{
base.Initialize();
SubscribeLocalEvent<RandomArtifactDescComponent, ExaminedEvent>(OnExamined);
}
private void OnExamined(EntityUid uid, RandomArtifactDescComponent component, ExaminedEvent args)
{
if (args.IsInDetailsRange)
{
args.PushMarkup("С этим предметом что-то не так.");
}
}
}

View File

@@ -2,10 +2,16 @@
using Content.Server.Station.Components;
using Content.Server.Station.Systems;
using Content.Server.Xenoarchaeology.XenoArtifacts;
using Content.Server._White.RandomArtifactDesc;
using Content.Shared._White;
using Content.Shared.Damage;
using Content.Shared.Stacks;
using Content.Shared.Item;
using Robust.Shared.Configuration;
using Robust.Shared.Random;
using Robust.Server.GameObjects;
using Content.Shared.Body.Organ;
using Content.Shared.Body.Part;
namespace Content.Server._White.RandomArtifacts;
@@ -15,8 +21,9 @@ public sealed class RandomArtifactsSystem : EntitySystem
[Dependency] private readonly IRobustRandom _random = default!;
[Dependency] private readonly IConfigurationManager _configurationManager = default!;
[Dependency] private readonly StationSystem _station = default!;
[Dependency] private readonly IComponentFactory _componentFactory = default!;
private float _itemToArtifactRatio; // from 0 to 100. In % percents. Default is 0.7%
private float _itemToArtifactRatio; // from 0 to 100. In % percents. Default is 0.4%
private bool _artifactsEnabled;
public override void Initialize()
@@ -34,11 +41,12 @@ public sealed class RandomArtifactsSystem : EntitySystem
if (!_artifactsEnabled)
return;
// Removing old artifact-items and replace it with new funny stealthy items
foreach (var oldArtifact in EntityQuery<ArtifactComponent>())
{
QueueDel(oldArtifact.Owner);
}
// No we don't
// // Removing old artifact-items and replace it with new funny stealthy items
// foreach (var oldArtifact in EntityQuery<ArtifactComponent>())
// {
// QueueDel(oldArtifact.Owner);
// }
var items = EntityQuery<ItemComponent>().ToList();
_random.Shuffle(items);
@@ -55,8 +63,26 @@ public sealed class RandomArtifactsSystem : EntitySystem
if (!HasComp<StationDataComponent>(station))
continue;
var artifactComponent = EnsureComp<ArtifactComponent>(entity);
_artifactsSystem.RandomizeArtifact(entity, artifactComponent);
if (HasComp<StackComponent>(entity))
continue;
if (HasComp<PointLightComponent>(entity))
continue;
if (HasComp<OrganComponent>(entity))
continue;
if (HasComp<BodyPartComponent>(entity))
continue;
// var artifactComponent = EnsureComp<ArtifactComponent>(entity);
var comp = (ArtifactComponent) _componentFactory.GetComponent("Artifact");
comp.Owner = entity;
_artifactsSystem.SafeRandomizeArtifact(entity, ref comp);
AddComp(entity, comp);
EnsureComp<RandomArtifactDescComponent>(entity);
EnsureComp<DamageableComponent>(entity);
}
}
@@ -75,7 +101,11 @@ public sealed class RandomArtifactsSystem : EntitySystem
foreach (var (_, artifact) in items)
{
RemComp<ArtifactComponent>(artifact.Owner);
if (HasComp<RandomArtifactDescComponent>(artifact.Owner))
{
RemComp<ArtifactComponent>(artifact.Owner);
RemComp<RandomArtifactDescComponent>(artifact.Owner);
}
}
}

View File

@@ -32,6 +32,9 @@ namespace Content.Server._White._Engi.PacifiedOnChaplainAction
private void Action(PacifiedOnChaplainActionComponent component, EntityUid target, EntityUid user)
{
if (!HasComp<PacifiedOnChaplainActionComponent>(target))
return;
var popup = "";
if (HasComp<PacifiedComponent>(target))

View File

@@ -41,4 +41,10 @@ public sealed partial class ArtifactEffectPrototype : IPrototype
[DataField("blacklist")]
public EntityWhitelist? Blacklist;
/// <summary>
/// WD. Is it safe for random items?
/// </summary>
[DataField]
public bool Safe = false;
}

View File

@@ -1,18 +1,4 @@
Entries:
- author: RavMorgan
changes:
- message: "\u0414\u043E\u0431\u0430\u0432\u043B\u0435\u043D \u043F\u0440\u0438\u0437\
\u0440\u0430\u043A \u0434\u043B\u044F merkkaa!"
type: Add
id: 146
time: '2023-04-27T20:09:54.0000000+00:00'
- author: RavMorgan
changes:
- message: "\u0414\u043E\u0431\u0430\u0432\u043B\u0435\u043D \u043F\u0440\u0438\u0437\
\u0440\u0430\u043A \u0434\u043B\u044F nairsark!"
type: Add
id: 147
time: '2023-04-27T20:30:38.0000000+00:00'
- author: RavMorgan
changes:
- message: "\u041A\u0430\u0441\u0442\u043E\u043C\u043D\u044B\u0435 \u043F\u0440\u0438\
@@ -8908,3 +8894,28 @@
id: 645
time: '2024-12-29T20:51:07.0000000+00:00'
url: https://api.github.com/repos/frosty-dev/ss14-core/pulls/861
- author: BIG_Zi_348
changes:
- message: "\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0430 \u0441\u0438\u0441\u0442\
\u0435\u043C\u0430 \u0440\u0430\u043D\u0434\u043E\u043C\u043D\u044B\u0445 \u0430\
\u0440\u0442\u0435\u0444\u0430\u043A\u0442\u043E\u0432."
type: Tweak
- message: "\u0418\u0441\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0430 \u043B\u043E\
\u0433\u0438\u043A\u0430 \u043B\u0435\u0447\u0435\u043D\u0438\u044F \u043A\u0440\
\u043E\u0432\u043E\u0442\u0435\u0447\u0435\u043D\u0438\u044F."
type: Fix
id: 646
time: '2024-12-31T17:11:33.0000000+00:00'
url: https://api.github.com/repos/frosty-dev/ss14-core/pulls/864
- author: Hero_010
changes:
- message: "\u0414\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u044B \u043F\u0435\u0440\
\u0435\u0432\u043E\u0434\u044B \u043C\u0435\u043B\u043E\u0447\u0435\u0439."
type: Add
- message: "\u0418\u0441\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u044B \u043F\u0435\
\u0440\u0435\u0432\u043E\u0434\u044B \u043C\u0435\u043B\u043E\u0447\u0435\u0439\
."
type: Fix
id: 647
time: '2025-01-01T13:55:57.0000000+00:00'
url: https://api.github.com/repos/frosty-dev/ss14-core/pulls/855

View File

@@ -24,6 +24,8 @@ ent-SpyCrewMonitor = шпионский монитор
.desc = Шпионское устройство, способное подключаться к серверам мониторинга экипажа.
ent-SyndiCrewMonitor = синдикатский монитор экипажа
.desc = Синдицированная версия монитора экипажа, перехватывает информацию с сервера.
ent-SyndiCrewMonitorEmpty = { ent-SyndiCrewMonitor }
.desc = { ent-SyndiCrewMonitor.desc }
ent-Tourniquet = жгут
.desc = Останавливает кровотечение! Надеюсь.
ent-HealingToolbox = набор инструментов для лечения

View File

@@ -38,6 +38,8 @@ ent-SyndiAgentPDA = ПДА агента синдиката
.desc = Для тех случаев, когда исцеление обычных членов синдиката недостаточно, попробуйте исцелить ядерных оперативников!
ent-PinpointerSyndicateNuclear = указатель синдиката
.desc = Разработан специально для миссий ядерных оперативников, найдите диск!
ent-PinpointerStationNuclear = { ent-PinpointerSyndicateNuclear }
.desc = { ent-PinpointerSyndicateNuclear.desc }
ent-PinpointerStation = станционный указатель
.desc = Ручной трекинг-устройство, указывающее направление на любую близлежащую станцию.
.suffix = Станции

View File

@@ -1,5 +1,5 @@
ent-PlushieRainbowCarp = плюшевая радужная карпа
.desc = Милая плюшевая игрушка, напоминающая легендарную радужную карпу.
ent-PlushieRainbowCarp = плюшевый радужный карп
.desc = Милая плюшевая игрушка, напоминающая легендарного радужного карпа.
ent-PlushieHolocarp = плюшевый голокарп
.desc = Голографическая плюшевая игрушка, напоминающая научного врага - голокарпа.
ent-PlushiePenguin = плюшевый пингвин

View File

@@ -24,23 +24,35 @@ ent-ShardCrystalRandom = случайный кристаллический ос
.desc = случайный кристаллический осколок
ent-MaterialHideCorgi = шкура корги
.desc = Роскошная шкура, используемая только в самых элитных модных вещах. По слухам, ее можно найти, когда корги отправляют на хорошую ферму.
ent-MaterialPyrotton = пироттон
.desc = пироттон
ent-MaterialPyrotton = пирохлопок
.desc = { ent-MaterialBase.desc }
.suffix = Полный
ent-MaterialPyrotton1 = { ent-MaterialPyrotton }
.desc = { ent-MaterialPyrotton.desc }
ent-MaterialWebSilk = шелк
.desc = Паутинный материал.
.suffix = Полный
ent-MaterialWebSilk1 = { ent-MaterialWebSilk }
.desc = { ent-MaterialWebSilk.desc }
ent-MaterialWebSilk25 = { ent-MaterialWebSilk }
.desc = { ent-MaterialWebSilk.desc }
ent-MaterialBones = кости
.desc = кости
.desc = { ent-MaterialBase.desc }
.suffix = Полный
ent-MaterialBones1 = { ent-MaterialBones }
.desc = { ent-MaterialBones.desc }
ent-MaterialGunpowder = порох
.desc = Взрывчатое вещество.
ent-MaterialGunpowder60 = { ent-MaterialGunpowder }
.desc = { ent-MaterialGunpowder.desc }
ent-Coal = уголь
.desc = уголь
.desc = { ent-OreBase.desc }
.suffix = Полный
ent-Coal1 = { ent-Coal }
.desc = { ent-Coal.desc }
ent-SaltOre = соль
.desc = соль
.desc = { ent-OreBase.desc }
.suffix = Полный
ent-PartRodMetal10 = металлический стержень
.desc = металлический стержень
ent-PartRodMetal10 = { ent-PartRodMetal }
.desc = { ent-PartRodMetal.desc }
.suffix = 10

View File

@@ -1,3 +1,4 @@
construction-component-to-create-header = Чтобы создать { $targetName }...
node-machine = машину
node-ripley = рипли
deconstruction-header-text = Чтобы разобрать...

View File

@@ -21,8 +21,8 @@ ent-GrapeSeeds = пакет виноградных косточек
.desc = { ent-SeedBase.desc }
ent-MopBucketFull = Ведро для мытья пола
.desc = { ent-MopBucket.desc }
ent-WetFloorSignMineExplosive = табличка 'Мокрый пол'
.desc = Осторожность! Мокрый пол!
ent-WetFloorSignMineExplosive = знак "Мокрый пол"
.desc = Осторожно! Мокрый пол!
ent-Plunger = вантуз
.desc = Вантуз с красной пластиковой присоской и деревянной ручкой. Используется для прочистки стоков.
ent-MegaSprayBottle = мега распылитель

View File

@@ -14,6 +14,8 @@ ent-HandheldCrewMonitorEmpty = { ent-HandheldCrewMonitor }
.desc = { ent-HandheldCrewMonitor.desc }
ent-Ointment1 = { ent-Ointment }
.desc = { ent-Ointment.desc }
ent-Ointment10Lingering = { ent-Ointment }
.desc = { ent-Ointment.desc }
ent-RegenerativeMesh = регенеративная сетка
.desc = Используется для лечения даже самых неприятных ожогов. Также эффективен против щелочных ожогов.
ent-OintmentAdvanced1 = продвинутая мазь

View File

@@ -24,6 +24,8 @@ ent-VariedXenoArtifactItem = { ent-BaseXenoArtifactItem }
.desc = { ent-BaseXenoArtifactItem.desc }
ent-ArtifactFragment = фрагмент артефакта
.desc = Обломок артефакта. Возможно, вы могли бы починить его, если бы у вас было больше.
ent-ArtifactFragment1 = { ent-ArtifactFragment }
.desc = { ent-ArtifactFragment.desc }
ent-CableHVStack10 = { ent-CableHVStack }
.desc = { ent-CableHVStack.desc }
ent-CableMVStack10 = { ent-CableMVStack }

View File

@@ -10,6 +10,8 @@ ent-PaperBin5 = { ent-PaperBin }
.desc = { ent-PaperBin.desc }
ent-PaperBin10 = { ent-PaperBin }
.desc = { ent-PaperBin.desc }
ent-PaperBin20 = { ent-PaperBin }
.desc = { ent-PaperBin.desc }
ent-SuitStorageBase = отделение для хранения скафандров
.desc = Причудливое высокотехнологичное хранилище, предназначенное для хранения скафандров.
ent-SuitStorageEVA = { ent-SuitStorageBase }

View File

@@ -1,5 +1,4 @@
medical-item-finished-using = Вы закончили исцеление с помощью { $item }
medical-item-cant-use = Нет никаких повреждений, которые вы могли бы залечить с помощью { $item }
medical-item-stop-bleeding = Оно перестало кровоточить
# Amour
medical-item-popup-target = {CAPITALIZE(THE($user))} пытается исцелить тебя с помощью {$item}!
medical-item-stop-bleeding = Кровотечение было остановлено
medical-item-popup-target = { CAPITALIZE($user) } пытается лечить вас при помощи { $item }!

View File

@@ -2,6 +2,8 @@ ent-DrinkCanBaseFull = { ent-BaseItem }
.desc = { ent-BaseItem.desc }
ent-DrinkColaCan = космическая кола
.desc = Прохладительный напиток.
ent-DrinkColaCanEmpty = { ent-DrinkColaCan }
.desc = { ent-DrinkColaCan.desc }
ent-DrinkIcedTeaCan = банка холодного чая
.desc = Освежающая банка холодного чая.
ent-DrinkLemonLimeCan = банка лимон-лайма

View File

@@ -20,6 +20,8 @@ ent-MaterialWoodPlank = древесина
ent-MaterialWoodPlank1 = { ent-MaterialWoodPlank }
.suffix = Один
.desc = { ent-MaterialWoodPlank.desc }
ent-MaterialWoodPlank10 = { ent-MaterialWoodPlank }
.desc = { ent-MaterialWoodPlank.desc }
ent-MaterialBiomass = биомасса
.suffix = Полный
.desc = { ent-MaterialBase.desc }

View File

@@ -1,8 +1,10 @@
ent-PartBase = { ent-BaseItem }
.desc = { ent-BaseItem.desc }
ent-PartRodMetal = металлические стержни
ent-PartRodMetal = металлический стержень
.suffix = Полный
.desc = { ent-PartBase.desc }
ent-PartRodMetal1 = металлический стержень
ent-PartRodMetal1 = { ent-PartRodMetal }
.suffix = Один
.desc = { ent-PartRodMetal.desc }
ent-PartRodMetalLingering0 = { ent-PartRodMetal }
.desc = { ent-PartRodMetal.desc }

View File

@@ -10,7 +10,6 @@ ent-SheetGlass1 = { ent-SheetGlass }
.suffix = Один
.desc = { ent-SheetGlass.desc }
ent-SheetGlassLingering0 = { ent-SheetGlass }
.suffix = Не исчезают закончившись, 0
.desc = { ent-SheetGlass.desc }
ent-SheetRGlass = бронестекло
.suffix = Полный
@@ -47,4 +46,4 @@ ent-SheetClockworkGlass = заводное стекло
.suffix = Полный
ent-SheetClockworkGlass1 = заводное стекло
.suffix = Один
.desc = { ent-SheetClockworkGlass.desc }
.desc = { ent-SheetClockworkGlass.desc }

View File

@@ -6,6 +6,8 @@ ent-SheetSteel = сталь
ent-SheetSteel1 = сталь
.suffix = Один
.desc = { ent-SheetSteel.desc }
ent-SheetSteelLingering0 = сталь
.desc = { ent-SheetSteel.desc }
ent-SheetPlasteel = пласталь
.suffix = Полный
.desc = { ent-SheetMetalBase.desc }

View File

@@ -2,6 +2,8 @@ ent-FloorTileItemBase = { ent-BaseItem }
.desc = Может послужить неплохим метательным оружием.
ent-FloorTileItemSteel = стальная плитка
.desc = { ent-FloorTileItemBase.desc }
ent-FloorTileItemSteelLingering0 = стальная плитка
.desc = { ent-FloorTileItemBase.desc }
ent-FloorTileItemMetalDiamond = стальная плитка
.desc = { ent-FloorTileItemBase.desc }
ent-FloorTileItemWood = деревянный пол

View File

@@ -14,7 +14,11 @@ ent-BaseSyringe = шприц
.desc = Используется для забора образцов крови у существ, или для введения им реагентов.
ent-Syringe = { ent-BaseSyringe }
.desc = { ent-BaseSyringe.desc }
ent-PrefilledSyringe = { ent-BaseSyringe }
.desc = { ent-BaseSyringe.desc }
ent-Pill = таблетка
.desc = Это не свеча.
ent-PillCanister = баночка для таблеток
.desc = Вмещает до 10 таблеток.
ent-PillCanisterRandom = { ent-PillCanister }
.desc = { ent-PillCanister.desc }

View File

@@ -9,6 +9,8 @@ ent-Gauze = марлевый бинт
ent-Gauze1 = { ent-Gauze }
.desc = { ent-Gauze.desc }
.suffix = Один
ent-Gauze10Lingering = { ent-Gauze }
.desc = { ent-Gauze.desc }
ent-AloeCream = алоэ крем
.desc = Крем для наружного применения при ожогах.
ent-PillDexalin = таблетка дексалина

View File

@@ -25,3 +25,5 @@ ent-BaseUplinkRadio40TC = { ent-BaseUplinkRadio }
ent-BaseUplinkRadioDebug = { ent-BaseUplinkRadio }
.suffix = Дебаг
.desc = { ent-BaseUplinkRadio.desc }
ent-BaseUplinkRadio60TC = { ent-BaseUplinkRadio }
.desc = { ent-BaseUplinkRadio.desc }

View File

@@ -127,7 +127,7 @@ uplink-grenade-frag-desc = Большой радиус поражения, ма
# Utility
uplink-holopara-kit-name = Набор Голопаразита
uplink-holopara-kit-desc =
Гордость и радость Cybersyn. Содержит инжектор, в котором находится разумный метафизический страж, сделанный из жесткого света, который находится в теле пользователя, когда он не активен.
Гордость и радость Cybersun. Содержит инжектор, в котором находится разумный метафизический страж, сделанный из жесткого света, который находится в теле пользователя, когда он не активен.
Страж может быстро наносить удары и невосприимчив к опасным средам и пулям, но любой наносимый им урон делится с пользователем.
uplink-holoclown-kit-name = Набор Голоклоуна

View File

@@ -2,6 +2,7 @@
id: EffectBadFeeling
targetDepth: 0
effectHint: artifact-effect-hint-mental
safe: true # WD
components:
- type: TelepathicArtifact
messages:
@@ -32,6 +33,7 @@
id: EffectGoodFeeling
targetDepth: 0
effectHint: artifact-effect-hint-mental
safe: true # WD
components:
- type: TelepathicArtifact
messages:
@@ -61,6 +63,7 @@
id: EffectJunkSpawn
targetDepth: 0
effectHint: artifact-effect-hint-creation
safe: true # WD
components:
- type: SpawnArtifact
maxSpawns: 10
@@ -100,12 +103,14 @@
id: EffectLightFlicker
targetDepth: 0
effectHint: artifact-effect-hint-electrical-interference
safe: true # WD
components:
- type: LightFlickerArtifact
- type: artifactEffect
id: EffectPointLight
targetDepth: 0
safe: true # WD
components:
- type: PointLight
radius: 8
@@ -137,6 +142,7 @@
id: EffectFloraSpawn
targetDepth: 1
effectHint: artifact-effect-hint-creation
safe: true # WD
components:
- type: SpawnArtifact
maxSpawns: 3
@@ -186,6 +192,7 @@
id: EffectCold
targetDepth: 1
effectHint: artifact-effect-hint-consumption
safe: true # WD
components:
- type: TemperatureArtifact
targetTemp: 50
@@ -222,6 +229,7 @@
id: EffectInstrumentSpawn
targetDepth: 1
effectHint: artifact-effect-hint-creation
safe: true # WD
components:
- type: SpawnArtifact
maxSpawns: 5
@@ -232,6 +240,7 @@
id: EffectMonkeySpawn
targetDepth: 1
effectHint: artifact-effect-hint-creation
safe: true # WD
components:
- type: SpawnArtifact
spawns:
@@ -246,6 +255,7 @@
id: EffectChargeBatteries
targetDepth: 1
effectHint: artifact-effect-hint-release
safe: true # WD
components:
- type: ChargeBatteryArtifact
- type: TelepathicArtifact
@@ -265,6 +275,7 @@
id: EffectKnock
targetDepth: 1
effectHint: artifact-effect-hint-electrical-interference
safe: true # WD
components:
- type: KnockArtifact
@@ -292,6 +303,7 @@
id: EffectInvisibility
targetDepth: 2
effectHint: artifact-effect-hint-visual
safe: true # WD
components:
- type: Stealth
hadOutline: true
@@ -318,6 +330,7 @@
id: EffectRareMaterialSpawn
targetDepth: 2
effectHint: artifact-effect-hint-creation
safe: true # WD
components:
- type: SpawnArtifact
spawns:
@@ -415,6 +428,7 @@
id: EffectCashSpawn
targetDepth: 2
effectHint: artifact-effect-hint-creation
safe: true # WD
components:
- type: SpawnArtifact
maxSpawns: 10
@@ -462,6 +476,7 @@
id: EffectBlink
targetDepth: 2
effectHint: artifact-effect-hint-displacement
safe: true # WD
components:
- type: RandomTeleportArtifact
@@ -593,6 +608,7 @@
id: EffectHealAll
targetDepth: 3
effectHint: artifact-effect-hint-environment
safe: true # WD
components:
- type: DamageNearbyArtifact
damageChance: 1
@@ -618,6 +634,7 @@
id: EffectMaterialSpawn
targetDepth: 3
effectHint: artifact-effect-hint-creation
safe: true # WD
components:
- type: SpawnArtifact
maxSpawns: 5

View File

@@ -4,6 +4,7 @@
id: EffectIntercom
targetDepth: 2
effectHint: artifact-effect-hint-communication
safe: true # WD
permanentComponents:
- type: RadioMicrophone
powerRequired: false
@@ -31,6 +32,7 @@
id: EffectRandomInstrument
targetDepth: 2
effectHint: artifact-effect-hint-mental
safe: true # WD
permanentComponents:
- type: Instrument
- type: ActivatableUI
@@ -43,6 +45,7 @@
id: EffectStorage
targetDepth: 2
effectHint: artifact-effect-hint-storage
safe: true # WD
whitelist:
components:
- Item # it doesnt necessarily have to be restricted from structures, but i think it'll be better that way
@@ -62,6 +65,7 @@
id: EffectPhasing
targetDepth: 2
effectHint: artifact-effect-hint-phasing
safe: true # WD
permanentComponents:
- type: PhasingArtifact
@@ -83,6 +87,7 @@
id: EffectSolutionStorage
targetDepth: 2
effectHint: artifact-effect-hint-storage
safe: true # WD
whitelist:
components:
- Item
@@ -112,6 +117,7 @@
id: EffectSpeedUp
targetDepth: 2
effectHint: artifact-effect-hint-displacement
safe: true # WD
whitelist:
components:
- Item
@@ -124,6 +130,7 @@
id: EffectDrill
targetDepth: 3
effectHint: artifact-effect-hint-drill
safe: true # WD
whitelist:
components:
- Item
@@ -142,6 +149,7 @@
id: EffectPowerGen20K
targetDepth: 3
effectHint: artifact-effect-hint-release
safe: true # WD
blacklist:
components:
- Item
@@ -159,6 +167,7 @@
id: EffectBigIron
targetDepth: 3
effectHint: artifact-effect-hint-gun
safe: true # WD
whitelist:
components:
- Item
@@ -192,6 +201,7 @@
id: EffectSentience
targetDepth: 3
effectHint: artifact-effect-hint-sentience
safe: true # WD
permanentComponents:
- type: GhostRole
allowMovement: true
@@ -208,6 +218,7 @@
id: EffectMultitool
targetDepth: 3
effectHint: artifact-effect-hint-multitool
safe: true # WD
whitelist:
components:
- Item