various xenoarch adjustments (#12677)
* magboots can now activate magnet artifacts * more shit * Update artifact_analyzer.yml * Update item_artifacts.yml
This commit is contained in:
@@ -1,12 +1,10 @@
|
|||||||
using Content.Client.Stylesheets;
|
using Content.Client.Stylesheets;
|
||||||
using Content.Client.UserInterface.Controls;
|
using Content.Client.UserInterface.Controls;
|
||||||
using Content.Shared.Xenoarchaeology.Equipment;
|
using Content.Shared.Xenoarchaeology.Equipment;
|
||||||
using Content.Shared.Xenoarchaeology.XenoArtifacts;
|
|
||||||
using Robust.Client.AutoGenerated;
|
using Robust.Client.AutoGenerated;
|
||||||
using Robust.Client.GameObjects;
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Client.UserInterface.Controls;
|
using Robust.Client.UserInterface.Controls;
|
||||||
using Robust.Client.UserInterface.XAML;
|
using Robust.Client.UserInterface.XAML;
|
||||||
using Robust.Shared.Prototypes;
|
|
||||||
using Robust.Shared.Utility;
|
using Robust.Shared.Utility;
|
||||||
|
|
||||||
namespace Content.Client.Xenoarchaeology.Ui;
|
namespace Content.Client.Xenoarchaeology.Ui;
|
||||||
@@ -15,7 +13,6 @@ namespace Content.Client.Xenoarchaeology.Ui;
|
|||||||
public sealed partial class AnalysisConsoleMenu : FancyWindow
|
public sealed partial class AnalysisConsoleMenu : FancyWindow
|
||||||
{
|
{
|
||||||
[Dependency] private readonly IEntityManager _ent = default!;
|
[Dependency] private readonly IEntityManager _ent = default!;
|
||||||
[Dependency] private readonly IPrototypeManager _proto = default!;
|
|
||||||
|
|
||||||
public AnalysisDestroyWindow? AnalysisDestroyWindow;
|
public AnalysisDestroyWindow? AnalysisDestroyWindow;
|
||||||
|
|
||||||
@@ -73,7 +70,7 @@ public sealed partial class AnalysisConsoleMenu : FancyWindow
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void UpdateArtifactIcon(EntityUid? uid)
|
private void UpdateArtifactIcon(EntityUid? uid)
|
||||||
{
|
{
|
||||||
if (uid == null)
|
if (uid == null)
|
||||||
{
|
{
|
||||||
@@ -100,75 +97,18 @@ public sealed partial class AnalysisConsoleMenu : FancyWindow
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//do this here
|
if (!state.AnalyzerConnected) //no analyzer connected
|
||||||
|
message.AddMarkup(Loc.GetString("analysis-console-info-no-scanner"));
|
||||||
|
else if (!state.CanScan) //no artifact
|
||||||
|
message.AddMarkup(Loc.GetString("analysis-console-info-no-artifact"));
|
||||||
|
else if (state.Artifact == null) //ready to go
|
||||||
|
message.AddMarkup(Loc.GetString("analysis-console-info-ready"));
|
||||||
|
|
||||||
UpdateArtifactIcon(state.Artifact);
|
UpdateArtifactIcon(state.Artifact);
|
||||||
|
|
||||||
if (state.Artifact == null)//no scan present
|
if (state.ScanReport != null)
|
||||||
{
|
message.AddMessage(state.ScanReport);
|
||||||
if (!state.AnalyzerConnected) //no analyzer connected
|
|
||||||
message.AddMarkup(Loc.GetString("analysis-console-info-no-scanner"));
|
|
||||||
else if (!state.CanScan) //no artifact
|
|
||||||
message.AddMarkup(Loc.GetString("analysis-console-info-no-artifact"));
|
|
||||||
else if (state.Artifact == null) //ready to go
|
|
||||||
message.AddMarkup(Loc.GetString("analysis-console-info-ready"));
|
|
||||||
}
|
|
||||||
|
|
||||||
if (state.Id != null) //node id
|
|
||||||
{
|
|
||||||
message.AddMarkup(Loc.GetString("analysis-console-info-id", ("id", state.Id)));
|
|
||||||
message.PushNewline();
|
|
||||||
}
|
|
||||||
if (state.Depth != null) //node depth
|
|
||||||
{
|
|
||||||
message.AddMarkup(Loc.GetString("analysis-console-info-depth", ("depth", state.Depth)));
|
|
||||||
message.PushNewline();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (state.Triggered != null) //whether it has been triggered
|
|
||||||
{
|
|
||||||
var activated = state.Triggered.Value
|
|
||||||
? "analysis-console-info-triggered-true"
|
|
||||||
: "analysis-console-info-triggered-false";
|
|
||||||
message.AddMarkup(Loc.GetString(activated));
|
|
||||||
message.PushNewline();
|
|
||||||
}
|
|
||||||
|
|
||||||
message.PushNewline();
|
|
||||||
var needSecondNewline = false;
|
|
||||||
|
|
||||||
if (state.TriggerProto != null && //possible triggers
|
|
||||||
_proto.TryIndex<ArtifactTriggerPrototype>(state.TriggerProto, out var trigger) &&
|
|
||||||
trigger.TriggerHint != null)
|
|
||||||
{
|
|
||||||
message.AddMarkup(Loc.GetString("analysis-console-info-trigger",
|
|
||||||
("trigger", Loc.GetString(trigger.TriggerHint))));
|
|
||||||
message.PushNewline();
|
|
||||||
needSecondNewline = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (state.EffectProto != null && //possible effects
|
|
||||||
_proto.TryIndex<ArtifactEffectPrototype>(state.EffectProto, out var effect) &&
|
|
||||||
effect.EffectHint != null)
|
|
||||||
{
|
|
||||||
message.AddMarkup(Loc.GetString("analysis-console-info-effect",
|
|
||||||
("effect", Loc.GetString(effect.EffectHint))));
|
|
||||||
message.PushNewline();
|
|
||||||
needSecondNewline = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (needSecondNewline)
|
|
||||||
message.PushNewline();
|
|
||||||
|
|
||||||
if (state.Edges != null) //number of edges
|
|
||||||
{
|
|
||||||
message.AddMarkup(Loc.GetString("analysis-console-info-edges", ("edges", state.Edges)));
|
|
||||||
message.PushNewline();
|
|
||||||
}
|
|
||||||
if (state.PointValue != null) //completion percentage
|
|
||||||
{
|
|
||||||
message.AddMarkup(Loc.GetString("analysis-console-info-value", ("value", state.PointValue)));
|
|
||||||
message.PushNewline();
|
|
||||||
}
|
|
||||||
Information.SetMessage(message);
|
Information.SetMessage(message);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -172,30 +172,26 @@ public sealed class ArtifactAnalyzerSystem : EntitySystem
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
EntityUid? artifact = null;
|
EntityUid? artifact = null;
|
||||||
ArtifactNode? node = null;
|
FormattedMessage? msg = null;
|
||||||
int? pointValue = null;
|
|
||||||
var totalTime = TimeSpan.Zero;
|
var totalTime = TimeSpan.Zero;
|
||||||
var canScan = false;
|
var canScan = false;
|
||||||
var canPrint = false;
|
var canPrint = false;
|
||||||
if (component.AnalyzerEntity != null && TryComp<ArtifactAnalyzerComponent>(component.AnalyzerEntity, out var analyzer))
|
if (component.AnalyzerEntity != null && TryComp<ArtifactAnalyzerComponent>(component.AnalyzerEntity, out var analyzer))
|
||||||
{
|
{
|
||||||
artifact = analyzer.LastAnalyzedArtifact;
|
artifact = analyzer.LastAnalyzedArtifact;
|
||||||
node = analyzer.LastAnalyzedNode;
|
msg = GetArtifactScanMessage(analyzer);
|
||||||
pointValue = analyzer.LastAnalyzerPointValue;
|
|
||||||
totalTime = analyzer.AnalysisDuration * analyzer.AnalysisDurationMulitplier;
|
totalTime = analyzer.AnalysisDuration * analyzer.AnalysisDurationMulitplier;
|
||||||
canScan = analyzer.Contacts.Any();
|
canScan = analyzer.Contacts.Any();
|
||||||
canPrint = analyzer.ReadyToPrint;
|
canPrint = analyzer.ReadyToPrint;
|
||||||
}
|
}
|
||||||
|
|
||||||
var analyzerConnected = component.AnalyzerEntity != null;
|
var analyzerConnected = component.AnalyzerEntity != null;
|
||||||
var serverConnected = TryComp<ResearchClientComponent>(uid, out var client) && client.ConnectedToServer;
|
var serverConnected = TryComp<ResearchClientComponent>(uid, out var client) && client.ConnectedToServer;
|
||||||
|
|
||||||
var scanning = TryComp<ActiveArtifactAnalyzerComponent>(component.AnalyzerEntity, out var active);
|
var scanning = TryComp<ActiveArtifactAnalyzerComponent>(component.AnalyzerEntity, out var active);
|
||||||
var remaining = active != null ? _timing.CurTime - active.StartTime : TimeSpan.Zero;
|
var remaining = active != null ? _timing.CurTime - active.StartTime : TimeSpan.Zero;
|
||||||
|
|
||||||
var state = new AnalysisConsoleScanUpdateState(artifact, analyzerConnected, serverConnected, canScan, canPrint,
|
var state = new AnalysisConsoleScanUpdateState(artifact, analyzerConnected, serverConnected,
|
||||||
node?.Id, node?.Depth, node?.Edges.Count, node?.Triggered, node?.Effect.ID, node?.Trigger.ID, pointValue,
|
canScan, canPrint, msg, scanning, remaining, totalTime);
|
||||||
scanning, remaining, totalTime);
|
|
||||||
|
|
||||||
var bui = _ui.GetUi(uid, ArtifactAnalzyerUiKey.Key);
|
var bui = _ui.GetUi(uid, ArtifactAnalzyerUiKey.Key);
|
||||||
_ui.SetUiState(bui, state);
|
_ui.SetUiState(bui, state);
|
||||||
@@ -250,14 +246,27 @@ public sealed class ArtifactAnalyzerSystem : EntitySystem
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
analyzer.ReadyToPrint = false;
|
analyzer.ReadyToPrint = false;
|
||||||
var n = analyzer.LastAnalyzedNode;
|
|
||||||
|
|
||||||
var report = Spawn(component.ReportEntityId, Transform(uid).Coordinates);
|
var report = Spawn(component.ReportEntityId, Transform(uid).Coordinates);
|
||||||
MetaData(report).EntityName = Loc.GetString("analysis-report-title", ("id", n.Id));
|
MetaData(report).EntityName = Loc.GetString("analysis-report-title", ("id", analyzer.LastAnalyzedNode.Id));
|
||||||
|
|
||||||
|
var msg = GetArtifactScanMessage(analyzer);
|
||||||
|
if (msg == null)
|
||||||
|
return;
|
||||||
|
|
||||||
|
_popup.PopupEntity(Loc.GetString("analysis-console-print-popup"), uid, Filter.Pvs(uid));
|
||||||
|
_paper.SetContent(report, msg.ToMarkup());
|
||||||
|
UpdateUserInterface(uid, component);
|
||||||
|
}
|
||||||
|
|
||||||
|
private FormattedMessage? GetArtifactScanMessage(ArtifactAnalyzerComponent component)
|
||||||
|
{
|
||||||
var msg = new FormattedMessage();
|
var msg = new FormattedMessage();
|
||||||
|
if (component.LastAnalyzedNode == null)
|
||||||
|
return null;
|
||||||
|
|
||||||
|
var n = component.LastAnalyzedNode;
|
||||||
|
|
||||||
msg.AddMarkup(Loc.GetString("analysis-console-info-id", ("id", n.Id)));
|
msg.AddMarkup(Loc.GetString("analysis-console-info-id", ("id", n.Id)));
|
||||||
msg.PushNewline();
|
msg.PushNewline();
|
||||||
@@ -292,11 +301,10 @@ public sealed class ArtifactAnalyzerSystem : EntitySystem
|
|||||||
msg.AddMarkup(Loc.GetString("analysis-console-info-edges", ("edges", n.Edges.Count)));
|
msg.AddMarkup(Loc.GetString("analysis-console-info-edges", ("edges", n.Edges.Count)));
|
||||||
msg.PushNewline();
|
msg.PushNewline();
|
||||||
|
|
||||||
msg.AddMarkup(Loc.GetString("analysis-console-info-value", ("value", analyzer.LastAnalyzerPointValue)));
|
if (component.LastAnalyzerPointValue != null)
|
||||||
|
msg.AddMarkup(Loc.GetString("analysis-console-info-value", ("value", component.LastAnalyzerPointValue)));
|
||||||
|
|
||||||
_popup.PopupEntity(Loc.GetString("analysis-console-print-popup"), uid, Filter.Pvs(uid));
|
return msg;
|
||||||
_paper.SetContent(report, msg.ToMarkup());
|
|
||||||
UpdateUserInterface(uid, component);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Content.Server.Xenoarchaeology.XenoArtifacts.Events;
|
using Content.Server.Xenoarchaeology.XenoArtifacts.Events;
|
||||||
using Content.Shared.Item;
|
|
||||||
using Content.Shared.Xenoarchaeology.XenoArtifacts;
|
using Content.Shared.Xenoarchaeology.XenoArtifacts;
|
||||||
using Robust.Shared.Prototypes;
|
using Robust.Shared.Prototypes;
|
||||||
using Robust.Shared.Random;
|
using Robust.Shared.Random;
|
||||||
@@ -14,7 +13,7 @@ public sealed partial class ArtifactSystem
|
|||||||
[Dependency] private readonly IComponentFactory _componentFactory = default!;
|
[Dependency] private readonly IComponentFactory _componentFactory = default!;
|
||||||
[Dependency] private readonly ISerializationManager _serialization = default!;
|
[Dependency] private readonly ISerializationManager _serialization = default!;
|
||||||
|
|
||||||
private const int MaxEdgesPerNode = 3;
|
private const int MaxEdgesPerNode = 4;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Generate an Artifact tree with fully developed nodes.
|
/// Generate an Artifact tree with fully developed nodes.
|
||||||
@@ -162,16 +161,15 @@ public sealed partial class ArtifactSystem
|
|||||||
}
|
}
|
||||||
|
|
||||||
component.CurrentNode = node;
|
component.CurrentNode = node;
|
||||||
node.Discovered = true;
|
|
||||||
|
|
||||||
var allComponents = node.Effect.Components.Concat(node.Effect.PermanentComponents).Concat(node.Trigger.Components);
|
var allComponents = node.Effect.Components.Concat(node.Effect.PermanentComponents).Concat(node.Trigger.Components);
|
||||||
foreach (var (name, entry) in allComponents)
|
foreach (var (name, entry) in allComponents)
|
||||||
{
|
{
|
||||||
var reg = _componentFactory.GetRegistration(name);
|
var reg = _componentFactory.GetRegistration(name);
|
||||||
|
|
||||||
if (EntityManager.HasComponent(uid, reg.Type))
|
if (node.Discovered && EntityManager.HasComponent(uid, reg.Type))
|
||||||
{
|
{
|
||||||
// Don't re-add permanent components
|
// Don't re-add permanent components unless this is the first time you've entered this node
|
||||||
if (node.Effect.PermanentComponents.ContainsKey(name))
|
if (node.Effect.PermanentComponents.ContainsKey(name))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
@@ -187,6 +185,7 @@ public sealed partial class ArtifactSystem
|
|||||||
EntityManager.AddComponent(uid, (Component) temp!, true);
|
EntityManager.AddComponent(uid, (Component) temp!, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
node.Discovered = true;
|
||||||
RaiseLocalEvent(uid, new ArtifactNodeEnteredEvent(component.CurrentNode.Id));
|
RaiseLocalEvent(uid, new ArtifactNodeEnteredEvent(component.CurrentNode.Id));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -11,4 +11,11 @@ public sealed class ArtifactMagnetTriggerComponent : Component
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[DataField("range")]
|
[DataField("range")]
|
||||||
public float Range = 40f;
|
public float Range = 40f;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// How close do active magboots have to be?
|
||||||
|
/// This is smaller because they are weaker magnets
|
||||||
|
/// </summary>
|
||||||
|
[DataField("magbootRange")]
|
||||||
|
public float MagbootRange = 2f;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
using Content.Server.Salvage;
|
using System.Linq;
|
||||||
|
using Content.Server.Salvage;
|
||||||
using Content.Server.Xenoarchaeology.XenoArtifacts.Triggers.Components;
|
using Content.Server.Xenoarchaeology.XenoArtifacts.Triggers.Components;
|
||||||
|
using Content.Shared.Clothing;
|
||||||
|
|
||||||
namespace Content.Server.Xenoarchaeology.XenoArtifacts.Triggers.Systems;
|
namespace Content.Server.Xenoarchaeology.XenoArtifacts.Triggers.Systems;
|
||||||
|
|
||||||
@@ -16,6 +18,42 @@ public sealed class ArtifactMagnetTriggerSystem : EntitySystem
|
|||||||
SubscribeLocalEvent<SalvageMagnetActivatedEvent>(OnMagnetActivated);
|
SubscribeLocalEvent<SalvageMagnetActivatedEvent>(OnMagnetActivated);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override void Update(float frameTime)
|
||||||
|
{
|
||||||
|
base.Update(frameTime);
|
||||||
|
|
||||||
|
var artifactQuery = EntityQuery<ArtifactMagnetTriggerComponent, TransformComponent>().ToHashSet();
|
||||||
|
if (!artifactQuery.Any())
|
||||||
|
return;
|
||||||
|
|
||||||
|
List<EntityUid> toActivate = new();
|
||||||
|
|
||||||
|
//assume that there's more instruments than artifacts
|
||||||
|
foreach (var magboot in EntityQuery<MagbootsComponent>())
|
||||||
|
{
|
||||||
|
if (!magboot.On)
|
||||||
|
continue;
|
||||||
|
|
||||||
|
var magXform = Transform(magboot.Owner);
|
||||||
|
|
||||||
|
foreach (var (trigger, xform) in artifactQuery)
|
||||||
|
{
|
||||||
|
if (!magXform.Coordinates.TryDistance(EntityManager, xform.Coordinates, out var distance))
|
||||||
|
continue;
|
||||||
|
|
||||||
|
if (distance > trigger.Range)
|
||||||
|
continue;
|
||||||
|
|
||||||
|
toActivate.Add(trigger.Owner);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
foreach (var a in toActivate)
|
||||||
|
{
|
||||||
|
_artifact.TryActivateArtifact(a);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void OnMagnetActivated(SalvageMagnetActivatedEvent ev)
|
private void OnMagnetActivated(SalvageMagnetActivatedEvent ev)
|
||||||
{
|
{
|
||||||
var magXform = Transform(ev.Magnet);
|
var magXform = Transform(ev.Magnet);
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
using Robust.Shared.Serialization;
|
using Robust.Shared.Serialization;
|
||||||
|
using Robust.Shared.Utility;
|
||||||
|
|
||||||
namespace Content.Shared.Xenoarchaeology.Equipment;
|
namespace Content.Shared.Xenoarchaeology.Equipment;
|
||||||
|
|
||||||
@@ -41,19 +42,7 @@ public sealed class AnalysisConsoleScanUpdateState : BoundUserInterfaceState
|
|||||||
|
|
||||||
public bool CanPrint;
|
public bool CanPrint;
|
||||||
|
|
||||||
public int? Id;
|
public FormattedMessage? ScanReport;
|
||||||
|
|
||||||
public int? Depth;
|
|
||||||
|
|
||||||
public int? Edges;
|
|
||||||
|
|
||||||
public bool? Triggered;
|
|
||||||
|
|
||||||
public string? EffectProto;
|
|
||||||
|
|
||||||
public string? TriggerProto;
|
|
||||||
|
|
||||||
public int? PointValue;
|
|
||||||
|
|
||||||
public bool Scanning;
|
public bool Scanning;
|
||||||
|
|
||||||
@@ -62,8 +51,7 @@ public sealed class AnalysisConsoleScanUpdateState : BoundUserInterfaceState
|
|||||||
public TimeSpan TotalTime;
|
public TimeSpan TotalTime;
|
||||||
|
|
||||||
public AnalysisConsoleScanUpdateState(EntityUid? artifact, bool analyzerConnected, bool serverConnected, bool canScan, bool canPrint,
|
public AnalysisConsoleScanUpdateState(EntityUid? artifact, bool analyzerConnected, bool serverConnected, bool canScan, bool canPrint,
|
||||||
int? id, int? depth, int? edges, bool? triggered, string? effectProto, string? triggerProto, int? pointValue,
|
FormattedMessage? scanReport, bool scanning, TimeSpan timeRemaining, TimeSpan totalTime)
|
||||||
bool scanning, TimeSpan timeRemaining, TimeSpan totalTime)
|
|
||||||
{
|
{
|
||||||
Artifact = artifact;
|
Artifact = artifact;
|
||||||
AnalyzerConnected = analyzerConnected;
|
AnalyzerConnected = analyzerConnected;
|
||||||
@@ -71,13 +59,7 @@ public sealed class AnalysisConsoleScanUpdateState : BoundUserInterfaceState
|
|||||||
CanScan = canScan;
|
CanScan = canScan;
|
||||||
CanPrint = canPrint;
|
CanPrint = canPrint;
|
||||||
|
|
||||||
Id = id;
|
ScanReport = scanReport;
|
||||||
Depth = depth;
|
|
||||||
Edges = edges;
|
|
||||||
Triggered = triggered;
|
|
||||||
EffectProto = effectProto;
|
|
||||||
TriggerProto = triggerProto;
|
|
||||||
PointValue = pointValue;
|
|
||||||
|
|
||||||
Scanning = scanning;
|
Scanning = scanning;
|
||||||
TimeRemaining = timeRemaining;
|
TimeRemaining = timeRemaining;
|
||||||
|
|||||||
@@ -28,6 +28,12 @@
|
|||||||
available:
|
available:
|
||||||
- enum.ArtifactsVisualLayers.Effect:
|
- enum.ArtifactsVisualLayers.Effect:
|
||||||
ano01_on: Rainbow
|
ano01_on: Rainbow
|
||||||
|
- type: UserInterface #needs to be here for certain effects
|
||||||
|
interfaces:
|
||||||
|
- key: enum.StorageUiKey.Key
|
||||||
|
type: StorageBoundUserInterface
|
||||||
|
- key: enum.TransferAmountUiKey.Key
|
||||||
|
type: TransferAmountBoundUserInterface
|
||||||
- type: Appearance
|
- type: Appearance
|
||||||
- type: StaticPrice
|
- type: StaticPrice
|
||||||
price: 500
|
price: 500
|
||||||
|
|||||||
@@ -40,11 +40,7 @@
|
|||||||
anchored: true
|
anchored: true
|
||||||
noRot: false
|
noRot: false
|
||||||
- type: ApcPowerReceiver
|
- type: ApcPowerReceiver
|
||||||
powerLoad: 15000 #really freaking high
|
powerLoad: 15000
|
||||||
needsPower: false #only turns on when scanning
|
|
||||||
- type: UpgradePowerDraw
|
|
||||||
powerDrawMultiplier: 0.80
|
|
||||||
scaling: Exponential
|
|
||||||
- type: ArtifactAnalyzer
|
- type: ArtifactAnalyzer
|
||||||
- type: DeviceNetwork
|
- type: DeviceNetwork
|
||||||
deviceNetId: Wired
|
deviceNetId: Wired
|
||||||
@@ -112,4 +108,4 @@
|
|||||||
enum.PowerDeviceVisuals.Powered:
|
enum.PowerDeviceVisuals.Powered:
|
||||||
enum.PowerDeviceVisualLayers.Powered:
|
enum.PowerDeviceVisualLayers.Powered:
|
||||||
True: { visible: true }
|
True: { visible: true }
|
||||||
False: { visible: false }
|
False: { visible: false }
|
||||||
|
|||||||
@@ -17,21 +17,6 @@
|
|||||||
type: InstrumentBoundUserInterface
|
type: InstrumentBoundUserInterface
|
||||||
- type: RandomInstrumentArtifact
|
- type: RandomInstrumentArtifact
|
||||||
|
|
||||||
- type: artifactEffect
|
|
||||||
id: EffectSlippy
|
|
||||||
targetDepth: 2
|
|
||||||
effectHint: artifact-effect-hint-soap
|
|
||||||
whitelist:
|
|
||||||
components:
|
|
||||||
- Item
|
|
||||||
permanentComponents:
|
|
||||||
- type: Slippery
|
|
||||||
paralyzeTime: 7
|
|
||||||
launchForwardsMultiplier: 9.0
|
|
||||||
- type: StepTrigger
|
|
||||||
- type: CollisionWake
|
|
||||||
enabled: false
|
|
||||||
|
|
||||||
- type: artifactEffect
|
- type: artifactEffect
|
||||||
id: EffectStorage
|
id: EffectStorage
|
||||||
targetDepth: 2
|
targetDepth: 2
|
||||||
@@ -40,10 +25,6 @@
|
|||||||
components:
|
components:
|
||||||
- Item # it doesnt necessarily have to be restricted from structures, but i think it'll be better that way
|
- Item # it doesnt necessarily have to be restricted from structures, but i think it'll be better that way
|
||||||
permanentComponents:
|
permanentComponents:
|
||||||
- type: UserInterface
|
|
||||||
interfaces:
|
|
||||||
- key: enum.StorageUiKey.Key
|
|
||||||
type: StorageBoundUserInterface
|
|
||||||
- type: ContainerContainer
|
- type: ContainerContainer
|
||||||
containers:
|
containers:
|
||||||
storagebase: !type:Container
|
storagebase: !type:Container
|
||||||
@@ -59,10 +40,6 @@
|
|||||||
components:
|
components:
|
||||||
- Item
|
- Item
|
||||||
permanentComponents:
|
permanentComponents:
|
||||||
- type: UserInterface
|
|
||||||
interfaces:
|
|
||||||
- key: enum.TransferAmountUiKey.Key
|
|
||||||
type: TransferAmountBoundUserInterface
|
|
||||||
- type: SolutionContainerManager
|
- type: SolutionContainerManager
|
||||||
solutions:
|
solutions:
|
||||||
beaker:
|
beaker:
|
||||||
|
|||||||
Reference in New Issue
Block a user