-
Notifications
You must be signed in to change notification settings - Fork 617
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Revert "Expeditions rework (#18960)" This reverts commit 036b9ef * it builds * re implement reward spawning
- Loading branch information
1 parent
5037ad4
commit 45f77dd
Showing
40 changed files
with
1,044 additions
and
689 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
Content.Server/Salvage/Expeditions/SalvageEliminationExpeditionComponent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using Content.Shared.Salvage; | ||
|
||
namespace Content.Server.Salvage.Expeditions.Structure; | ||
|
||
/// <summary> | ||
/// Tracks expedition data for <see cref="SalvageMissionType.Elimination"/> | ||
/// </summary> | ||
[RegisterComponent, Access(typeof(SalvageSystem), typeof(SpawnSalvageMissionJob))] | ||
public sealed partial class SalvageEliminationExpeditionComponent : Component | ||
{ | ||
/// <summary> | ||
/// List of mobs that need to be killed for the mission to be complete. | ||
/// </summary> | ||
[DataField("megafauna")] | ||
public List<EntityUid> Megafauna = new(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
Content.Server/Salvage/Expeditions/SalvageMiningExpeditionComponent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using Content.Shared.Salvage; | ||
|
||
namespace Content.Server.Salvage.Expeditions; | ||
|
||
/// <summary> | ||
/// Tracks expedition data for <see cref="SalvageMissionType.Mining"/> | ||
/// </summary> | ||
[RegisterComponent, Access(typeof(SalvageSystem))] | ||
public sealed partial class SalvageMiningExpeditionComponent : Component | ||
{ | ||
/// <summary> | ||
/// Entities that were present on the shuttle and match the loot tax. | ||
/// </summary> | ||
[DataField("exemptEntities")] | ||
public List<EntityUid> ExemptEntities = new(); | ||
} |
13 changes: 13 additions & 0 deletions
13
Content.Server/Salvage/Expeditions/SalvageStructureExpeditionComponent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using Content.Shared.Salvage; | ||
|
||
namespace Content.Server.Salvage.Expeditions.Structure; | ||
|
||
/// <summary> | ||
/// Tracks expedition data for <see cref="SalvageMissionType.Structure"/> | ||
/// </summary> | ||
[RegisterComponent, Access(typeof(SalvageSystem), typeof(SpawnSalvageMissionJob))] | ||
public sealed partial class SalvageStructureExpeditionComponent : Component | ||
{ | ||
[DataField("structures")] | ||
public List<EntityUid> Structures = new(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.