+++ /dev/null
-namespace Content.Server.Salvage.Expeditions.Structure;
-
-/// <summary>
-/// Mission objective for salvage expeditions.
-/// </summary>
-[RegisterComponent, Access(typeof(SalvageSystem))]
-public sealed partial class SalvageStructureComponent : Component
-{
-
-}
using System.Linq;
using System.Threading;
using Content.Server.Salvage.Expeditions;
-using Content.Server.Salvage.Expeditions.Structure;
using Content.Shared.CCVar;
using Content.Shared.Examine;
-using Content.Shared.Random.Helpers;
using Content.Shared.Salvage.Expeditions;
using Content.Shared.Shuttles.Components;
-using Robust.Shared.Audio;
using Robust.Shared.CPUJob.JobQueues;
using Robust.Shared.CPUJob.JobQueues.Queues;
using Robust.Shared.GameStates;
-using Robust.Shared.Map;
namespace Content.Server.Salvage;
SubscribeLocalEvent<SalvageExpeditionComponent, ComponentShutdown>(OnExpeditionShutdown);
SubscribeLocalEvent<SalvageExpeditionComponent, ComponentGetState>(OnExpeditionGetState);
- SubscribeLocalEvent<SalvageStructureComponent, ExaminedEvent>(OnStructureExamine);
-
_cooldown = _configurationManager.GetCVar(CCVars.SalvageExpeditionCooldown);
Subs.CVar(_configurationManager, CCVars.SalvageExpeditionCooldown, SetCooldownChange);
}
_salvageJobs.Add((job, cancelToken));
_salvageQueue.EnqueueJob(job);
}
-
- private void OnStructureExamine(EntityUid uid, SalvageStructureComponent component, ExaminedEvent args)
- {
- args.PushMarkup(Loc.GetString("salvage-expedition-structure-examine"));
- }
}
using Content.Server.Parallax;
using Content.Server.Procedural;
using Content.Server.Salvage.Expeditions;
-using Content.Server.Salvage.Expeditions.Structure;
using Content.Shared.Atmos;
using Content.Shared.Construction.EntitySystems;
using Content.Shared.Dataset;
-salvage-expedition-structure-examine = This is a [color=#B02E26]destruction[/color] objective
-salvage-expedition-structure-remaining = {$count ->
- [one] {$count} structure remaining.
- *[other] {$count} structures remaining.
-}
-
salvage-expedition-type = Mission
salvage-expedition-window-title = Salvage expeditions
salvage-expedition-window-difficulty = Difficulty: