Increases magnet pull time to 9 minutes, increases warning time for salvage magnet, decreases wreck cost and other tweaks to the Salvage Magnet. (#3944)
* Increases magnet time, reduces fulton time, etc. etc. * Update Content.Shared/Salvage/Magnet/SalvageOffering.cs Co-authored-by: Tobias Berger <toby@tobot.dev> Signed-off-by: AlgisAlphonse <94876543+AlgisAlphonse@users.noreply.github.com> * Update Content.Server/Salvage/SalvageSystem.Magnet.cs Co-authored-by: Tobias Berger <toby@tobot.dev> Signed-off-by: AlgisAlphonse <94876543+AlgisAlphonse@users.noreply.github.com> --------- Signed-off-by: AlgisAlphonse <94876543+AlgisAlphonse@users.noreply.github.com> Co-authored-by: Tobias Berger <toby@tobot.dev>
This commit is contained in:
parent
319ab33195
commit
379b05f2cf
|
|
@ -29,13 +29,13 @@ public sealed partial class SalvageMagnetDataComponent : Component
|
|||
/// How long salvage will be active for before despawning.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public TimeSpan ActiveTime = TimeSpan.FromMinutes(6);
|
||||
public TimeSpan ActiveTime = TimeSpan.FromMinutes(9); //DeltaV: was 6 minutes
|
||||
|
||||
/// <summary>
|
||||
/// Cooldown between offerings after one ends.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public TimeSpan OfferCooldown = TimeSpan.FromMinutes(3);
|
||||
public TimeSpan OfferCooldown = TimeSpan.FromMinutes(2); //DeltaV: was 3 min
|
||||
|
||||
/// <summary>
|
||||
/// Seeds currently offered
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ public sealed partial class SalvageSystem
|
|||
{
|
||||
EndMagnet((uid, magnetData));
|
||||
}
|
||||
else if (!magnetData.Announced && (magnetData.EndTime.Value - curTime).TotalSeconds < 31)
|
||||
else if (!magnetData.Announced && (magnetData.EndTime.Value - curTime).TotalSeconds < 59) //DeltaV: was 31 seconds. Increased to give time to actually fulton a crate out.
|
||||
{
|
||||
var magnet = GetMagnet((uid, magnetData));
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ public sealed partial class FultonComponent : Component
|
|||
/// How long the fulton will remain before teleporting to the beacon.
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField("duration")]
|
||||
public TimeSpan FultonDuration = TimeSpan.FromSeconds(45);
|
||||
public TimeSpan FultonDuration = TimeSpan.FromSeconds(30); // Delta-V - was 45 seconds
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField("whitelist"), AutoNetworkedField]
|
||||
public EntityWhitelist? Whitelist = new()
|
||||
|
|
|
|||
|
|
@ -7,5 +7,5 @@ public record struct SalvageOffering : ISalvageMagnetOffering
|
|||
{
|
||||
public SalvageMapPrototype SalvageMap;
|
||||
|
||||
uint ISalvageMagnetOffering.Cost => 1000; // DeltaV: Station gets next to no benefit from you pulling wrecks, force you to mine first.
|
||||
uint ISalvageMagnetOffering.Cost => 500; // DeltaV: Station gets next to no benefit from you pulling wrecks, force you to mine first.
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,9 +16,9 @@ public abstract partial class SharedSalvageSystem
|
|||
|
||||
private readonly Dictionary<ISalvageMagnetOffering, float> _offeringWeights = new()
|
||||
{
|
||||
{ new AsteroidOffering(), 4.5f },
|
||||
{ new DebrisOffering(), 3.5f },
|
||||
{ new SalvageOffering(), 2.0f },
|
||||
{ new AsteroidOffering(), 2.0f }, // DeltaV: was 4.5f
|
||||
{ new DebrisOffering(), 3.5f }, // DeltaV: was 3.5f
|
||||
{ new SalvageOffering(), 4.5f }, // DeltaV: was 2.0f
|
||||
};
|
||||
|
||||
private readonly List<ProtoId<DungeonConfigPrototype>> _asteroidConfigs = new()
|
||||
|
|
|
|||
Loading…
Reference in New Issue