Salvage Job Board (#37549)

* Salvage Job Board

* More development

* Small boy

* Computer yaml (partial)

* UI

* Rank unlock logic

* Job label printing

* appraisal tool integration

* Jobs

* add board to QM locker

* boom!

* command desc

* mild rewording

* ackh, mein pr ist brohken
This commit is contained in:
Nemanja
2025-05-18 00:02:52 -04:00
committed by GitHub
parent 93305c21df
commit 0d878751fa
45 changed files with 1239 additions and 61 deletions

View File

@@ -0,0 +1,22 @@
using Content.Server.Administration;
using Content.Shared.Administration;
using Content.Shared.Cargo.Prototypes;
using Robust.Shared.Prototypes;
using Robust.Shared.Toolshed;
namespace Content.Server.Salvage.JobBoard;
[ToolshedCommand, AdminCommand(AdminFlags.Debug)]
public sealed class JobBoardCommand : ToolshedCommand
{
/// <summary> Completes a bounty automatically. </summary>
[CommandImplementation("completeJob")]
public void CompleteJob([PipedArgument] EntityUid station, ProtoId<CargoBountyPrototype> job)
{
if (!TryComp<SalvageJobsDataComponent>(station, out var salvageJobData))
return;
var sys = EntityManager.System<SalvageJobBoardSystem>();
sys.TryCompleteSalvageJob((station, salvageJobData), job);
}
}