Batchable lathe jobs, editable lathe job order (#38624)

* batchable lathe jobs, editable order

* requested changes

* LatheComponent comment, menu strings
This commit is contained in:
Whatstone
2025-08-24 11:02:47 -04:00
committed by GitHub
parent 30aa61c29c
commit b5529ecf2b
11 changed files with 397 additions and 35 deletions

View File

@@ -30,6 +30,10 @@ namespace Content.Client.Lathe.UI
{
SendMessage(new LatheQueueRecipeMessage(recipe, amount));
};
_menu.QueueDeleteAction += index => SendMessage(new LatheDeleteRequestMessage(index));
_menu.QueueMoveUpAction += index => SendMessage(new LatheMoveRequestMessage(index, -1));
_menu.QueueMoveDownAction += index => SendMessage(new LatheMoveRequestMessage(index, 1));
_menu.DeleteFabricatingAction += () => SendMessage(new LatheAbortFabricationMessage());
}
protected override void UpdateState(BoundUserInterfaceState state)