Imagine if artifacts fucking killed you (#17746)

This commit is contained in:
Nemanja
2023-06-30 15:25:33 -04:00
committed by GitHub
parent 9b711d4344
commit b4fb089e00
12 changed files with 234 additions and 121 deletions

View File

@@ -10,6 +10,12 @@ public sealed class RandomTeleportArtifactComponent : Component
/// <summary>
/// The max distance that the artifact will teleport.
/// </summary>
[DataField("range")]
public float Range = 7.5f;
[DataField("maxRange")]
public float MaxRange = 15f;
/// <summary>
/// The min distance that the artifact will teleport.
/// </summary>
[DataField("minRange")]
public float MinRange = 6f;
}

View File

@@ -14,9 +14,6 @@ public sealed class TemperatureArtifactComponent : Component
[DataField("spawnTemp")]
public float SpawnTemperature = 100;
[DataField("maxTempDif")]
public float MaxTemperatureDifference = 1;
/// <summary>
/// If true, artifact will heat/cool not only its current tile, but surrounding tiles too.
/// This will change room temperature much faster.

View File

@@ -0,0 +1,10 @@
namespace Content.Server.Xenoarchaeology.XenoArtifacts.Effects.Components;
/// <summary>
/// This is used for an artifact that triggers when activated.
/// </summary>
[RegisterComponent]
public sealed class TriggerArtifactComponent : Component
{
}